/* ═══ RESET & BASE ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0806;
    --bg2: #12100c;
    --card: #1a1612;
    --border: rgba(193, 154, 81, 0.15);
    --gold: #c19a51;
    --gold-bright: #e8c87a;
    --gold-dim: rgba(193, 154, 81, 0.3);
    --red: #8b1a1a;
    --red-bright: #c42a2a;
    --text: #e8dcc8;
    --text2: #a89880;
    --text3: #6b5e4f;
    --font: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --radius: 16px;
    --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.gold-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright), #f0d890);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ═══ NAV ═══ */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 8, 6, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    color: var(--gold-bright);
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.9rem; color: var(--text2); transition: color 0.3s; font-weight: 500; }
.nav-links a:hover { color: var(--gold-bright); }

.btn-nav {
    background: linear-gradient(135deg, var(--red), var(--gold)) !important;
    color: #fff !important; padding: 8px 20px; border-radius: 10px;
    font-weight: 600 !important; font-size: 0.85rem !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(193, 154, 81, 0.3); }

/* ═══ HERO ═══ */
#hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 100px 24px 60px;
    max-width: var(--max-w); margin: 0 auto;
    position: relative; gap: 40px;
}

.hero-bg-orbs { position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: -1; }
.orb {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: var(--red-bright); top: -10%; left: -10%; }
.orb2 { width: 400px; height: 400px; background: var(--gold); bottom: 10%; right: -5%; animation-delay: -7s; }
.orb3 { width: 300px; height: 300px; background: #4a2020; top: 50%; left: 30%; animation-delay: -14s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -40px); }
    66% { transform: translate(-20px, 30px); }
}

.hero-content { flex: 1; }

