/* Sophisticated Tech-Luxury Design for Advection Solutions */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Sophisticated Tech-Luxury Palette */

    /* Primary Foundation - Deeper, More Refined */
    --midnight-navy: #0A1628;         /* Deep backgrounds, premium feel */
    --rich-charcoal: #1A1F2E;         /* Secondary backgrounds */
    --deep-ink-blue: #0F1F2E;         /* Primary text/headers */
    --soft-off-white: #F5F5F5;        /* Clean white */

    /* Refined Neutrals */
    --slate-gray: #6B7A8C;            /* Body text - lighter for contrast */
    --muted-gray: #8B8B8B;            /* Secondary text */
    --graphite-charcoal: #1E2933;     /* Dividers */

    /* Tech-Luxury Accents - Modernized */
    --advection-teal: #0EA5E9;        /* Modern vibrant teal */
    --tech-cyan: #06B6D4;             /* Refined cyan accent */
    --soft-cyan-mist: #7EC8D9;        /* Softer hover state */
    --champagne-gold: #C9A961;        /* Luxury highlight */
    --success-green: #10B981;         /* Success states, CTAs */
    --gradient-start: #0891B2;        /* For gradient CTAs */

    /* Gradients for Tech Identity */
    --gradient-navy: linear-gradient(135deg, #0A1628 0%, #1A2F44 50%, #2A4A6E 100%);
    --gradient-tech: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    --gradient-cta: linear-gradient(135deg, #0891B2 0%, #06B6D4 50%, #0EA5E9 100%);
    --gradient-card-hover: linear-gradient(180deg, rgba(14, 165, 233, 0.02) 0%, rgba(6, 182, 212, 0.05) 100%);

    /* Shadows - More Dramatic */
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    --hover-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    --luxury-glow: 0 0 40px rgba(201, 169, 97, 0.15);

    /* Borders */
    --border-color: rgba(107, 122, 140, 0.15);
    --border-accent: rgba(26, 159, 184, 0.3);

    /* Animation System */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --duration-fast: 200ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Legacy compatibility */
    --text-dark: #0F1F2E;
    --text-medium: #6B7A8C;
    --text-gray: #8B8B8B;
    --text-light: #6B7A8C;
    --bg-white: #ffffff;
    --bg-light-gray: #E8EDF2;
    --primary-accent: #1A9FB8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--slate-gray);
    overflow-x: hidden;
    background: #ffffff;
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    font-feature-settings: 'cv11', 'ss01';
}

/* Accessibility - Keyboard Navigation */
*:focus-visible {
    outline: 2px solid var(--advection-teal);
    outline-offset: 4px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--advection-teal);
    outline-offset: 4px;
}

/* Elegant Typography Hierarchy */
h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

/* Navigation - Minimal & Elegant */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 48px;
    width: auto;
    transition: opacity 0.3s ease;
}

nav .logo img:hover {
    opacity: 0.8;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--deep-ink-blue);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--slate-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--advection-teal);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--advection-teal);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--advection-teal);
    font-weight: 600;
    background: rgba(14, 165, 233, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: -0.5rem -1rem;
}

nav ul li a.active::after {
    display: none;
}

/* Hero Section - Full Immersion with Tech Elements */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--gradient-navy);
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    padding-top: 80px;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

/* Subtle tech grid overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    opacity: 0.6;
}

/* Fog Layers - Fluffy Cloud Effect */
.fog-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.fog {
    position: absolute;
    width: 100%;
    height: 150%;
    bottom: -50%;
    left: 0;
}

.fog::before,
.fog::after {
    content: '';
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.5) 35%, transparent 65%);
    border-radius: 50%;
    filter: blur(45px);
}

.fog::before {
    width: 120%;
    height: 350px;
    bottom: -50px;
    left: -10%;
    animation: fogLift1 10s ease-out forwards;
}

.fog::after {
    width: 110%;
    height: 380px;
    bottom: -40px;
    left: 5%;
    animation: fogLift1 10s ease-out 0.5s forwards;
}

