/* ========================================
   AGENCIA GEO - NEURAL THEME 2026
   AI-Inspired Design • Neural Networks • Generative
   ======================================== */

:root {
    /* AI-Inspired Color Palette */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #1c2128;
    --bg-card: rgba(33, 38, 45, 0.6);
    --bg-glass: rgba(33, 38, 45, 0.3);

    /* Neural Network Colors */
    --neural-cyan: #00d4ff;
    --neural-purple: #8b5cf6;
    --neural-green: #00f5a0;
    --neural-orange: #ff6b35;
    --neural-pink: #ff0080;

    /* Primary Accent */
    --accent-primary: var(--neural-cyan);
    --accent-secondary: var(--neural-purple);
    --accent-glow: rgba(0, 212, 255, 0.4);

    /* Typography */
    --text-primary: #f0f6fc;
    --text-secondary: rgba(240, 246, 252, 0.8);
    --text-muted: rgba(240, 246, 252, 0.6);
    --text-dim: rgba(240, 246, 252, 0.4);

    /* Borders & Lines */
    --border-primary: rgba(240, 246, 252, 0.12);
    --border-secondary: rgba(240, 246, 252, 0.08);
    --border-glow: rgba(0, 212, 255, 0.3);

    /* Spacing & Layout */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   MATRIX BACKGROUND EFFECT
   ======================================== */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(0, 245, 160, 0.08) 0%, transparent 50%);
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 212, 255, 0.03) 2px,
            rgba(0, 212, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 2px,
            rgba(139, 92, 246, 0.03) 2px,
            rgba(139, 92, 246, 0.03) 4px
        );
    animation: matrix-drift 20s linear infinite;
}

@keyframes matrix-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-4px, -4px); }
}

/* ========================================
   NEURAL NETWORK ANIMATION
   ======================================== */
.neural-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   FLOATING CTA
   ======================================== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 60px var(--accent-glow), var(--shadow-md); }
}

.ai-icon {
    font-size: 1.25rem;
    animation: ai-bounce 2s ease-in-out infinite;
}

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

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 1.25rem 0;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    transition: all 0.3s;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(13, 17, 23, 0.95);
    border-bottom-color: var(--border-glow);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Neural Design */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-neural {
    position: relative;
    width: 32px;
    height: 32px;
}

.neural-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 16px var(--accent-glow);
}

.neural-pulse {
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: neural-pulse 2s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes neural-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-text .accent {
    color: var(--accent-primary);
    text-shadow: 0 0 8px var(--accent-glow);
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s;
    box-shadow: 0 0 8px var(--accent-glow);
}

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

.nav-link:hover::before {
    transform: translateX(-50%) scale(1);
}

.header-cta {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.glow-btn {
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

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

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .floating-cta { right: 1rem; bottom: 1rem; }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(0, 212, 255, 0.05) 40px,
            rgba(0, 212, 255, 0.05) 42px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(139, 92, 246, 0.05) 40px,
            rgba(139, 92, 246, 0.05) 42px
        );
    mask: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-ai-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: ai-orb-float 15s ease-in-out infinite;
}

.ai-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--neural-cyan) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    opacity: 0.3;
}

.ai-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--neural-purple) 0%, transparent 70%);
    bottom: 20%;
    left: 15%;
    opacity: 0.25;
    animation-delay: -5s;
}

.ai-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--neural-green) 0%, transparent 70%);
    top: 60%;
    left: 60%;
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes ai-orb-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-15px, 15px) rotate(180deg); }
    75% { transform: translate(25px, 10px) rotate(270deg); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.ai-pulse {
    width: 8px;
    height: 8px;
    background: var(--neural-green);
    border-radius: 50%;
    animation: ai-pulse 2s infinite;
    box-shadow: 0 0 8px var(--neural-green);
}

@keyframes ai-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-family: 'Inter', sans-serif;
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neural-cyan) 0%, var(--neural-purple) 50%, var(--neural-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px var(--accent-glow);
}

