/* ============================================
   Benten Proxy — Premium Redesign
   Aesthetic: Luxury Dark / Editorial / Geometric
   ============================================ */

   @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');
   
   /* ============================================
      CSS Variables
      ============================================ */
   :root {
     /* Colors */
     --bg-0: #050507;
     --bg-1: #0b0b10;
     --bg-2: #111117;
     --bg-3: #17171f;
     --bg-card: rgba(255,255,255,0.03);
     --bg-card-hover: rgba(255,255,255,0.055);
   
     /* Accent palette — electric indigo + mint */
     --accent: #5b6af0;
     --accent-bright: #7b8bff;
     --accent-dim: rgba(91, 106, 240, 0.18);
     --accent-mint: #3fd6b5;
     --accent-mint-dim: rgba(63, 214, 181, 0.15);
     --accent-gold: #e8c878;
   
     /* Gradients */
     --grad-primary: linear-gradient(135deg, #5b6af0 0%, #3fd6b5 100%);
     --grad-subtle: linear-gradient(135deg, rgba(91,106,240,0.2) 0%, rgba(63,214,181,0.1) 100%);
     --grad-glow: radial-gradient(ellipse at 50% 0%, rgba(91,106,240,0.25) 0%, transparent 65%);
     --grad-card: linear-gradient(135deg, rgba(91,106,240,0.06) 0%, rgba(63,214,181,0.03) 100%);
   
     /* Text */
     --text-0: #ffffff;
     --text-1: rgba(255,255,255,0.92);
     --text-2: rgba(255,255,255,0.75);
     --text-3: rgba(255,255,255,0.55);
   
     /* Borders */
     --border: rgba(255,255,255,0.07);
     --border-accent: rgba(91,106,240,0.4);
     --border-mint: rgba(63,214,181,0.3);
   
     /* Shadows */
     --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
     --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
     --shadow-lg: 0 24px 64px rgba(0,0,0,0.6);
     --shadow-accent: 0 0 40px rgba(91,106,240,0.25), 0 8px 32px rgba(0,0,0,0.5);
     --shadow-mint: 0 0 30px rgba(63,214,181,0.2);
   
     /* Radii */
     --r-sm: 6px;
     --r-md: 12px;
     --r-lg: 18px;
     --r-xl: 24px;
     --r-pill: 100px;
   
     /* Timing */
     --ease: cubic-bezier(0.22, 1, 0.36, 1);
     --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
     --t-fast: 0.18s;
     --t-med: 0.32s;
     --t-slow: 0.55s;
   
     /* Fonts */
     --font-display: 'Syne', sans-serif;
     --font-body: 'DM Sans', sans-serif;
   }
   
   /* ============================================
      Reset & Base
      ============================================ */
   *, *::before, *::after {
     margin: 0; padding: 0;
     box-sizing: border-box;
   }
   html { scroll-behavior: smooth; }
   
   body {
     font-family: var(--font-body);
     background: var(--bg-0);
     color: var(--text-1);
     line-height: 1.65;
     font-size: 16px;
     overflow-x: hidden;
     -webkit-font-smoothing: antialiased;
   }
   
   /* Noise overlay for texture */
   body::before {
     content: '';
     position: fixed;
     inset: 0;
     background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
     pointer-events: none;
     z-index: 9999;
     opacity: 0.4;
   }
   
   h1, h2, h3, h4, h5 {
     font-family: var(--font-display);
     font-weight: 700;
     line-height: 1.15;
     color: var(--text-0);
     letter-spacing: -0.02em;
   }
   h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
   h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
   h3 { font-size: 1.35rem; font-weight: 700; }
   
   p { color: var(--text-2); margin-bottom: 1rem; }
   a { color: var(--accent-bright); text-decoration: none; transition: color var(--t-fast) var(--ease); }
   a:hover { color: var(--accent-mint); }
   
   .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 24px;
   }
   
   /* ============================================
      Header & Navigation
      ============================================ */
   .header {
     position: fixed;
     top: 0; left: 0; right: 0;
     z-index: 100;
     padding: 18px 0;
     transition: background var(--t-med) var(--ease), padding var(--t-med) var(--ease), border-color var(--t-med);
     border-bottom: 1px solid transparent;
   }
   
   .header.scrolled {
     background: rgba(5,5,7,0.88);
     backdrop-filter: blur(24px) saturate(1.4);
     -webkit-backdrop-filter: blur(24px) saturate(1.4);
     border-bottom-color: var(--border);
     padding: 12px 0;
   }
   
   .nav {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 32px;
   }
   
   .logo {
     font-family: var(--font-display);
     font-size: 1.3rem;
     font-weight: 800;
     letter-spacing: -0.03em;
     color: var(--text-0);
     display: flex;
     align-items: center;
     gap: 10px;
     flex-shrink: 0;
   }
   .logo-mark {
     width: 30px; height: 30px;
     background: var(--grad-primary);
     border-radius: var(--r-sm);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.85rem;
     color: #fff;
     font-weight: 900;
     flex-shrink: 0;
   }
   .logo:hover { color: var(--text-0); }
   
   .nav-menu {
     display: flex;
     align-items: center;
     gap: 4px;
     list-style: none;
   }
   
   .nav-link {
     color: var(--text-2);
     font-size: 0.9rem;
     font-weight: 500;
     padding: 8px 14px;
     border-radius: var(--r-sm);
     letter-spacing: 0.01em;
     transition: color var(--t-fast), background var(--t-fast);
   }
   .nav-link:hover {
     color: var(--text-0);
     background: rgba(255,255,255,0.06);
   }
   .nav-link.active {
     color: var(--text-0);
     background: rgba(91,106,240,0.15);
   }
   
   .nav-cta {
     display: flex;
     align-items: center;
     gap: 10px;
   }
   
   /* Burger */
   .burger {
     display: none;
     flex-direction: column;
     gap: 5px;
     cursor: pointer;
     padding: 6px;
     z-index: 1001;
   }
   .burger span {
     width: 22px; height: 2px;
     background: var(--text-1);
     border-radius: 2px;
     transition: var(--t-fast) var(--ease);
   }
   .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
   .burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
   .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
   
   @media (max-width: 768px) {
     .burger { display: flex; }
     .nav-cta .btn:not(.btn-tg-mobile) { display: none; }
     .nav-menu {
       position: fixed;
       top: 0; right: -100%;
       width: min(80%, 300px);
       height: 100dvh;
       background: var(--bg-1);
       border-left: 1px solid var(--border);
       flex-direction: column;
       justify-content: center;
       gap: 8px;
       padding: 48px 32px;
       transition: right var(--t-med) var(--ease);
     }
     .nav-menu.active { right: 0; }
     .nav-link { font-size: 1.1rem; padding: 12px 16px; width: 100%; }
   }
   
   /* ============================================
      Buttons
      ============================================ */
   .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     font-family: var(--font-body);
     font-weight: 500;
     font-size: 0.95rem;
     border: none;
     cursor: pointer;
     text-decoration: none;
     white-space: nowrap;
     transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), background var(--t-fast), opacity var(--t-fast);
     border-radius: var(--r-md);
     padding: 12px 24px;
     letter-spacing: 0.01em;
   }
   .btn:active { transform: scale(0.97); }
   
   .btn-primary {
     background: var(--grad-primary);
     color: #fff;
     box-shadow: 0 0 0 0 rgba(91,106,240,0);
   }
   .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: var(--shadow-accent);
     color: #fff;
   }
   
   .btn-ghost {
     background: rgba(255,255,255,0.05);
     color: var(--text-1);
     border: 1px solid var(--border);
   }
   .btn-ghost:hover {
     background: rgba(255,255,255,0.09);
     border-color: rgba(255,255,255,0.15);
     color: var(--text-0);
   }
   
   .btn-outline {
     background: transparent;
     color: var(--accent-bright);
     border: 1px solid var(--border-accent);
   }
   .btn-outline:hover {
     background: var(--accent-dim);
     color: var(--text-0);
     border-color: var(--accent-bright);
   }
   
   .btn-lg {
     padding: 16px 36px;
     font-size: 1rem;
     font-weight: 600;
     border-radius: var(--r-lg);
   }
   
   .btn-sm {
     padding: 9px 18px;
     font-size: 0.85rem;
     border-radius: var(--r-sm);
   }
   
   /* ============================================
      Hero Section
      ============================================ */
   .hero {
     position: relative;
     min-height: 100dvh;
     display: flex;
     align-items: center;
     padding: 120px 0 80px;
     overflow: hidden;
   }
   
   /* Layered background */
   .hero-bg {
     position: absolute;
     inset: 0;
     z-index: 0;
   }
   .hero-bg-glow {
     position: absolute;
     top: -20%;
     left: 50%;
     transform: translateX(-50%);
     width: 900px;
     height: 600px;
     background: radial-gradient(ellipse, rgba(91,106,240,0.18) 0%, rgba(63,214,181,0.08) 40%, transparent 70%);
     animation: pulseGlow 6s ease-in-out infinite;
   }
   @keyframes pulseGlow {
     0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
     50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
   }
   
   .hero-grid {
     position: absolute;
     inset: 0;
     background-image:
       linear-gradient(rgba(91,106,240,0.04) 1px, transparent 1px),
       linear-gradient(90deg, rgba(91,106,240,0.04) 1px, transparent 1px);
     background-size: 60px 60px;
     mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
   }
   
   .hero-orb {
     position: absolute;
     border-radius: 50%;
     filter: blur(70px);
     pointer-events: none;
   }
   .hero-orb-1 {
     width: 500px; height: 500px;
     background: rgba(91,106,240,0.12);
     top: -15%; right: -10%;
     animation: floatOrb 10s ease-in-out infinite;
   }
   .hero-orb-2 {
     width: 350px; height: 350px;
     background: rgba(63,214,181,0.1);
     bottom: -10%; left: -5%;
     animation: floatOrb 13s ease-in-out infinite reverse;
   }
   @keyframes floatOrb {
     0%, 100% { transform: translate(0,0); }
     50% { transform: translate(20px, -30px); }
   }
   
   .hero-content {
     position: relative;
     z-index: 1;
     max-width: 780px;
   }
   
   .hero-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 6px 14px;
     background: rgba(91,106,240,0.12);
     border: 1px solid rgba(91,106,240,0.3);
     border-radius: var(--r-pill);
     font-size: 0.8rem;
     font-weight: 500;
     color: var(--accent-bright);
     margin-bottom: 28px;
     letter-spacing: 0.04em;
     text-transform: uppercase;
     animation: fadeUp 0.6s var(--ease) both;
   }
   .hero-badge-dot {
     width: 6px; height: 6px;
     background: var(--accent-mint);
     border-radius: 50%;
     animation: blink 2s ease-in-out infinite;
   }
   @keyframes blink {
     0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
   }
   
   .hero-title {
     font-size: clamp(2.8rem, 6vw, 4.8rem);
     font-weight: 800;
     letter-spacing: -0.04em;
     line-height: 1.05;
     margin-bottom: 24px;
     animation: fadeUp 0.7s var(--ease) 0.1s both;
   }
   .hero-title .line-accent {
     background: var(--grad-primary);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
   }
   
   .hero-subtitle {
     font-size: 1.15rem;
     color: var(--text-2);
     max-width: 560px;
     margin-bottom: 40px;
     line-height: 1.7;
     font-weight: 300;
     animation: fadeUp 0.7s var(--ease) 0.2s both;
   }
   
   .hero-actions {
     display: flex;
     gap: 14px;
     flex-wrap: wrap;
     align-items: center;
     animation: fadeUp 0.7s var(--ease) 0.3s both;
   }
   
   .hero-meta {
     display: flex;
     align-items: center;
     gap: 32px;
     margin-top: 64px;
     padding-top: 40px;
     border-top: 1px solid var(--border);
     animation: fadeUp 0.7s var(--ease) 0.45s both;
   }
   .hero-stat { }
   .hero-stat-value {
     font-family: var(--font-display);
     font-size: 1.8rem;
     font-weight: 800;
     color: var(--text-0);
     letter-spacing: -0.04em;
     background: var(--grad-primary);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
   }
   .hero-stat-label {
     font-size: 0.8rem;
     color: var(--text-3);
     text-transform: uppercase;
     letter-spacing: 0.06em;
     margin-top: 2px;
   }
   .hero-stat-divider {
     width: 1px;
     height: 40px;
     background: var(--border);
   }
   
   @keyframes fadeUp {
     from { opacity: 0; transform: translateY(24px); }
     to { opacity: 1; transform: translateY(0); }
   }
   
   /* Hero mini page */
   .hero-visual {
     position: relative;
     z-index: 1;
     flex-shrink: 0;
     width: 380px;
   }
   .hero-card-mock {
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: var(--r-xl);
     padding: 24px;
     backdrop-filter: blur(20px);
     box-shadow: var(--shadow-lg);
     position: relative;
     overflow: hidden;
     isolation: isolate;
   }
   .hero-card-mock::before {
     content: '';
     position: absolute;
     inset: 0;
     background: var(--grad-card);
     pointer-events: none;
     z-index: 0;
   }
   
   /* Two-column hero layout */
   .hero .container {
     display: flex;
     align-items: center;
     gap: 80px;
   }
   
   @media (max-width: 900px) {
     .hero .container {
       flex-direction: column;
       gap: 48px;
     }
     .hero-visual { width: 100%; max-width: 400px; }
   }
   @media (max-width: 480px) {
     .hero { padding: 100px 0 60px; }
     .hero-meta { flex-wrap: wrap; gap: 20px; }
     .hero-stat-divider { display: none; }
   }
   
   /* ============================================
      Proxy Terminal Widget (hero decoration)
      ============================================ */
   .terminal-window {
     background: #0d0d14;
     border: 1px solid rgba(91,106,240,0.25);
     border-radius: var(--r-lg);
     overflow: hidden;
     font-family: 'SF Mono', 'Fira Code', monospace;
     font-size: 0.8rem;
     box-shadow: 0 0 60px rgba(91,106,240,0.15), var(--shadow-lg);
     position: relative;
     z-index: 1;
   }
   .terminal-header {
     display: flex;
     align-items: center;
     gap: 7px;
     padding: 12px 16px;
     background: rgba(255,255,255,0.03);
     border-bottom: 1px solid var(--border);
   }
   .terminal-dot {
     width: 10px; height: 10px;
     border-radius: 50%;
   }
   .terminal-dot-r { background: #ff5f57; }
   .terminal-dot-y { background: #febc2e; }
   .terminal-dot-g { background: #28c840; }
   .terminal-title {
     font-size: 0.75rem;
     color: var(--text-3);
     margin-left: 8px;
     flex: 1;
     text-align: center;
   }
   .terminal-body { padding: 20px; }
   .t-line { line-height: 1.8; }
   .t-dim { color: var(--text-3); }
   .t-acc { color: var(--accent-bright); }
   .t-mint { color: var(--accent-mint); }
   .t-gold { color: var(--accent-gold); }
   .t-white { color: var(--text-0); }
   .t-prompt { color: var(--accent-bright); margin-right: 8px; }
   
   .terminal-cursor {
     display: inline-block;
     width: 7px; height: 13px;
     background: var(--accent-mint);
     margin-left: 2px;
     vertical-align: middle;
     animation: blink 1s step-end infinite;
   }
   
   /* Proxy status cards below terminal */
   .proxy-status-list {
     display: flex;
     flex-direction: column;
     gap: 10px;
     margin-top: 16px;
     position: relative;
     z-index: 1;
   }
   .proxy-status-item {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 12px 16px;
     background: rgba(255,255,255,0.03);
     border: 1px solid var(--border);
     border-radius: var(--r-md);
     font-size: 0.82rem;
   }
   .proxy-ip { font-family: 'SF Mono', 'Fira Code', monospace; color: var(--text-2); }
   .proxy-flag { font-size: 1rem; }
   .proxy-ping {
     font-size: 0.75rem;
     font-weight: 600;
     padding: 3px 8px;
     border-radius: var(--r-pill);
     background: rgba(63,214,181,0.12);
     color: var(--accent-mint);
   }
   .proxy-ping.slow {
     background: rgba(232,200,120,0.12);
     color: var(--accent-gold);
   }
   
   /* ============================================
      Section Base
      ============================================ */
   .section {
     padding: 100px 0;
     position: relative;
   }
   .section-dark { background: var(--bg-1); }
   .section-darker { background: var(--bg-2); }
   
   .section-eyebrow {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     font-size: 0.75rem;
     font-weight: 600;
     color: var(--accent-bright);
     letter-spacing: 0.1em;
     text-transform: uppercase;
     margin-bottom: 16px;
   }
   .section-eyebrow::before {
     content: '';
     display: inline-block;
     width: 24px; height: 1px;
     background: var(--accent);
   }
   
   .section-title {
     text-align: center;
     margin-bottom: 16px;
   }
   .section-subtitle {
     text-align: center;
     font-size: 1.05rem;
     color: var(--text-2);
     max-width: 560px;
     margin: 0 auto 56px;
     line-height: 1.7;
     font-weight: 300;
   }
   .section-header {
     text-align: center;
     margin-bottom: 64px;
   }
   .section-header .section-eyebrow {
     display: flex;
     justify-content: center;
     margin-bottom: 12px;
   }
   
      /* ============================================
      Feature Cards
      ============================================ */
      .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1px;
        background: var(--border);
        border-radius: var(--r-xl);
        overflow: hidden;
        border: 1px solid var(--border);
      }
      
      .feature-card {
        padding: 36px 32px;
        background: var(--bg-2);
        position: relative;
        transition: background var(--t-med) var(--ease);
        overflow: hidden;
        isolation: isolate;
      }
      .feature-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--grad-card);
        opacity: 0;
        transition: opacity var(--t-med);
        pointer-events: none;
        z-index: 0;
      }
      .feature-card:hover { background: var(--bg-2); }
      .feature-card:hover::after { opacity: 1; }
      
      .feature-icon-wrap {
        width: 48px; height: 48px;
        border-radius: var(--r-md);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        font-size: 1.3rem;
        position: relative;
        z-index: 1;
      }
      .feature-icon-wrap.accent {
        background: var(--accent-dim);
        border: 1px solid rgba(91,106,240,0.2);
      }
      .feature-icon-wrap.mint {
        background: var(--accent-mint-dim);
        border: 1px solid rgba(63,214,181,0.2);
      }
      
      .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        position: relative;
        z-index: 1;
        color: var(--text-0);
      }
      .feature-card p {
        font-size: 0.92rem;
        line-height: 1.65;
        margin: 0;
        position: relative;
        z-index: 1;
        color: var(--text-2);
      }
      
      /* ============================================
         How it Works — Timeline
         ============================================ */
      .steps-container {
        max-width: 720px;
        margin: 0 auto;
        position: relative;
      }
      .steps-line {
        position: absolute;
        left: 32px;
        top: 0; bottom: 0;
        width: 1px;
        background: var(--border);
      }
      .steps-line-progress {
        position: absolute;
        left: 0; top: 0;
        width: 100%;
        height: 0%;
        background: var(--grad-primary);
        transition: height 1s var(--ease);
      }
      
      .step-item {
        display: flex;
        gap: 32px;
        padding-bottom: 48px;
        position: relative;
      }
      .step-item:last-child { padding-bottom: 0; }
      
      .step-num-wrap {
        flex-shrink: 0;
        width: 64px; height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
      }
      .step-num {
        width: 44px; height: 44px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--bg-2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-size: 1rem;
        font-weight: 800;
        color: var(--text-3);
        transition: var(--t-med);
        position: relative;
        z-index: 1;
      }
      .step-item.active .step-num {
        border-color: var(--accent);
        background: var(--accent-dim);
        color: var(--accent-bright);
        box-shadow: 0 0 20px rgba(91,106,240,0.3);
      }
      
      .step-body { padding-top: 8px; }
      .step-body h3 { margin-bottom: 8px; font-size: 1.2rem; }
      .step-body p { font-size: 0.95rem; margin: 0; line-height: 1.7; }
      
      /* ============================================
         Stats Row
         ============================================ */
      .stats-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        background: var(--border);
        border: 1px solid var(--border);
        border-radius: var(--r-xl);
        overflow: hidden;
      }
      .stat-cell {
        padding: 40px 32px;
        background: var(--bg-2);
        text-align: center;
        transition: background var(--t-fast);
        position: relative;
        z-index: 1;
      }
      .stat-cell:hover { background: var(--bg-3); }
      .stat-value {
        font-family: var(--font-display);
        font-size: 2.5rem;
        font-weight: 800;
        letter-spacing: -0.04em;
        color: transparent;
        background: var(--grad-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
        margin-bottom: 8px;
        position: relative;
        z-index: 1;
      }
      .stat-label {
        font-size: 0.85rem;
        color: var(--text-2);
        letter-spacing: 0.03em;
        position: relative;
        z-index: 1;
      }
      
      @media (max-width: 640px) {
        .stats-row { grid-template-columns: repeat(2, 1fr); }
      }
      
      /* ============================================
         Pricing
         ============================================ */
      .pricing-tabs {
        display: flex;
        gap: 4px;
        justify-content: center;
        margin-bottom: 48px;
        background: rgba(255,255,255,0.04);
        padding: 4px;
        border-radius: var(--r-pill);
        border: 1px solid var(--border);
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
      }
      .pricing-tab {
        padding: 9px 22px;
        border-radius: var(--r-pill);
        font-size: 0.88rem;
        font-weight: 500;
        cursor: pointer;
        color: var(--text-2);
        transition: var(--t-fast);
        border: none;
        background: none;
        font-family: var(--font-body);
      }
      .pricing-tab.active {
        background: var(--grad-primary);
        color: #fff;
        box-shadow: 0 2px 12px rgba(91,106,240,0.3);
      }
      .pricing-tab:hover:not(.active) { color: var(--text-0); background: rgba(255,255,255,0.06); }
      
      .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
        align-items: start;
      }
      
      .pricing-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--r-xl);
        padding: 32px 28px;
        position: relative;
        transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med);
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        isolation: isolate;
      }
      .pricing-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--grad-card);
        opacity: 0;
        transition: opacity var(--t-med);
        pointer-events: none;
        z-index: 0;
      }
      .pricing-card:hover {
        transform: translateY(-6px);
        border-color: rgba(91,106,240,0.3);
        box-shadow: var(--shadow-accent);
      }
      .pricing-card:hover::before { opacity: 1; }
      
      .pricing-card.featured {
        border-color: var(--border-accent);
        background: rgba(91,106,240,0.05);
        box-shadow: 0 0 50px rgba(91,106,240,0.15);
      }
      .pricing-card.featured::before { opacity: 1; }
      
      .pricing-badge {
        position: absolute;
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--grad-primary);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 4px 14px;
        border-radius: 0 0 var(--r-md) var(--r-md);
        letter-spacing: 0.05em;
        text-transform: uppercase;
        z-index: 2;
      }
      
      .pricing-type {
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--accent-bright);
        margin-bottom: 8px;
        position: relative;
        z-index: 1;
      }
      .pricing-name {
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 4px;
        position: relative;
        z-index: 1;
        color: var(--text-0);
      }
      .pricing-desc {
        font-size: 0.85rem;
        color: var(--text-2);
        margin-bottom: 24px;
        position: relative;
        z-index: 1;
      }
      .pricing-price-block {
        margin-bottom: 28px;
        position: relative;
        z-index: 1;
      }
      .pricing-price {
        font-family: var(--font-display);
        font-size: 2.8rem;
        font-weight: 800;
        letter-spacing: -0.04em;
        color: var(--text-0);
        line-height: 1;
      }
      .pricing-price-currency {
        font-size: 1.4rem;
        vertical-align: super;
        font-weight: 500;
        color: var(--text-2);
      }
      .pricing-period {
        font-size: 0.85rem;
        color: var(--text-3);
        margin-top: 6px;
      }
      .pricing-orig {
        font-size: 0.8rem;
        color: var(--text-3);
        text-decoration: line-through;
        margin-right: 6px;
      }
      
      .pricing-divider {
        height: 1px;
        background: var(--border);
        margin-bottom: 24px;
        position: relative;
        z-index: 1;
      }
      
      .pricing-features {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 32px;
        flex: 1;
        position: relative;
        z-index: 1;
      }
      .pricing-features li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.9rem;
        color: var(--text-2);
        line-height: 1.4;
      }
      .pricing-check {
        width: 16px; height: 16px;
        border-radius: 50%;
        background: var(--accent-mint-dim);
        border: 1px solid var(--border-mint);
        flex-shrink: 0;
        margin-top: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .pricing-check::after {
        content: '✓';
        font-size: 0.65rem;
        color: var(--accent-mint);
        font-weight: 700;
      }
      
      .pricing-card .btn {
        position: relative;
        z-index: 1;
      }
      
      .pricing-note {
        text-align: center;
        margin-top: 40px;
        font-size: 0.82rem;
        color: var(--text-3);
        line-height: 1.6;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
      }
      
      /* ============================================
         FAQ
         ============================================ */
      .faq-container {
        max-width: 760px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 4px;
      }
      
      .faq-item {
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        overflow: hidden;
        transition: border-color var(--t-fast), background var(--t-fast);
        background: var(--bg-card);
      }
      .faq-item.active {
        border-color: rgba(91,106,240,0.3);
        background: rgba(91,106,240,0.03);
      }
      
      .faq-question {
        width: 100%;
        padding: 20px 24px;
        background: none;
        border: none;
        color: var(--text-0);
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 500;
        text-align: left;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        transition: color var(--t-fast);
        letter-spacing: -0.01em;
      }
      .faq-question:hover { color: var(--accent-bright); }
      
      .faq-toggle {
        width: 28px; height: 28px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all var(--t-fast);
        color: var(--text-3);
        font-size: 1.1rem;
        line-height: 1;
      }
      .faq-item.active .faq-toggle {
        background: var(--accent-dim);
        border-color: var(--border-accent);
        color: var(--accent-bright);
        transform: rotate(45deg);
      }
      
      .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.38s var(--ease);
      }
      .faq-answer-content {
        color: var(--text-2);
        font-size: 0.95rem;
        line-height: 1.75;
        border-top: 1px solid var(--border);
        margin: 0 24px;
        padding: 20px 0 24px;
      }
      .faq-answer-content strong { color: var(--text-1); font-weight: 500; }
      .faq-answer-content a { color: var(--accent-bright); }
      
      /* ============================================
         Contacts
         ============================================ */
      .contacts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
        max-width: 860px;
        margin: 0 auto;
      }
      
      .contact-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--r-xl);
        padding: 32px 28px;
        text-align: center;
        transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med);
        position: relative;
        overflow: hidden;
        isolation: isolate;
      }
      .contact-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--grad-card);
        opacity: 0;
        transition: opacity var(--t-med);
        pointer-events: none;
        z-index: 0;
      }
      .contact-card:hover {
        transform: translateY(-5px);
        border-color: rgba(91,106,240,0.3);
        box-shadow: var(--shadow-accent);
      }
      .contact-card:hover::before { opacity: 1; }
      
      .contact-icon {
        width: 56px; height: 56px;
        border-radius: var(--r-lg);
        background: var(--grad-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        margin: 0 auto 20px;
        position: relative;
        z-index: 1;
      }
      .contact-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 8px;
        position: relative;
        z-index: 1;
        color: var(--text-0);
      }
      .contact-text {
        font-size: 0.88rem;
        color: var(--text-2);
        margin-bottom: 16px;
        line-height: 1.6;
        position: relative;
        z-index: 1;
      }
      .contact-handle {
        font-family: 'SF Mono', 'Fira Code', monospace;
        font-size: 0.85rem;
        color: var(--accent-bright);
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
      }
      .contact-card .btn { position: relative; z-index: 1; width: 100%; }
      
      /* Info block */
      .info-block {
        max-width: 680px;
        margin: 48px auto 0;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--r-xl);
        padding: 36px 40px;
      }
      .info-block h3 { text-align: center; margin-bottom: 28px; }
      .info-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
      }
      .info-item h4 {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--text-0);
        margin-bottom: 6px;
        letter-spacing: 0.02em;
      }
      .info-item p {
        font-size: 0.88rem;
        color: var(--text-2);
        margin: 0;
        line-height: 1.6;
      }
      @media (max-width: 560px) {
        .info-row { grid-template-columns: 1fr; }
        .info-block { padding: 28px 24px; }
      }
      
      /* ============================================
         CTA Section
         ============================================ */
      .cta-section {
        padding: 120px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
      }
      .cta-section::before {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 800px; height: 500px;
        background: radial-gradient(ellipse, rgba(91,106,240,0.18) 0%, rgba(63,214,181,0.06) 40%, transparent 70%);
        pointer-events: none;
        z-index: 0;
      }
      .cta-section::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
          linear-gradient(rgba(91,106,240,0.03) 1px, transparent 1px),
          linear-gradient(90deg, rgba(91,106,240,0.03) 1px, transparent 1px);
        background-size: 60px 60px;
        mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
        pointer-events: none;
        z-index: 0;
      }
      
      .cta-inner { position: relative; z-index: 1; }
      .cta-eyebrow {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--accent-mint);
        margin-bottom: 16px;
      }
      .cta-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
      .cta-desc {
        font-size: 1.05rem;
        color: var(--text-2);
        margin-bottom: 40px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        font-weight: 300;
      }
      .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
      
      /* ============================================
         Footer
         ============================================ */
      .footer {
        background: var(--bg-0);
        border-top: 1px solid var(--border);
        padding: 48px 0 32px;
      }
      
      .footer-top {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 48px;
        align-items: start;
        margin-bottom: 40px;
      }
      .footer-brand p {
        font-size: 0.88rem;
        color: var(--text-3);
        max-width: 280px;
        margin-top: 10px;
        line-height: 1.6;
      }
      
      .footer-nav-group h5 {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text-3);
        margin-bottom: 16px;
      }
      .footer-nav-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .footer-link {
        font-size: 0.9rem;
        color: var(--text-2);
        transition: color var(--t-fast);
      }
      .footer-link:hover { color: var(--text-0); }
      
      .footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 24px;
        border-top: 1px solid var(--border);
        font-size: 0.82rem;
        color: var(--text-3);
        flex-wrap: wrap;
        gap: 12px;
      }
      
      @media (max-width: 768px) {
        .footer-top { grid-template-columns: 1fr; gap: 32px; }
        .footer-bottom { flex-direction: column; text-align: center; }
      }
      
      /* ============================================
         Scroll Animations
         ============================================ */
      .fade-in {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
      }
      .fade-in.visible { opacity: 1; transform: translateY(0); }
      
      .fade-in-left {
        opacity: 0;
        transform: translateX(-24px);
        transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
      }
      .fade-in-left.visible { opacity: 1; transform: translateX(0); }
      
      .fade-in-right {
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
      }
      .fade-in-right.visible { opacity: 1; transform: translateX(0); }
      
      /* Staggered children */
      .stagger-children > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
      }
      .stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
      .stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: none; }
      .stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: none; }
      .stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: none; }
      .stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: none; }
      .stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: none; }
      
         /* ============================================
      Utility
      ============================================ */
   .text-center { text-align: center; }
   .text-gradient {
     background: var(--grad-primary);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
   }
   .mt-sm { margin-top: 12px; }
   .mt-md { margin-top: 24px; }
   .mt-lg { margin-top: 40px; }
   .mb-sm { margin-bottom: 12px; }
   .mb-md { margin-bottom: 24px; }
   .mb-lg { margin-bottom: 40px; }
   
   /* ============================================
      Page-specific: Subpage Hero
      ============================================ */
   .page-hero {
     padding: 140px 0 80px;
     text-align: center;
     position: relative;
     overflow: hidden;
   }
   .page-hero::before {
     content: '';
     position: absolute;
     top: 0; left: 50%;
     transform: translateX(-50%);
     width: 600px; height: 400px;
     background: radial-gradient(ellipse, rgba(91,106,240,0.15) 0%, transparent 65%);
     pointer-events: none;
     z-index: 0;
   }
   .page-hero > * {
     position: relative;
     z-index: 1;
   }
   .page-hero .hero-badge { justify-content: center; }
   
   /* ============================================
      Responsive
      ============================================ */
   @media (max-width: 768px) {
     .section { padding: 72px 0; }
     .features-grid { grid-template-columns: 1fr; }
     .pricing-grid { grid-template-columns: 1fr; }
     h1 { font-size: 2.2rem; }
     h2 { font-size: 1.8rem; }
     .steps-line { left: 22px; }
     .step-num-wrap { width: 44px; }
     .step-num { width: 34px; height: 34px; font-size: 0.85rem; }
     .step-item { gap: 20px; }
   }
   
   @media (max-width: 480px) {
     .container { padding: 0 16px; }
     .hero-actions { flex-direction: column; }
     .hero-actions .btn { width: 100%; justify-content: center; }
     .cta-actions { flex-direction: column; align-items: center; }
     .cta-actions .btn { width: 100%; max-width: 280px; }
     .stats-row { grid-template-columns: 1fr 1fr; }
   }
   /* ============================================
   FIX: Strict Grid for 6 items
   ============================================ */

