@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-purple: #2E1A47; /* Deep purple */
    --secondary-purple: #4A2C6A; /* Lighter purple */
    --accent-orange: #FF8C42; /* Warm Amber */
    --accent-gold: #FFD700;
    --text-white: #FFFFFF;
    --text-soft: #E0D0F5; /* Soft lavender */
    --gradient-bg: linear-gradient(135deg, #1a0b2e 0%, #2E1A47 100%);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

body.landing-page {
    background: var(--gradient-bg);
    color: var(--text-white);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll from overlapping image */
    position: relative;
}

/* Subtle grain texture overlay */
body.landing-page::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Typography Overrides */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar */
.landing-nav {
    padding: 1.5rem 0;
    background: transparent;
    z-index: 100;
    position: relative;
}

.landing-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.landing-brand i {
    color: var(--accent-orange);
}

/* HERO SECTION */
.hero-section {
    padding-top: 40px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden; /* For the image overlap */
}

.hero-content {
    padding-top: 40px;
    z-index: 10;
    position: relative;
}

.hero-headline {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subheadline {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Hero Image */
.hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-img {
    max-width: 120%; /* Allow slight overflow */
    width: auto;
    max-height: 650px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    transform: translateX(20px); /* Shift slightly right */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
    color: white;
    filter: brightness(1.1);
}

.btn-outline-custom {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: transparent;
}

.btn-outline-custom:hover {
    border-color: var(--text-white);
    background: rgba(255,255,255,0.1);
    color: white;
}

/* SECTION STYLES */
.section-wrapper {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Trust Cards */
.trust-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.trust-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

.trust-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.trust-card p {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* How It Works */
.step-item {
    text-align: center;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
    display: block;
}

.step-title {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.step-desc {
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* Topics List */
.topics-block {
    background: rgba(46, 26, 71, 0.6);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.topic-item {
    display: flex;
    align-items: center;
    color: var(--text-soft);
    font-size: 1.1rem;
}

.topic-item i {
    color: var(--accent-orange);
    margin-right: 15px;
    font-size: 0.8rem;
}

.topic-strong {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    margin-top: 2rem;
    font-style: italic;
}

/* Anonymity */
.anonymity-section {
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.3));
    padding: 80px 0;
}

/* Final CTA */
.final-cta-section {
    text-align: center;
    padding: 100px 0;
}

.final-headline {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.final-sub {
    font-size: 1.3rem;
    color: var(--text-soft);
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 40px 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding-top: 20px;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-text {
        margin: 0 auto 2rem;
    }
    
    /* Mobile: Image first */
    .hero-row {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .hero-image-col {
        margin-bottom: 30px;
        order: 1; /* Image first visually? User said: "On mobile: image first, text below" */
        /* Wait, flex-direction: column-reverse puts bottom element on top. 
           If HTML is Text then Image. 
           Text (1), Image (2). 
           Reverse -> Image (2), Text (1). 
           So yes, column-reverse works if Text is first in DOM.
           Or standard column and order utilities.
        */
    }
    
    .hero-img {
        max-height: 400px;
        transform: translateX(0);
        margin-bottom: -50px; /* Slight overlap */
    }
    
    .hero-content {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