.fog-2::before,
.fog-2::after {
    content: '';
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(245, 250, 255, 0.75) 0%, rgba(245, 250, 255, 0.4) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(55px);
}

.fog-2::before {
    width: 130%;
    height: 420px;
    bottom: -60px;
    left: -15%;
    animation: fogLift2 11s ease-out 1s forwards;
}

.fog-2::after {
    width: 115%;
    height: 400px;
    bottom: -45px;
    right: -10%;
    animation: fogLift2 11s ease-out 1.5s forwards;
}

.fog-3::before,
.fog-3::after {
    content: '';
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(235, 245, 255, 0.65) 0%, rgba(235, 245, 255, 0.35) 45%, transparent 75%);
    border-radius: 50%;
    filter: blur(65px);
}

.fog-3::before {
    width: 140%;
    height: 450px;
    bottom: -70px;
    left: -20%;
    animation: fogLift3 12s ease-out 2s forwards;
}

.fog-3::after {
    width: 125%;
    height: 430px;
    bottom: -55px;
    left: 0%;
    animation: fogLift3 12s ease-out 2.5s forwards;
}

@keyframes fogLift1 {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 1;
    }
    40% {
        transform: translateY(-40%) translateX(8%) scale(1.2);
        opacity: 0.7;
    }
    70% {
        transform: translateY(-80%) translateX(15%) scale(1.4);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-120%) translateX(20%) scale(1.6);
        opacity: 0;
    }
}

@keyframes fogLift2 {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 1;
    }
    40% {
        transform: translateY(-45%) translateX(-5%) scale(1.3);
        opacity: 0.65;
    }
    70% {
        transform: translateY(-85%) translateX(-10%) scale(1.5);
        opacity: 0.25;
    }
    100% {
        transform: translateY(-125%) translateX(-15%) scale(1.7);
        opacity: 0;
    }
}

@keyframes fogLift3 {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 1;
    }
    40% {
        transform: translateY(-50%) translateX(10%) scale(1.25);
        opacity: 0.6;
    }
    70% {
        transform: translateY(-90%) translateX(18%) scale(1.45);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-130%) translateX(25%) scale(1.65);
        opacity: 0;
    }
}

.hero-content {
    text-align: left;
    color: white;
    max-width: 800px;
    z-index: 3;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: white;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', sans-serif;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    letter-spacing: 0.01em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.8rem;
    background: var(--gradient-cta);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.5);
}

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

.cta-button:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
}

/* Secondary CTA (outline style) */
.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.8rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

/* Container - Generous Spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 5%;
}

/* Section Styling - Luxury Spacing with Alternating Backgrounds */
section {
    padding: 8rem 0;
    transition: background 0.3s ease;
}

/* Alternating backgrounds for visual rhythm */
section:nth-of-type(even) {
    background: var(--midnight-navy);
}

section:nth-of-type(even) .section-title {
    color: white;
}

section:nth-of-type(even) .section-subtitle,
section:nth-of-type(even) p {
    color: rgba(255, 255, 255, 0.8);
}

section:nth-of-type(even) .card {
    background: var(--rich-charcoal);
    border-color: rgba(255, 255, 255, 0.1);
}

section:nth-of-type(even) .card h3 {
    color: white;
}

section:nth-of-type(even) .card p {
    color: rgba(255, 255, 255, 0.75);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    color: var(--deep-ink-blue);
    font-weight: 500;
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--advection-teal);
}

.section-subtitle {
    text-align: center;
    color: var(--slate-gray);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3.5rem 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    background: var(--gradient-card-hover), rgba(255, 255, 255, 0.95);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--advection-teal), var(--tech-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--hover-shadow);
    border-color: var(--border-accent);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--advection-teal);
}

