/**
 * myID Africa - Main Stylesheet
 * Simple, elegant, minimalist design with subtle African flair
 */

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    /* Primary Colors - Teal/Cyan from pitch deck */
    --color-primary: #16424a;        /* Teal - professional and trustworthy */
    --color-primary-dark: #0f2e33;
    --color-primary-light: #1d5661;

    /* Secondary Colors */
    --color-secondary: #0F766E;      /* Teal - representing trust */
    --color-secondary-dark: #0D9488;
    --color-secondary-light: #14B8A6;

    /* Neutral Colors */
    --color-text: #1F2937;
    --color-text-secondary: #6B7280;
    --color-text-muted: #9CA3AF;
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F9FAFB;
    --color-bg-tertiary: #F3F4F6;
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;

    /* Accent Colors */
    --color-accent: #DC2626;         /* Warm red accent */
    --color-success: #059669;
    --color-warning: #16424a;
    --color-error: #DC2626;

    /* Navigation */
    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-height: 72px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'SK Modernist', 'Montserrat', -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* Dark Mode */
[data-theme="dark"] {
    --color-text: #F9FAFB;
    --color-text-secondary: #D1D5DB;
    --color-text-muted: #9CA3AF;
    --color-bg: #111827;
    --color-bg-secondary: #1F2937;
    --color-bg-tertiary: #374151;
    --color-border: #374151;
    --color-border-light: #4B5563;
    --nav-bg: rgba(17, 24, 39, 0.95);
}

/* ========================================
   Font Face Declarations
   ======================================== */
/* Montserrat - loaded via Google Fonts */
/* SK Modernist - loaded locally */
@font-face {
    font-family: 'SK Modernist';
    src: url('/fonts/sk-modernist/Sk-Modernist-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SK Modernist';
    src: url('/fonts/sk-modernist/Sk-Modernist-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   Base Styles
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);

    /* ====== CONCRETE/STONE TEXTURE OPTIONS ====== */
    /* Uncomment ONE of the options below to try different textures */

    /* Option 1: Fine grain concrete (ACTIVE) */
    background-image:
        repeating-linear-gradient(90deg, rgba(0,0,0,.03) 0px, transparent 1px, transparent 2px, rgba(0,0,0,.03) 3px),
        repeating-linear-gradient(0deg, rgba(0,0,0,.03) 0px, transparent 1px, transparent 2px, rgba(0,0,0,.03) 3px),
        linear-gradient(90deg, rgb(248,248,248), rgb(252,252,252));
    background-size: 100px 100px, 100px 100px, 100%;

    /* Option 2: Light stone with subtle variation */
    /* background-image:
        radial-gradient(circle at 20% 50%, rgba(0,0,0,.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0,0,0,.015) 0%, transparent 50%),
        linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    background-size: 200px 200px, 300px 300px, 100%; */

    /* Option 3: Subtle diagonal stone pattern */
    /* background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(0,0,0,.02) 35px, rgba(0,0,0,.02) 70px),
        linear-gradient(to bottom, #fafafa, #f8f8f8);
    background-size: 100%; */

    /* Option 4: Organic concrete texture */
    /* background-image:
        radial-gradient(ellipse at 10% 10%, rgba(0,0,0,.015) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 90%, rgba(0,0,0,.015) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.02) 0%, transparent 30%),
        linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 50%, #f9f9f9 100%);
    background-size: 400px 400px, 500px 500px, 250px 250px, 100%; */

    /* Option 5: No texture (clean white) */
    /* background-image: none; */

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

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

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

/* Improve heading balance and paragraph wrapping */
h1, h2, h3, h4 {
    text-wrap: balance;
}

/* Prevent specific headings from breaking awkwardly */
#why-it-matters h2 {
    white-space: nowrap;
}

@media (max-width: 768px) {
    #why-it-matters h2 {
        white-space: normal;
        font-size: clamp(1.5rem, 6vw, 3rem);
    }
}