.typing-container {
    position: relative;
    display: inline-block;
    min-width: 350px;
    width: 350px;
    text-align: left;
    height: 1.2em;
    overflow: hidden;
}

.typing-text {
    color: var(--neural-cyan);
    text-shadow: 0 0 16px var(--accent-glow);
    font-weight: 600;
}

.typing-cursor {
    animation: typing-blink 1.2s infinite;
    color: var(--accent-primary);
    text-shadow: 0 0 16px var(--accent-glow);
    font-size: 0.9em;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes typing-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-cta-group {
    margin-bottom: 4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--bg-primary);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.neural-btn {
    position: relative;
}

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

.neural-btn:hover::before {
    left: 100%;
}

.neural-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--accent-glow), var(--shadow-lg);
}

.btn-arrow {
    transition: transform 0.3s;
    font-size: 1.25rem;
}

.neural-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* AI Engines Grid */
.ai-engines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.ai-engine {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 1rem 0.5rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.ai-engine:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.engine-icon {
    font-size: 1.5rem;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.ai-engine:hover .engine-icon {
    filter: grayscale(0);
}

.ai-engine span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.ai-engine:hover span {
    color: var(--text-secondary);
}

/* ========================================
   SLIDE UP ANIMATION
   ======================================== */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Elementos siempre visibles - forzar slide-up */
.criteria-selector,
.faq,
.faq-list,
.faq-item,
.slide-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
    padding: clamp(4rem, 8vw, 8rem) 0;
    position: relative;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ========================================
   NEURAL CARDS
   ======================================== */
.neural-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.neural-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transition: left 0.8s;
}

.neural-card:hover::before {
    left: 100%;
}

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

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.neural-card:hover .card-glow {
    opacity: 0.1;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem {
    background: var(--bg-secondary);
    position: relative;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 128, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.problem-card {
    padding: 2.5rem;
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   WHAT IS GEO SECTION
   ======================================== */
.what-is-geo {
    background: var(--bg-primary);
}

.geo-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.geo-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Comparison Table */
.comparison-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.comparison-table-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 2fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.table-header {
    background: var(--bg-glass);
    font-weight: 700;
    color: var(--text-primary);
}

.table-row:hover {
    background: rgba(0, 212, 255, 0.05);
}

.table-row.highlight {
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
}

.col {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem;
}

.table-header .col {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: left;
    }

    .col {
        padding: 0.25rem 0;
        border-bottom: 1px solid var(--border-secondary);
    }

    .col:last-child {
        border-bottom: none;
    }
}

/* ========================================
   METHODOLOGY SECTION
   ======================================== */
.methodology {
    background: var(--bg-secondary);
    position: relative;
}

.methodology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 245, 160, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.methodology-header {
    text-align: center;
    margin-bottom: 4rem;
}

.methodology-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* TAAS Dashboard */
.taas-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.taas-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.taas-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 16px var(--accent-glow);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--neural-green);
    border-radius: 50%;
    animation: live-pulse 2s infinite;
    box-shadow: 0 0 8px var(--neural-green);
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dashboard-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* TAS Score Circle */
.tas-score {
    display: flex;
    justify-content: center;
}

.score-circle {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-glow);
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.score-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 16px var(--accent-glow);
}

.score-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Pillar Metrics */
.pillar-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pillar {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1rem;
    align-items: center;
}

.pillar-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.pillar-bar {
    height: 8px;
    background: var(--border-primary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.pillar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    width: var(--width, 0%);
    border-radius: 4px;
    transition: width 2s ease;
    position: relative;
}

.pillar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: pillar-glow 2s ease infinite;
}

@keyframes pillar-glow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.pillar-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.9rem;
    min-width: 40px;
    text-align: right;
}

