/* =============================================
   ZORELIN — Landing Page
   Premium mystický design · Velké tučné fonty
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Prevent pull-to-refresh on mobile */
html {
    overscroll-behavior-y: none;
}

:root {
    --bg: #08081a;
    --bg-card: #0e0e28;
    --bg-card-hover: #141438;
    --gold: #b8963e;
    --gold-light: #d4b366;
    --gold-dim: rgba(212, 168, 67, 0.12);
    --gold-glow: rgba(212, 168, 67, 0.08);
    --text: #ccc8de;
    --text-muted: #7e7a96;
    --text-bright: #f4f0ff;
    --border: rgba(212, 168, 67, 0.08);
    --border-light: rgba(212, 168, 67, 0.18);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --radius: 20px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-y: none;
}

/* Desktop: thin scrollbar */
@media (min-width: 641px) {
    body::-webkit-scrollbar { width: 4px; }
    body::-webkit-scrollbar-track { background: transparent; }
    body::-webkit-scrollbar-thumb { background: rgba(212,168,67,0.15); border-radius: 4px; }
}

/* Mobile: NO scrollbar, NO bounce, app feel */
@media (max-width: 640px) {
    html, body {
        overscroll-behavior: none;
        -webkit-overflow-scrolling: auto;
        scrollbar-width: none;
    }
    body::-webkit-scrollbar { width: 0; display: none; }
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* === PRELOADER === */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-spin { color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === SECTION HEADLINES === */
.section-headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(36px, 6vw, 58px);
    color: var(--text-bright);
    text-align: center;
    margin-bottom: 64px;
    line-height: 1.15;
}

/* === NAV === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled {
    background: rgba(8, 8, 26, 0.95);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 14px 32px;
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 600;
    color: var(--gold) !important;
    display: flex; align-items: center; gap: 8px;
}
.nav-logo svg { opacity: 0.7; }
.nav-links { display: none; }
.nav-links a {
    font-size: 14px; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-deep {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-light);
    border: 1px solid var(--gold-dim);
    border-radius: 60px;
    padding: 7px 16px;
    letter-spacing: 0.02em;
    transition: all 0.3s;
    white-space: nowrap;
}
.nav-deep:hover {
    background: rgba(184,150,62,0.1);
    border-color: var(--gold);
    color: var(--gold);
}
.nav-lang { position: relative; }
.lang-btn {
    background: none; border: 1px solid var(--border-light);
    border-radius: 8px; padding: 6px 12px; font-size: 18px; cursor: pointer;
    transition: border-color 0.3s;
}
.lang-btn:hover { border-color: var(--gold); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 12px; padding: 8px 0; min-width: 170px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all 0.25s; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option { display: block; padding: 10px 18px; font-size: 15px; color: var(--text); transition: background 0.2s; }
.lang-option:hover { background: var(--gold-dim); color: var(--gold); }
.lang-option.active { color: var(--gold); }

/* === HERO === */
.hero {
    position: relative; min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    overflow: hidden; padding-bottom: 64px;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease; }
body.loaded .hero-video { opacity: 0.2; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(8,8,26,0.4) 0%, rgba(8,8,26,0.05) 35%, rgba(8,8,26,0.5) 70%, var(--bg) 100%),
        radial-gradient(ellipse at 50% 30%, rgba(212,168,67,0.04) 0%, transparent 60%);
}
.hero-content {
    position: relative; z-index: 2; text-align: center; padding: 0 28px; max-width: 860px;
    opacity: 0; transform: translateY(40px);
    transition: all 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
body.loaded .hero-content { opacity: 1; transform: translateY(0); }

.hero-headline {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(42px, 9vw, 82px);
    color: var(--text-bright);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.hero-sub {
    font-size: clamp(17px, 3vw, 22px);
    font-weight: 400;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 44px;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { font-size: 14px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; }

/* Buttons */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 18px 42px;
    background: linear-gradient(135deg, var(--gold), #b8922f);
    color: #08081a;
    font-family: var(--font-body); font-weight: 700; font-size: 16px;
    border-radius: 60px; letter-spacing: 0.02em;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(212, 168, 67, 0.3);
}
.btn-primary svg { flex-shrink: 0; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 50px rgba(212,168,67,0.4); color: #08081a; }
.btn-primary.btn-lg { padding: 22px 52px; font-size: 18px; }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 18px 42px;
    background: transparent; color: var(--text);
    font-family: var(--font-body); font-weight: 600; font-size: 16px;
    border: 1.5px solid var(--border-light);
    border-radius: 60px; transition: all 0.35s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Scroll hint */
.scroll-hint {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1;
    color: var(--gold); animation: scrollFloat 2.5s ease-in-out infinite;
    pointer-events: none; opacity: 0.6;
}
@keyframes scrollFloat { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(12px);} }

/* === EMOTION === */
.emotion { padding: 80px 0 100px; }
.emotion::before {
    content: ''; display: block; width: 1px; height: 48px;
    background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
    margin: 0 auto 40px;
}
.emotion-texts { max-width: 660px; margin: 0 auto; text-align: center; }
.emotion-texts p {
    font-size: clamp(18px, 3vw, 22px); font-weight: 400;
    line-height: 1.8; margin-bottom: 32px;
    opacity: 0; transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.emotion-texts p.visible { opacity: 1; transform: translateY(0); }
.emotion-highlight { color: var(--gold-light) !important; font-weight: 500; }

/* === STEPS === */
.steps {
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
}

/* Hlavní glow za kartami — měsíční záře */
.steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 800px;
    height: 800px;
    background:
        radial-gradient(circle, rgba(184,150,62,0.08) 0%, rgba(184,150,62,0.04) 25%, rgba(120,100,230,0.03) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    animation: glowPulse 6s ease-in-out infinite;
}

/* Sekundární glow — jemnější, posunutý */
.steps::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background:
        radial-gradient(circle, rgba(184,150,62,0.06) 0%, rgba(184,150,62,0.02) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    animation: glowPulse 6s 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -40%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -40%) scale(1.05); }
}

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.steps-grid-3 { grid-template-columns: repeat(3, 1fr); }
.steps-cta-wrap { text-align: center; margin-top: 48px; position: relative; z-index: 1; }

.steps .section-headline { position: relative; z-index: 1; }

.step-card {
    background: rgba(14, 14, 40, 0.7);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 36px 24px; text-align: center;
    position: relative; overflow: hidden;
    opacity: 0; transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Jemný shine efekt na horní hraně karty */
.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184,150,62,0.4), transparent);
}