p, li {
    text-wrap: pretty;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
}

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }

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

a:hover {
    color: var(--color-primary-dark);
}

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section--large {
    padding: 6rem 0;
}

.section--bg {
    background-color: var(--color-bg-secondary);
}

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: 1000;
    transition: all var(--transition-base);
}

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

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav__logo img {
    height: 56px;
    width: auto;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav__links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.nav__links a:hover,
.nav__links a.active {
    color: var(--color-primary);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switcher__btn:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-primary);
}

.lang-switcher__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 140px;
    margin-top: var(--spacing-xs);
    padding: var(--spacing-sm) 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-fast);
    z-index: 100;
}

.lang-switcher:hover .lang-switcher__dropdown,
.lang-switcher__dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
    color: var(--color-text);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.lang-switcher__option:hover {
    background: var(--color-bg-secondary);
}

.lang-switcher__option.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* Mobile Menu */
.nav__mobile-toggle {
    display: none;
    padding: var(--spacing-sm);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

.nav__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: all var(--transition-fast);
}

@media (max-width: 900px) {
    .nav__links {
        display: none;
    }

    .nav__mobile-toggle {
        display: block;
    }

    .nav__links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        padding: var(--spacing-lg);
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + var(--spacing-xl));
    padding-bottom: var(--spacing-2xl);
    overflow: hidden;
}

/* Subtle African pattern background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D97706' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 560px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.hero__title {
    margin-bottom: var(--spacing-lg);
    text-wrap: balance;
}

.hero__title span {
    display: block;
}

.hero__title .highlight {
    color: var(--color-primary);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Hero Image Display */
.hero__image-display {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__main-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

@media (max-width: 900px) {
    .hero__visual {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    :root { --nav-height: 60px; }
    .nav__logo img { height: 48px; }
    .hero { min-height: auto; padding-top: calc(var(--nav-height) + var(--spacing-lg)); padding-bottom: var(--spacing-lg); }
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn--primary {
    background: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-base);
}

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

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.5rem;
}

.card__title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.card__text {
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--color-bg-secondary);
}

.features__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   How It Works Section
   ======================================== */
.steps {
    counter-reset: step;
}

.steps__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .steps__list {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.step {
    position: relative;
    padding: var(--spacing-xl);
    background: var(--color-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-lg);
    background: var(--color-primary);
    color: white;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
}

.step__title {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.step__text {
    color: var(--color-text-secondary);
    margin-bottom: 0;
    font-size: clamp(0.9375rem, 2vw, 1rem);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .step {
        padding: var(--spacing-lg);
    }

    .step::before {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
        margin-bottom: var(--spacing-md);
    }
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

.stats h2,
.stats h3,
.stats p {
    color: white !important;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    text-align: center;
}

@media (max-width: 768px) {
    .stats__grid {
        grid-template-columns: 1fr;
    }
}

.stat__number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat__label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   Use Cases / Benefits
   ======================================== */
.use-cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .use-cases__grid {
        grid-template-columns: 1fr;
    }
}

.use-case {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.use-case__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.use-case__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.use-case__text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.cta-section__content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section__title {
    margin-bottom: var(--spacing-md);
}

.cta-section__text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

.cta-section__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    height: 72px;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .footer__logo {
        height: 96px;
    }
}

.footer__about {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer__title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--spacing-sm);
}

.footer__links a {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.footer__links a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer__legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer__legal a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__brand {
        grid-column: span 1;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

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

/* ========================================
   FAQ Section
   ======================================== */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--spacing-lg) 0;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--color-primary);
}

