/*
Theme Name: NeuroOps.ai - Workflow Factory
Theme URI: https://neuroopsai.online
Author: Takayama Advisory / NeuroOps.ai
Author URI: https://neuroopsai.online
Description: Tema futurista WordPress para a NeuroOps.ai — Landing page com formulario dinamico multi-step para Workflow Factory via N8N.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: neuroops
Tags: one-page, custom-logo, custom-menu, featured-images, theme-options
*/

/* ============================================
   1. CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================ */
:root {
    /* Core Backgrounds */
    --bg-primary: #030014;
    --bg-secondary: #0a0520;
    --bg-tertiary: #110b30;
    --bg-card: rgba(17, 11, 48, 0.6);
    --bg-card-hover: rgba(17, 11, 48, 0.85);
    --bg-surface: rgba(108, 92, 231, 0.04);
    --bg-glass: rgba(10, 5, 32, 0.7);
    --bg-glass-light: rgba(108, 92, 231, 0.06);

    /* Accent Colors */
    --primary: #6C5CE7;
    --primary-light: #a29bfe;
    --primary-dark: #5a4bd1;
    --secondary: #a855f7;
    --cyan: #22d3ee;
    --pink: #ec4899;
    --green: #10b981;
    --orange: #f59e0b;
    --red: #ef4444;

    /* Gradients */
    --gradient-neural: linear-gradient(135deg, #6C5CE7 0%, #22d3ee 50%, #10b981 100%);
    --gradient-primary: linear-gradient(135deg, #6C5CE7 0%, #a855f7 100%);
    --gradient-accent: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-glass: linear-gradient(135deg, rgba(108, 92, 231, 0.12) 0%, rgba(34, 211, 238, 0.06) 100%);
    --gradient-card: linear-gradient(145deg, rgba(108, 92, 231, 0.08) 0%, rgba(168, 85, 247, 0.04) 50%, rgba(34, 211, 238, 0.02) 100%);
    --gradient-hero: radial-gradient(ellipse at 30% 50%, rgba(108, 92, 231, 0.15) 0%, rgba(168, 85, 247, 0.08) 30%, transparent 70%);
    --gradient-hero-secondary: radial-gradient(ellipse at 70% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 60%);
    --gradient-text: linear-gradient(135deg, #f1f0ff 0%, #a29bfe 50%, #22d3ee 100%);
    --gradient-border: linear-gradient(135deg, rgba(108, 92, 231, 0.5), rgba(34, 211, 238, 0.3), rgba(16, 185, 129, 0.2));
    --gradient-glow: linear-gradient(135deg, #6C5CE7, #a855f7, #22d3ee);

    /* Text Colors */
    --text-primary: #f1f0ff;
    --text-secondary: rgba(241, 240, 255, 0.7);
    --text-tertiary: rgba(241, 240, 255, 0.45);
    --text-accent: #a29bfe;

    /* Borders */
    --border-color: rgba(108, 92, 231, 0.15);
    --border-color-hover: rgba(108, 92, 231, 0.35);
    --border-glass: rgba(241, 240, 255, 0.08);
    --border-glow: rgba(108, 92, 231, 0.6);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.25);
    --shadow-glow-strong: 0 0 60px rgba(108, 92, 231, 0.35);
    --shadow-glow-cyan: 0 0 30px rgba(34, 211, 238, 0.2);
    --shadow-glow-pink: 0 0 30px rgba(236, 72, 153, 0.2);
    --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.2);
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(241, 240, 255, 0.05);
    --shadow-card-hover: 0 8px 48px rgba(108, 92, 231, 0.15), 0 4px 24px rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-narrow: 900px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-header: 500;
    --z-overlay: 900;
    --z-modal: 1000;
    --z-toast: 1100;
    --z-preloader: 9999;

    /* Glassmorphism */
    --glass-bg: rgba(10, 5, 32, 0.6);
    --glass-border: rgba(241, 240, 255, 0.08);
    --glass-blur: 20px;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

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

a:hover {
    color: var(--cyan);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

ul, ol { list-style: none; }

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
    border: none;
    background: none;
}

button { cursor: pointer; }

::selection {
    background: rgba(108, 92, 231, 0.4);
    color: var(--text-primary);
}

/* ============================================
   3. UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.text-gradient {
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-lg);
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--radius-full);
}

.section-label::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 80%);
}

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

/* ============================================
   4. ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

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

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(108, 92, 231, 0.2); }
    50% { box-shadow: 0 0 40px rgba(108, 92, 231, 0.4), 0 0 80px rgba(108, 92, 231, 0.15); }
}

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

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

@keyframes border-glow {
    0%, 100% { border-color: rgba(108, 92, 231, 0.3); }
    50% { border-color: rgba(108, 92, 231, 0.6); }
}

@keyframes neural-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes typing-cursor {
    0%, 100% { border-color: var(--primary); }
    50% { border-color: transparent; }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes progress-fill {
    from { width: 0; }
    to { width: 100%; }
}

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

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Intersection Observer Animation Classes */
/* Animation classes - visible by default, animated by JS when available */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.slide-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.slide-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.scale-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-spring);
}

/* JS animation classes DISABLED - elements visible by default
.js-animate .fade-in { opacity: 0; transform: translateY(30px); }
.js-animate .slide-in-left { opacity: 0; transform: translateX(-40px); }
.js-animate .slide-in-right { opacity: 0; transform: translateX(40px); }
.js-animate .scale-in { opacity: 0; transform: scale(0.9); }
*/

.js-animate .fade-in.visible { opacity: 1; transform: translateY(0); }
.js-animate .slide-in-left.visible { opacity: 1; transform: translateX(0); }
.js-animate .slide-in-right.visible { opacity: 1; transform: translateX(0); }
.js-animate .scale-in.visible { opacity: 1; transform: scale(1); }

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

/* ============================================
   5. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Primary Button */
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.45);
    filter: brightness(1.1);
    color: #fff;
}

