/* ========================================
   EuroNova AI — Cinematic Blue Theme
   ======================================== */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #36d1de;
    --accent-light: #7cd8e0;
    --accent-glow: #36d0de83;
    --accent-deep: #36d1de;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-hover: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.1);
    --border-accent: #7cd8e088;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    background: #060a14;
    overflow-x: hidden;
}

/* ---- VIDEO BACKGROUND ---- */
.video-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6,10,20,0.75) 0%, rgba(6,10,20,0.45) 40%, rgba(6,10,20,0.65) 100%),
        linear-gradient(135deg, rgba(10,107,255,0.1) 0%, transparent 60%);
}

/* ---- DECORATIVE GRID ---- */
.grid-lines {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: space-evenly;
}

.grid-line {
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
}

/* ---- TOP BAR ---- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(6, 10, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.top-bar-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 53px;
    width: auto;
    object-fit: contain;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(10, 107, 255, 0.12);
    border: 1px solid rgba(10, 107, 255, 0.25);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}

.live-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.02em;
}

/* ---- MAIN LAYOUT ---- */
.main {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 40px 60px;
}

.main-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 60px;
    align-items: center;
}

/* ---- LEFT COLUMN — INFO ---- */
.info-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.tag-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(10, 107, 255, 0.1);
    border: 1px solid rgba(10, 107, 255, 0.2);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #60b0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 20px 28px;
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    width: fit-content;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 24px;
}

.stat-card:first-child {
    padding-left: 0;
}

.stat-card:last-child {
    padding-right: 0;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Platform Image */
.platform-preview {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(10, 107, 255, 0.05);
}

.platform-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- RIGHT COLUMN — FORM ---- */
.form-col {
    display: flex;
    align-items: center;
}

.form-card {
    width: 100%;
    padding: 36px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.form-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(10, 107, 255, 0.08);
    border: 1px solid rgba(10, 107, 255, 0.18);
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.badge-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
}

.badge-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.form-subtitle strong {
    color: var(--accent-light);
    font-weight: 600;
}

/* Form */
.leadform {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    outline: none;
}

.field input::placeholder {
    color: var(--text-muted);
}

.field input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(10, 107, 255, 0.15);
}

.field input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.field-error {
    font-size: 12px;
    color: #ff6b6b;
    min-height: 0;
}

/* CTA Button */
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 50%, var(--accent-light) 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 6px;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(10, 107, 255, 0.4),
        0 0 60px rgba(10, 107, 255, 0.15);
    background-position: 100% 100%;
}

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

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

/* Form Footer */
.form-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.form-legal {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ---- FOOTER ---- */
.site-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ---- intl-tel-input ---- */
.iti {
    width: 100%;
}

/* ---- ANIMATIONS ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- LOADER ---- */
.loader {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.hide {
    display: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .main {
        padding: 100px 24px 40px;
    }

    .main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-card {
        max-width: 480px;
    }

    .hero-title {
        font-size: clamp(32px, 6vw, 48px);
    }

    .stats-row {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .top-bar {
        padding: 0 20px;
    }

    .main {
        padding: 84px 16px 32px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .stats-row {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .stat-card {
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px 20px;
    }

    .live-indicator {
        display: none;
    }
}