.faq-item__icon {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

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

.faq-item__answer p {
    padding-bottom: var(--spacing-lg);
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Page Content Area
   ======================================== */
.page-header {
    padding-top: calc(var(--nav-height) + var(--spacing-xl));
    padding-bottom: var(--spacing-2xl);
    text-align: center;
    background: var(--color-bg-secondary);
}

.page-header__title {
    margin-bottom: var(--spacing-md);
}

.page-header__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: var(--spacing-2xl) 0;
}

.content-section h2 {
    margin-bottom: var(--spacing-lg);
}

.content-section p {
    max-width: 800px;
}

/* Inclusion badges for device types */
.inclusion-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.inclusion-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.inclusion-badge__icon {
    color: var(--color-primary);
}

/* ========================================
   TD1 Card Showcase
   ======================================== */
.td1-showcase {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl) 0;
}

.td1-showcase__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.td1-showcase__header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.td1-showcase__header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
}

.td1-cards {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    perspective: 1000px;
}

.td1-card-container {
    width: 380px;
    height: 240px;
    perspective: 1000px;
    cursor: pointer;
}

.td1-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1);
}

.td1-card-container:hover .td1-card {
    transform: rotateY(180deg);
}

.td1-card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.td1-card__face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.td1-card__front {
    z-index: 2;
}

.td1-card__back {
    transform: rotateY(180deg);
}

