/* EvoGO.ai pre-launch — street-banner cinematic lock (dark navy + cyan G).
   Live marketing surface while EVOGO_PRELAUNCH is on. */

:root {
    --pl-navy: #050a12;
    --pl-panel: #0b1524;
    --pl-ink: #e8f1ff;
    --pl-muted: #8fa3b8;
    --pl-cyan: #5ce1ff;
    --pl-cyan-deep: #2f9bff;
    --pl-gold: #d4b56a;
    --pl-line: rgba(92, 225, 255, 0.2);
    --pl-max: 1120px;
    --pl-font: 'Outfit', 'Noto Sans SC', system-ui, sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.pl {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--pl-navy);
    color: var(--pl-ink);
    font-family: var(--pl-font);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- background scenery ---------- */
.pl-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background-color: var(--pl-navy);
    background-image:
        radial-gradient(ellipse 70% 40% at 80% -8%, rgba(47, 155, 255, 0.2), transparent 55%),
        radial-gradient(ellipse 55% 35% at 12% 8%, rgba(92, 225, 255, 0.12), transparent 50%),
        linear-gradient(180deg, rgba(5, 10, 18, 0.35) 0%, rgba(5, 10, 18, 0.72) 42%, rgba(2, 6, 12, 0.94) 100%),
        url("/images/brand/prelaunch-hero-atmosphere.jpg?v=4");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 42%;
    animation: plBgDrift 28s ease-in-out infinite alternate;
}
.pl-bg-grid {
    position: absolute;
    inset: -10%;
    background-image:
        linear-gradient(rgba(92, 225, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 225, 255, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 68% 52% at 50% 22%, #000 0%, transparent 78%);
            mask-image: radial-gradient(ellipse 68% 52% at 50% 22%, #000 0%, transparent 78%);
    opacity: 0.35;
}
.pl-bg-board { display: none; }
.pl-bg-glow {
    position: absolute;
    width: min(520px, 80vw);
    height: 220px;
    left: 50%;
    top: 12%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(92, 225, 255, 0.16), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}
.pl-bg-glow--gold,
.pl-bg-glow--jade { display: none; }
.pl-stone { display: none; }

@keyframes plBgDrift {
    from { background-position: center 40%; }
    to { background-position: center 48%; }
}
@keyframes plRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@keyframes plBrandBreath {
    0%, 100% { filter: drop-shadow(0 0 16px rgba(92, 225, 255, 0.28)); }
    50% { filter: drop-shadow(0 0 28px rgba(92, 225, 255, 0.48)); }
}
@keyframes plPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}
@keyframes plNumBreath {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 18px rgba(92, 225, 255, 0.35); }
}
@keyframes plCyanSweep {
    0%, 100% { transform: translateX(-120%); }
    40%, 60% { transform: translateX(120%); }
}

/* ---------- header ---------- */
.pl-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: var(--pl-max);
    margin: 0 auto;
    padding: 18px clamp(18px, 4vw, 40px);
}
.pl-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}
.pl-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid rgba(92, 225, 255, 0.4);
    box-shadow: 0 0 18px rgba(92, 225, 255, 0.25);
    background: #050a12;
}
.pl-brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.pl-brand-ai { color: var(--pl-cyan); }
.pl-lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--pl-muted);
}
.pl-lang-label { display: none; }
.pl-lang select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(11, 21, 36, 0.9);
    color: var(--pl-ink);
    border: 1px solid var(--pl-line);
    border-radius: 10px;
    padding: 9px 34px 9px 16px;
    font-size: 0.85rem;
    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='%235ce1ff' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
}
.pl-lang select:focus-visible { outline: 2px solid rgba(92, 225, 255, 0.7); outline-offset: 2px; }

.pl a:focus-visible,
.pl button:focus-visible,
.pl input:focus-visible,
.pl select:focus-visible {
    outline: 2px solid rgba(92, 225, 255, 0.7);
    outline-offset: 3px;
}