.btn-primary::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Accent Button */
.btn-accent {
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-accent:hover {
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.45);
    filter: brightness(1.1);
    color: #fff;
}

/* Secondary / Glass Button */
.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    border-color: var(--border-color-hover);
    background: rgba(108, 92, 231, 0.1);
    box-shadow: var(--shadow-glow);
    color: var(--text-primary);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--primary-light);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: rgba(108, 92, 231, 0.08);
    border-color: var(--primary);
    color: var(--text-primary);
}

/* Button Sizes */
.btn-sm {
    padding: 8px 18px;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: 16px 36px;
    font-size: var(--font-size-lg);
    border-radius: var(--radius-xl);
}

.btn-xl {
    padding: 20px 48px;
    font-size: var(--font-size-xl);
    border-radius: var(--radius-xl);
}

/* Disabled */
.btn:disabled,
.btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

/* ============================================
   6. HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(3, 0, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.header-logo:hover {
    color: var(--text-primary);
}

.header-logo img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(108, 92, 231, 0.4));
}

.header-logo .logo-text {
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neural);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: calc(var(--z-header) + 10);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 0, 20, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: var(--z-header);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .header-nav { display: none; }
    .header-cta { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav { display: flex; }
}

/* ============================================
   7. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-secondary);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-particles canvas {
    width: 100%;
    height: 100%;
}

/* Glow Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(108, 92, 231, 0.12);
    top: -10%;
    left: -5%;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(34, 211, 238, 0.08);
    bottom: -5%;
    right: -5%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, 0.08);
    top: 50%;
    right: 20%;
    animation: float 12s ease-in-out infinite 2s;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--primary-light);
    margin-bottom: var(--space-2xl);
    animation: fadeInDown 0.8s var(--ease-out);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-title .highlight {
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(241, 240, 255, 0.85);
    max-width: 680px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-color);
}

.hero-metric,
.metric-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
}

.metric-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero-metric-value,
.metric-value {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-metric-label,
.metric-label {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

@media (max-width: 768px) {
    .hero-metrics { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .tier-selection { grid-template-columns: 1fr; }
    .form-progress { gap: var(--space-sm); }
}

@media (max-width: 640px) {
    .hero { padding: 100px 0 60px; }
    .hero-metrics { grid-template-columns: 1fr; gap: var(--space-lg); }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }
}

/* ============================================
   8. SERVICES SECTION
   ============================================ */
.services {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.service-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neural);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    margin-bottom: var(--space-lg);
    font-size: 24px;
    color: var(--primary-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(108, 92, 231, 0.15);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.2);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.service-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-price {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-xs);
    font-family: var(--font-heading);
}