.card-icon i,
.card-icon svg {
    display: block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: var(--advection-teal);
    background: rgba(14, 165, 233, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 18px;
}

.card-icon svg {
    stroke-width: 1.5;
}

.card:hover .card-icon i,
.card:hover .card-icon svg {
    background: var(--gradient-cta);
    color: white;
    transform: scale(1.1);
}

/* Icon pulse animation on hover */
@keyframes iconPulse {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1.15); }
}

.card:hover .card-icon i,
.card:hover .card-icon svg {
    animation: iconPulse 1s ease-in-out infinite;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--deep-ink-blue);
    font-weight: 600;
}

.card p {
    color: var(--slate-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card ul li {
    padding: 0.4rem 0;
    color: var(--slate-gray);
    position: relative;
    padding-left: 1.5rem;
}

.card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--advection-teal);
    font-weight: bold;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card-image-small {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.feature-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: var(--card-shadow);
}

.team-section {
    text-align: center;
    margin: 4rem 0;
}

.team-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: var(--hover-shadow);
}

/* Portfolio Items */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    background: var(--graphite-charcoal);
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--border-color);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.portfolio-content {
    padding: 2rem;
    color: white;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-content p {
    opacity: 0.95;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--deep-ink-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--advection-teal);
    box-shadow: 0 0 0 3px rgba(43, 176, 200, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--advection-teal);
    color: white;
    border: 2px solid var(--advection-teal);
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #248ea3;
    border-color: #248ea3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 176, 200, 0.3);
}

/* Footer - Elegant Dark Design */
footer {
    background: var(--midnight-navy);
    color: var(--soft-off-white);
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--champagne-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Expertise List - Row Based with Hover Popup */
.expertise-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.expertise-item {
    display: flex;
    align-items: center;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.expertise-item::after {
    content: 'Learn More';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--slate-gray);
    opacity: 0.6;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.expertise-item:hover {
    border-color: var(--advection-teal);
    transform: translateX(10px) scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.expertise-item:hover::after {
    opacity: 1;
    color: var(--advection-teal);
    right: 1rem;
}

.expertise-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--soft-cyan-mist);
    margin-right: 2rem;
    min-width: 60px;
    transition: color 0.3s ease;
}

.expertise-item:hover .expertise-number {
    color: var(--advection-teal);
}

.expertise-icon {
    font-size: 2rem;
    color: var(--advection-teal);
    margin-right: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(43, 176, 200, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.expertise-item:hover .expertise-icon {
    background: var(--advection-teal);
    color: white;
    transform: scale(1.1);
}

.expertise-title {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-ink-blue);
    margin: 0;
    transition: color 0.3s ease;
}

.expertise-item:hover .expertise-title {
    color: var(--advection-teal);
}

.expertise-arrow {
    font-size: 1.5rem;
    color: var(--slate-gray);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.expertise-item:hover .expertise-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--advection-teal);
}

.expertise-popup {
    position: fixed;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    border: 2px solid var(--advection-teal);
    overflow: hidden;
}

.expertise-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.expertise-popup-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.expertise-popup-description {
    padding: 2rem;
    color: var(--slate-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Founders Section */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 3rem auto 4rem;
    max-width: 1000px;
}

.founder-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--advection-teal);
}

.founder-image-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--soft-off-white) 0%, #e8eef5 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--advection-teal);
    transition: all 0.3s ease;
}

.founder-image-placeholder i {
    font-size: 4rem;
    color: var(--slate-gray);
}

.founder-card:hover .founder-image-placeholder {
    border-color: var(--deep-ink-blue);
    transform: scale(1.05);
}

.founder-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-ink-blue);
    margin-bottom: 0.5rem;
}

.founder-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--advection-teal);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.founder-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate-gray);
    margin-bottom: 2rem;
    text-align: left;
}

.read-bio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--advection-teal);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.read-bio-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.read-bio-link:hover {
    color: var(--deep-ink-blue);
}

