/* bentodocs.io -- Landing Page Styles */
/* Design system: Citrus */

/* ------------------------------------------------------------------ */
/* Reset and base                                                      */
/* ------------------------------------------------------------------ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #1a1d2b;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ea580c;
}

/* ------------------------------------------------------------------ */
/* Typography                                                          */
/* ------------------------------------------------------------------ */

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: #1a1d2b;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: #7b8294;
}

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */

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

.container--wide {
    max-width: 1000px;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fb;
}

.bg-white {
    background-color: #ffffff;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background-color: #f97316;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
    background-color: #ea580c;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #1a1d2b;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 14px;
}

.btn-secondary:hover {
    background-color: #2a2d3b;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #1a1d2b;
    padding: 12px 28px;
    border-radius: 14px;
    border: 2px solid #e8eaee;
}

.btn-outline:hover {
    border-color: #d4d7de;
    color: #1a1d2b;
    transform: translateY(-1px);
}

.btn-text {
    background: none;
    color: #f97316;
    padding: 0;
    font-weight: 600;
}

.btn-text:hover {
    color: #ea580c;
}

/* ------------------------------------------------------------------ */
/* Navigation / Header                                                 */
/* ------------------------------------------------------------------ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8eaee;
}

.site-header .container {
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1d2b;
    text-decoration: none;
}

.site-logo:hover {
    color: #1a1d2b;
}

.site-logo svg {
    width: 28px;
    height: 28px;
}

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

.site-nav a {
    color: #7b8294;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: #1a1d2b;
}

.header-cta {
    display: inline-flex;
}

.header-cta .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
    padding: 140px 0 80px;
    text-align: center;
}

.hero h1 {
    max-width: 680px;
    margin: 0 auto 24px;
}

.hero .subheadline {
    font-size: 1.15rem;
    color: #7b8294;
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hero .small-print {
    font-size: 0.85rem;
    color: #8b90a0;
}

.hero-screenshot {
    max-width: 600px;
    margin: 56px auto 0;
    border-radius: 12px;
    border: 1px solid #e8eaee;
    box-shadow: 0 8px 40px rgba(26, 29, 43, 0.08);
    overflow: hidden;
    background: #f8f9fb;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b90a0;
    font-size: 0.9rem;
}

/* ------------------------------------------------------------------ */
/* Problem                                                             */
/* ------------------------------------------------------------------ */

.problem h2 {
    margin-bottom: 24px;
}

.problem > .container > p {
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.pain-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.pain-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: #7b8294;
    font-size: 1.05rem;
}

.pain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #e8eaee;
    border-radius: 50%;
}

.problem .closing {
    font-size: 1.05rem;
    color: #1a1d2b;
    font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* Solution                                                            */
/* ------------------------------------------------------------------ */

.solution h2 {
    margin-bottom: 24px;
}

.solution p {
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.solution p:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* How It Works                                                        */
/* ------------------------------------------------------------------ */

.how-it-works h2 {
    text-align: center;
    margin-bottom: 56px;
}

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

.step {
    text-align: center;
    padding: 0 8px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f97316;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 14px;
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* Features                                                            */
/* ------------------------------------------------------------------ */

.features h2 {
    text-align: center;
    margin-bottom: 48px;
}

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

.feature-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    border-color: #d4d7de;
    box-shadow: 0 4px 20px rgba(26, 29, 43, 0.06);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff7ed;
    border-radius: 10px;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: #f97316;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Pricing                                                             */
/* ------------------------------------------------------------------ */

.pricing {
    text-align: center;
}

.pricing h2 {
    margin-bottom: 12px;
}

.pricing-card {
    max-width: 440px;
    margin: 40px auto 0;
    background: #ffffff;
    border: 2px solid #e8eaee;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 8px 40px rgba(26, 29, 43, 0.06);
}

.pricing-amount {
    font-size: 4rem;
    font-weight: 700;
    color: #1a1d2b;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-subtitle {
    font-size: 1.05rem;
    color: #7b8294;
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: #7b8294;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #f0fdf4;
    border-radius: 6px;
    color: #16a34a;
}

.pricing-features li .check svg {
    width: 14px;
    height: 14px;
}

.pricing-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pricing-ctas .btn-primary {
    width: 100%;
}

.pricing-ctas .buy-link {
    font-size: 0.9rem;
    color: #7b8294;
    font-weight: 500;
}

.pricing-ctas .buy-link a {
    color: #f97316;
    font-weight: 600;
}

.pricing-note {
    margin-top: 24px;
    font-size: 0.9rem;
    color: #8b90a0;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.faq h2 {
    text-align: center;
    margin-bottom: 48px;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e8eaee;
}

.faq-item:first-child {
    border-top: 1px solid #e8eaee;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1d2b;
    text-align: left;
    gap: 16px;
}

.faq-question:hover {
    color: #f97316;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    color: #8b90a0;
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* Final CTA                                                           */
/* ------------------------------------------------------------------ */

.final-cta {
    text-align: center;
    padding: 100px 0;
}

.final-cta h2 {
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 36px;
}

.final-cta .small-print {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #8b90a0;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
    padding: 40px 0;
    border-top: 1px solid #e8eaee;
    text-align: center;
}

.site-footer p {
    font-size: 0.85rem;
    color: #8b90a0;
}

.site-footer a {
    color: #8b90a0;
}

.site-footer a:hover {
    color: #f97316;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    section {
        padding: 56px 0;
    }

    .hero {
        padding: 120px 0 56px;
    }

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

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

    .pricing-card {
        padding: 36px 28px;
    }

    .pricing-amount {
        font-size: 3rem;
    }

    .site-nav {
        display: none;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 40px 0;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-screenshot {
        margin-top: 40px;
    }
}

/* ------------------------------------------------------------------ */
/* Thank-you page                                                      */
/* ------------------------------------------------------------------ */

.thankyou {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.thankyou-card {
    max-width: 520px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(26, 29, 43, 0.08);
}

.thankyou-card h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.thankyou-card .subtitle {
    color: #7b8294;
    margin-bottom: 32px;
}

.license-display {
    background: #f8f9fb;
    border: 2px solid #e8eaee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    position: relative;
}

.license-display .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8b90a0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.license-display .key {
    font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1d2b;
    letter-spacing: 0.02em;
    word-break: break-all;
    user-select: all;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #e8eaee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: #7b8294;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    border-color: #d4d7de;
    color: #1a1d2b;
}

.copy-btn.copied {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #16a34a;
}

.thankyou-instructions {
    text-align: left;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.thankyou-instructions h3 {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.thankyou-instructions p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.thankyou-card .back-link {
    font-size: 0.9rem;
    color: #7b8294;
}

.thankyou-card .back-link a {
    color: #f97316;
    font-weight: 600;
}

.loading-state {
    padding: 40px 0;
    color: #8b90a0;
}

.error-state {
    padding: 20px;
    background: #fef2f2;
    border-radius: 12px;
    color: #e04848;
    font-size: 0.95rem;
}