.service-price .from {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.service-price .amount {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-price .period {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.service-features {
    list-style: none;
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.service-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
}

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

/* ============================================
   9. WORKFLOW FACTORY FORM
   ============================================ */

/* -- WF Hero Split Layout -- */
.wf-hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--bg-primary);
    overflow: hidden;
}

.wf-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.wf-hero-text {
    position: relative;
    z-index: 2;
}

.wf-hero-text .hero-title {
    text-align: left;
}

.wf-hero-text .hero-subtitle {
    text-align: left;
    margin-left: 0;
}

.wf-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.wf-hero-visual::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    animation: glow-pulse 4s ease-in-out infinite;
}

.wf-neural-nodes {
    position: relative;
    width: 300px;
    height: 300px;
    animation: rotate-slow 30s linear infinite;
}

@media (max-width: 1024px) {
    .wf-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .wf-hero-text .hero-title,
    .wf-hero-text .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .wf-hero-visual { display: none; }
}

/* -- WF Form Section -- */
.wf-form-section {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.wf-form-container {
    max-width: 780px;
    margin: 0 auto;
}

/* -- Progress Bar -- */
.wf-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-3xl);
    padding: 0 var(--space-xl);
    position: relative;
}

.wf-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.wf-progress-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: 700;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    color: var(--text-tertiary);
    transition: all 0.5s var(--ease-out);
    position: relative;
}

.wf-progress-step.active .wf-progress-dot {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.4), 0 0 40px rgba(108, 92, 231, 0.15);
}

.wf-progress-step.completed .wf-progress-dot {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.wf-progress-step.completed .wf-progress-dot::after {
    content: '✓';
    font-size: 16px;
}

.wf-progress-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    margin-top: var(--space-sm);
    white-space: nowrap;
    transition: var(--transition);
}

.wf-progress-step.active .wf-progress-label {
    color: var(--primary-light);
}

.wf-progress-step.completed .wf-progress-label {
    color: var(--green);
}

.wf-progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 -2px;
    position: relative;
    top: -12px;
    z-index: 1;
    min-width: 40px;
}

.wf-progress-line.active {
    background: var(--gradient-primary);
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.3);
}

.wf-progress-line.completed {
    background: var(--green);
}

@media (max-width: 640px) {
    .wf-progress { gap: 0; padding: 0; }
    .wf-progress-label { display: none; }
    .wf-progress-dot { width: 32px; height: 32px; font-size: var(--font-size-xs); }
}

/* -- Form Card -- */
.wf-form-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.wf-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neural);
    background-size: 200% 100%;
    animation: neural-flow 4s ease-in-out infinite;
}

@media (max-width: 640px) {
    .wf-form-card {
        padding: var(--space-xl) var(--space-lg);
        border-radius: var(--radius-lg);
    }
}

/* -- Form Steps -- */
.wf-step {
    display: none;
    animation: fadeInUp 0.5s var(--ease-out);
}

.wf-step.active {
    display: block;
}

.wf-step-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.wf-step-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

/* -- Form Fields -- */
.wf-field-group {
    margin-bottom: var(--space-xl);
}

.wf-field-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}

.wf-field-group label .required {
    color: var(--pink);
    margin-left: 2px;
}

.wf-input,
.wf-select,
.wf-textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(3, 0, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    transition: all 0.3s var(--ease-out);
}

.wf-input::placeholder,
.wf-textarea::placeholder {
    color: var(--text-tertiary);
}

.wf-input:focus,
.wf-select:focus,
.wf-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15), 0 0 20px rgba(108, 92, 231, 0.1);
    background: rgba(3, 0, 20, 0.8);
    outline: none;
}

.wf-input:hover,
.wf-select:hover,
.wf-textarea:hover {
    border-color: rgba(108, 92, 231, 0.3);
}

.wf-input.error,
.wf-select.error,
.wf-textarea.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.wf-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a29bfe' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.wf-select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.wf-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.wf-field-hint {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

.wf-field-error {
    font-size: var(--font-size-xs);
    color: var(--red);
    margin-top: var(--space-xs);
    display: none;
}

.wf-field-group.has-error .wf-field-error {
    display: block;
}

/* -- Fields Row (2-column) -- */
.wf-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

@media (max-width: 640px) {
    .wf-fields-row {
        grid-template-columns: 1fr;
    }
}

