:root {
    --bg-dark: #070B19;
    --bg-card: rgba(20, 25, 45, 0.7);
    --primary-glow: #8A2BE2;
    --gold: #FFD700;
    --gold-hover: #ffea70;
    --text-light: #E0E6ED;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    background-image: radial-gradient(circle at top right, #1a0b2e, transparent 40%),
                      radial-gradient(circle at bottom left, #0b1a2e, transparent 40%);
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }
.gold-text { color: var(--gold); text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }

/* Buttons */
.cta-btn {
    background: linear-gradient(45deg, #FFD700, #F3A183);
    color: #000;
    border: none;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-body);
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255,215,0,0.4); }
.cta-btn.secondary { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.cta-btn.secondary:hover { background: rgba(255, 215, 0, 0.1); }
.cta-btn.small { padding: 8px 20px; font-size: 0.9rem; }
.cta-btn.large { padding: 18px 40px; font-size: 1.3rem; }
.w-100 { width: 100%; }

.pulse { animation: pulseGlow 2s infinite; }
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Nav */
.sticky-nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(7, 11, 25, 0.9); backdrop-filter: blur(10px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sticky-nav .logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--gold); }
.sticky-nav nav a { color: #fff; text-decoration: none; margin: 0 15px; font-size: 0.9rem; transition: color 0.3s; }
.sticky-nav nav a:hover { color: var(--gold); }

/* --- HERO SECTION FIX --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Forces it to fill exactly the screen height */
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Hides any video that bleeds off screen */
    padding: 0 20px;
}

/* Forces video to the back and covers the whole section */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching, fills screen nicely */
    z-index: 0; 
}

/* Dark overlay so the white text is readable */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 25, 0.65); /* Adjust 0.65 for darker/lighter */
    z-index: 1;
}

/* Pulls the text up to the front */
.hero-content {
    position: relative;
    z-index: 2; /* Higher than the video and overlay */
    max-width: 800px;
    margin-top: 60px; /* Gives space for your sticky header */
}

/* Hide the old missing background elements if they exist */
.stars-bg, .zodiac-wheel-bg {
    display: none !important;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero .subtitle { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; }

/* Zodiac Grid */
.zodiac-preview { padding: 80px 5%; text-align: center; }
.zodiac-preview h2 { font-size: 2.5rem; color: var(--gold); margin-bottom: 10px; }
.zodiac-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px; margin: 40px auto; max-width: 900px;
}
.zodiac-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1);
    padding: 20px; border-radius: 15px; cursor: pointer; transition: 0.3s;
}
.zodiac-card:hover { border-color: var(--primary-glow); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(138,43,226,0.3); }
.zodiac-card.active { border-color: var(--gold); background: rgba(255,215,0,0.1); }
.zodiac-icon { font-size: 2rem; margin-bottom: 10px; }

/* Prediction & Blur Logic */
.prediction-box {
    background: var(--bg-card); max-width: 700px; margin: 0 auto;
    padding: 30px; border-radius: 15px; border: 1px solid rgba(255,215,0,0.3);
    position: relative; text-align: left;
}
.prediction-box.hidden { display: none; }
.teaser-content { font-size: 1.1rem; margin-bottom: 15px; line-height: 1.6; }
.blurred-content {
    position: relative; filter: blur(4px); user-select: none; opacity: 0.5;
}
.lock-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; width: 100%; z-index: 10;
}
.lock-overlay i { font-size: 3rem; color: var(--gold); margin-bottom: 15px; }
.lock-overlay button { margin-top: 15px; filter: none !important; }

/* Premium Tools & How it works */
.premium-tools, .how-it-works, .testimonials, .final-cta { padding: 80px 5%; text-align: center; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.tool-card {
    background: var(--bg-card); padding: 30px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.05);
}
.tool-card i { font-size: 2.5rem; margin-bottom: 15px; }
.steps-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.step { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 10px; width: 200px; }
.step-number { background: var(--gold); color: #000; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin: 0 auto 15px; font-size: 1.2rem; }

/* Pricing */
.pricing { padding: 80px 5%; text-align: center; background: rgba(0,0,0,0.3); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1000px; margin: 40px auto 0; }
.pricing-card { background: var(--bg-card); padding: 40px 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); position: relative; }
.pricing-card.popular { border-color: var(--gold); transform: scale(1.05); box-shadow: 0 10px 30px rgba(255,215,0,0.15); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #000; padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; }
.price { font-size: 2.5rem; color: var(--gold); margin: 20px 0; font-family: var(--font-heading); }
.price span { font-size: 1rem; color: #ccc; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 30px; }
.pricing-card ul li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.pricing-card ul li i { color: #4CAF50; }

/* Modals */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content { background: var(--bg-dark); margin: 10% auto; padding: 40px; border: 1px solid var(--gold); width: 90%; max-width: 400px; border-radius: 20px; text-align: center; position: relative; }
.close-modal { position: absolute; right: 20px; top: 15px; color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; }
.social-btn { width: 100%; padding: 12px; border-radius: 10px; border: none; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: bold; margin-bottom: 15px; }
.social-btn.google { background: white; color: #333; }
.divider { margin: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; }
.divider span { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--bg-dark); padding: 0 10px; font-size: 0.8rem; color: #aaa; }
#email-auth-form input { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.5); color: white; }

/* Floating CTA */
.floating-cta { position: fixed; bottom: 30px; right: 30px; background: var(--gold); color: #000; padding: 15px 25px; border-radius: 30px; text-decoration: none; font-weight: bold; box-shadow: 0 5px 15px rgba(255,215,0,0.4); z-index: 999; display: none; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .sticky-nav nav { display: none; }
    .pricing-card.popular { transform: none; }
    .floating-cta { display: block; }
}

/* --- Testimonials Card Style --- */
.testimonials {
    padding: 60px 20px;
    background: rgba(10, 14, 23, 0.5);
    text-align: center;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #1a1f2e;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 15px;
    padding: 30px;
    width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
}

.testimonial-card .stars {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: #ffffff;
    letter-spacing: 1px;
}

/* --- Contact Form 7 Section --- */
.signup-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #0a0e17, #151a28);
}

.cf7-container {
    max-width: 600px;
    margin: 30px auto 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px dashed rgba(255, 215, 0, 0.3);
}

/* Styling CF7 Inputs specifically */
.cf7-container input[type="text"],
.cf7-container input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
}

.cf7-container input[type="submit"] {
    background: linear-gradient(45deg, #ffd700, #ffae00);
    color: #000;
    font-weight: bold;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
}

/* --- Footer Menu Fix --- */
.site-footer {
    padding: 40px 20px 100px; /* Extra bottom padding for floating CTA */
    background: #070a0f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 25px; /* Horizontal spacing */
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}