/* Ahmad Nizami Website - Main Stylesheet */

/* CSS Custom Properties */
:root {
    /* A/B Test Version (.com) - Purple/Indigo Theme */
    --primary-blue: #7c3aed; /* Deep Purple */
    --dark-blue: #5b21b6; /* Dark Purple */
    --light-blue: #e9d5ff; /* Lavender */
    --accent-gold: #f59e0b; /* Gold Accent */
    --grey-900: #111827;
    --grey-700: #374151;
    --grey-600: #4b5563;
    --grey-500: #6b7280;
    --grey-300: #d1d5db;
    --grey-200: #e5e7eb;
    --grey-100: #f3f4f6;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--grey-900);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography - Enhanced for A/B Testing */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800; /* Bolder weight for dramatic hierarchy */
    line-height: 1.1; /* Tighter line height for modern look */
    letter-spacing: -0.03em; /* Slightly tighter letter spacing */
    color: var(--grey-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive sizing */
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-blue);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--dark-blue);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 2px solid var(--light-blue);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--grey-700);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--accent-gold) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 85% 60%, 70% 30%, 55% 60%, 40% 30%, 25% 60%, 10% 30%, 0 60%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.03) 31%, transparent 31%),
        linear-gradient(-45deg, transparent 70%, rgba(255, 255, 255, 0.02) 70%, rgba(255, 255, 255, 0.02) 71%, transparent 71%);
    background-size: 100% 100%, 100% 100%, 60px 60px, 80px 80px;
    pointer-events: none;
}

/* Floating particles for artistic effect */
.hero-particles::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-particles::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 10%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    background: linear-gradient(135deg, var(--white), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--white), var(--light-blue));
    color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 402px;
    height: 402px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 0 20px rgba(124, 58, 237, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1.05) contrast(1.1);
    border: 8px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, var(--primary-blue), var(--accent-gold)) border-box;
    position: relative;
}

.hero-image img::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-gold));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.08) translateY(-12px) rotate(2deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 0 0 30px rgba(124, 58, 237, 0.15);
    filter: brightness(1.15) contrast(1.2) saturate(1.1);
}

.hero-image img:hover::before {
    opacity: 0.3;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 402px;
    height: 402px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-xl);
    border: 6px solid rgba(255, 255, 255, 0.2);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Section Styles */
.about, .ventures, .innovation, .services, .contact {
    padding: 6rem 2rem;
}

.about {
    background: var(--white);
}

.ventures {
    background: var(--grey-100);
}

.innovation {
    background: 
        linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%),
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.06) 2px, transparent 2px),
        linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.03) 41%, transparent 41%),
        linear-gradient(0deg, transparent 60%, rgba(255, 255, 255, 0.02) 60%, rgba(255, 255, 255, 0.02) 61%, transparent 61%);
    background-size: 100% 100%, 40px 40px, 60px 60px, 100px 100px, 120px 120px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.innovation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--grey-100);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 90% 40%, 80% 20%, 70% 40%, 60% 20%, 50% 40%, 40% 20%, 30% 40%, 20% 20%, 10% 40%, 0 20%);
}

.innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 90% 60%, 80% 80%, 70% 60%, 60% 80%, 50% 60%, 40% 80%, 30% 60%, 20% 80%, 10% 60%, 0 80%);
}

.services {
    background: var(--white);
}

.contact {
    background: linear-gradient(135deg, var(--grey-900) 0%, var(--grey-700) 100%);
    color: var(--white);
    text-align: center;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.innovation .section-tag {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.innovation .section-title,
.contact .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--grey-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.innovation .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--grey-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 600;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--grey-200), var(--grey-100));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-500);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    background: linear-gradient(var(--grey-100), var(--grey-100)) padding-box,
                linear-gradient(135deg, var(--grey-300), var(--grey-200)) border-box;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.about-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image-placeholder:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) border-box;
    border-width: 3px;
}

.about-image-placeholder:hover::before {
    left: 100%;
}

.about-image-placeholder:hover::after {
    opacity: 1;
}

/* About Photo Styling */
.about-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    background: linear-gradient(var(--grey-100), var(--grey-100)) padding-box,
                linear-gradient(135deg, var(--grey-300), var(--grey-200)) border-box;
}

.about-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.about-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-photo:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(135deg, var(--primary-blue), var(--dark-blue)) border-box;
    border-width: 3px;
}