.hero-badge {
    display: inline-block; padding: 6px 16px;
    background: var(--gold-dim); border: 1px solid var(--gold);
    border-radius: 20px; font-size: 0.8rem; font-weight: 600;
    color: var(--gold-bright); margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

#hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900; line-height: 1.1; margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-sub {
    font-size: 1.1rem; color: var(--text2); max-width: 480px;
    line-height: 1.7; margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 14px;
    background: linear-gradient(135deg, var(--red), var(--red-bright));
    color: #fff; font-weight: 700; font-size: 1rem;
    transition: all 0.3s; box-shadow: 0 4px 20px rgba(139, 26, 26, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(139, 26, 26, 0.5); }

.btn-ghost {
    padding: 14px 28px; border-radius: 14px;
    border: 1px solid var(--border); color: var(--text2);
    font-weight: 600; transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.hero-stats {
    display: flex; align-items: center; gap: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold-bright); }
.stat-label { font-size: 0.75rem; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Phone Mockup */
.hero-phone {
    flex: 0 0 300px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.phone-mockup {
    width: 280px; border-radius: 36px;
    background: var(--card); border: 2px solid var(--border);
    padding: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.phone-screen {
    border-radius: 28px; overflow: hidden;
    background: var(--bg2); min-height: 480px;
    display: flex; flex-direction: column;
}

.mock-header {
    padding: 16px; text-align: center;
    background: linear-gradient(180deg, var(--red), transparent);
}
.mock-time { font-size: 0.8rem; color: var(--gold-bright); font-weight: 700; letter-spacing: 2px; }

.mock-card {
    margin: 8px 12px; padding: 14px;
    background: var(--card); border-radius: 14px;
    border: 1px solid var(--border);
}
.mock-icon { font-size: 1.4rem; margin-bottom: 4px; }
.mock-title { font-size: 0.75rem; color: var(--gold); font-weight: 700; margin-bottom: 8px; }

.mock-hours { display: flex; flex-wrap: wrap; gap: 4px; }
.hour {
    padding: 3px 8px; border-radius: 6px;
    font-size: 0.65rem; font-weight: 600;
}
.hour.good { background: rgba(76, 175, 80, 0.2); color: #81c784; }
.hour.bad { background: rgba(244, 67, 54, 0.15); color: #e57373; }

.mock-compass {
    width: 80px; height: 80px; margin: 8px auto;
    border-radius: 50%; border: 2px solid var(--gold-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; animation: spin 20s linear infinite;
    background: radial-gradient(circle, var(--gold-dim), transparent);
}
@keyframes spin { to { transform: rotate(360deg); } }

.mock-nav {
    margin-top: auto; padding: 12px 0; display: flex; justify-content: space-around;
    background: var(--card); border-top: 1px solid var(--border);
    font-size: 1.1rem;
}
.mock-nav .active { filter: drop-shadow(0 0 6px var(--gold)); }

/* ═══ FEATURES ═══ */
#features { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; padding: 4px 14px;
    background: var(--gold-dim); border-radius: 20px;
    font-size: 0.75rem; font-weight: 700; color: var(--gold);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; line-height: 1.2; margin-bottom: 12px;
}
.section-header p { color: var(--text2); font-size: 1.05rem; }

.features-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: all 0.4s; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--gold-dim); }
.feature-card:hover::before { opacity: 1; }

.feature-card.featured {
    border-color: var(--gold-dim);
    background: linear-gradient(135deg, var(--card), rgba(193, 154, 81, 0.08));
}

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--gold-bright); }
.feature-card p { font-size: 0.85rem; color: var(--text2); line-height: 1.6; }
.feature-badge {
    display: inline-block; margin-top: 12px; padding: 3px 10px;
    border-radius: 6px; font-size: 0.7rem; font-weight: 700;
}
.feature-badge.free { background: rgba(76, 175, 80, 0.15); color: #81c784; }

/* ═══ ABOUT ═══ */
#about { padding: 100px 0; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900; line-height: 1.2; margin-bottom: 32px;
}

.about-points { display: flex; flex-direction: column; gap: 24px; }

.about-point {
    display: flex; gap: 16px; padding: 16px;
    border-radius: 12px; transition: background 0.3s;
}
.about-point:hover { background: var(--card); }
.point-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.about-point h4 { font-size: 1rem; font-weight: 700; color: var(--gold-bright); margin-bottom: 4px; }
.about-point p { font-size: 0.85rem; color: var(--text2); }

/* Compass visual */
.about-visual { display: flex; justify-content: center; align-items: center; }

.compass-display {
    width: 300px; height: 300px; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.compass-ring {
    position: absolute; border-radius: 50%;
    border: 2px solid var(--gold-dim);
}
.ring1 { width: 100%; height: 100%; animation: spin 30s linear infinite; border-style: dashed; }
.ring2 { width: 75%; height: 75%; animation: spin 20s linear infinite reverse; }
.ring3 { width: 50%; height: 50%; animation: spin 15s linear infinite; border-color: var(--gold); }
.compass-center {
    font-size: 3rem; z-index: 2;
    text-shadow: 0 0 40px var(--gold-dim);
    animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ═══ DOWNLOAD ═══ */
#download { padding: 100px 0; }

.download-box {
    text-align: center; padding: 60px 40px;
    background: linear-gradient(135deg, var(--card), rgba(139, 26, 26, 0.1));
    border: 1px solid var(--border); border-radius: 24px;
    position: relative; overflow: hidden;
}
.download-box::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, var(--gold-dim), transparent 60%);
    opacity: 0.1;
}

.download-box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900; margin-bottom: 12px; position: relative;
}
.download-box p { color: var(--text2); margin-bottom: 32px; position: relative; }

.download-buttons { margin-bottom: 24px; position: relative; }

.btn-download {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 32px; border-radius: 14px;
    background: linear-gradient(135deg, var(--red), var(--red-bright));
    color: #fff; font-weight: 700; font-size: 1rem;
    transition: all 0.3s; box-shadow: 0 4px 24px rgba(139, 26, 26, 0.4);
}
.btn-download:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 32px rgba(139, 26, 26, 0.5); }
.btn-download small { font-size: 0.7rem; font-weight: 400; opacity: 0.8; }
.btn-download strong { font-size: 1.1rem; }
.btn-download div { text-align: left; line-height: 1.3; }

.download-contacts {
    display: flex; justify-content: center; gap: 24px;
    position: relative;
}
.contact-link {
    font-size: 0.85rem; color: var(--text3); transition: color 0.3s;
}
.contact-link:hover { color: var(--gold-bright); }

/* ═══ FOOTER ═══ */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}
.footer-brand p { font-size: 0.8rem; color: var(--text3); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: var(--text3); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.75rem; color: var(--text3); }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0; transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    #hero { flex-direction: column; text-align: center; padding-top: 80px; min-height: auto; }
    .hero-sub { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-phone { flex: none; }
    .phone-mockup { width: 240px; margin: 0 auto; }
    .phone-screen { min-height: 400px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; }
    .compass-display { width: 200px; height: 200px; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
    .nav-links a:not(.btn-nav) { display: none; }
}
