:root {
    --ink: #0f0e0c;
    --paper: #f7f4ef;
    --cream: #ede9e1;
    --accent: #2a5c45;
    --accent-light: #3d8b68;
    --gold: #c9a84c;
    --muted: #7a7570;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
}

/* ── TOP BAR ── */
.topbar {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.topbar span {
    color: var(--gold);
    font-weight: 600;
}

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

.hero-left {
    padding: 80px 60px 80px 194px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    background: var(--cream);
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.hero-right::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 92, 69, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    border: 1px solid #d9d3c8;
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: fit-content;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    display: block;
}

h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1.08;
    color: var(--ink);
    margin-bottom: 24px;
    animation: fadeUp 0.6s 0.1s ease both;
}

h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-desc {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 36px;
    animation: fadeUp 0.6s 0.2s ease both;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid var(--accent);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(42, 92, 69, 0.25);
}

.btn-primary svg {
    transition: transform 0.2s;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-ghost {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-ghost:hover {
    color: var(--ink);
}

.social-proof {
    margin-top: 44px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeUp 0.6s 0.4s ease both;
}

.avatars {
    display: flex;
}

.avatars span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--paper);
    margin-left: -8px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.avatars-box img {
    border-radius: 50%;
    border: 1px solid white;

}

.avatars span:first-child {
    margin-left: 0;
}

.social-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.social-text strong {
    color: var(--ink);
}

.stars {
    color: var(--gold);
    font-size: 12px;
    display: block;
}

/* ── DEMO CARD ── */
.demo-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 400px;
    animation: fadeUp 0.7s 0.2s ease both;
    position: relative;
    z-index: 2;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0ede8;
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.demo-dot.r {
    background: #ff5f57;
}

.demo-dot.y {
    background: #febc2e;
}

.demo-dot.g {
    background: #28c840;
}

.demo-title {
    font-size: 12px;
    color: var(--muted);
    margin-left: auto;
    font-weight: 500;
}

.demo-prompt {
    background: var(--paper);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
    border-left: 3px solid var(--accent);
    line-height: 1.5;
}

.demo-prompt strong {
    color: var(--ink);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.demo-output {
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.7;
    min-height: 80px;
}

.demo-output .typed-text::after {
    content: '|';
    color: var(--accent);
    animation: blink 1s step-end infinite;
}

.demo-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0ede8;
}

.demo-tag {
    background: var(--paper);
    border: 1px solid #e0dbd2;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
}

.demo-tag.active {
    background: rgba(42, 92, 69, 0.08);
    border-color: rgba(42, 92, 69, 0.2);
    color: var(--accent);
}

/* ── SECTIONS ── */
.section {
    padding: 100px 80px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #e0dbd2;
    border-radius: 12px;
    overflow: hidden;
}

.feature-item {
    background: var(--paper);
    padding: 36px 32px;
    transition: background 0.2s;
}

.feature-item:hover {
    background: #fff;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.feature-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
}

.feature-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── PAIN ── */
.pain-section {
    background: var(--ink);
    color: #fff;
    padding: 100px 80px;
}

.pain-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.pain-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pain-item:last-child {
    border-bottom: none;
}

.pain-num {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 36px;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    min-width: 44px;
}

.pain-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.pain-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.pain-right {
    padding: 40px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pain-right .section-label {
    color: var(--gold);
}

.pain-right h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.pain-right p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ── TESTIMONIALS ── */
.testi-section {
    padding: 100px 80px;
    background: var(--cream);
}

.testi-grid {
    max-width: 1100px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testi-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.testi-stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 12px;
}

.testi-quote {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.65;
    margin-bottom: 18px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.testi-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid white;
}

.testi-name {
    font-size: 13px;
    font-weight: 600;
}

.testi-role {
    font-size: 12px;
    color: var(--muted);
}

/* ── PRICING ── */
.pricing-section {
    padding: 100px 80px;
}

.pricing-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.pricing-card {
    background: var(--ink);
    color: #fff;
    border-radius: 16px;
    padding: 56px 48px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(42, 92, 69, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.price-amount {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 72px;
    line-height: 1;
    margin-bottom: 4px;
}

.price-amount sup {
    font-size: 32px;
    vertical-align: super;
}

.price-period {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    margin-bottom: 36px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

.price-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
}

.price-trial {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
}

/* ── FAQ ── */
.faq-section {
    padding: 80px 80px;
    background: var(--cream);
}

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

.faq-item {
    border-bottom: 1px solid #d9d3c8;
    padding: 20px 0;
}

.faq-q {
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
}

.faq-q::after {
    content: '+';
    font-size: 20px;
    color: var(--muted);
    transition: transform 0.2s;
}

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

.faq-a {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding-top: 10px;
}

/* ── FINAL CTA ── */
.final-cta {
    padding: 120px 80px;
    text-align: center;
    background: var(--paper);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 92, 69, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.final-cta h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}

.final-cta p {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.disclaimer {
    font-size: 11px;
    color: #bbb8b2;
    margin-top: 20px;
    line-height: 1.5;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid #e0dbd2;
    padding: 24px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
}

.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: #fff;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.sticky-bar.visible {
    transform: translateY(0);
}

.sticky-text {
    font-size: 14px;
}

.sticky-text strong {
    color: var(--gold);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 60px 32px;
    }

    .hero-right {
        min-height: auto;
        padding: 40px 24px;
    }

    .section,
    .pain-section,
    .testi-section,
    .pricing-section,
    .faq-section,
    .final-cta {
        padding: 60px 24px;
    }

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

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

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

    footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 20px;
    }

    .sticky-bar {
        padding: 12px 20px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}