/* -- Service Selection Cards -- */
.wf-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.wf-service-option {
    position: relative;
    cursor: pointer;
}

.wf-service-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wf-service-option .wf-service-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: rgba(3, 0, 20, 0.5);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.wf-service-option .wf-service-label:hover {
    border-color: rgba(108, 92, 231, 0.4);
    background: rgba(108, 92, 231, 0.06);
}

.wf-service-option input[type="radio"]:checked + .wf-service-label {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.15), inset 0 0 20px rgba(108, 92, 231, 0.05);
}

.wf-service-option .wf-service-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(108, 92, 231, 0.1);
}

.wf-service-option .wf-service-name {
    font-weight: 600;
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

.wf-service-option .wf-service-desc {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* -- Tier Selection -- */
.wf-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.wf-tier-option {
    position: relative;
    cursor: pointer;
}

.wf-tier-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wf-tier-label {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: rgba(3, 0, 20, 0.5);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wf-tier-label:hover {
    border-color: rgba(108, 92, 231, 0.4);
    transform: translateY(-2px);
}

.wf-tier-option input[type="radio"]:checked + .wf-tier-label {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.2);
}

.wf-tier-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    align-self: center;
}

.wf-tier-badge.starter {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.wf-tier-badge.pro {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(108, 92, 231, 0.3);
}

.wf-tier-badge.enterprise {
    background: rgba(236, 72, 153, 0.1);
    color: var(--pink);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.wf-tier-popular {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.wf-tier-name {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.wf-tier-price {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wf-tier-features {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    line-height: 1.8;
}

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

/* -- Summary -- */
.wf-summary {
    background: rgba(3, 0, 20, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.wf-summary-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.wf-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: var(--font-size-sm);
}

.wf-summary-row .label {
    color: var(--text-secondary);
}

.wf-summary-row .value {
    font-weight: 600;
    color: var(--text-primary);
}

.wf-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.wf-summary-total .label {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.wf-summary-total .value {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -- Form Navigation -- */
.wf-form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-2xl);
    gap: var(--space-md);
}

.wf-form-nav .btn {
    min-width: 140px;
}

.wf-form-nav .btn-back {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.wf-form-nav .btn-back:hover {
    border-color: var(--border-color-hover);
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.06);
}

.wf-form-nav .btn-next {
    margin-left: auto;
}

/* -- Success State -- */
.wf-success {
    display: none;
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    animation: scale-in 0.6s var(--ease-spring);
}

.wf-success.active {
    display: block;
}

.wf-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    font-size: 36px;
    color: var(--green);
    animation: scale-in 0.6s var(--ease-spring) 0.2s both;
}

.wf-success-icon::after {
    content: '✓';
}

.wf-success h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
}

.wf-success p {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* -- Message -- */
.wf-form-message {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
    display: none;
    animation: fadeIn 0.3s var(--ease-out);
}

.wf-form-message.show {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.wf-form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green);
}

.wf-form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--red);
}

.wf-form-message.info {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: var(--cyan);
}

/* -- WF Loading Spinner -- */
.wf-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ============================================
   10. TRUST / SOCIAL PROOF
   ============================================ */
.trust {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.trust-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.trust-value {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.trust-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(1);
    transition: var(--transition);
}

.trust-logos:hover {
    opacity: 0.8;
    filter: grayscale(0.3);
}

.trust-logos img {
    height: 32px;
    width: auto;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

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

/* ============================================
   11. TESTIMONIALS
   ============================================ */
.testimonials {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.testimonial-card {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: rgba(108, 92, 231, 0.15);
    line-height: 1;
}

.testimonial-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-lg);
}

.testimonial-stars .star {
    color: var(--orange);
    font-size: 16px;
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

.testimonial-role {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

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

/* ============================================
   12. FAQ ACCORDION
   ============================================ */
.faq {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: var(--space-3xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-item.active {
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

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

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: transform 0.3s var(--ease-out);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

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

.faq-answer-inner {
    padding: 0 var(--space-xl) var(--space-xl);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   13. CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-secondary);
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ============================================
   14. FOOTER
   ============================================ */
.site-footer {
    position: relative;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo .logo-text {
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(108, 92, 231, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-column a {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   15. WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: var(--z-toast);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease-out);
    animation: bounce-subtle 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: glow-pulse 2s ease-in-out infinite;
}

@media (max-width: 640px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* ============================================
   16. PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: var(--z-preloader);
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow-pulse 2s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--gradient-neural);
    border-radius: var(--radius-full);
    animation: shimmer 1.5s ease-in-out infinite;
}

.preloader-text {
    font-family: var(--font-mono);
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
}

/* ============================================
   17. METHODOLOGY SECTION
   ============================================ */
.methodology {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    position: relative;
}

.methodology-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gradient-neural);
    opacity: 0.3;
    z-index: 0;
}

.methodology-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.methodology-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--primary-light);
    transition: var(--transition);
}

.methodology-step:hover .methodology-number {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.3);
    background: rgba(108, 92, 231, 0.1);
}

.methodology-step h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.methodology-step p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .methodology-grid::before { display: none; }
}

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

/* ============================================
   18. RESULTS / METRICS SECTION
   ============================================ */
.results {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-secondary);
    overflow: hidden;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.result-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.result-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.result-icon {
    font-size: 36px;
    margin-bottom: var(--space-lg);
}

.result-value {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.result-label {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.result-desc {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

/* ============================================
   19. PRICING SECTION
   ============================================ */
.pricing {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.15);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neural);
}

.pricing-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius-full);
}

.pricing-tier {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.pricing-name {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.pricing-currency {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
}

.pricing-value {
    font-family: var(--font-heading);
    font-size: var(--font-size-5xl);
    font-weight: 900;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.pricing-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding-bottom: var(--space-xl);
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

/* ============================================
   20. DIAGNOSTICO SECTION
   ============================================ */
.diagnostico {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.diagnostico-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
    margin-top: var(--space-3xl);
}

.diagnostico-info h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
}

.diagnostico-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.diagnostico-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.diagnostico-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(108, 92, 231, 0.04);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.diagnostico-benefits li .icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.diagnostico-form {
    padding: var(--space-2xl);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

.diagnostico-form .form-group {
    margin-bottom: var(--space-lg);
}

.diagnostico-form label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.diagnostico-form input,
.diagnostico-form select,
.diagnostico-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(3, 0, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

.diagnostico-form input:focus,
.diagnostico-form select:focus,
.diagnostico-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

@media (max-width: 1024px) {
    .diagnostico-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   21. ABOUT SECTION
   ============================================ */
.about {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    margin-top: var(--space-3xl);
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glass);
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-color);
}

.about-stat-value {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
}

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

/* ============================================
   22. BLOG LISTING
   ============================================ */
.blog {
    position: relative;
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: var(--space-xl);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.blog-card-tag {
    padding: 3px 10px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-weight: 600;
}

.blog-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text-primary);
}

.blog-card h3 a:hover {
    color: var(--primary-light);
}

.blog-card p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 0;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-light);
    margin-top: var(--space-lg);
    transition: var(--transition);
}

.blog-card-link:hover {
    color: var(--cyan);
    gap: var(--space-sm);
}

/* Blog Single */
.blog-single {
    padding: 140px 0 80px;
    background: var(--bg-primary);
}

.blog-single-content {
    max-width: 780px;
    margin: 0 auto;
}

.blog-single-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
}

.blog-single-content .entry-content {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.9;
}

.blog-single-content .entry-content h2,
.blog-single-content .entry-content h3 {
    color: var(--text-primary);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.blog-single-content .entry-content p {
    margin-bottom: var(--space-lg);
}

.blog-single-content .entry-content a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-single-content .entry-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-2xl) 0;
}

.blog-single-content .entry-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: var(--space-xl);
    margin: var(--space-2xl) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-single-content .entry-content code {
    font-family: var(--font-mono);
    background: rgba(108, 92, 231, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

.blog-single-content .entry-content pre {
    background: var(--bg-tertiary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--space-2xl) 0;
    border: 1px solid var(--border-color);
}

.blog-single-content .entry-content pre code {
    background: none;
    padding: 0;
}

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

/* ============================================
   23. 404 PAGE
   ============================================ */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.page-404::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.page-404-code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-lg);
    opacity: 0.6;
}

.page-404 h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.page-404 p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   23b. MISSING COMPONENT STYLES (HTML class fixes)
   ============================================ */

/* --- Section Header / Badge --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header .badge,
.badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-light);
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Case Study Metrics --- */
.case-metrics {
    display: flex;
    gap: var(--space-xl);
    margin: var(--space-lg) 0;
    flex-wrap: wrap;
}

.case-metric {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    flex: 1;
    min-width: 120px;
}

.case-metric strong {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--cyan);
}