.read-bio-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease;
        opacity: 0;
        z-index: 999;
    }

    nav ul.active {
        right: 0;
        opacity: 1;
    }

    nav ul li {
        width: 100%;
        padding: 0 2rem;
    }

    nav ul li a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    nav ul li a::after {
        display: none;
    }

    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .card h3 {
        font-size: clamp(1.3rem, 4vw, 1.5rem);
        margin-bottom: 1rem;
    }

    .cards-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    section {
        padding: 4rem 0;
    }

    .contact-form {
        padding: 2rem;
    }

    .expertise-item {
        padding: 1.5rem;
        flex-wrap: wrap;
    }

    .expertise-number {
        font-size: 2rem;
        margin-right: 1rem;
        min-width: 50px;
    }

    .expertise-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    .expertise-title {
        font-size: 1.2rem;
        flex-basis: 100%;
        margin-top: 1rem;
    }

    .expertise-popup {
        position: fixed;
        right: 5%;
        left: 5%;
        width: auto;
        max-width: 500px;
        margin: 0 auto;
    }

    .expertise-popup-image {
        height: 200px;
    }

    .expertise-popup-description {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-card {
        padding: 2rem 1.5rem;
    }

    .founder-image-placeholder {
        width: 150px;
        height: 150px;
    }

    .founder-image-placeholder i {
        font-size: 3rem;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .founder-bio {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    nav .container {
        padding: 1rem;
    }

    nav ul {
        width: 250px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}

/* Responsive: Dual-Engine Component */
@media (max-width: 768px) {
    .dual-engine {
        flex-direction: column;
        gap: 2rem;
    }

    .engine-box {
        width: 100%;
        border-radius: 16px !important;
        border: 1px solid var(--border-color) !important;
    }

    .engine-connector {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        order: 2;
        margin: -1rem 0;
    }

    .engine-box.consulting {
        order: 1;
    }

    .engine-box.innovation {
        order: 3;
    }

    .connector-label {
        display: block;
        text-align: center;
        font-size: 0.8rem;
        color: var(--advection-teal);
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }
}

/* Responsive: FAQ Accordion */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 1rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question span {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Responsive: Enhanced Footer */
@media (max-width: 768px) {
    .footer-wave {
        top: -40px;
        height: 40px;
    }

    .footer-content {
        padding: 3rem 5% 2rem;
    }

    .footer-brand {
        margin-bottom: 1.5rem;
    }

    .footer-logo {
        height: 36px;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-social {
        margin-bottom: 1.5rem;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }
}

/* Responsive: Floating Labels */
@media (max-width: 768px) {
    .floating-label input,
    .floating-label textarea {
        padding: 1.25rem 1rem 0.5rem;
    }

    .floating-label label {
        font-size: 0.9rem;
    }
}

/* Dual-Engine Component */
.dual-engine {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 3rem auto 4rem;
    position: relative;
}

.engine-box {
    flex: 1;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    text-align: center;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.engine-box.consulting {
    border-radius: 16px 0 0 16px;
    border-right: none;
}

.engine-box.innovation {
    border-radius: 0 16px 16px 0;
    border-left: none;
}

.engine-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.engine-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-ink-blue);
    margin-bottom: 0.5rem;
}

.engine-box p {
    font-size: 0.9rem;
    color: var(--slate-gray);
    margin: 0;
}

.engine-side {
    flex: 1;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    text-align: center;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.engine-side:first-child {
    border-radius: 16px 0 0 16px;
    border-right: none;
}

.engine-side:last-child {
    border-radius: 0 16px 16px 0;
    border-left: none;
}

.engine-side:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.engine-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.engine-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2;
}

.engine-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-ink-blue);
    margin-bottom: 0.5rem;
}

.engine-subtitle {
    font-size: 0.9rem;
    color: var(--slate-gray);
    font-weight: 400;
}

/* Infinity loop connector */
.engine-connector {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 3;
}

.infinity-loop {
    width: 100%;
    height: 100%;
    position: relative;
}

.infinity-loop::before,
.infinity-loop::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 4px solid var(--advection-teal);
    border-radius: 50%;
    animation: infinityPulse 3s ease-in-out infinite;
}

.infinity-loop::before {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.infinity-loop::after {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.connector-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
    animation: connectorPulse 2s ease-in-out infinite;
}

.connector-center svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

@keyframes infinityPulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

@keyframes connectorPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4); }
    50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 8px 30px rgba(8, 145, 178, 0.6); }
}

/* FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--advection-teal);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    text-align: left;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(14, 165, 233, 0.03);
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-ink-blue);
    flex: 1;
    padding-right: 1rem;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-ink-blue);
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--advection-teal);
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    background: var(--advection-teal);
}

.faq-item.active .faq-icon svg {
    stroke: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--slate-gray);
    line-height: 1.8;
    margin: 0;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animate-on-scroll (used by IntersectionObserver in animations.js) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Enhanced Footer */
.footer-wave {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
    background: transparent;
    margin-top: -1px;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    fill: var(--midnight-navy);
}

/* Hero to Content Transition Wave */
.hero-transition-wave {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: transparent;
    margin-top: -1px;
    margin-bottom: -1px;
}

.hero-transition-wave svg {
    width: 100%;
    height: 100%;
    fill: var(--bg-light-gray);
    animation: waveFlow 12s ease-in-out infinite;
}

@keyframes waveFlow {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-2%) translateY(2px);
    }
    50% {
        transform: translateX(0) translateY(-2px);
    }
    75% {
        transform: translateX(2%) translateY(1px);
    }
}

footer {
    background: var(--midnight-navy);
    color: var(--soft-off-white);
    padding: 0;
    text-align: center;
    border-top: none;
    position: relative;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5% 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--advection-teal);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

/* Image Duotone Overlay */
.duotone-overlay {
    position: relative;
    overflow: hidden;
}

.duotone-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(10, 22, 40, 0.2) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Form Floating Labels */
.form-group.floating-label {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-group.floating-label input,
.form-group.floating-label textarea {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group.floating-label label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--slate-gray);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    font-weight: 500;
}

.form-group.floating-label textarea ~ label {
    top: 1rem;
}

.form-group.floating-label input:focus,
.form-group.floating-label textarea:focus {
    outline: none;
    border-color: var(--advection-teal);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group.floating-label input:focus ~ label,
.form-group.floating-label input:not(:placeholder-shown) ~ label,
.form-group.floating-label textarea:focus ~ label,
.form-group.floating-label textarea:not(:placeholder-shown) ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--advection-teal);
    font-weight: 600;
    background: white;
    padding: 0 0.35rem;
    left: 0.75rem;
}

/* ===== LLAMAINDEX-INSPIRED UPGRADES ===== */

/* Section Label with Bullet Prefix */
.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--advection-teal);
    text-align: center;
    margin-bottom: 1rem;
}

/* Bullet prefix removed per user request */

/* Dark section variant */
section:nth-of-type(even) .section-label {
    color: var(--tech-cyan);
}

/* Dual CTA Button Group */
.cta-button-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Outlined CTA for light backgrounds */
.cta-button-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.8rem;
    background: transparent;
    color: var(--deep-ink-blue);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 2px solid var(--deep-ink-blue);
    position: relative;
    overflow: hidden;
}

.cta-button-outline:hover {
    background: var(--deep-ink-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(15, 31, 46, 0.3);
}

/* Large Footer Brand Typography */
.footer-brand-watermark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    pointer-events: none;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.footer-brand-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.85;
    -webkit-text-stroke: 2px rgba(14, 165, 233, 0.25);
    color: transparent;
    background: linear-gradient(
        135deg,
        rgba(14, 165, 233, 0.12) 0%,
        rgba(6, 182, 212, 0.08) 50%,
        rgba(201, 169, 97, 0.06) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    text-transform: uppercase;
    user-select: none;
    transform: translateY(25%);
}

/* Footer needs relative positioning for watermark */
footer {
    position: relative;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .cta-button-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-button-group .cta-button,
    .cta-button-group .cta-button-outline {
        width: 100%;
        justify-content: center;
    }

    .footer-brand-watermark {
        height: 120px;
    }

    .footer-brand-text {
        font-size: clamp(3rem, 12vw, 6rem);
        -webkit-text-stroke: 1.5px rgba(14, 165, 233, 0.2);
    }
}

@media (max-width: 480px) {
    .cta-button-outline {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }

    .footer-brand-text {
        font-size: clamp(2.5rem, 10vw, 4rem);
        -webkit-text-stroke: 1px rgba(14, 165, 233, 0.15);
    }
}

/* Impact Metrics Section - Gradient Numbers */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 4rem auto;
    text-align: center;
}

