/* ═══════════════════════════════════════════════════════════════════
   EVACUATOR – Landing Page CSS
   Culoare primară: #f9cf00
════════════════════════════════════════════════════════════════════ */

/* ─── Reset + Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --yellow:      #f9cf00;
    --yellow-dark: #d4a900;
    --yellow-glow: rgba(249, 207, 0, 0.18);
    --dark:        #0d0f14;
    --dark-2:      #161922;
    --dark-3:      #1e2330;
    --light:       #f8f9fa;
    --light-2:     #eef0f4;
    --text:        #111827;
    --text-muted:  #6b7280;
    --white:       #ffffff;
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
    --shadow-md:   0 8px 32px rgba(0,0,0,.12);
    --shadow-lg:   0 24px 64px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ─── Layout helpers ───────────────────────────────────────────── */
.section-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: inline-block;
    background: var(--yellow-glow);
    color: var(--yellow-dark);
    border: 1px solid rgba(249,207,0,.35);
    border-radius: 20px;
    padding: .3rem 1rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.4px;
    color: var(--text);
    margin-bottom: 3rem;
}

/* ─── Nav ──────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13, 15, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.2px;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-cta {
    background: var(--yellow);
    color: #000;
    padding: .5rem 1.3rem;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 700;
    transition: background .2s, transform .15s;
}

.nav-cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--dark);
    padding-top: 64px;
    overflow: hidden;
}

/* Noise texture overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Yellow blob glow */
.hero::after {
    content: '';
    position: absolute;
    top: -120px; left: -80px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(249,207,0,.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ─── Hero Text ────────────────────────────────────────────────── */
.hero-text { color: var(--white); }

.source-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(249,207,0,.12);
    border: 1px solid rgba(249,207,0,.3);
    border-radius: 20px;
    padding: .3rem .9rem;
    font-size: .8rem;
    color: var(--yellow);
    margin-bottom: 1.5rem;
}

.source-dot {
    width: 7px; height: 7px;
    background: var(--yellow);
    border-radius: 50%;
    animation: pulse-dot 1.8s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.7); }
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.8px;
    margin-bottom: 1.4rem;
}

.accent { color: var(--yellow); }

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.65);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ─── Hero badges ──────────────────────────────────────────────── */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 2.4rem;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: .3rem .85rem;
    font-size: .82rem;
    color: rgba(255,255,255,.8);
}

.badge-item svg { width: 14px; height: 14px; color: var(--yellow); }

/* ─── Download buttons ─────────────────────────────────────────── */
.dl-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1.6rem;
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
    min-width: 168px;
}

.dl-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.dl-btn:active { transform: translateY(-1px); }

.dl-btn-text { line-height: 1.25; }
.dl-btn-text small { display: block; font-size: .7rem; font-weight: 400; opacity: .75; }
.dl-btn-text strong { display: block; font-size: 1rem; font-weight: 800; }

.store-icon { width: 26px; height: 26px; flex-shrink: 0; }

.dl-ios {
    background: var(--white);
    color: #111;
    box-shadow: 0 4px 20px rgba(255,255,255,.15);
}

.dl-android {
    background: var(--yellow);
    color: #000;
    box-shadow: 0 4px 20px rgba(249,207,0,.25);
}
.dl-android:hover { box-shadow: 0 12px 32px rgba(249,207,0,.35); }

/* ─── Phone Mockup ─────────────────────────────────────────────── */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 280px;
    margin: 0 auto;
}

.phone-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(249,207,0,.35) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.phone-screen {
    position: relative;
    background: var(--dark-3);
    border: 2px solid rgba(255,255,255,.12);
    border-radius: 36px;
    overflow: hidden;
    aspect-ratio: 9/19;
    box-shadow:
        0 0 0 6px rgba(255,255,255,.04),
        0 40px 80px rgba(0,0,0,.7),
        inset 0 1px 0 rgba(255,255,255,.15);
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: rgba(255,255,255,.3);
    font-size: .78rem;
}

.phone-placeholder svg { width: 40px; height: 40px; opacity: .5; }

/* Notch */
.phone-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 20px;
    background: var(--dark);
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

/* Hero wave */
.hero-wave {
    position: relative;
    z-index: 1;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ─── Features ─────────────────────────────────────────────────── */
.features {
    background: var(--light);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--light-2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--yellow);
}

.feature-icon {
    width: 52px; height: 52px;
    background: var(--yellow-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--yellow-dark);
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.feature-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── How it works ─────────────────────────────────────────────── */
.how {
    background: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.how-label { background: rgba(13,15,20,.07); color: var(--dark-2); border-color: rgba(13,15,20,.1); }

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.step {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    flex: 1 1 220px;
    max-width: 280px;
    transition: transform .2s;
}

.step:hover { transform: translateY(-4px); }

.step-num {
    width: 52px; height: 52px;
    background: var(--yellow);
    color: #000;
    font-size: 1.4rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 6px 20px rgba(249,207,0,.35);
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.step p { font-size: .88rem; color: var(--text-muted); }

.step-arrow {
    color: #d1d5db;
    flex-shrink: 0;
}

.step-arrow svg { width: 28px; height: 28px; }

/* ─── CTA Section ──────────────────────────────────────────────── */
.cta-section {
    background: var(--dark);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    right: -100px; top: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(249,207,0,.1) 0%, transparent 65%);
    pointer-events: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: .5rem;
}

.cta-text p {
    color: rgba(255,255,255,.55);
    font-size: 1rem;
}

/* ─── Footer ───────────────────────────────────────────────────── */
.site-footer {
    background: #080a0e;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,.05);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    color: var(--white);
    font-size: .95rem;
}

.footer-brand img {
    width: 28px; height: 28px;
    border-radius: 6px;
    object-fit: contain;
}

.footer-copy { font-size: .82rem; color: rgba(255,255,255,.3); }

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 5rem;
    }

    .hero-sub { margin-left: auto; margin-right: auto; }

    .hero-badges { justify-content: center; }

    .dl-buttons { justify-content: center; }

    .hero-visual { order: -1; }

    .phone-mockup { width: 200px; }
}

@media (max-width: 600px) {
    .hero-text h1 { font-size: 2rem; }

    .nav-inner { padding: 0 1.25rem; }

    .section-inner { padding: 0 1.25rem; }

    .features  { padding: 4rem 0; }
    .how       { padding: 4rem 0; }
    .cta-section { padding: 4rem 0; }

    .step-arrow { display: none; }

    .steps { flex-direction: column; align-items: center; }

    .step { max-width: 100%; width: 100%; }

    .cta-inner { flex-direction: column; text-align: center; }

    .dl-btn { min-width: 0; flex: 1 1 140px; }
}