/* Hover glow pod kartou */
.step-card::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 20%; right: 20%; height: 80px;
    background: radial-gradient(ellipse, rgba(184,150,62,0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.step-card:hover::after { opacity: 1; }

.step-card.visible { opacity: 1; transform: translateY(0); }
.step-card:nth-child(2) { transition-delay: 0.08s; }
.step-card:nth-child(3) { transition-delay: 0.16s; }
.step-card:nth-child(4) { transition-delay: 0.24s; }
.step-card:hover {
    border-color: rgba(184,150,62,0.3);
    background: rgba(14, 14, 40, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(184,150,62,0.04);
}
.step-card.visible:hover { transform: translateY(-4px); }

.step-icon-wrap {
    display: flex; align-items: center; justify-content: center;
    width: 68px; height: 68px; margin: 0 auto 22px;
    color: var(--gold); background: var(--gold-dim);
    border-radius: 18px; border: 1px solid var(--border-light);
    transition: all 0.4s;
    box-shadow: 0 0 0 0 rgba(184,150,62,0);
}
.step-card:hover .step-icon-wrap {
    transform: scale(1.08);
    box-shadow: 0 0 24px rgba(184,150,62,0.15);
    border-color: rgba(184,150,62,0.35);
}

.step-num {
    position: absolute; top: 18px; right: 18px;
    font-family: var(--font-display); font-size: 16px; font-weight: 600;
    color: var(--gold); opacity: 0.25;
}
.step-card h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 24px; color: var(--text-bright); margin-bottom: 12px;
}
.step-card p { font-size: 15px; font-weight: 400; color: var(--text-muted); line-height: 1.65; }

/* === PRICING === */
.pricing { padding: 120px 0 140px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.price-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px 28px; position: relative;
    opacity: 0; transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card.visible { opacity: 1; transform: translateY(0); }
.price-card:nth-child(2) { transition-delay: 0.1s; }
.price-card:nth-child(3) { transition-delay: 0.2s; }
.price-card:hover { border-color: var(--border-light); }

.price-card.featured {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(212,168,67,0.06) 0%, var(--bg-card) 50%);
    box-shadow: 0 0 80px var(--gold-glow);
}
.price-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), #b8922f);
    color: #08081a; font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 20px; border-radius: 20px; white-space: nowrap;
}
.price-header { text-align: center; margin-bottom: 32px; }
.price-header h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 30px; color: var(--text-bright); margin-bottom: 8px;
}
.price-desc { font-size: 16px; font-weight: 400; color: var(--text-muted); margin-bottom: 24px; }
.price-amount {
    font-family: var(--font-display); font-size: 52px; font-weight: 800;
    color: var(--gold); letter-spacing: -0.02em;
}
.price-features { list-style: none; margin-bottom: 32px; }
.price-features li {
    padding: 11px 0; font-size: 15px; font-weight: 500; color: var(--text);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
}
.price-features li:last-child { border-bottom: none; }
.price-features li svg { color: var(--gold); flex-shrink: 0; }

