/* ═══════════════════════════════════════════════════════════
   A2P & WhatsApp Compliance Funnel — Design System
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Backgrounds */
    --bg-primary: #000000;
    --bg-secondary: #060610;
    --bg-card: #0B0B18;
    --bg-card-hover: #111122;
    --bg-input: #0D0D22;

    /* Accents */
    --accent: #0066FF;
    --accent-glow: rgba(0, 102, 255, 0.2);
    --accent-dim: rgba(0, 102, 255, 0.1);
    --accent-bright: #4499FF;

    /* Danger */
    --danger: #FF3355;
    --danger-glow: rgba(255, 51, 85, 0.2);
    --danger-dim: rgba(255, 51, 85, 0.08);

    /* Warning */
    --warning: #FFaa22;
    --warning-glow: rgba(255, 170, 34, 0.2);
    --warning-dim: rgba(255, 170, 34, 0.08);

    /* Success */
    --success: #00CC88;
    --success-glow: rgba(0, 204, 136, 0.2);
    --success-dim: rgba(0, 204, 136, 0.08);

    /* Text */
    --text-primary: #F0F0F8;
    --text-secondary: #AAAACC;
    --text-muted: #777799;

    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 102, 255, 0.3);

    /* Fonts */
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ═══════════════ RESET & BASE ═══════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-bright);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ═══════════════ REVEAL ANIMATIONS ═══════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════ NAVIGATION ═══════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-dot {
    color: var(--accent);
}

.logo-sep {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--accent-bright);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: float 8s ease-in-out infinite;
}

.hero-glow--1 {
    width: 500px;
    height: 500px;
    background: var(--accent-glow);
    top: 10%;
    right: -10%;
}

.hero-glow--2 {
    width: 400px;
    height: 400px;
    background: rgba(102, 0, 255, 0.1);
    bottom: 10%;
    left: -5%;
    animation-delay: -4s;
}