/* 4 Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pillar-card {
    padding: 2.5rem;
    text-align: center;
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pillar-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillar {
        grid-template-columns: 80px 1fr auto;
        gap: 0.75rem;
    }

    .pillar-name {
        font-size: 0.8rem;
    }
}

/* ========================================
   KPIS SECTION
   ======================================== */
.kpis {
    background: var(--bg-primary);
}

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

.kpi-card {
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.kpi-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.kpi-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.kpi-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.kpi-metric {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-top: auto;
}

.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 16px var(--accent-glow);
    line-height: 1;
}

.metric-unit {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ========================================
   CHOOSE AGENCY SECTION
   ======================================== */
.choose-agency {
    background: var(--bg-secondary);
    position: relative;
}

.choose-agency::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 40% 20%, rgba(255, 0, 128, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.criteria-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2.5rem;
    align-items: flex-start;
}

.criteria-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px var(--accent-glow);
    flex-shrink: 0;
}

.criteria-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.criteria-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .criteria-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
}

/* Interactive Criteria Selector */
.criteria-selector {
    margin-top: 3rem;
}

.criteria-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.criteria-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.criteria-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.criteria-tab.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: var(--bg-primary);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.tab-number {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.875rem;
}

.criteria-tab.active .tab-number {
    background: rgba(255, 255, 255, 0.3);
}

.tab-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.criteria-content {
    position: relative;
}

.criteria-panel {
    display: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.criteria-panel.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.criteria-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(139, 92, 246, 0.05));
    pointer-events: none;
}

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

.criteria-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.criteria-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px var(--accent-glow);
}

.criteria-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.criteria-description {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.criteria-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.criteria-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: rgba(0, 212, 255, 0.08);
    transform: translateX(8px);
}

.check-icon {
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 1.25rem;
}

.checklist-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .criteria-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .criteria-tab {
        justify-content: center;
        text-align: center;
    }

    .criteria-panel {
        padding: 1.5rem;
    }

    .criteria-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    background: var(--bg-primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    transition: all 0.3s;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--bg-glass);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: left;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: bold;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

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

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 245, 160, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.benefit-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.form-neural-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-form {
    position: relative;
    z-index: 1;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dim);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--border-glow);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(240,246,252,0.6)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

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

/* Form Validation Styles */
.form-error {
    display: none;
    color: #ff4757;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding-left: 0.25rem;
    animation: slideInDown 0.3s ease-out;
}

.form-error.show {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #2ed573;
    background: rgba(46, 213, 115, 0.05);
    box-shadow: 0 0 0 3px rgba(46, 213, 115, 0.1);
}

/* Character Counter */
.char-counter {
    display: flex;
    justify-content: flex-end;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
}

.char-counter.warning {
    color: #ffa502;
}

.char-counter.error {
    color: #ff4757;
}

/* Custom Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkbox-wrapper:hover .checkmark {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.05);
}

.checkbox-wrapper input:checked ~ .checkmark,
.checkmark.checked {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
}

.checkmark:after {
    content: "✓";
    position: absolute;
    display: none;
    color: var(--bg-primary);
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
}

.checkbox-wrapper input:checked ~ .checkmark:after,
.checkmark.checked:after {
    display: block;
}

/* Better click area */
.checkbox-wrapper {
    min-height: 20px;
    padding: 2px 0;
}

.checkbox-text {
    cursor: pointer;
}

.checkbox-text {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.checkbox-text a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* reCAPTCHA Group */
.captcha-group {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.g-recaptcha {
    transform: scale(1);
    transform-origin: center;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: var(--radius-xl);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-glow);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--accent-glow);
}

/* Loading State */
.btn-submit.loading {
    pointer-events: none;
}

.btn-submit.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow), var(--shadow-lg);
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-primary);
    background: var(--bg-primary);
}

.footer-content {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .typing-container {
        min-width: 280px;
        width: 280px;
    }

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

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .kpis-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-glow);
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background: var(--accent-glow);
    color: var(--bg-primary);
}

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