.about-photo:hover::before {
    left: 100%;
}

.about-photo:hover::after {
    opacity: 1;
}

/* Expertise Cards */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.expertise-card {
    background: var(--grey-100);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.expertise-card:hover {
    background: var(--white);
    border-color: var(--grey-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.expertise-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: 1rem;
}

.expertise-description {
    color: var(--grey-600);
    line-height: 1.6;
}

/* Ventures Section */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.venture-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    border: 1px solid var(--grey-200);
    transition: var(--transition);
}

.venture-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.venture-role {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.venture-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 0.5rem;
}

.ai-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.venture-tagline {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.venture-description {
    color: var(--grey-600);
    line-height: 1.6;
}

/* Innovation Section */
.innovation-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.innovation-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.innovation-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.innovation-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
}

.innovation-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.innovation-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 1rem;
}

.innovation-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--grey-100);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--grey-300);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--grey-600);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, #1e3a8a 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.02) 41%, transparent 41%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.015) 30%, rgba(255, 255, 255, 0.015) 31%, transparent 31%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 80px 80px, 120px 120px;
    pointer-events: none;
}

.contact h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.contact p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--white);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: var(--grey-100);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--grey-900) 0%, #1f2937 50%, #111827 100%);
    color: var(--white);
    padding: 6rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
        linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 51%),
        linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 51%),
        linear-gradient(45deg, transparent 70%, rgba(255, 255, 255, 0.01) 70%, rgba(255, 255, 255, 0.01) 71%, transparent 71%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100px 100px, 100px 100px, 150px 150px;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white), var(--grey-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--grey-300);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--grey-700), var(--grey-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 1.1rem;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-column h4 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--white);
    font-weight: 600;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    border-radius: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--grey-300);
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    padding-left: 0;
}

.footer-column a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-blue);
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-column a:hover::before {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    text-align: center;
    color: var(--grey-400);
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes subtleMove {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(5px);
    }
}

.animate-in {
    animation: fadeIn 0.8s ease forwards;
}

.hero::before {
    animation: subtleMove 20s ease-in-out infinite;
}

.innovation::before {
    animation: float 15s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .expertise-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ventures-grid,
    .innovation-cards {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .innovation-card,
    .venture-card {
        padding: 2rem;
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Cookie Consent Banner Styles */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--grey-900) 0%, #1f2937 100%);
    color: var(--white);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--primary-blue);
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cookie-banner-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.cookie-banner-header p {
    color: var(--grey-300);
    margin-bottom: 1.5rem;
}

.cookie-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.cookie-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option.essential {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.cookie-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.cookie-checkbox input[type="checkbox"] {
    margin: 0;
    margin-top: 0.25rem;
}

.cookie-info strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.cookie-info span {
    font-size: 0.9rem;
    color: var(--grey-300);
    line-height: 1.4;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.cookie-banner-footer a {
    color: var(--primary-blue);
    text-decoration: none;
}

.cookie-banner-footer a:hover {
    text-decoration: underline;
}

.separator {
    color: var(--grey-500);
}

/* Cookie Settings Modal */
#cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#cookie-settings-modal.show .cookie-modal-overlay {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--grey-200);
}

.cookie-modal-header h2 {
    margin: 0;
    color: var(--grey-900);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--grey-500);
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--grey-100);
    color: var(--grey-700);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-modal-body p {
    color: var(--grey-600);
    margin-bottom: 1.5rem;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-category {
    background: var(--grey-50);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--grey-200);
}

.category-header {
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--grey-600);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.category-cookies {
    color: var(--grey-500);
    font-size: 0.8rem;
}

.cookie-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--grey-200);
    justify-content: flex-end;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        padding: 1.5rem;
    }
    
    .cookie-options {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-banner-actions .btn {
        width: 100%;
    }
    
    .cookie-banner-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .cookie-modal-overlay {
        width: 95%;
        margin: 1rem;
    }
}

/* Enhanced Animations for A/B Testing */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Enhanced hover effects for interactive elements */
.btn, .nav-link, .service-card, .about-image-placeholder {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover, .nav-link:hover, .service-card:hover, .about-image-placeholder:hover {
    transform: translateY(-2px);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* A/B Test Badge */
.ab-test-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-blue));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced focus states for accessibility */
.btn:focus, .nav-link:focus, .service-card:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}