.hero-glow--danger {
    width: 350px;
    height: 350px;
    background: var(--danger-dim);
    top: 30%;
    left: 20%;
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--danger-dim);
    border: 1px solid rgba(255, 51, 85, 0.2);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--danger);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.badge-dot--warning {
    background: var(--warning);
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 currentColor;
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 4px transparent;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-line-1 {
    display: block;
    color: var(--text-secondary);
    font-size: 0.6em;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 0.3rem;
}

.text-rejected {
    background: linear-gradient(135deg, var(--danger), #ff6644);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.text-rejected::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--danger), #ff6644);
    border-radius: 2px;
    animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.text-highlight {
    color: var(--danger);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-bright);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-glow {
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

/* Terminal */
.hero-terminal {
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
    max-width: 620px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #FF5F57;
}

.dot-yellow {
    background: #FFBD2E;
}

.dot-green {
    background: #28CA42;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1rem;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: terminal-appear 0.4s ease forwards;
}

.terminal-line:nth-child(1) {
    animation-delay: 0.5s;
}

.terminal-line:nth-child(2) {
    animation-delay: 1.2s;
}

.terminal-line:nth-child(3) {
    animation-delay: 2s;
}

.terminal-line:nth-child(4) {
    animation-delay: 2.8s;
}

.terminal-line:nth-child(5) {
    animation-delay: 3.6s;
}

.terminal-line:nth-child(6) {
    animation-delay: 4.5s;
}

@keyframes terminal-appear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.term-time {
    color: var(--text-muted);
    min-width: 60px;
}

.term-status {
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    min-width: 80px;
    text-align: center;
}

.term-pending {
    background: var(--accent-dim);
    color: var(--accent-bright);
}

.term-warn {
    background: var(--warning-dim);
    color: var(--warning);
}

.term-error {
    background: var(--danger-dim);
    color: var(--danger);
}

.term-success {
    background: var(--success-dim);
    color: var(--success);
}

.term-msg {
    color: var(--text-secondary);
}

.terminal-line--success {
    padding-top: 0.6rem;
    margin-top: 0.3rem;
    border-top: 1px solid rgba(0, 204, 136, 0.15);
}

.terminal-line--success .term-msg {
    color: var(--success);
    font-weight: 500;
}

/* ═══════════════ STATS ═══════════════ */
.stats {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.stat-icon--danger {
    background: var(--danger-dim);
    color: var(--danger);
}

.stat-icon--warning {
    background: var(--warning-dim);
    color: var(--warning);
}

.stat-icon--info {
    background: var(--accent-dim);
    color: var(--accent-bright);
}

.stat-icon--success {
    background: var(--success-dim);
    color: var(--success);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    display: inline;
    font-feature-settings: 'tnum';
}

.stat-card:nth-child(1) .stat-number {
    color: var(--danger);
}

.stat-card:nth-child(2) .stat-number {
    color: var(--warning);
}

.stat-card:nth-child(3) .stat-number {
    color: var(--accent-bright);
}

.stat-card:nth-child(4) .stat-number {
    color: var(--success);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    display: inline;
    margin-left: 2px;
}

.stat-card:nth-child(1) .stat-suffix {
    color: var(--danger);
}

.stat-card:nth-child(2) .stat-suffix {
    color: var(--warning);
}

.stat-card:nth-child(3) .stat-suffix {
    color: var(--accent-bright);
}

.stat-card:nth-child(4) .stat-suffix {
    color: var(--success);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* ═══════════════ REGULATIONS ═══════════════ */
.regulations {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-bright);
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-danger {
    color: var(--danger);
}

.text-success {
    color: var(--success);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.reg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.reg-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.4s;
}

.reg-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.reg-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    color: var(--accent-bright);
    flex-shrink: 0;
}

.reg-icon--whatsapp {
    background: var(--success-dim);
    color: var(--success);
}

.reg-title {
    font-size: 1.2rem;
    font-weight: 700;
    flex-grow: 1;
}

.reg-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

.reg-badge--required {
    background: var(--danger-dim);
    color: var(--danger);
    border: 1px solid rgba(255, 51, 85, 0.2);
}

.reg-badge--strict {
    background: var(--warning-dim);
    color: var(--warning);
    border: 1px solid rgba(255, 170, 34, 0.2);
}

.reg-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reg-requirements {
    margin-bottom: 1.5rem;
}

.req-subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.req-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.req-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.req-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.req-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.req-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.req-item--critical {
    background: var(--danger-dim);
    border-color: rgba(255, 51, 85, 0.15);
}

.req-item--critical strong {
    color: var(--danger);
}

.consequence-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.consequence {
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.consequence--block {
    background: var(--danger-dim);
    color: var(--danger);
    border-left: 3px solid var(--danger);
}

.consequence--fine {
    background: var(--warning-dim);
    color: var(--warning);
    border-left: 3px solid var(--warning);
}

.consequence--ban {
    background: rgba(255, 51, 85, 0.12);
    color: #ff6666;
    border-left: 3px solid #ff6666;
}

/* ═══════════════ TIMELINE ═══════════════ */
.timeline-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline-line {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
            var(--accent) 0%,
            var(--warning) 30%,
            var(--danger) 60%,
            #ff2222 100%);
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 1rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item--neutral .timeline-marker {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-item--warning .timeline-marker {
    background: var(--warning);
    box-shadow: 0 0 12px var(--warning-glow);
}

.timeline-item--danger .timeline-marker {
    background: var(--danger);
    box-shadow: 0 0 12px var(--danger-glow);
}

.timeline-item--critical .timeline-marker {
    background: #ff2222;
    box-shadow: 0 0 12px rgba(255, 34, 34, 0.3);
}

.timeline-week {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s;
}

.timeline-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.timeline-step {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.timeline-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-item--danger .timeline-card h4 {
    color: var(--danger);
}

.timeline-item--critical .timeline-card h4 {
    color: #ff4444;
}

.timeline-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-cost {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.cost-item {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--danger);
    font-weight: 600;
}

/* ═══════════════ SOLUTION ═══════════════ */
.solution {
    padding: 6rem 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s;
}

.solution-card:hover {
    border-color: rgba(0, 204, 136, 0.3);
    box-shadow: 0 8px 30px rgba(0, 204, 136, 0.05);
    transform: translateY(-4px);
}

.sol-icon {
    display: inline-flex;
    padding: 0.6rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.sol-icon--check {
    background: var(--success-dim);
    color: var(--success);
}

.solution-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.solution-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Comparison */
.comparison {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.comparison-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.comparison-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.comparison-header span {
    color: var(--text-muted);
    font-weight: 400;
    margin: 0 0.5rem;
}

.comparison-table {
    padding: 0.5rem;
}

.comp-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.comp-row:not(.comp-row--header):hover {
    background: rgba(255, 255, 255, 0.02);
}

.comp-row--header {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.25rem;
}

.comp-aspect {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.comp-without,
.comp-with {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.comp-bad {
    color: var(--danger);
    background: var(--danger-dim);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
}

.comp-good {
    color: var(--success);
    background: var(--success-dim);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
}

/* ═══════════════ CONTACT / FORM ═══════════════ */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-benefit svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: all 0.25s;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-input::placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-select {
    appearance: none;
    cursor: pointer;
    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='%23777799' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* Phone input */
.phone-input-wrapper {
    display: flex;
    align-items: stretch;
}

.country-code-select {
    position: relative;
    flex-shrink: 0;
}

.country-code-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 0.65rem;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
}

.country-code-btn:hover {
    background: var(--bg-card-hover);
}

.country-flag {
    font-size: 1.1rem;
}

.country-dial {
    font-weight: 600;
}

.dropdown-arrow {
    transition: transform 0.2s;
}

.phone-input {
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
}

.country-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    overflow: hidden;
}

.country-dropdown.open {
    display: block;
}

.country-option {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--text-secondary);
}

.country-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.country-option.selected {
    background: var(--accent-dim);
    color: var(--accent-bright);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success */
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 50%;
    background: var(--success-dim);
    color: var(--success);
    margin-bottom: 1.5rem;
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--success);
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-bright);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
    .reg-grid {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-terminal {
        max-width: 100%;
    }

    .terminal-line {
        font-size: 0.6rem;
        gap: 0.4rem;
    }

    .term-status {
        min-width: 65px;
        font-size: 0.55rem;
        padding: 1px 5px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline {
        padding-left: 2.5rem;
    }

    .timeline-week {
        left: -48px;
        font-size: 0.55rem;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comp-row {
        min-width: 500px;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem;
    }
}