:root {
    --bg-primary: #FAFAF9;
    --bg-elevated: #FFFFFF;
    --bg-subtle: #F5F5F4;
    --bg-dark: #0C0C0C;
    --accent: #1A1A1A;
    --accent-hover: #2D2D2D;
    --gold: #B8860B;
    --gold-light: #D4A84B;
    --green: #1D6F42;
    --green-soft: #E8F5E9;
    --text-primary: #1A1A1A;
    --text-secondary: #525252;
    --text-muted: #A3A3A3;
    --text-light: #FAFAF9;
    --border: rgba(0, 0, 0, 0.06);
    --border-dark: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

h1, h2, h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Utility Classes */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.pill {
    border-radius: 100px;
}

.section-padding {
    padding: 140px 0;
}

.transition-default {
    transition: all 0.3s ease;
}

.uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.serif {
    font-family: 'Instrument Serif', Georgia, serif;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(250, 250, 249, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-btn {
    padding: 12px 28px;
    background: var(--bg-dark);
    border: none;
    border-radius: 100px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: -0.01em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 32px;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 460px;
}

/* Email Form */
.signup-wrapper {
    margin-bottom: 40px;
}

.signup-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.email-input {
    flex: 1;
    padding: 18px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-dark);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03);
}

.email-input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    padding: 18px 36px;
    background: var(--bg-dark);
    border: none;
    border-radius: 100px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* reCAPTCHA styling */
form[data-netlify-recaptcha] > div[data-netlify-recaptcha] {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

/* Trust indicators */
.trust-row {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--green);
}

/* Phone Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.device-frame {
    position: relative;
}

.phone {
    width: 300px;
    background: #000;
    border-radius: 48px;
    padding: 14px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.phone-inner {
    background: var(--bg-primary);
    border-radius: 38px;
    overflow: hidden;
    aspect-ratio: 9/19.2;
}

.phone-header {
    background: var(--bg-dark);
    padding: 56px 24px 28px;
}

.phone-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.phone-logo {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.2rem;
    color: var(--text-light);
}

.phone-savings-pill {
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.phone-savings-main {
    text-align: center;
}

.phone-savings-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.phone-savings-amount {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.8rem;
    color: var(--text-light);
}

.phone-content {
    padding: 20px;
}

.phone-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.item-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-brand {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.item-name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.item-price {
    font-size: 0.95rem;
    font-weight: 600;
}

.item-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--gold);
    margin-top: 12px;
    padding: 6px 12px;
    background: rgba(184, 134, 11, 0.08);
    border-radius: 100px;
    font-weight: 500;
}

.item-card.completed {
    background: var(--green-soft);
    border-color: rgba(29, 111, 66, 0.2);
}

.item-card.completed .item-timer {
    color: var(--green);
    background: rgba(29, 111, 66, 0.1);
}

/* Floating elements */
.floating-card {
    position: absolute;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
}

.floating-card.top {
    top: 5%;
    right: -40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: var(--green-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.floating-card .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.floating-card .value {
    font-weight: 600;
    color: var(--green);
}

.floating-card.bottom {
    bottom: 10%;
    left: -30px;
}

.floating-card.bottom .number {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.floating-card.bottom .text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Stats Section */
.stats {
    padding: 120px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-light) 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}

/* Problem Section */
.problem {
    padding: 140px 0;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-dark);
}

.problem-emoji {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.problem-card strong {
    color: var(--text-primary);
}

/* How It Works */
.how-it-works {
    padding: 140px 0;
    background: var(--bg-subtle);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.step {
    text-align: center;
    padding: 40px;
    background: var(--bg-elevated);
    border-radius: 24px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.step-icon {
    width: 85%;
    height: auto;
    margin-bottom: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 140px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.testimonial-rating {
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.5;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-saved {
    background: var(--green-soft);
    color: var(--green);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FAQ */
.faq {
    padding: 140px 0;
    background: var(--bg-subtle);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-dark);
}

.faq-item h4 {
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA */
.cta {
    padding: 160px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta > p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta .signup-form {
    max-width: 480px;
    margin: 0 auto 20px;
    justify-content: center;
}

.cta .form-note {
    text-align: center;
}

/* Legal Pages */
.legal-content {
    padding: 140px 0 100px;
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-wrapper h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 60px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-wrapper h2 {
    font-size: 1.8rem;
    margin-top: 48px;
    margin-bottom: 16px;
}

.legal-wrapper h3 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 500;
}

.legal-wrapper p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-wrapper ul {
    margin: 20px 0 28px 24px;
    color: var(--text-secondary);
}

.legal-wrapper li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-wrapper strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-wrapper a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.legal-wrapper a:hover {
    color: var(--gold);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1000px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .container {
        padding: 0 24px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-visual {
        order: -1;
    }

    .phone {
        width: 260px;
    }

    .floating-card {
        display: none;
    }

    .signup-form {
        flex-direction: column;
    }

    .trust-row {
        flex-direction: column;
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .problem-grid,
    .steps-container,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .nav-links .nav-link {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
