:root {
    --primary-color: #E65100; /* Deep Saffron/Orange */
    --secondary-color: #FF8F00; /* Rich Amber */
    --accent-color: #800000; /* Sacred Maroon */
    --bg-color: #FDF6EC; /* Off-white / Cream */
    --text-dark: #2D241E;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hindi Font Support */
[data-lang="hi"] {
    font-family: 'Mukta', sans-serif;
}

[data-lang="hi"] .hero-title, 
[data-lang="hi"] h1, 
[data-lang="hi"] h2, 
[data-lang="hi"] h3 {
    font-family: 'Rozha One', serif;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 40px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.15); /* Darker glass for hero section */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8); /* Lighter glass for content sections */
    backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    top: 10px;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.navbar.scrolled:hover {
    background: rgba(255, 255, 255, 0.95);
}

.navbar-content {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff; /* White by default on hero */
    font-family: 'Cinzel', serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: color 0.3s ease;
}

.scrolled .logo-text {
    color: var(--primary-color); /* Primary color when scrolled */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff; /* White links for hero section contrast */
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.scrolled .nav-links a {
    color: var(--text-dark); /* Dark links for white background contrast */
    text-shadow: none;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-lang {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 15px;
    transition: all 0.3s;
}

.btn-lang:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #E65100 0%, #BF360C 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 25%), /* Navbar contrast */
        linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%), /* Subtle side darkening */
        url('hero-bg.png') center/cover no-repeat;
    z-index: -1;
    animation: heroZoom 20s infinite alternate ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    will-change: transform;
}

@keyframes heroZoom {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.03); } /* Even subtler to maintain extreme sharpness */
}

/* Redundant after overlay removed for better clarity */
.hero::after {
    display: none;
}

.hero-overlay {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); /* Stronger shadow for readability */
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem; /* Slightly larger */
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.hero-actions .btn-lg {
    padding: 18px 45px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Features Section */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 148, 49, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    background: rgba(255, 148, 49, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(10deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* CTA Section */
.download-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #800000 0%, #B22222 50%, #FF9431 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('hero-bg.png') center/cover no-repeat;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.download-content {
    position: relative;
    z-index: 2;
}

.download-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Astrology Spotlight */
.astrology-spotlight {
    background: linear-gradient(135deg, #2D241E 0%, #1A1410 100%);
    color: #fff;
}

.astrology-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.astrology-text {
    flex: 1;
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.astrology-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.price-tag {
    margin: 30px 0;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.astrology-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-frame {
    width: 300px;
    height: 600px;
    border: 12px solid #333;
    border-radius: 40px;
    background: #000;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
}

/* App Showcase placeholder screen */
.mockup-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Download Section */
.download-section {
    background-color: var(--secondary-color);
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.download-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.store-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.store-btn img {
    height: 50px;
    transition: transform 0.3s;
}

.store-btn:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .astrology-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        padding: 0 15px;
    }
    .nav-links {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
    }
}
/* Legal Pages Styling */
.legal-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    padding: 120px 20px 60px;
    text-align: center;
    color: #fff;
}

.legal-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 20px;
}

.legal-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    line-height: 1.8;
    color: #444;
}

.legal-container h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 10px;
}

.legal-container h3 {
    color: var(--text-dark);
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.legal-container p {
    margin-bottom: 20px;
}

.legal-container ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.legal-container ul li {
    margin-bottom: 10px;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    gap: 15px;
}
