/* =========================================
   1. VARIABLES & CONFIGURATION
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --primary: #D35400;
    --secondary: #FF9933;
    --accent: #FFD700;
    --text-dark: #2C3E50;
    --text-light: #555555;
    --bg-cream: #FFF8E1;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-dark: rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 { font-family: 'Cinzel', serif; color: var(--primary); font-weight: 700; }
a { text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; }

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo img { height: 45px; width: auto; }

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    white-space: nowrap; /* Forces single line */
}

.logo small { 
    font-size: 0.65rem; 
    color: #666; 
    font-family: 'Outfit'; 
    font-weight: 400; 
    letter-spacing: 1px; 
}

/* Desktop Navigation */
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: var(--text-dark); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.btn-nav {
    padding: 8px 25px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}
.btn-nav:hover { background: var(--primary); color: var(--white) !important; }

.mobile-toggle { display: none; font-size: 1.5rem; color: var(--text-dark); cursor: pointer; }

/* =========================================
   3. HERO SECTION (Redesigned for Split View)
   ========================================= */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #333;
    overflow: hidden;
}

/* Area 1: Visuals (Backgrounds + Heading) */
.hero-visuals {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0;
    animation: fadeZoom 15s infinite;
}
.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

/* Heading Content (Centered over image) */
.hero-header-group {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 900px;
}

.hero-badge {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: 5rem;
    color: var(--white);
    text-shadow: 0 5px 15px rgba(0,0,0,0.6);
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Area 2: Details (Subtitle + Button) */
.hero-details-group {
    position: absolute;
    top: 60%; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    max-width: 700px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-hero {
    background: var(--primary);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(211, 84, 0, 0.4);
    display: inline-block;
    transition: 0.3s;
}
.btn-hero:hover { transform: translateY(-3px); background: var(--secondary); box-shadow: 0 15px 35px rgba(211, 84, 0, 0.5); }

/* Mantra */
.mantra-section {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: rgba(211, 84, 0, 0.95);
    border-top: 3px solid var(--accent);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 10;
}
.mantra-track { display: inline-block; white-space: nowrap; animation: scrollText 40s linear infinite; }
.mantra-text { font-family: 'Cinzel', serif; font-weight: 700; color: var(--accent); font-size: 1rem; margin-right: 50px; letter-spacing: 1px; }

@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   4. STATS BAR
   ========================================= */
.stats-section {
    background: var(--primary);
    color: white;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}
.stat-box { min-width: 150px; flex: 1; }
.stat-number { font-size: 2.5rem; font-weight: 800; font-family: 'Cinzel'; margin-bottom: 5px; }
.stat-label { font-size: 1rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   5. SECTIONS GENERAL
   ========================================= */
.section { padding: 80px 20px; }
.bg-white { background: var(--white); }
.section-header { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: #666; font-size: 1.1rem; }

/* Features Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.step-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: 0.3s;
}
.step-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-color: var(--accent); }
.step-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.step-card h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 10px; }
.step-card p { font-size: 0.95rem; color: #666; }

/* Founder Section */
.founder-section { background: #fdfbf7; }
.founder-box {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}
.founder-image img { width: 300px; height: 350px; object-fit: cover; border-radius: 10px; box-shadow: 10px 10px 0 var(--accent); }
.founder-label { color: var(--secondary); letter-spacing: 2px; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 10px; }
.founder-content h2 { font-size: 2.2rem; line-height: 1.2; margin-bottom: 20px; color: var(--text-dark); }
.quote { font-size: 1.1rem; font-style: italic; color: #555; border-left: 4px solid var(--primary); padding-left: 20px; margin-bottom: 20px; }

/* Pricing */
.pricing-container {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    text-align: center;
}
.pricing-header { background: var(--primary); padding: 40px 20px; color: white; }
.pricing-header h3 { color: white; margin-bottom: 10px; }
.price-tag { font-size: 3.5rem; font-weight: 800; font-family: 'Cinzel'; margin: 10px 0; }
.pricing-body { padding: 40px; }
.pricing-list { margin-bottom: 30px; text-align: left; }

.pricing-list li { 
    margin-bottom: 15px; 
    color: #555; 
    display: flex; 
    align-items: flex-start;
    gap: 12px; 
    text-align: left;
}
.pricing-list i { color: #27ae60; margin-top: 4px; flex-shrink: 0; }

/* CTA */
.cta-section { background: var(--text-dark); color: white; padding: 80px 20px; text-align: center; }
.cta-section h2 { color: var(--accent); }
.cta-section p { margin-bottom: 30px; opacity: 0.8; font-size: 1.1rem; }
.btn-cta { background: white; color: var(--text-dark); padding: 15px 40px; border-radius: 50px; font-weight: 700; display: inline-block; transition: 0.3s; }
.btn-cta:hover { background: var(--accent); transform: scale(1.05); }

/* =========================================
   6. MOBILE RESPONSIVE (MAJOR UPDATE)
   ========================================= */
@media (max-width: 900px) {
    /* === LOGO & HEADER === */
    .logo img { height: 35px; } /* Slightly smaller logo */
    
    .logo-title {
        font-size: 1.1rem; /* Smaller font to fit single line */
    }
    .logo small { font-size: 0.55rem; }

    /* === NEW MOBILE MENU (Glassmorphism Overlay) === */
    .mobile-toggle { display: block; z-index: 1001; font-size: 1.6rem; color: var(--primary); }

    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98); /* White with slight opacity */
        backdrop-filter: blur(20px); /* Heavy blur for glass effect */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        
        /* Animation properties */
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: all 0.3s ease-in-out;
        z-index: 1000; /* Behind toggle button */
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    /* Styled Links inside Mobile Menu */
    .nav-links a {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--text-dark);
        border-bottom: 2px solid transparent;
        padding-bottom: 5px;
    }

    .nav-links a:hover, .nav-links a.active {
        color: var(--primary);
        border-bottom: 2px solid var(--primary);
    }

    .btn-nav {
        margin-top: 20px;
        padding: 12px 40px;
        font-size: 1.2rem;
    }
    
    /* === HERO SPLIT VIEW === */
    .hero-wrapper {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding-top: 70px;
    }

    .hero-visuals {
        position: relative;
        width: 100%;
        height: 50vh; 
        min-height: 350px;
    }
    .hero-header-group {
        top: 50%;
        width: 95%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        white-space: nowrap;
        text-shadow: 0 3px 8px rgba(0,0,0,0.8);
    }
    
    .hero-badge { font-size: 0.9rem; }
    
    .hero-details-group {
        position: relative;
        top: auto; left: auto; transform: none;
        width: 100%;
        max-width: 100%;
        background: var(--bg-cream);
        padding: 40px 20px;
        color: var(--text-dark);
    }
    .hero-subtitle {
        color: var(--text-light);
        text-shadow: none;
        font-size: 1.1rem;
    }

    .stats-container { flex-direction: column; gap: 20px; }
    .stat-box { border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 15px; }
    .stat-box:last-child { border-bottom: none; }

    .founder-box { flex-direction: column; text-align: center; padding: 30px 20px; }
    .founder-image img { width: 100%; height: auto; box-shadow: none; margin-bottom: 20px; }
    .founder-content h2 { font-size: 1.6rem; line-height: 1.3; }
    .quote { border-left: none; border-top: 3px solid var(--primary); padding-top: 20px; padding-left: 0; }
    
    .section-header h2 { font-size: 1.8rem; }
    .pricing-container { margin: 0 15px; }
}