/* --- Result Details --- */
.result-detail {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.result-label {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-2xl) 0;
    font-size: var(--font-size-sm);
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.comparison-table th {
    color: var(--text-primary);
    font-weight: 600;
    background: var(--bg-tertiary);
    position: sticky;
    top: 0;
}

.comparison-table thead th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table tbody tr:hover {
    background: rgba(108, 92, 231, 0.05);
}

.comparison-table td:nth-child(2) {
    color: var(--cyan);
    font-weight: 600;
}

/* --- Pricing Extras --- */
.pricing-price {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--text-primary);
    margin: var(--space-md) 0 var(--space-xs);
}

.pricing-period {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-lg);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.pricing-card.popular::before {
    content: 'Popular';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 4px 16px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 100px;
}

/* --- Form Wizard / Multi-step --- */
.form-section {
    padding: var(--space-4xl) 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-neural);
}

.neuroops-form .form-group {
    margin-bottom: var(--space-lg);
}

.neuroops-form label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.neuroops-form .form-control,
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a29bfe' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

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

.form-message {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    margin-top: var(--space-lg);
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--red);
    display: block;
}

/* Form Progress */
.form-progress {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.form-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    position: relative;
    flex: 1;
    text-align: center;
}

.form-progress-step::before {
    content: attr(data-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    transition: all 0.3s var(--ease-out);
}

.form-progress-step.active::before {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.4);
}