.metric-item {
    padding: 2rem 1rem;
}

.metric-number {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 30%, #10B981 60%, #C9A961 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-gray);
}

/* Gradient Text Highlight */
.gradient-text {
    background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 35%, #10B981 65%, #C9A961 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Alternate gradient - Teal to Gold */
.gradient-text-alt {
    background: linear-gradient(90deg, var(--advection-teal) 0%, var(--champagne-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Label with Small Squares */
.section-label-squares {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--advection-teal);
    margin-bottom: 1rem;
}

.section-label-squares::before,
.section-label-squares::after {
    content: '■';
    font-size: 0.5rem;
    opacity: 0.6;
}

/* Dark Feature Card - Split Layout */
.feature-card-dark {
    background: var(--midnight-navy);
    border-radius: 16px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
    overflow: hidden;
    position: relative;
}

.feature-card-dark::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.feature-card-dark .feature-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card-dark h3 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.feature-card-dark p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Client/Partner Logo Grid */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
}

.logo-grid img {
    height: 40px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Stats Row - Horizontal Metrics */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--advection-teal);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--slate-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Responsive for new elements */
@media (max-width: 768px) {
    .impact-metrics {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .metric-number {
        font-size: 3.5rem;
    }

    .feature-card-dark {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        text-align: center;
    }

    .feature-card-dark .feature-cta {
        align-items: center;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===== END LLAMAINDEX-INSPIRED UPGRADES ===== */

/* ===== FIRECRAWL-INSPIRED EFFECTS ===== */

/* 1. Floating HEOR Annotations - Drift around hero section */
.floating-annotations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.floating-annotation {
    position: absolute;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(14, 165, 233, 0.6);
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    backdrop-filter: blur(3px);
    white-space: nowrap;
    opacity: 0;
    animation: floatAndFade 8s ease-in-out forwards;
}

.floating-annotation::before {
    content: '[ ';
    opacity: 0.5;
}

.floating-annotation::after {
    content: ' ]';
    opacity: 0.5;
}

/* Different positions and animation delays for each annotation */
.floating-annotation:nth-child(1) {
    top: 20%;
    left: 8%;
    animation-delay: 0.5s;
}

.floating-annotation:nth-child(2) {
    top: 35%;
    right: 12%;
    animation-delay: 1s;
}

.floating-annotation:nth-child(3) {
    top: 55%;
    left: 15%;
    animation-delay: 1.5s;
}

.floating-annotation:nth-child(4) {
    top: 70%;
    right: 8%;
    animation-delay: 2s;
}

.floating-annotation:nth-child(5) {
    top: 25%;
    right: 25%;
    animation-delay: 2.5s;
}

.floating-annotation:nth-child(6) {
    top: 80%;
    left: 25%;
    animation-delay: 3s;
}

@keyframes floatAndFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
        color: rgba(14, 165, 233, 0.6);
    }
    15% {
        opacity: 0.7;
        transform: translateY(0);
        color: rgba(14, 165, 233, 0.7);
    }
    30% {
        opacity: 0.7;
        transform: translate(10px, -12px) rotate(1deg);
        color: rgba(14, 165, 233, 0.7);
    }
    50% {
        opacity: 0.6;
        transform: translate(-8px, 8px) rotate(-1deg);
        color: rgba(80, 200, 255, 0.8);
    }
    70% {
        opacity: 0.5;
        transform: translate(12px, 5px) rotate(0.5deg);
        color: rgba(150, 220, 255, 0.9);
    }
    85% {
        opacity: 0.4;
        transform: translate(5px, -5px);
        color: rgba(200, 235, 255, 0.95);
    }
    100% {
        opacity: 0;
        transform: translate(0, -15px);
        color: rgba(255, 255, 255, 1);
    }
}

/* Sparkle/Star elements for hero */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.6);
    pointer-events: none;
    animation: sparkleGlow 3s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 30%; right: 15%; animation-delay: 0.5s; }
.sparkle:nth-child(3) { top: 60%; left: 10%; animation-delay: 1s; }
.sparkle:nth-child(4) { top: 45%; right: 25%; animation-delay: 1.5s; }
.sparkle:nth-child(5) { top: 75%; left: 30%; animation-delay: 2s; }
.sparkle:nth-child(6) { top: 20%; right: 35%; animation-delay: 2.5s; }

@keyframes sparkleGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* 2. Dotted World Map Background Pattern */
.dotted-map-bg {
    position: relative;
    overflow: hidden;
}

.dotted-map-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 30% 40%, rgba(14, 165, 233, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 50% 30%, rgba(14, 165, 233, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 90% 35%, rgba(14, 165, 233, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 15% 60%, rgba(14, 165, 233, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 35% 75%, rgba(14, 165, 233, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 55% 85%, rgba(14, 165, 233, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 70%, rgba(14, 165, 233, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 85% 90%, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
    background-size:
        80px 80px,
        120px 120px,
        100px 100px,
        90px 90px,
        110px 110px,
        130px 130px,
        70px 70px,
        140px 140px,
        85px 85px,
        95px 95px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

/* Dense dot pattern overlay - like connection points on a map */
.connection-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(14, 165, 233, 0.15) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

/* 3. Animated Count-Up Metrics - Enhanced */
.count-up-section {
    position: relative;
    z-index: 2;
}

.count-up-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 0;
}

.count-up-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.count-up-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(14, 165, 233, 0.3), transparent);
}

.count-up-item:last-child::after {
    display: none;
}

.count-up-number {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 40%, #10B981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.count-up-number.counted {
    opacity: 1;
    transform: translateY(0);
}

.count-up-suffix {
    font-size: 0.5em;
    font-weight: 600;
    background: linear-gradient(135deg, #10B981 0%, #C9A961 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.count-up-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-gray);
}

.count-up-sublabel {
    font-size: 0.8rem;
    color: var(--muted-gray);
    margin-top: 0.25rem;
    font-weight: 400;
}

/* 4. Section Counter / Pagination */
.section-counter {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.section-counter-number {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(107, 122, 140, 0.6);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.section-counter-number .current {
    color: var(--advection-teal);
    font-weight: 700;
}

.section-counter-dots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(107, 122, 140, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-dot.active {
    background: var(--advection-teal);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.section-dot:hover {
    background: var(--tech-cyan);
    transform: scale(1.3);
}

/* Progress line connecting dots */
.section-counter-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(107, 122, 140, 0.15);
    z-index: -1;
}

.section-counter-progress-fill {
    width: 100%;
    background: var(--advection-teal);
    transition: height 0.3s ease;
}

/* Responsive adjustments for new effects */
@media (max-width: 768px) {
    .floating-annotation {
        font-size: 0.45rem;
        padding: 0.15rem 0.4rem;
    }

    .floating-annotation:nth-child(n+4) {
        display: none;
    }

    .section-counter {
        display: none;
    }

    .count-up-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .count-up-item::after {
        display: none;
    }

    .count-up-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .count-up-metrics {
        grid-template-columns: 1fr;
    }

    .sparkle:nth-child(n+4) {
        display: none;
    }
}

/* ===== END FIRECRAWL-INSPIRED EFFECTS ===== */

/* Accessibility - Respect User Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}