.td1-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.td1-hint {
    text-align: center;
    margin-top: var(--spacing-lg);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.td1-hint i {
    color: var(--color-primary);
}

/* Static side-by-side view for mobile */
.td1-static {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.td1-static__card {
    width: 100%;
    max-width: 340px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.td1-static__card img {
    width: 100%;
    height: auto;
    display: block;
}

.td1-static__label {
    text-align: center;
    padding: var(--spacing-sm);
    background: var(--color-bg-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .td1-cards {
        display: none;
    }

    .td1-static {
        display: flex;
    }

    .td1-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .td1-static__card {
        max-width: 100%;
    }
}

/* Dark mode adjustments */
[data-theme="dark"] .td1-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .td1-static__label {
    background: var(--color-bg-tertiary);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Responsive Grid Utilities */
.responsive-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .responsive-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   Responsive Typography
   ======================================== */
@media (max-width: 600px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-header {
        padding-top: calc(var(--nav-height) + var(--spacing-xl));
        padding-bottom: var(--spacing-xl);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .btn--sm {
        width: auto;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
}

/* Staggered animations */
.stagger > * {
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   Illustration System - Gen-Z Style
   PLACEHOLDER: Replace with final artwork
   ======================================== */

/* Hero Illustration */
.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Privacy & Consent Illustrations */
.privacy-consent-container {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    align-items: center;
    margin: var(--spacing-2xl) 0;
    flex-wrap: wrap;
}

.privacy-illustration-wrapper,
.consent-illustration-wrapper {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.privacy-illustration,
.consent-illustration {
    width: 100%;
    height: auto;
    display: block;
}

/* Global Cross-Border Illustration */
.global-illustration-wrapper {
    max-width: 400px;
    margin: var(--spacing-2xl) auto;
    text-align: center;
}

.global-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-illustration {
        max-width: 100%;
        margin-top: var(--spacing-xl);
    }

    .privacy-consent-container {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .privacy-illustration-wrapper,
    .consent-illustration-wrapper {
        max-width: 100%;
    }

    .global-illustration-wrapper {
        margin: var(--spacing-lg) auto;
    }
}

/* ========================================
   Chatbot Orb Avatar & Pulse Animation
   ======================================== */

/* Orb avatar in chatbot header */
.orb-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

/* Pulse animation - ONLY active when bot is typing */
.chatbot-header-avatar.is-typing .orb-avatar {
    animation: orbPulse 1.5s ease-in-out infinite;
}

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

/* Pulse ring in SVG (subtle glow effect when typing) */
.chatbot-header-avatar.is-typing .orb-pulse-ring {
    animation: ringPulse 1.5s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% {
        opacity: 0.3;
        stroke-width: 1;
    }
    50% {
        opacity: 0.6;
        stroke-width: 2;
    }
}

/* Static state - no animation */
.chatbot-header-avatar:not(.is-typing) .orb-avatar {
    animation: none;
}

/* Accessibility - respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .chatbot-header-avatar.is-typing .orb-avatar,
    .chatbot-header-avatar.is-typing .orb-pulse-ring {
        animation: none;
    }
}


/* ========================================
   Enlarged Illustrations & Zoom Effects
   ======================================== */

/* Enlarge hero illustration */
.hero-illustration {
    width: 100%;
    max-width: 650px;  /* Increased from 500px */
    height: auto;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-illustration:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Enlarge privacy/consent illustrations */
.privacy-illustration,
.consent-illustration {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.privacy-illustration-wrapper,
.consent-illustration-wrapper {
    flex: 1;
    min-width: 250px;  /* Increased from 200px */
    max-width: 500px;  /* Increased from 400px */
}

.privacy-illustration:hover,
.consent-illustration:hover,
.global-illustration:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Global illustration remains same size but gets zoom cursor */
.global-illustration {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Zoomable image cursor */
.zoomable-image {
    cursor: zoom-in;
}

/* ========================================
   Image Zoom Modal
   ======================================== */

.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-zoom-modal.active {
    display: flex;
}

.image-zoom-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.image-zoom-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
}

.image-zoom-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.image-zoom-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-zoom-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* Mobile responsive for zoom modal */
@media (max-width: 768px) {
    .image-zoom-close {
        top: 10px;
        right: 10px;
    }
    
    .image-zoom-img {
        max-width: 95vw;
        max-height: 80vh;
    }
}


/* ========================================
   Hero Logo - Large and Prominent
   ======================================== */

.hero__logo-wrapper {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
}

.hero__logo {
    width: 550px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(22, 66, 74, 0.15));
    transition: filter 0.3s ease;
}

.hero__logo:hover {
    filter: drop-shadow(0 12px 32px rgba(22, 66, 74, 0.2));
}

/* Mobile responsive for hero logo */
@media (max-width: 768px) {
    .hero__logo-wrapper {
        margin-bottom: 2rem;
        padding: 1.5rem 0.5rem;
    }
    
    .hero__logo {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero__logo-wrapper {
        margin-bottom: 1.5rem;
        padding: 1rem 0;
    }
    
    .hero__logo {
        max-width: 320px;
    }
}


/* ========================================
   How It Works - 2x2 Grid Layout
   ======================================== */

.steps__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.step__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Mobile: Stack to 1 column */
@media (max-width: 768px) {
    .steps__list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}


/* ========================================
   Privacy Carousel - Large Legible Illustrations
   ======================================== */

.privacy-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 60px;
}

.privacy-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
}

.carousel-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    min-height: 600px;
    justify-content: center;
}

.carousel-slide.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.carousel-illustration {
    width: 100%;
    max-width: 700px;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.carousel-illustration:hover {
    transform: scale(1.02);
}

.carousel-caption {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(22, 66, 74, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(22, 66, 74, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 0;
}

.carousel-btn-next {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(22, 66, 74, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(22, 66, 74, 0.6);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--color-primary);
    width: 32px;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .privacy-carousel-container {
        padding: 0 50px;
    }
    
    .carousel-slide {
        padding: 2rem 1rem;
        min-height: 450px;
    }
    
    .carousel-illustration {
        max-width: 100%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-caption {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .privacy-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-slide {
        padding: 1.5rem 0.5rem;
        min-height: 350px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}


/* ========================================
   Fix Hero Visual Layout - Stack Logo and Illustration
   ======================================== */

.hero__visual {
    display: flex;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0 !important;
}


/* ========================================
   Hero Section Layout Fixes
   ======================================== */

/* Hero illustration in content area */
.hero__illustration-wrapper {
    margin: 2rem 0;
    max-width: 450px;
}

.hero__illustration-wrapper .hero-illustration {
    width: 100%;
    max-width: 450px;
}

/* Hero CTA buttons side-by-side on desktop */
.hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Logo in right column - reduce padding on desktop */
.hero__visual .hero__logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(22, 66, 74, 0.15));
}

/* Reduce top padding on hero section for desktop */
@media (min-width: 901px) {
    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
    }
    
    .hero__title {
        margin-top: 0;
        padding-top: 0;
    }
}

/* Mobile: stack buttons */
@media (max-width: 768px) {
    .hero__cta {
        flex-direction: column;
    }
    
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__illustration-wrapper {
        margin: 1.5rem auto;
        max-width: 100%;
    }
}


/* ========================================
   Hero Section - New 3-Column Layout
   ======================================== */

.hero {
    padding-top: calc(var(--nav-height) + 1rem) !important;
    padding-bottom: 2rem !important;
}

.hero__container-new {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

.hero__text {
    padding-top: 0;
}

.hero__badge {
    margin-bottom: 1rem !important;
}

.hero__title {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

.hero__subtitle {
    margin-bottom: 1.5rem !important;
}

.hero__cta-new {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap !important;
}

.hero__cta-new .btn {
    white-space: nowrap;
}

.hero__illustration-large {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration-big {
    width: 100%;
    max-width: 600px;
    height: auto;
    cursor: zoom-in;
}

.hero__logo-column {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
}

.hero__logo-large {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(22, 66, 74, 0.12));
}

/* Mobile: Stack all elements */
@media (max-width: 1024px) {
    .hero__container-new {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero__cta-new {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__cta-new .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero__logo-column {
        order: -1;
    }
    
    .hero-illustration-big {
        max-width: 450px;
    }
    
    .hero__logo-large {
        max-width: 350px;
    }
}


/* ========================================
   Hero Section - PROPER 2-Column Layout
   ======================================== */

.hero__container-fixed {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hero__left {
    /* All content in left column */
}

.hero__badge {
    margin-bottom: 0.75rem !important;
}

.hero__title {
    margin: 0 0 1rem 0 !important;
}

.hero__subtitle {
    margin: 0 0 2rem 0 !important;
}

.hero__svg {
    margin: 0 0 2rem 0;
}

.hero-svg-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    cursor: zoom-in;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

.hero__right {
    /* Logo in right column */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-logo-img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* Mobile: stack everything */
@media (max-width: 900px) {
    .hero__container-fixed {
        grid-template-columns: 1fr;
    }
    
    .hero__right {
        order: -1;
        justify-content: center;
    }
    
    .hero-logo-img {
        max-width: 350px;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
}


/* ========================================
   Hero Grid - SVG Spans Both Columns
   ======================================== */

.hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
        "text logo"
        "svg svg"
        "buttons .";
    gap: 2rem;
    align-items: start;
}

.hero__text-left {
    grid-area: text;
}

.hero__logo-right {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero__svg-full {
    grid-area: svg;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.hero__buttons-left {
    grid-area: buttons;
    display: flex;
    gap: 1rem;
}

.hero__badge {
    margin-bottom: 0.75rem !important;
}

.hero__title {
    margin: 0 0 1rem 0 !important;
}

.hero__subtitle {
    margin: 0 !important;
}

.hero-svg-img {
    width: 100%;
    max-width: 1024px;
    height: auto;
    cursor: zoom-in;
}

.hero-logo-img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* Mobile: stack everything */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "text"
            "svg"
            "buttons";
    }
    
    .hero__logo-right {
        justify-content: center;
    }
    
    .hero-logo-img {
        max-width: 350px;
    }
    
    .hero-svg-img {
        max-width: 100%;
    }
    
    .hero__buttons-left {
        flex-direction: column;
    }
    
    .hero__buttons-left .btn {
        width: 100%;
    }
}


/* ========================================
   Hero Grid - SVG BELOW Buttons
   ======================================== */

.hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
        "text logo"
        "buttons logo"
        "svg svg";
    gap: 2rem;
    align-items: start;
}

.hero__text-left {
    grid-area: text;
}

.hero__logo-right {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero__svg-full {
    grid-area: svg;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.hero__buttons-left {
    grid-area: buttons;
    display: flex;
    gap: 1rem;
}

.hero__badge {
    margin-bottom: 0.75rem !important;
}

.hero__title {
    margin: 0 0 1rem 0 !important;
}

.hero__subtitle {
    margin: 0 0 2rem 0 !important;
}

.hero-svg-img {
    width: 100%;
    max-width: 1024px;
    height: auto;
    cursor: zoom-in;
}

.hero-logo-img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* Mobile: stack everything */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "text"
            "buttons"
            "svg";
    }
    
    .hero__logo-right {
        justify-content: center;
    }
    
    .hero-logo-img {
        max-width: 350px;
    }
    
    .hero-svg-img {
        max-width: 100%;
    }
    
    .hero__buttons-left {
        flex-direction: column;
    }
    
    .hero__buttons-left .btn {
        width: 100%;
    }
}


/* ========================================
   Global Illustration - 1024px Spanning
   ======================================== */

.global-illustration-wrapper {
    max-width: 100%;
    margin: 2rem auto;
    text-align: center;
}

.global-illustration {
    width: 100%;
    max-width: 1024px;
    height: auto;
    cursor: zoom-in;
}


/* ========================================
   Carousel Updates - No Background, 1024px Images
   ======================================== */

.privacy-carousel {
    background: transparent !important;
    box-shadow: none !important;
}

.carousel-slide {
    background: transparent !important;
    padding: 2rem 1rem !important;
}

.carousel-illustration {
    width: 100%;
    max-width: 1024px !important;
    height: auto;
    cursor: zoom-in;
}


/* ========================================
   Carousel Fix - Remove Height Constraints
   ======================================== */

.privacy-carousel-container {
    max-width: 1200px !important;
}

.carousel-slide {
    min-height: auto !important;
    padding: 1rem !important;
}

.carousel-illustration {
    display: block;
    margin: 0 auto;
}


/* ========================================
   Carousel Container - Full Width
   ======================================== */

.privacy-carousel-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 2rem 0 !important;
    padding: 0 !important;
}


/* ========================================
   Hero Grid - Updated Layout with Spanning Elements
   ======================================== */

.hero__grid {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    grid-template-areas:
        "text logo"
        "subtitle subtitle"
        "svg svg"
        "buttons buttons" !important;
    gap: 2rem !important;
    align-items: start !important;
}

.hero__text-left {
    grid-area: text !important;
}

.hero__logo-right {
    grid-area: logo !important;
}

.hero__subtitle-full {
    grid-area: subtitle !important;
}

.hero__svg-full {
    grid-area: svg !important;
}

.hero__buttons-full {
    grid-area: buttons !important;
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
}


/* ========================================
   Hero SVG - Larger Size
   ======================================== */

.hero-svg-img {
    max-width: 1280px !important;
}


/* ========================================
   Hero Grid - Mobile 1 Column Fix
   ======================================== */

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "logo"
            "text"
            "subtitle"
            "svg"
            "buttons" !important;
    }
    
    .hero__buttons-full {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__buttons-full .btn {
        width: 100%;
        max-width: 300px;
    }
}


/* ========================================
   Hero Mobile - Center Text
   ======================================== */

@media (max-width: 900px) {
    .hero__text-left {
        text-align: center;
    }
    
    .hero__subtitle-full {
        text-align: center;
    }
}


/* ========================================
   Image Zoom Modal - Higher Z-Index
   ======================================== */

.image-zoom-modal {
    z-index: 99999 !important;
}

.image-zoom-content {
    z-index: 100000 !important;
}

.image-zoom-img {
    background: white;
    padding: 1rem;
}


/* ========================================
   Privacy Section - Reduce Subtitle Padding
   ======================================== */

.features__header {
    margin-bottom: 1rem !important;
}

.features__header p {
    margin-bottom: 0.5rem !important;
}