.btn-card {
    display: block; text-align: center; padding: 16px 24px;
    background: transparent; color: var(--gold);
    border: 1.5px solid var(--gold); border-radius: 60px;
    font-size: 15px; font-weight: 700; letter-spacing: 0.03em;
    transition: all 0.35s;
}
.btn-card:hover { background: var(--gold); color: #08081a; }
.featured .btn-card {
    background: linear-gradient(135deg, var(--gold), #b8922f);
    color: #08081a; border-color: transparent;
}
.featured .btn-card:hover { box-shadow: 0 4px 30px rgba(212,168,67,0.35); }

/* === REVIEWS === */
.reviews {
    padding: 120px 0 140px;
    background: radial-gradient(ellipse at 50% 0%, var(--gold-glow) 0%, transparent 50%);
}
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.reviews-grid-3 { grid-template-columns: repeat(3, 1fr); }
.review-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    opacity: 0; transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.review-card.visible { opacity: 1; transform: translateY(0); }
.review-card:nth-child(2) { transition-delay: 0.08s; }
.review-card:nth-child(3) { transition-delay: 0.16s; }
.review-card:nth-child(4) { transition-delay: 0.24s; }

.review-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.review-text {
    font-family: var(--font-display); font-style: italic;
    font-size: 20px; font-weight: 500; line-height: 1.65;
    color: var(--text); margin-bottom: 18px;
}
.review-author { font-size: 14px; font-weight: 600; color: var(--text-muted); }

/* === FAQ === */
.faq { padding: 120px 0 140px; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    opacity: 0; transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.visible { opacity: 1; transform: translateY(0); }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 26px 0; background: none; border: none;
    color: var(--text-bright); font-family: var(--font-body);
    font-size: 18px; font-weight: 600; cursor: pointer; text-align: left;
    gap: 16px; transition: color 0.3s;
}
.faq-question:hover { color: var(--gold); }
.faq-chevron { color: var(--gold); flex-shrink: 0; transition: transform 0.35s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.45s;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 0 24px; }
.faq-answer p { font-size: 16px; font-weight: 400; color: var(--text-muted); line-height: 1.75; }

/* === FINAL CTA === */
.final-cta {
    padding: 140px 0; text-align: center; position: relative;
}
.final-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(212,168,67,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.final-headline {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(40px, 8vw, 64px);
    color: var(--gold); margin-bottom: 24px; line-height: 1.1;
}
.final-text {
    font-size: clamp(17px, 3vw, 22px); font-weight: 400;
    color: var(--text-muted); max-width: 560px;
    margin: 0 auto 44px; line-height: 1.7;
}

/* === FOOTER === */
.footer { padding: 52px 0 36px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.footer-logo {
    font-family: var(--font-display); font-size: 20px; font-weight: 600;
    color: var(--gold); display: flex; align-items: center; gap: 6px;
}
.footer-logo svg { opacity: 0.6; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-disclaimer { font-size: 13px; color: var(--text-muted); opacity: 0.4; text-align: center; margin-bottom: 12px; line-height: 1.6; }
.footer-copy { font-size: 13px; color: var(--text-muted); opacity: 0.3; text-align: center; }

.footer-lang {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}
.footer-lang-opt {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: all 0.3s ease;
    opacity: 0.5;
}
.footer-lang-opt:hover { opacity: 0.8; border-color: rgba(184,150,62,0.3); }
.footer-lang-opt.active { opacity: 1; border-color: rgba(184,150,62,0.4); background: rgba(184,150,62,0.08); }

/* ============= RESPONSIVE ============= */
@media (max-width: 900px) {
    .steps-grid, .steps-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .reviews-grid, .reviews-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav { padding: 14px 20px; }
    .nav.scrolled { padding: 10px 20px; }
    .container { padding: 0 20px; }
    .hero { min-height: calc(100vh - 40px); min-height: calc(100dvh - 40px); }
    .hero-content { padding: 0 20px; }
    .hero-headline { font-size: 36px; }
    .hero-sub { font-size: 16px; margin-bottom: 32px; }
    .hero-cta { flex-direction: column; align-items: center; gap: 12px; }
    .btn-primary, .btn-ghost { width: auto; justify-content: center; padding: 14px 28px; font-size: 14px; }
    .btn-primary.btn-lg { padding: 16px 32px; font-size: 15px; }
    .scroll-hint { bottom: 8px; }
    .emotion { padding: 32px 0 48px; }
    .emotion::before { height: 24px; margin: 0 auto 20px; }
    .steps-grid, .steps-grid-3 { grid-template-columns: 1fr; gap: 12px; }
    .section-headline { font-size: 30px; margin-bottom: 44px; }
    .steps, .pricing, .reviews, .faq { padding: 64px 0; }
    .final-cta { padding: 80px 0; }
    .price-amount { font-size: 40px; }
    .review-text { font-size: 17px; }
    .faq-question { font-size: 16px; }
    .footer-top { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .step-card, .price-card, .review-card, .faq-item, .emotion-texts p,
    .hero-content, .hero-video { opacity: 1 !important; transform: none !important; }
}