/* ========================================
   ADTRACE API - LANDING PAGE STYLES
   Clean Corporate Tech Design
   ======================================== */

/* ========================================
   CSS VARIABLES (Design Tokens)
   ======================================== */
:root {
    /* Primary Colors */
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-300: #A5B4FC;
    --primary-400: #818CF8;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-800: #3730A3;
    --primary-900: #312E81;
    --primary-950: #1E1B4B;
    
    /* Secondary (Emerald) */
    --secondary-50: #ECFDF5;
    --secondary-100: #D1FAE5;
    --secondary-200: #A7F3D0;
    --secondary-300: #6EE7B7;
    --secondary-400: #34D399;
    --secondary-500: #10B981;
    --secondary-600: #059669;
    --secondary-700: #047857;
    
    /* Neutral (Slate) */
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    --slate-950: #020617;
    
    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 8rem);
    
    /* Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px -10px var(--primary-500);
    --shadow-glow-sm: 0 0 20px -5px var(--primary-500);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   BASE STYLES
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--slate-700);
    background-color: var(--slate-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
}

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

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

img { max-width: 100%; height: auto; }

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 50%, var(--secondary-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-accent { color: var(--primary-600); }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all var(--transition-slow);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), var(--shadow-md);
    transition: all 0.3s ease; /* Suaviza a troca de cor */
}

/* Quando o nav estiver sobre fundo claro, mudamos as cores para preto */
.navbar.navbar-on-light .nav-link {
    color: #000 !important; /* Força preto nos links */
}

/* Ajusta o botão CTA outline se necessário */
.navbar.navbar-on-light .btn-nav-outline {
    border-color: #000;
    color: #000;
}

/* Ajusta o ícone do menu mobile (hambúrguer) */
.navbar.navbar-on-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Caso tenha uma versão escura do logo, você pode trocar via CSS ou filter */
.navbar.navbar-on-light .logo-icon img {
    /* filter: invert(1); /* Truque rápido para inverter a cor do logo se for branco/preto */
}

.navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--slate-900) !important;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impede que a logo encolha se faltar espaço */
}

/* Tamanho Desktop */
.logo-responsive {
    height: 65px;       /* Tamanho bem generoso para PC */
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

/* Tablet e Mobile (Telas abaixo de 992px) */
@media (max-width: 992px) {
    .logo-responsive {
        height: 52px;   /* Grande para mobile, mas ainda seguro */
    }
}

/* Segurança para Celulares Estreitos */
@media (max-width: 450px) {
    .logo-responsive {
        height: 48px;         /* Um pouco menor para telas estreitas */
        max-width: 70vw;      /* Trava: nunca ocupe mais de 70% da largura da tela */
    }
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--slate-900);
}

.navbar-nav { gap: 0.25rem; }

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--primary-200) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-600) !important;
    background: var(--primary-50);
}

.nav-cta { gap: 0.5rem; }

.btn-nav-outline {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    color: var(--primary-200);
    background: transparent;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-nav-outline:hover {
    color: var(--primary-600);
    border-color: var(--primary-200);
    background: var(--primary-50);
}

.btn-nav-solid {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    color: white;
    background: var(--primary-600);
    border: 1.5px solid var(--primary-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-nav-solid:hover {
    color: white;
    background: var(--primary-700);
    border-color: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-sm);
}

/* Mobile Navbar */
.navbar-toggler { border: none; padding: 0.5rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { width: 1.25em; height: 1.25em; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
    }
    .navbar-nav { margin-bottom: 1rem; }
    .nav-cta { flex-direction: column; }
    .nav-cta .btn { width: 100%; justify-content: center; }
}


/* ========================================
   HERO SECTION - PREMIUM REDESIGN
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0F0E17 0%, #1a1a2e 50%, #16213e 100%);
    padding-top: 80px;
}

.hero-row {
    min-height: calc(100vh - 160px);
    padding: 2rem 0;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero-gradient-orb.orb-1 {
    width: 600px; height: 600px;
    top: -200px; right: 10%;
    background: radial-gradient(circle, var(--primary-500) 0%, transparent 70%);
    animation: floatOrb 20s ease-in-out infinite;
}

.hero-gradient-orb.orb-2 {
    width: 500px; height: 500px;
    bottom: -150px; left: -100px;
    background: radial-gradient(circle, var(--secondary-500) 0%, transparent 70%);
    animation: floatOrb 25s ease-in-out infinite reverse;
}

.hero-gradient-orb.orb-3 {
    width: 300px; height: 300px;
    top: 40%; left: 30%;
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
    animation: floatOrb 15s ease-in-out infinite 5s;
}

.hero-glow {
    position: absolute;
    top: 50%; right: 20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    transform: translateY(-50%);
}

.hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, white 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, white 20%, transparent 70%);
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(40px, 20px) scale(1.02); }
}

/* Hero Content */
.hero-content { position: relative; z-index: 10; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--secondary-500);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-500);
    animation: pulseDot 2s ease-in-out infinite;
}

