:root {
    --primary-orange: #FF6600;
    --primary-orange-hover: #E65C00;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-orange: 0 10px 15px -3px rgba(255, 102, 0, 0.3);
    
    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Merriweather', Georgia, serif;
    --font-ui: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* UI Elements using sans-serif (Scroll.in style separation) */
button, input, .article-tag, .article-meta, .impact-label, .impact-stats, .footer-col a, .footer-bottom, .plan-summary, .door-btn, .impact-title, .section-title, .tease-faded .content-locker-box h3, .logo, .footer-text {
    font-family: var(--font-ui);
}

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

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

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

/* Buttons */
button {
    cursor: pointer;
    font-family: var(--font-ui);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: white;
    padding: 12px 24px;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    box-shadow: var(--shadow-orange);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-light);
    padding: 10px 24px;
}

.btn-secondary:hover {
    border-color: var(--text-dark);
    background-color: var(--bg-light);
}

/* 2. Navigation & Header Overhaul */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.logo-img {
    max-height: 38px;
    width: auto;
    display: block;
}

.logo-bold {
    font-weight: 800;
    color: var(--primary-orange);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    font-size: 0.85rem;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link-simulate {
    background: #e2e8f0;
    color: #475569;
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.header-action-btn {
    background-color: var(--primary-orange);
    color: white;
    padding: 12px 24px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 50px; /* Pillow shape */
    box-shadow: 0 4px 14px 0 rgba(255, 102, 0, 0.39);
}

.header-action-btn:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Optional patterns / gradient background */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,102,0,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* 3. Homepage: The "Two Doors" Section */
.two-doors-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: -40px; /* Pull into hero slightly */
    position: relative;
    z-index: 20;
    margin-bottom: 80px;
}

.door {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.door:hover {
    transform: translateY(-5px);
}

.door-heading {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.door-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.door-btn {
    font-size: 1.1rem;
    padding: 16px 32px;
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

.sponsor-door {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 102, 0, 0.2);
}
.sponsor-door::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: var(--primary-orange);
}

/* Content Layout (Article + Sidebar) */
.main-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 80px;
    align-items: start;
}

/* 1. Content Strategy: The "Tease" */
.premium-article {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
    border: 1px solid var(--border-light);
}

.article-tag {
    display: inline-block;
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary-orange);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
}

.tease-faded {
    position: relative;
    overflow: hidden;
    max-height: 480px; /* Limit height to show only 40% roughly */
    /* Fade Out Effect */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

.tease-faded p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.8;
}

.content-locker-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,1) 100%);
    z-index: 10;
}

.content-locker-box {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--primary-orange);
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
}

.content-locker-box h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.content-locker-box p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.locker-btn {
    background-color: var(--primary-orange);
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 14px 0 rgba(255, 102, 0, 0.39);
}

.locker-btn:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.locker-login {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

.locker-login a {
    color: var(--primary-orange);
    font-weight: 600;
}

/* 6. Workshop Lead Magnets */
.workshops-list {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.workshop-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.workshop-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.workshop-info h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.workshop-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.workshop-action {
    flex-shrink: 0;
    margin-left: 24px;
}

.workshop-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Sidebar & 4. Impact Progress Bar */
.content-sidebar {
    position: sticky;
    top: 120px;
}

.impact-widget {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-align: center;
}

.impact-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.impact-stats {
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.impact-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
}

.impact-goal {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 600;
}

.impact-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.progress-bar-container {
    height: 12px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF8C00 0%, var(--primary-orange) 100%);
    border-radius: 10px;
    position: relative;
    /* Optional striping animation */
}

.impact-btn {
    width: 100%;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 12px;
    border: 1px solid var(--border-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.impact-btn:hover {
    background: #e2e8f0;
}

/* 5. Checkout & Billing Optimization (Modal) */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.checkout-modal {
    background: var(--bg-white);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.modal-close:hover {
    color: var(--text-dark);
}

.checkout-header {
    background: var(--bg-light);
    padding: 32px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.checkout-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.checkout-header p {
    color: var(--text-muted);
}

.checkout-body {
    padding: 32px;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    font-weight: 500;
    color: var(--text-muted);
}

.billing-toggle span.active {
    color: var(--text-dark);
    font-weight: 700;
}

.savings {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.toggle-switch {
    width: 56px;
    height: 30px;
    background: var(--bg-light);
    border: 2px solid var(--text-muted);
    border-radius: 30px;
    position: relative;
    padding: 0;
    transition: all 0.2s ease;
}

.toggle-switch.switched {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.toggle-knob {
    width: 22px;
    height: 22px;
    background: var(--text-muted);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.toggle-switch.switched .toggle-knob {
    transform: translateX(26px);
    background: white;
}

.plan-summary {
    text-align: center;
    margin-bottom: 32px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.plan-period {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-ui);
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #fcfcfc;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: white;
}

.submit-btn {
    background: var(--primary-orange);
    color: white;
    padding: 16px;
    font-size: 1.1rem;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 4px 14px 0 rgba(255, 102, 0, 0.39);
}

.submit-btn:hover {
    background: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.secure-checkout {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .main-content-layout {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        position: static;
        order: -1; /* Move impact above article on mobile */
    }
    
    .two-doors-section {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* In a real app, add a hamburger menu */
    }
    
    .header-action-btn {
        display: block;
    }
}

/* --- Scroll.in Inspired Editorial Touches --- */
.premium-article {
    border-top: 4px solid var(--text-dark); /* Strong top border like a news site */
    border-radius: 0; /* Boxier for editorial feel */
    box-shadow: none;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 40px;
    background: var(--bg-white);
}

.article-title {
    font-family: var(--font-heading); /* Editorial serif font */
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.article-body p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #111;
}

.article-tag {
    border-radius: 2px; /* Flat tag */
    background: var(--text-dark);
    color: white;
    font-weight: 700;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--text-dark); /* Bold separator */
    padding-bottom: 12px;
}

/* Footer - Built with glassmorphic-shadcn skill reference */
.main-footer {
    position: relative;
    margin-top: 80px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 64px 0 24px;
    color: var(--text-dark);
    overflow: hidden;
}

.footer-glass-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 102, 0, 0.05) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(15, 23, 42, 0.05) 0%, transparent 55%);
}

.relative-z {
    position: relative;
    z-index: 10;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.footer-col a:hover {
    color: var(--primary-orange);
    transform: translateX(4px);
}

.footer-text {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* --- New Content Sections for Homepage --- */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.trending-card {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.trending-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 12px 0 8px;
    line-height: 1.4;
}

.trending-card h4 a:hover {
    color: var(--primary-orange);
}

.media-showcase {
    background: var(--text-dark);
    padding: 80px 0;
    margin-bottom: 80px;
}

.video-placeholder {
    background: linear-gradient(135deg, rgba(255,102,0,0.2) 0%, rgba(15,23,42,0.8) 100%), var(--text-dark);
    height: 400px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    color: white;
    font-family: var(--font-ui);
    box-shadow: var(--shadow-lg);
}

.video-placeholder:hover {
    transform: translateY(-4px);
    border-color: var(--primary-orange);
}

.play-btn {
    width: 64px;
    height: 64px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-left: 4px; /* optical center */
}

.newsletter-box {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin-bottom: 80px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: var(--font-ui);
}

@media (max-width: 900px) {
    .trending-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        width: 100%;
    }
}