.form-progress-step.active {
    color: var(--text-primary);
}

.form-progress-step.completed::before {
    background: var(--green);
    border-color: var(--green);
    color: white;
    content: '\2713';
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s var(--ease-out);
}

.form-step h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-step > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* Service selection radio cards */
.service-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.service-option {
    position: relative;
}

.service-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-option label {
    display: block;
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.service-option label:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
}

.service-option input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.3);
}

.service-option label strong {
    display: block;
    color: var(--text-primary);
    font-size: var(--font-size-base);
    margin-bottom: 4px;
}

.service-option label span {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.service-option label em {
    display: block;
    color: var(--cyan);
    font-style: normal;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-top: 4px;
}

/* Tier/Level selection */
.tier-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.tier-option {
    position: relative;
}

.tier-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tier-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    height: 100%;
}

.tier-option label:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.tier-option input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
    box-shadow: var(--shadow-glow);
}

.tier-option label strong {
    display: block;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
}

/* Managed service select */
.managed-select {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

/* Review/Summary table */
.summary-table {
    width: 100%;
    border-collapse: collapse;
}

.summary-table td {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(108, 92, 231, 0.08);
}

.summary-table td:first-child {
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
    width: 40%;
}

.summary-table td:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.summary-total {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: var(--font-size-xs);
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
}

/* Service link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    margin-top: var(--space-md);
    transition: var(--transition);
}

.service-link:hover {
    color: var(--cyan);
    gap: 10px;
}

.service-price {
    color: var(--cyan);
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-top: var(--space-md);
}

/* --- Hero 2-Column Layout --- */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.hero-visual svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* --- Logo improvement --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--primary-light);
}

/* --- Nav links spacing --- */
.main-nav {
    display: flex;
    gap: var(--space-xl);
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: var(--text-primary);
}

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

/* --- Step Card (Methodology) --- */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    margin-top: var(--space-3xl);
}

.methodology-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gradient-neural);
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease-out);
}

.step-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--font-size-xl);
    color: white;
    margin-bottom: var(--space-lg);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.3);
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.step-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* --- Cases Grid --- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}

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

.case-content {
    padding: var(--space-2xl);
}

.case-industry {
    display: inline-block;
    padding: 4px 12px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 100px;
    margin-bottom: var(--space-md);
}

.case-content h4 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.case-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
}

/* --- Stack Grid --- */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

.stack-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease-out);
}

.stack-item:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.stack-item-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.stack-item-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stack-item-role {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- About Section (new 2-column layout) --- */
.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-image-wrapper {
    position: relative;
}

.placeholder-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 60px rgba(108, 92, 231, 0.3);
}