.badge-arrow {
    font-size: 0.75rem;
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.hero-badge:hover .badge-arrow {
    opacity: 1;
    transform: translateX(3px);
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--secondary-500); }
    50% { opacity: 0.6; box-shadow: 0 0 20px var(--secondary-500); }
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: white;
    margin-bottom: 1.25rem;
}

.hero-headline .text-gradient {
    background: linear-gradient(135deg, #818CF8 0%, #6366F1 30%, #10B981 70%, #34D399 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subheadline {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    max-width: 440px;
}

.hero-subheadline strong { color: rgba(255, 255, 255, 0.9); font-weight: 600; }

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.5rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px -4px rgba(99, 102, 241, 0.5);
}

.btn-hero-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -6px rgba(99, 102, 241, 0.6);
}

.btn-hero-primary i {
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.btn-hero-primary:hover i { transform: translateX(4px); }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn-hero-secondary:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-hero-secondary i { font-size: 1.125rem; }

/* Trust Badges - Dark Theme */
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.625rem; }

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.trust-badge i { font-size: 0.875rem; color: var(--primary-400); }


/* ========================================
   HERO VISUAL - 6-STEP FLOW DESIGN
   ======================================== */
.hero-visual {
    position: relative;
    z-index: 10;
    padding: 1rem;
}

.flow-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 420px;
    margin: 0 auto;
}

/* SVG Flow Lines */
.flow-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Flow Nodes Base */
.flow-node {
    position: absolute;
    z-index: 10;
}

/* Node Step Numbers */
.node-step {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-500);
    border-radius: 50%;
    font-size: 0.6875rem;
    font-weight: 700;
    color: white;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.node-step-success {
    background: var(--secondary-500);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Node Box */
.node-box {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    min-width: 150px;
}

.node-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.node-box-primary {
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.05);
}

.node-box-success {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.node-box-success:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

/* Node Icons */
.node-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1rem;
    flex-shrink: 0;
}

.icon-blue { background: rgba(99, 102, 241, 0.15); color: #818CF8; }
.icon-indigo { background: rgba(99, 102, 241, 0.2); color: #A5B4FC; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #A78BFA; }
.icon-green { background: rgba(16, 185, 129, 0.15); color: #34D399; }

/* Node Text */
.node-text {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
}

.node-title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
}

.node-desc {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Node Badge */
.node-badge {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    color: #A5B4FC;
    font-size: 0.6875rem;
    margin-left: auto;
}

/* Node Check */
.node-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-500);
    border-radius: 50%;
    color: white;
    font-size: 0.8125rem;
    margin-left: auto;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.7); }
}

/* Node Positions - S-shaped flow */
.node-1 { top: 2%; left: 0; }           /* Click */
.node-2 { top: 2%; left: 42%; }         /* API Recebe */
.node-3 { top: 38%; left: 42%; }        /* Venda */
.node-4 { top: 38%; right: 0; }         /* Webhook */
.node-5 { top: 68%; left: 42%; }        /* API Processa */
.node-6 { bottom: 0; left: 0; }         /* Google Ads */

/* Flow Stats */
.flow-stats {
    position: absolute;
    bottom: 8px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flow-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
}

.flow-stat .stat-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-400);
}

