:root {
    /* Colors */
    --primary: #F59E0B;
    /* Rich Sunny Yellow (Amber 500) */
    --primary-hover: #D97706;
    --secondary: #1A202C;
    /* Dark Slate */
    --text: #2D3748;
    --text-light: #718096;
    --background: #FFFFFF;
    --background-alt: #F7FAFC;
    --danger: #E53E3E;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-alt {
    background-color: var(--background-alt);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
}

.logo-icon {
    height: 40px;
    width: 40px;
    background-color: var(--primary);
    border-radius: 8px;
    /* Soft square or circle */
    padding: 6px;
    /* Icon is white-on-transparent, so we just show it on the yellow bg */
    object-fit: contain;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Hero */
.hero {
    padding-top: 8rem;
    /* Nav height + spacing */
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #FFF9C4 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-image {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background-color: var(--secondary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

/* Buttons & Badges */
.store-badge {
    height: 48px;
    width: auto;
    transition: transform 0.2s;
}

.store-badge:hover {
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}


/* Steps */
.steps-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA */
.cta-section {
    background: var(--secondary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: white;
    border-top: 1px solid #E2E8F0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-heading {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Text Page (Privacy, etc) */
.text-page {
    padding-top: 8rem;
    max-width: 800px;
    margin: 0 auto;
}

.text-page h1 {
    font-size: 2.5rem;
}

.text-page h2 {
    margin-top: 2rem;
    font-size: 1.75rem;
}

.text-page p {
    margin-bottom: 1rem;
}

.text-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.text-page li {
    display: list-item;
    margin-bottom: 0.5rem;
}

/* TL;DR Section */
.tldr-card {
    background: #FFFBEB;
    /* Light yellow background */
    border: 1px solid #FEF3C7;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0 2.5rem;
}

.tldr-card ul {
    list-style: none;
    padding-left: 0;
}

.tldr-card li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

.tldr-title {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inline-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.icon-green {
    color: #10B981;
}

.icon-red {
    color: var(--danger);
}

.icon-yellow {
    color: var(--primary);
}


/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        width: 100%;
    }

    .btn-group,
    .cta-buttons {
        justify-content: center;
    }

    .navbar-nav {
        display: none;
        /* simple hide for v1, or could add hamburger */
    }

    .tldr-card {
        padding: 1rem;
        margin: 1rem 0 2rem;
    }

    .text-page {
        padding-top: 6rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
}