/* Features — строго 3 колонки на десктопе → 2×3 для 6 карточек */
.features-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* Pricing — строго 3 колонки на десктопе → 2×3 для 6 карточек */
.pricing-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* Планшет: 2 колонки */
@media (max-width: 980px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Мобилка: 1 колонка (уже есть, но дублирую с !important на всякий) */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ============================================
   FAQ Category Filters (tabs)
   ============================================ */
   .faq-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
  }
  
  .faq-filter {
    padding: 9px 18px;
    border-radius: var(--r-pill);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-2);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    transition: var(--t-fast) var(--ease);
    font-family: var(--font-body);
  }
  
  .faq-filter:hover:not(.active) {
    color: var(--text-0);
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
  }
  
  .faq-filter.active {
    background: var(--grad-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(91,106,240,0.3);
  }
  
  /* Hidden FAQ items when filtered out */
  .faq-item.hidden {
    display: none;
  }
  
  /* ============================================
     Support CTA Card
     ============================================ */
  .support-card {
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(91,106,240,0.08) 0%, rgba(63,214,181,0.04) 100%);
    border: 1px solid rgba(91,106,240,0.2);
    border-radius: var(--r-xl);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  
  .support-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91,106,240,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  
  .support-card > * { position: relative; z-index: 1; }
  
  .support-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--r-lg);
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
    box-shadow: 0 12px 32px rgba(91,106,240,0.3);
  }
  
  .support-card h2 {
    margin-bottom: 12px;
  }
  
  .support-card p {
    margin-bottom: 32px;
    color: var(--text-2);
    font-size: 1rem;
  }
  
  .support-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  @media (max-width: 560px) {
    .support-card { padding: 36px 24px; }
  }