.flow-stat .stat-label {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.flow-stat:last-child .stat-value {
    color: var(--secondary-400);
}

/* Responsive Flow */
@media (max-width: 991.98px) {
    .flow-container { height: 380px; max-width: 100%; }
    .node-box { min-width: 130px; padding: 0.5rem 0.75rem; }
    .node-icon { width: 32px; height: 32px; font-size: 0.875rem; }
    .node-title { font-size: 0.75rem; }
    .node-desc { font-size: 0.5625rem; }
    .flow-stats { display: none; }
}

@media (max-width: 767.98px) {
    .hero-visual { display: none; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all var(--transition-base);
}

.scroll-link:hover { color: rgba(255, 255, 255, 0.7); }
.scroll-link:hover .scroll-mouse { border-color: rgba(255, 255, 255, 0.4); }

.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    transition: all var(--transition-base);
}

.scroll-wheel {
    position: absolute;
    top: 6px; left: 50%;
    width: 4px; height: 8px;
    background: var(--primary-400);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

.scroll-indicator span {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-chevron {
    font-size: 0.75rem;
    animation: bounceChevron 2s ease-in-out infinite;
}

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

/* Responsive Hero Visual */
@media (max-width: 991.98px) {
    .hero-section { padding-top: 100px; }
    .hero-row { min-height: auto; padding: 3rem 0; }
    .hero-headline { font-size: 2.5rem; }
    .hero-headline br { display: none; }
    .hero-visual { margin-top: 3rem; }
    .flow-container { height: 350px; max-width: 100%; }
    .node-box { padding: 0.75rem; }
    .node-title { font-size: 0.8125rem; }
    .flow-stats { display: none; }
    .node-platforms { display: none; }
}

@media (max-width: 767.98px) {
    .hero-visual { display: none; }
    .hero-content { text-align: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-subheadline { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .trust-badges { justify-content: center; }
}


/* ========================================
   SECTION COMMON STYLES
   ======================================== */

section { padding: var(--section-padding) 0; }

.section-header { max-width: 680px; margin: 0 auto 4rem; }

.section-tag {
    display: inline-flex;
    padding: 0.375rem 1rem;
    background: var(--primary-100);
    color: var(--primary-700);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8125rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--slate-600);
    line-height: 1.6;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section { background: white; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.feature-card {
    position: relative;
    padding: 2rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: white;
    border-color: var(--primary-200);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card.featured {
    background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 100%);
    border-color: var(--primary-800);
}

.feature-card.featured * { color: white; }
.feature-card.featured .feature-description { color: var(--primary-200); }
.feature-card.featured .feature-list li { color: var(--primary-200); }
.feature-card.featured .feature-list i { color: var(--secondary-400); }

.featured-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--secondary-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.feature-icon {
    position: relative;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--primary-600);
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.icon-glow {
    position: absolute;
    inset: -4px;
    background: var(--primary-500);
    border-radius: var(--radius-lg);
    opacity: 0;
    filter: blur(12px);
    transition: opacity var(--transition-base);
}

.feature-card:hover .icon-glow { opacity: 0.3; }

.icon-glow.glow-emerald { background: var(--secondary-500); }
.icon-glow.glow-purple { background: #8B5CF6; }
.icon-glow.glow-amber { background: #F59E0B; }

.icon-shield { background: var(--secondary-100); color: var(--secondary-600); }
.icon-hub { background: #F3E8FF; color: #8B5CF6; }
.icon-speed { background: #FEF3C7; color: #F59E0B; }

.feature-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }

.feature-description {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-list { list-style: none; padding: 0; margin: 0; }

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-bottom: 0.5rem;
}

.feature-list i { font-size: 1rem; color: var(--secondary-500); }

.integration-logos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.integration-tag {
    padding: 0.25rem 0.625rem;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--slate-600);
}

.performance-stats { display: flex; gap: 2rem; margin-top: 1rem; }

.stat { display: flex; flex-direction: column; }

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

.stat-label { font-size: 0.75rem; color: var(--slate-500); }

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works-section { background: var(--slate-900); color: white; }

.how-it-works-section .section-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-300);
}

.how-it-works-section .section-title { color: white; }
.how-it-works-section .section-subtitle { color: var(--slate-400); }

.steps-timeline { position: relative; max-width: 800px; margin: 0 auto; }

.step-item {
    display: grid;
    grid-template-columns: auto 60px 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
    .step-item { grid-template-columns: 60px 1fr; }
    .step-number { display: none; }
}

.step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--slate-800);
    line-height: 1;
    text-align: right;
}

.step-connector {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.connector-line {
    position: absolute;
    top: 28px;
    width: 2px;
    height: calc(100% + 2rem);
    background: linear-gradient(180deg, var(--primary-500) 0%, var(--slate-700) 100%);
}

.step-item:last-child .connector-line { display: none; }

.connector-dot {
    width: 16px; height: 16px;
    background: var(--primary-500);
    border: 3px solid var(--slate-900);
    border-radius: 50%;
    z-index: 1;
    margin-top: 6px;
}

.connector-dot.success {
    background: var(--secondary-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.step-content {
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.step-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-900);
    border-radius: var(--radius-lg);
    color: var(--primary-400);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-icon.icon-process { background: #7C3AED20; color: #A78BFA; }
.step-icon.icon-webhook { background: #06B6D420; color: #22D3EE; }
.step-icon.icon-success { background: var(--secondary-500); color: white; }

.step-title { font-size: 1.125rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }

.step-description {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-description strong { color: var(--slate-200); }

.step-code {
    padding: 0.75rem 1rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: var(--radius-md);
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8125rem;
    color: var(--primary-300);
    overflow-x: auto;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.step-badge.success { background: rgba(16, 185, 129, 0.15); color: var(--secondary-400); }
.step-badge.danger { background: rgba(239, 68, 68, 0.15); color: #F87171; }

.step-platforms { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.step-platforms span { font-size: 0.8125rem; color: var(--slate-400); }
.step-platforms i { color: var(--secondary-500); }

.step-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-950) 100%);
    border: 1px solid var(--primary-700);
    border-radius: var(--radius-lg);
}

.result-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-md);
    color: var(--primary-600);
    font-size: 1.125rem;
}

.result-text { display: flex; flex-direction: column; }

.result-label {
    font-size: 0.75rem;
    color: var(--primary-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--secondary-400);
}

/* ========================================
   SECURITY SECTION
   ======================================== */
.security-section {
    background: linear-gradient(180deg, var(--slate-50) 0%, white 50%, var(--slate-50) 100%);
}

.security-content { padding-right: 2rem; }

@media (max-width: 991.98px) {
    .security-content { padding-right: 0; margin-bottom: 3rem; }
}

.security-description {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.security-features { display: flex; flex-direction: column; gap: 1.5rem; }

.security-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.security-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
}

.security-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    color: var(--primary-600);
    font-size: 1.25rem;
}

.security-icon.icon-data { background: var(--secondary-100); color: var(--secondary-600); }
.security-icon.icon-compliance { background: #FEF3C7; color: #F59E0B; }

.security-text h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.security-text p { font-size: 0.875rem; color: var(--slate-600); margin: 0; line-height: 1.5; }
.security-text strong { color: var(--slate-700); }

/* Security Visual */
.security-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shield-container {
    position: relative;
    width: 280px; height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-glow {
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--primary-500) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(40px);
    animation: shieldGlow 4s ease-in-out infinite;
}

@keyframes shieldGlow {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.shield-main { position: relative; z-index: 2; }

.shield-svg {
    width: 180px; height: 220px;
    filter: drop-shadow(0 20px 40px rgba(79, 70, 229, 0.3));
}

.shield-check {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: checkDraw 1s ease forwards 0.5s;
}

@keyframes checkDraw { to { stroke-dashoffset: 0; } }

/* Orbits */
.orbit {
    position: absolute;
    border: 1px dashed var(--slate-300);
    border-radius: 50%;
    animation: orbit linear infinite;
}

.orbit-1 { width: 200px; height: 200px; animation-duration: 15s; }
.orbit-2 { width: 260px; height: 260px; animation-duration: 20s; animation-direction: reverse; }
.orbit-3 { width: 320px; height: 320px; animation-duration: 25s; }

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-item {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 50%;
    color: var(--primary-600);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.orbit-item i { animation: orbitItemCounter linear infinite; }
.orbit-1 .orbit-item i { animation-duration: 15s; animation-direction: reverse; }
.orbit-2 .orbit-item i { animation-duration: 20s; }
.orbit-3 .orbit-item i { animation-duration: 25s; animation-direction: reverse; }

@keyframes orbitItemCounter {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Compliance Badges */
.compliance-badges { display: flex; gap: 1rem; margin-top: 2rem; }

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-700);
    box-shadow: var(--shadow-md);
}

.compliance-badge i { color: var(--primary-600); }

/* Security Notice */
.security-notice {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-xl);
    margin-top: 4rem;
}

.notice-icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    color: var(--primary-600);
    font-size: 1.25rem;
}

.security-notice p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.security-notice a {
    color: var(--primary-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section { background: white; }

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-500);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toggle-label.active { color: var(--slate-900); }

.toggle-discount {
    display: inline-flex;
    padding: 0.125rem 0.5rem;
    background: var(--secondary-100);
    color: var(--secondary-700);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-left: 0.25rem;
}

.toggle-switch { position: relative; width: 52px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--slate-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 22px; height: 22px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider { background: var(--primary-600); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}

.pricing-card {
    position: relative;
    padding: 2rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.pricing-card:hover { background: white; box-shadow: var(--shadow-xl); }

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 100%);
    border-color: var(--primary-700);
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .pricing-card.featured { transform: none; }
}

.pricing-card.featured * { color: white; }

.pricing-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header { text-align: center; margin-bottom: 1.5rem; }
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-description { font-size: 0.875rem; color: var(--slate-500); margin: 0; }
.pricing-card.featured .pricing-description { color: var(--primary-300); }

.pricing-price {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    margin-bottom: 1.5rem;
}

.pricing-card.featured .pricing-price { border-color: var(--primary-700); }

.price-currency { font-size: 1.25rem; font-weight: 600; vertical-align: super; }

.price-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.price-value.custom { font-size: 1.25rem; font-weight: 600; }
.price-period { font-size: 0.9375rem; color: var(--slate-500); }
.pricing-card.featured .price-period { color: var(--primary-300); }

.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: var(--slate-700);
}

.pricing-card.featured .pricing-features li { color: var(--primary-200); }
.pricing-features li.disabled { color: var(--slate-400); }
.pricing-card.featured .pricing-features li.disabled { color: var(--primary-400); opacity: 0.5; }
.pricing-features i { font-size: 1rem; color: var(--secondary-500); }
.pricing-features li.disabled i { color: var(--slate-400); }

.btn-pricing {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--slate-700);
    background: white;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn-pricing:hover {
    color: var(--primary-600);
    border-color: var(--primary-200);
    background: var(--primary-50);
}

.btn-pricing-featured {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--primary-900);
    background: linear-gradient(135deg, white 0%, var(--primary-100) 100%);
    border: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn-pricing-featured:hover {
    color: var(--primary-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -6px rgba(255, 255, 255, 0.3);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 50%, var(--slate-900) 100%);
    overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; pointer-events: none; }

.cta-gradient {
    position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--primary-600) 0%, transparent 60%);
    opacity: 0.2;
}

.cta-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--primary-200);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-900);
    background: white;
    border: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn-cta-primary:hover {
    color: var(--primary-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -6px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: white;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.btn-cta-secondary:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-note {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--primary-300);
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section { background: var(--slate-900); padding: 4rem 0 0; }

.footer-main { padding-bottom: 3rem; border-bottom: 1px solid var(--slate-800); }

.footer-brand { margin-bottom: 2rem; }
.footer-logo { display: inline-flex; margin-bottom: 1rem; }
.footer-logo .logo-text { color: white; }

.footer-description {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.6;
    max-width: 280px;
}

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

.footer-social a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-800);
    border-radius: var(--radius-md);
    color: var(--slate-400);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover { background: var(--primary-600); color: white; }

.footer-links h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

.footer-copyright p { margin: 0; font-size: 0.875rem; color: var(--slate-500); }

.footer-badges { display: flex; flex-wrap: wrap; gap: 1rem; }

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.footer-badge i { color: var(--slate-400); }

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 767.98px) {
    .hero-section { padding-top: 6rem; }
    .hero-visual { display: none; }
    .trust-badges { flex-direction: column; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .section-header { margin-bottom: 3rem; }
    .security-visual { transform: scale(0.8); }
    .compliance-badges { flex-direction: column; align-items: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar, .scroll-indicator, .cta-section { display: none; }
    section { page-break-inside: avoid; }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
