/* Variables */
:root {
    /* Primary colors - Sand/Beige (matches app primary) */
    --primary-color: #CCBEAF;
    --primary-dark: #B8A896;

    /* Secondary colors - Sage Green (matches app secondary) */
    --secondary-color: #93B0A0;
    --secondary-dark: #7A9688;

    /* Tertiary - Teal (from logo) */
    --tertiary-color: #9CB7C3;

    /* Backgrounds */
    --background: #F9F7F5;
    --surface: #FFFFFF;
    --surface-container-low: #FAF8F4;
    --surface-container: #F5F3EF;
    --surface-container-high: #EFEDE9;

    /* Text colors */
    --text-primary: #3B3B38;
    --text-secondary: #6B6B68;
    --text-light: #ACA8A2;

    /* Border */
    --border: #E8E4DE;

    /* Status colors */
    --success: #81C784;
    --error: #b53232;

    /* Logo gradient - Sand → Sage → Teal */
    --logo-gradient: linear-gradient(135deg,
    #CFB9A5 0%, /* Sand */ #7FA491 50%, /* Sage */ #9CB7C3 100% /* Teal */
    );

    /* Simple gradient for UI elements */
    --gradient: linear-gradient(135deg, #CCBEAF 0%, #93B0A0 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Border radius */
    --border-radius: 12px;

    /* Max width */
    --max-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--background);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
    overflow: hidden;
    min-height: 85vh;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}


.hero-title {
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

/* Capture Demo */
.capture-demo {
    margin: 3rem auto 0;
    max-width: 640px;
    animation: fadeInUp 0.6s ease 0.2s both;
    position: relative;
}

.capture-box {
    position: relative;
    background: var(--surface);
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: 0 0.25rem 1.25rem hsl(0 0% 0% / 3.5%), 0 0 0 0.5px hsla(0, 0%, 0%, 0.05);
    transition: all 0.2s ease;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.capture-box:hover {
    box-shadow: 0 0.25rem 1.25rem hsl(0 0% 0% / 3.5%), 0 0 0 0.5px hsla(0, 0%, 0%, 0.1);
}

.capture-box:focus-within {
    box-shadow: 0 0.25rem 1.25rem hsl(0 0% 0% / 7.5%), 0 0 0 0.5px hsla(0, 0%, 0%, 0.1);
}

.capture-input {
    width: 100%;
    min-height: 3rem;
    padding: 0;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    background: transparent;
    color: var(--text-primary);
    line-height: 1.5;
}

.capture-input:focus {
    outline: none;
}

.capture-input::placeholder {
    color: var(--text-light);
}

.capture-actions {
    display: flex;
    gap: 0.625rem;
    align-items: center;
    justify-content: flex-end;
}

.capture-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 0.5px solid var(--border);
    background: var(--background);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.capture-btn:hover {
    background: rgba(147, 176, 160, 0.1);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.capture-btn:active {
    transform: scale(0.98);
}

.capture-submit {
    background: var(--gradient);
    color: white;
    border: none;
}

.capture-submit:hover {
    opacity: 0.9;
}

.capture-suggestions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.suggestion {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
}

.hero-cta {
    margin-top: 3rem;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Problem/Solution Section */
.problem-solution {
    padding: 4rem 0;
    background: var(--surface);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--background);
}

.comparison-card.problem {
    border: 2px solid #ffebee;
    background: #fff5f5;
}

.comparison-card.solution {
    border: 2px solid #e8f5e9;
    background: #f1f8f2;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.comparison-card h3 {
    margin-bottom: 1.5rem;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.x-mark {
    color: var(--error);
    font-weight: bold;
    font-size: 1.25rem;
}

.check-mark {
    color: var(--success);
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon span {
    font-size: 2.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

/* Outcomes Section */
.outcomes {
    padding: 4rem 0;
    background: var(--surface-container-low);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.outcome-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.outcome-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.outcome-number {
    font-size: 3.0rem;
    font-weight: 800;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.outcome-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.outcome-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.outcome-card p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.outcomes-testimonial {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--surface);
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--border-radius);
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-container-low) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(207, 185, 165, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(127, 164, 145, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto;
    position: relative;
}

.step {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    position: relative;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.step::after {
    content: '→';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--text-light);
    font-weight: 300;
}

.step:last-child::after {
    display: none;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.step:hover .step-icon .emoji {
    transform: scale(1.15);
}

.step-icon {
    margin-bottom: 1.5rem;
}

.step-icon .emoji {
    font-size: 3rem;
    display: block;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

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

.step-arrow {
    display: none;
}

/* Use Cases */
.use-cases {
    padding: 4rem 0;
    background: var(--background);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.use-case-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.use-case-author {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: var(--gradient);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: var(--surface);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    max-width: 400px;
    background: var(--background);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card.featured {
    background: var(--surface);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
}

.price-period {
    margin-left: 0.5rem;
    color: var(--text-secondary);
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.check {
    color: var(--success);
    font-weight: bold;
}

.trial-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: var(--background);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--background);
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
}

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    background: var(--surface-container);
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--logo-gradient);
    opacity: 0.08;
    pointer-events: none;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.final-cta .btn-primary {
    background: var(--gradient);
    color: white;
}

.final-cta .btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.final-cta .btn-secondary:hover {
    background: var(--background);
    border-color: var(--primary-color);
}

.final-cta .cta-note {
    color: var(--text-light);
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-image {
    height: 28px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--surface);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        padding: 2rem 1.5rem;
    }

    .step::after {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }
}