/* ===== ALAP ===== */
:root {
    --bg-deep:    #080c14;
    --bg-card:    rgba(255, 255, 255, 0.04);
    --border:     rgba(255, 255, 255, 0.08);
    --teal:       #2dd4bf;
    --teal-dark:  #0d9488;
    --indigo:     #6366f1;
    --text:       #e2e8f0;
    --muted:      #64748b;
    --nav-h:      72px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    font-feature-settings: "calt" off;
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== DEKORATÍV PONTOK ===== */
.dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.35;
}
.dot--teal  { background: var(--teal); }
.dot--indigo { background: var(--indigo); }

/* ===== NAVBAR ===== */
.navbar {
    height: var(--nav-h);
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.navbar .btn-waitlist {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #0f1a19;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.45rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.navbar .btn-waitlist:hover { opacity: 0.85; }

/* ===== HERO ===== */
.hero {
    padding-top: calc(var(--nav-h) + 3.5rem);
    padding-bottom: 4rem;
    position: relative;
    text-align: center;
}

/* ===== COUNTDOWN ===== */
.countdown {
    margin-bottom: 1.25rem;
    text-align: center;
}

.countdown__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}

.countdown__grid {
    display: inline-grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.countdown__box {
    min-width: 128px;
    background: rgba(45, 212, 191, 0.06);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 16px;
    padding: 1.4rem 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.countdown__num {
    font-family: 'Courier New', 'Lucida Console', monospace;
    font-size: clamp(2.8rem, 6.5vw, 4.4rem);
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    text-shadow:
        0 0 14px rgba(45, 212, 191, 0.65),
        0 0 32px rgba(45, 212, 191, 0.32);
}

.countdown__unit {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero__title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #f1f5f9;
    margin-bottom: 1.25rem;
}
.hero__title span {
    background: linear-gradient(90deg, var(--teal), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Rotating text */
.hero__rotate-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero__rotate-label {
    color: var(--muted);
}

.hero__rotate-track {
    position: relative;
    display: inline-block;
    min-width: 220px;
    height: 1.6em;
    overflow: hidden;
    vertical-align: bottom;
}

.hero__rotate-word {
    position: absolute;
    left: 0;
    right: 0;
    text-align: left;
    background: linear-gradient(90deg, var(--teal), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__rotate-word.active {
    opacity: 1;
    transform: translateY(0);
}

.hero__rotate-word.exit {
    opacity: 0;
    transform: translateY(-100%);
}

/* CTA gomb */
.hero__ctas {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.btn-cta-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #0a1514;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 2.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-cta-primary:hover { transform: translateY(-1px); opacity: 0.9; }

/* Discount card */
.discount-card {
    margin: 0 auto 2.25rem;
    max-width: 480px;
    background:
        radial-gradient(ellipse at top, rgba(45, 212, 191, 0.18), transparent 70%),
        linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(99, 102, 241, 0.06));
    border: 1px solid rgba(45, 212, 191, 0.35);
    border-radius: 16px;
    padding: 1.1rem 1.5rem 1.25rem;
    box-shadow:
        0 0 0 1px rgba(45, 212, 191, 0.08),
        0 8px 32px rgba(45, 212, 191, 0.12);
    text-align: center;
}

.discount-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--teal);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.discount-card__pct {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.discount-card__num {
    font-size: clamp(2.6rem, 6vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--teal), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.discount-card__pct-sign {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--teal);
}

.discount-card__off {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--teal);
    margin-left: 0.35rem;
    align-self: center;
}

.discount-card__desc {
    margin: 0;
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
}
.discount-card__desc strong {
    color: #f1f5f9;
    font-weight: 700;
}

/* Mini counter */
.hero__counter {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(45, 212, 191, 0.06);
    border: 1px solid rgba(45, 212, 191, 0.18);
    border-radius: 10px;
    padding: 0.45rem 1rem;
    margin-bottom: 1.5rem;
}

.hero__counter-number {
    font-family: 'Courier New', 'Lucida Console', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.05em;
    text-shadow:
        0 0 8px rgba(45, 212, 191, 0.7),
        0 0 20px rgba(45, 212, 191, 0.35);
    min-width: 2ch;
    text-align: right;
}

.hero__counter-label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Trust indicators */
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    color: var(--muted);
    font-size: 0.82rem;
}
.hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.hero__trust-item svg { color: var(--teal); flex-shrink: 0; }

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: 5rem 0 6rem;
}

.how-section__label {
    display: inline-block;
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.how-section__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.how-section__sub {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* Kártyák sorba, egymáshoz tapasztva */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem 1.75rem 2rem;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
}
.step-card:last-child { border-right: none; }
.step-card:hover { background: rgba(45, 212, 191, 0.04); }

/* Kerek számjel jobb felül */
.step-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 36px;
    height: 36px;
    background: var(--teal);
    color: #0a1514;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border-radius: 0 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Teal ikon doboz */
.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.2);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.step-card h6 {
    font-weight: 700;
    font-size: 1rem;
    color: #f1f5f9;
    margin-bottom: 0.6rem;
}
.step-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}

/* ===== INSTAGRAM ===== */
.ig-section {
    padding: 0 0 4rem;
}

.ig-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.08), rgba(253, 29, 29, 0.06), rgba(252, 176, 69, 0.06));
    border: 1px solid rgba(131, 58, 180, 0.2);
    border-radius: 16px;
    padding: 1.75rem 2rem;
}

