/* ═══════════════════════════════════════════════════════════
   DVBSOLUTION — Landing Base
   Imports shared variables; defines layout, typography, buttons.
   ═══════════════════════════════════════════════════════════ */

@import url("/v3/static/css/variables.css");

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Transparent so the injected .stars-container (cosmic-background.js) shows through */
    background: transparent;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}

/* All content sits above the star field.
   Exclude .stars-container (has its own z-index:0 fixed) AND .lp-header
   (has position:fixed + z-index:1000 set in header.css — this rule's
   higher specificity would otherwise override it, making the header
   render at z-index:1 like every other section and causing the hero
   to obscure the language dropdown via document order). */
.landing-page > *:not(.stars-container):not(.lp-header) {
    position: relative;
    z-index: 1;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(0, 212, 255, 0.28); color: #fff; }

/* container */
.lp-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* section base */
.lp-section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
}

.lp-section--dark {
    background: linear-gradient(180deg, rgba(6, 12, 24, 0.6) 0%, rgba(2, 8, 16, 0.9) 100%);
    border-top: 1px solid rgba(6, 182, 212, 0.08);
    border-bottom: 1px solid rgba(6, 182, 212, 0.08);
}

.lp-section__header {
    max-width: 720px;
    margin: 0 auto 72px;
    text-align: center;
}

.lp-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 100px;
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.lp-section__title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-section__subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    user-select: none;
    font-family: inherit;
}

.lp-btn--primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
    color: #001220;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
}
.lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 212, 255, 0.4);
}

.lp-btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(148, 163, 184, 0.2);
}
.lp-btn--ghost:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.lp-btn--lg { padding: 16px 32px; font-size: 15px; }

/* reveal on scroll */
.lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
}
.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* helpers */
.lp-accent { color: var(--accent-cyan); }
.lp-mono { font-family: 'JetBrains Mono', ui-monospace, 'Consolas', monospace; }
.lp-center { text-align: center; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .lp-reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 960px) {
    .lp-container { padding: 0 24px; }
    .lp-section { padding: 80px 0; }
    .lp-section__header { margin-bottom: 48px; }
}