/* ---------- main / hero ---------- */
.pl-main {
    flex: 1;
    width: 100%;
    max-width: var(--pl-max);
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 40px);
}
.pl-hero {
    text-align: center;
    max-width: 760px;
    margin: clamp(28px, 6vw, 72px) auto clamp(28px, 5vw, 56px);
    animation: plRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.pl-hero-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 10px;
}
.pl-hero-brand-mark {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: block;
    object-fit: contain;
    border: 1px solid rgba(92, 225, 255, 0.45);
    box-shadow: 0 0 28px rgba(92, 225, 255, 0.3);
    background: #050a12;
    animation: plBrandBreath 4.8s ease-in-out infinite;
}
.pl-hero-brand-name {
    font-size: clamp(2.2rem, 5.6vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #f5f9ff;
    line-height: 1;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55), 0 0 28px rgba(92, 225, 255, 0.2);
}
.pl-hero-brand-ai { color: var(--pl-cyan); }
.pl-motto {
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(232, 241, 255, 0.78);
}
.pl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--pl-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pl-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pl-cyan);
    box-shadow: 0 0 10px rgba(92, 225, 255, 0.7);
    animation: plPulse 2.2s ease-in-out infinite;
}
.pl-title {
    margin: 12px auto 0;
    font-size: clamp(1.45rem, 3.6vw, 2.15rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.pl-kicker { display: none; }
.pl-sub {
    margin: 18px auto 0;
    max-width: 640px;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--pl-muted);
}

/* ---------- launch countdown ---------- */
.pl-countdown {
    margin: clamp(24px, 4vw, 36px) auto 0;
    max-width: 520px;
}
.pl-countdown-label {
    margin: 0 0 14px;
    color: var(--pl-gold);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pl-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.pl-countdown-cell {
    padding: 14px 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(92, 225, 255, 0.18);
    background: rgba(11, 21, 36, 0.72);
    box-shadow: inset 0 0 0 1px rgba(92, 225, 255, 0.04);
}
.pl-countdown-num {
    display: block;
    font-size: clamp(1.55rem, 5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    color: #fff;
    animation: plNumBreath 3.6s ease-in-out infinite;
}
.pl-countdown-unit {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pl-muted);
}
.pl-countdown--live .pl-countdown-label { color: var(--pl-cyan); }
.pl-countdown--live .pl-countdown-num { color: var(--pl-cyan); }

/* ---------- CTA ---------- */
.pl-auth-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: clamp(22px, 4vw, 32px) auto 0;
    max-width: 540px;
}
.pl-auth-btn {
    flex: 1 1 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(92, 225, 255, 0.28);
    background: rgba(11, 21, 36, 0.82);
    color: var(--pl-ink);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pl-auth-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(92, 225, 255, 0.5);
    box-shadow: 0 0 18px rgba(92, 225, 255, 0.12);
}
.pl-auth-btn--primary {
    position: relative;
    overflow: hidden;
    border: none;
    background: linear-gradient(180deg, #6ee7ff, #2f9bff);
    color: #041018;
    box-shadow: 0 0 28px rgba(92, 225, 255, 0.35);
}
.pl-auth-btn--primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: plCyanSweep 5.5s ease-in-out infinite;
    pointer-events: none;
}
.pl-auth-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(92, 225, 255, 0.48);
    filter: brightness(1.04);
}
.pl-cta--wait { text-align: center; }
.pl-auth-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--pl-muted);
    font-size: 0.9rem;
}
.pl-cta {
    margin: clamp(28px, 5vw, 44px) auto 0;
    max-width: 540px;
    padding: clamp(22px, 4vw, 32px);
    background: linear-gradient(180deg, rgba(14, 28, 48, 0.95), rgba(8, 14, 24, 0.92));
    border: 1px solid rgba(92, 225, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    text-align: left;
}
.pl-cta-title { margin: 0; font-size: 1.3rem; font-weight: 700; color: #fff; }
.pl-cta-sub { margin: 8px 0 18px; color: var(--pl-muted); font-size: 0.94rem; }
.pl-field { display: flex; gap: 10px; }
.pl-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(92, 225, 255, 0.22);
    background: rgba(5, 10, 18, 0.85);
    color: var(--pl-ink);
    font-size: 1rem;
    font-family: inherit;
}
.pl-input::placeholder { color: rgba(143, 163, 184, 0.7); }
.pl-submit {
    flex: 0 0 auto;
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #5ce1ff, #2f9bff);
    color: #041018;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(92, 225, 255, 0.28);
}
.pl-submit:disabled { opacity: 0.65; cursor: wait; }
.pl-note { margin: 12px 0 0; color: var(--pl-muted); font-size: 0.86rem; }
.pl-msg { margin: 12px 0 0; font-size: 0.9rem; }
.pl-msg--ok { color: var(--pl-cyan); }
.pl-msg--error { color: #ff8f8f; }
.pl-cta--done .pl-field { opacity: 0.55; pointer-events: none; }
.pl-close-line {
    margin: 18px auto 0;
    text-align: center;
    color: var(--pl-muted);
    font-size: 0.92rem;
}

/* ---------- pillars ---------- */
.pl-features {
    margin: 0 auto clamp(36px, 6vw, 64px);
}
.pl-features-title {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.pl-grid--pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.pl-card--media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(92, 225, 255, 0.16);
    background: rgba(11, 21, 36, 0.9);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pl-card--media:hover {
    border-color: rgba(92, 225, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(92, 225, 255, 0.12);
}
.pl-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #050a12;
}
.pl-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pl-card-index {
    margin: 12px 16px 0;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--pl-cyan);
    font-weight: 700;
}
.pl-card-title {
    margin: 4px 16px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.pl-card-desc {
    margin: 6px 16px 16px;
    color: var(--pl-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.pl-coming {
    text-align: center;
    margin: 0 auto 40px;
    color: var(--pl-muted);
}

/* ---------- footer ---------- */
.pl-foot {
    margin-top: auto;
    padding: 28px clamp(18px, 4vw, 40px) calc(28px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    color: var(--pl-muted);
    border-top: 1px solid rgba(92, 225, 255, 0.1);
    background: rgba(2, 6, 12, 0.72);
}
.pl-foot-brand { font-weight: 600; color: rgba(232, 241, 255, 0.85); margin-bottom: 8px; }
.pl-foot-links { display: flex; gap: 10px; justify-content: center; align-items: center; margin-bottom: 8px; }
.pl-foot-links a { color: var(--pl-cyan); text-decoration: none; }
.pl-foot-links a:hover { text-decoration: underline; }
.pl-foot-rights { font-size: 0.82rem; }

@media (min-width: 720px) {
    .pl-grid--pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 980px) {
    .pl-grid--pillars {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .pl-card--p4,
    .pl-card--p5 {
        grid-column: span 1;
    }
    .pl-grid--pillars {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .pl-card--p1,
    .pl-card--p2,
    .pl-card--p3 {
        grid-column: span 2;
    }
    .pl-card--p4,
    .pl-card--p5 {
        grid-column: span 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pl-bg,
    .pl-hero-brand-mark,
    .pl-badge-dot,
    .pl-countdown-num,
    .pl-auth-btn--primary::after {
        animation: none !important;
    }
}