.about-credentials {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.credential-badge {
    padding: 6px 14px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 100px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.about-highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* --- Ecosystem Cards --- */
.ecosystem-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.ecosystem-card {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease-out);
}

.ecosystem-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.ecosystem-card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.ecosystem-card h4 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.ecosystem-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* --- Agent Options (form wizard radio cards) --- */
.agent-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.agent-option {
    position: relative;
}

.agent-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.agent-option-label {
    display: block;
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.agent-option-label:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
}

.agent-option input[type="radio"]:checked + .agent-option-label {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.3);
}

.agent-option-label h5 {
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.agent-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.agent-price-tag {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--cyan);
}

/* --- Tier Cards --- */
.tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.tier-card {
    position: relative;
}

.tier-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tier-card-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    height: 100%;
}

.tier-card-label:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.tier-card input[type="radio"]:checked + .tier-card-label {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
    box-shadow: var(--shadow-glow);
}

.tier-card-label h4 {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.tier-price {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: var(--space-sm) 0;
}

.tier-desc {
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
}

/* --- Order Summary --- */
.order-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.order-summary h4 {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.order-line {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(108, 92, 231, 0.06);
}

.order-line span {
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
}

.order-line strong {
    color: var(--text-primary);
    font-weight: 600;
}

.order-line.total {
    border-top: 2px solid var(--border-color);
    border-bottom: none;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
}

.order-line.total span:last-child {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 800;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- .required asterisk --- */
.required {
    color: var(--red);
}

/* --- highlight-col for comparison table --- */
.comparison-table .highlight-col {
    color: var(--cyan);
    font-weight: 600;
    background: rgba(34, 211, 238, 0.03);
}

/* ============================================
   24. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large screens / Laptops - 1024px */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .container {
        padding: 0 var(--space-lg);
    }

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

/* Tablets - 768px */
@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }

    .hero { min-height: auto; padding: 120px 0 60px; }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

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

    .wf-form-card { padding: var(--space-xl); }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .methodology-steps { grid-template-columns: 1fr; }
    .methodology-steps::before { display: none; }
    .stack-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; }
    .ecosystem-cards { grid-template-columns: 1fr; }
    .tier-cards { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
    .agent-options[style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Mobile Landscape - 640px */
@media (max-width: 640px) {
    :root {
        --section-padding: 56px 0;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .hero-metrics { grid-template-columns: 1fr; }

    .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }

    .wf-tier-grid { grid-template-columns: 1fr; }
    .wf-service-grid { grid-template-columns: 1fr; }

    .btn-lg { padding: 14px 28px; font-size: var(--font-size-base); }
    .btn-xl { padding: 16px 32px; font-size: var(--font-size-lg); }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px 0;
    }

    .hero { padding: 100px 0 48px; }

    .hero-badge { font-size: var(--font-size-xs); padding: 6px 14px; }

    .service-card { padding: var(--space-xl); }

    .testimonial-card { padding: var(--space-xl); }

    .faq-question { padding: var(--space-lg); font-size: var(--font-size-sm); }
    .faq-answer-inner { padding: 0 var(--space-lg) var(--space-lg); }

    .wf-form-card { padding: var(--space-lg) var(--space-md); }

    .methodology-number { width: 48px; height: 48px; font-size: var(--font-size-base); }

    .about-stats { grid-template-columns: 1fr; text-align: center; }
}

/* ============================================
   25. PRINT STYLES
   ============================================ */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a { text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; }

    .site-header,
    .site-footer,
    .whatsapp-float,
    .preloader,
    .hero-particles,
    .hero-orb,
    .bg-grid,
    .menu-toggle,
    .mobile-nav {
        display: none !important;
    }

    .hero { min-height: auto; padding: 20px 0; }

    img { max-width: 100% !important; }

    h2, h3 { page-break-after: avoid; }
    p, li { orphans: 3; widows: 3; }
}

/* ============================================
   SCROLLBAR STYLES
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 92, 231, 0.5);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 92, 231, 0.3) var(--bg-primary);
}

/* ============================================
   MISC / HELPERS
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

.gradient-border {
    position: relative;
    border: none;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* WordPress specific */
.wp-block-image img {
    border-radius: var(--radius-lg);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.alignright {
    float: right;
    margin-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}

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

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