:root {
    /* Colors - Dark Mode */
    --primary-blue: #3B82F6; /* Brighter blue for dark bg */
    --primary-hover: #60A5FA;
    --bg-color: #09090B; /* Deep Zinc 950 */
    --bg-secondary: #18181B; /* Zinc 900 */
    --text-main: #FAFAFA;
    --text-muted: #A1A1AA;
    --border-color: #27272A;
    --accent-light: #1E1E2E; /* Dark blue-ish tint */
    --white: #FFFFFF;
    --card-bg: #121214;

    /* Typography - Framer Inspired */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Type Scale (Fluid/Mobile-First) - Bumped up */
    --text-xs: 0.875rem;   /* 14px */
    --text-sm: 1rem;       /* 16px */
    --text-base: 1.125rem; /* 18px */
    --text-lg: 1.25rem;    /* 20px */
    --text-xl: 1.5rem;     /* 24px */
    --text-2xl: 1.875rem;  /* 30px */
    --text-3xl: 2.25rem;   /* 36px */
    --text-4xl: 3rem;      /* 48px */
    
    /* Spacing System (8pt Grid) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-24: 6rem;     /* 96px */

    --container-padding: var(--space-6);
    --section-spacing: var(--space-16);
    
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
}

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

body {
    font-family: var(--font-family);
    background-color: #020617; /* Darker outer bg */
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

/* App Layout - Simulates Mobile Viewport */
.app-layout {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--bg-color);
    min-height: 100vh;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

/* Utilities */
.container {
    width: 100%;
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

h1, h2, h3 {
    line-height: 1.1; 
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em; 
}

h1 {
    font-size: var(--text-3xl); /* Slightly smaller for mobile elegance */
    font-weight: 800;
}

h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
}

h3 {
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: var(--space-6);
    color: var(--text-muted);
    font-size: var(--text-sm); /* More compact reading */
    line-height: 1.6; 
}

/* Styled Lists with Checkmarks */
ul {
    list-style: none;
    margin-bottom: var(--space-6);
    padding: 0;
}

li {
    margin-bottom: var(--space-3);
    position: relative;
    padding-left: var(--space-8); /* More space for icon */
    color: var(--text-muted);
    font-size: var(--text-sm);
    display: flex;
    align-items: flex-start;
}

li::before {
    content: "✓"; /* Simple checkmark, can be replaced with SVG if needed */
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: var(--text-base);
    line-height: 1.5;
}

/* Card Style Generic */
.card-base {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin-bottom: var(--space-4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card-base:hover {
    border-color: var(--primary-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
    font-size: var(--text-base);
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--primary-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); /* Bright Blue Glow */
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.7);
}

.btn-large {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--text-lg);
}

/* Sections */
section, header, footer {
    padding: var(--space-12) 0;
}

/* Hero */
.hero {
    padding-top: var(--space-16);
    padding-bottom: var(--space-8);
    text-align: center; /* Center align for strong mobile impact */
}

.hero-headline {
    font-size: 2.25rem;
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: var(--text-base);
    margin-bottom: var(--space-8);
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
}

/* Creator Intro */
.creator-intro {
    border-top: 1px solid var(--border-color);
    text-align: left;
}

/* Credibility */
.credibility {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin: var(--space-8) var(--space-4); /* Added side margin to float inside */
    padding: var(--space-6);
}
.credibility .container {
    padding: 0; /* Remove double padding */
}

/* Why Exist - Redesigned as Cards */
.pain-point {
    background: var(--card-bg);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    margin-bottom: var(--space-3);
    border-left: 3px solid var(--primary-blue); 
}

.pain-point h3 {
    font-size: var(--text-sm);
    margin-bottom: 0;
    color: var(--text-main);
}

.transition-copy {
    font-weight: 600;
    font-size: var(--text-lg);
    margin-top: var(--space-8);
    color: var(--white);
    text-align: center;
}

/* Product Intro */
.product-intro {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.product-intro ul {
    text-align: left;
    display: inline-block;
}

.highlight-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-top: var(--space-6);
}

/* Course Highlight - Cards */
.module {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.module h3 {
    color: var(--primary-blue);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.closing-line {
    text-align: center;
    font-weight: 700;
    font-size: var(--text-lg);
    margin-top: var(--space-8);
    color: var(--text-main);
}

/* Templates */
.templates {
    text-align: left;
}

/* Offer */
.offer {
    padding-bottom: var(--space-16);
}

.offer-card {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--card-bg) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    position: relative;
    overflow: hidden;
}

/* Add a subtle top highlight to offer card */
.offer-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    opacity: 0.5;
}

.offer-card h2 {
    color: var(--white);
    text-align: center;
}

.bonus-section {
    background-color: rgba(59, 130, 246, 0.05); /* Very subtle blue tint */
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.bonus-section h3 {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    margin-bottom: var(--space-3);
}

.price-box {
    text-align: center;
    margin: var(--space-8) 0;
}

.price-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
    color: var(--text-muted);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.scarcity-note {
    text-align: center;
    font-size: var(--text-xs);
    margin-bottom: var(--space-6);
    color: var(--text-muted);
    background: var(--bg-secondary);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 99px;
    border: 1px solid var(--border-color);
}
/* Centering the scarcity note container */
.offer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.offer-card > * {
    width: 100%;
}
.offer-card .scarcity-note {
    width: auto;
}

/* Footer */
.closing {
    text-align: center;
    padding-bottom: var(--space-16);
    border-top: 1px solid var(--border-color);
}

.closing h2 {
    font-size: var(--text-xl);
    color: var(--text-muted);
}

.closing h2 strong {
    color: var(--white);
    display: block;
    margin-top: var(--space-2);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    /* Keeping the container narrow even on desktop for "mobile view" feel */
    /* .container {
        max-width: 768px;
    } */

    .hero-headline {
        font-size: 3.5rem;
    }

    /* Grid layouts can stay if they fit within 480px, but 2 columns in 480px is tight. 
       Let's stack them for true mobile view feel. */
    .grid-2 {
        display: block; /* Force stack */
        /* grid-template-columns: 1fr 1fr; */
        gap: 2rem;
    }
    
    .modules {
        display: grid;
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
}