.ig-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ig-text { flex: 1; }

.ig-title {
    font-weight: 700;
    font-size: 1rem;
    color: #f1f5f9;
    margin: 0 0 0.2rem;
}

.ig-sub {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

.ig-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #833ab4, #fd1d1d);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem;
    border-radius: 9px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
}
.ig-btn:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }

@media (max-width: 640px) {
    .ig-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .ig-btn { width: 100%; justify-content: center; }
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}
footer a { color: #64748b; text-decoration: none; }
footer a:hover { color: var(--teal); }

/* ===== MODAL ===== */
.modal-content {
    background: #0e1420 !important;
    border: 1px solid rgba(45, 212, 191, 0.2) !important;
    border-radius: 16px !important;
    color: var(--text);
}
.modal-header { border-bottom: 1px solid var(--border) !important; }
.modal-title { font-weight: 700; color: #f1f5f9; }

.form-control {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 8px;
}
.form-control:focus {
    border-color: var(--teal) !important;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15) !important;
    background: rgba(255,255,255,0.06) !important;
}
.form-control::placeholder { color: var(--muted) !important; }

.form-label { font-size: 0.875rem; color: #94a3b8; font-weight: 500; }

.form-check-input:checked {
    background-color: var(--teal);
    border-color: var(--teal);
}
.form-check-label { color: #94a3b8; font-size: 0.875rem; }
.form-check-label a { color: var(--teal); }

.btn-modal-submit {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #0a1514;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    width: 100%;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-modal-submit:hover { opacity: 0.9; }
.btn-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.alert-success {
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: #5eead4;
    border-radius: 8px;
}
.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border-radius: 8px;
}

/* ===== MODAL PERK BANNER ===== */
.modal-perk {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(45, 212, 191, 0.35);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
}
.modal-perk__pct {
    flex-shrink: 0;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--teal);
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.35);
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    white-space: nowrap;
}
.modal-perk__txt {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.45;
}
.modal-perk__txt strong { color: #f1f5f9; font-weight: 700; }

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(8, 12, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    transform: translateY(110%);
    transition: transform 0.25s ease;
}
.sticky-cta--visible { transform: translateY(0); }

.sticky-cta__btn {
    width: 100%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #0a1514;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--nav-h) + 2.5rem);
        padding-bottom: 3rem;
    }

    .hero__title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .countdown { margin-bottom: 1.75rem; }
    .countdown__grid { gap: 0.55rem; }
    .countdown__box { min-width: 0; padding: 0.9rem 0.5rem 0.75rem; gap: 0.4rem; }
    .countdown__num { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
    .countdown__unit { font-size: 0.62rem; letter-spacing: 0.1em; }

    .discount-card { margin: 0 auto 1.75rem; padding: 1rem 1.25rem 1.1rem; }
    .discount-card__num { font-size: 2.4rem; }
    .discount-card__off { font-size: 0.78rem; }
    .discount-card__desc { font-size: 0.82rem; }

    .sticky-cta { display: block; }
    body.has-sticky-cta { padding-bottom: 84px; }

    .hero__pills {
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }
    .hero__pill { font-size: 0.78rem; padding: 0.32rem 0.75rem; }

    .hero__ctas { margin-bottom: 0.85rem; }

    .hero__trust {
        gap: 0.75rem 1.25rem;
        font-size: 0.78rem;
    }

    .how-section { padding: 3.5rem 0 4rem; }
    .how-section__title { font-size: 1.6rem; }
    .steps-row { grid-template-columns: repeat(2, 1fr); }
    .step-card:nth-child(2) { border-right: none; }
    .step-card:nth-child(1),
    .step-card:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 480px) {
    .hero__trust {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-cta-primary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .steps-row { grid-template-columns: 1fr; }
    .step-card { border-right: none; border-bottom: 1px solid var(--border); }
    .step-card:last-child { border-bottom: none; }
    .step-card:nth-child(2) { border-right: none; }
}
