/* LedgerSkill MVP — SaaS Landing Page (Stripe/Linear aesthetic) */

:root {
    --ink:          #0f172a;
    --muted:        #64748b;
    --accent:       #8b5cf6;
    --accent-hover: #7c3aed;
    --accent-light: #f5f3ff;
    --bg:           #ffffff;
    --bg-alt:       #f8fafc;
    --bg-dark:      #0f172a;
    --card:         #ffffff;
    --border:       #e2e8f0;
    --green:        #10b981;
    --green-bg:     #ecfdf5;
    --red:          #ef4444;
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:    0 4px 12px rgba(0,0,0,0.1);
    --radius:       12px;
    --radius-btn:   10px;
}

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

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

/* --- Layout --- */

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

section {
    padding: 72px 0;
}

/* Remove old border-top separators — rely on bg color changes */
section + section {
    border-top: none;
}

/* Alternating section background */
.section-alt {
    background: var(--bg-alt);
}

/* --- Hero (Dark) --- */

.hero-dark {
    background: var(--bg-dark);
    background-image: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    color: #ffffff;
    padding: 72px 0 64px;
    text-align: center;
}

.hero-dark .container {
    max-width: 960px;
}

.hero-dark h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-dark .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.hero-dark .trust-line {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 20px;
}

/* --- Badge (pill) --- */

.badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 0.01em;
}

/* --- Problem Statement Section --- */

.problem-section {
    padding: 80px 0;
}

.problem-headline {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 36px;
    text-align: center;
}

.problem-narrative {
    margin: 0 auto;
}

.problem-narrative p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 16px;
}

/* Pain-point question cards */
.problem-questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.problem-question {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    margin: 0;
}

.problem-question p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 0;
}

/* Problem CTA */
.problem-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.problem-cta p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.guarantee {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green);
    margin-top: 16px;
}

/* --- Form Section --- */

.form-section {
    background: var(--bg);
    padding: 72px 0;
}

.form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-section .section-desc {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.transparency-note {
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 32px;
}

.form-section form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.question {
    margin-bottom: 28px;
}

.question label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.question .helper {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.question input[type="text"],
.question input[type="email"],
.question select,
.question textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--card);
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.question textarea {
    resize: vertical;
    min-height: 60px;
}

.question input:focus,
.question select:focus,
.question textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.step-indicator {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    font-weight: 500;
}

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.btn-primary:disabled {
    background: var(--border);
    color: var(--muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-buy {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 16px 48px;
    font-size: 1.15rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-buy:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.btn-buy:disabled {
    background: var(--border);
    color: var(--muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* --- Preview Section --- */

.preview-section {
    display: none;
}

.preview-section.visible {
    display: block;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.preview-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.accounts-summary {
    background: var(--green-bg);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.accounts-summary h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--green);
    font-weight: 600;
}

.accounts-summary ul {
    list-style: none;
    padding: 0;
}

.accounts-summary li {
    padding: 2px 0;
    color: var(--ink);
}

.accounts-summary li strong {
    color: var(--muted);
    font-weight: 500;
    display: inline-block;
    min-width: 160px;
}

/* --- Preview Panels --- */

.preview-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.preview-panel:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.preview-panel h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.preview-panel .panel-desc {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.preview-panel .panel-desc a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.preview-panel .panel-desc a:hover {
    text-decoration: underline;
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
}

/* --- Data Tables --- */

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
    font-size: 0.82rem;
    line-height: 1.5;
}

.data-table th,
.data-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

.data-table th {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    font-weight: 600;
    background: var(--bg-alt);
}

/* Subtle row striping */
.data-table tbody tr:nth-child(even) {
    background: var(--bg-alt);
}

.data-table .amt {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.data-table tfoot td {
    border-top: 2px solid var(--ink);
    border-bottom: none;
}

.data-table .total-row td {
    font-weight: 700;
}

.data-table .date-group-start td {
    border-top: 2px solid var(--border);
}

/* --- Balance Check --- */

.balance-check {
    padding: 10px 16px;
    border-radius: var(--radius-btn);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
}

.balance-check.balanced {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid #a7f3d0;
}

.balance-check.unbalanced {
    background: #fef2f2;
    color: var(--red);
    border: 1px solid #fecaca;
}

/* --- Download Row --- */

.download-row {
    display: none;
    text-align: center;
    margin: 16px 0 24px;
}

/* --- Prompt Details (collapsible) --- */

.prompt-details {
    margin-top: 16px;
}

.prompt-details summary {
    font-size: 0.9rem;
    color: var(--accent);
    cursor: pointer;
    padding: 8px 0;
    font-weight: 500;
}

.prompt-details summary:hover {
    color: var(--accent-hover);
}

.prompt-preview {
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 20px;
    font-size: 0.82rem;
    line-height: 1.5;
    max-height: 500px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #e2e8f0;
    margin-top: 8px;
}

/* --- CTA / What You're Buying (Dark) --- */

.cta-dark {
    background: var(--bg-dark);
    background-image: radial-gradient(ellipse 50% 40% at 50% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    color: #ffffff;
    text-align: center;
    padding: 64px 0 80px;
}

.cta-dark .container {
    max-width: 960px;
}

.cta-dark h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

/* --- Offer Details Grid --- */

.offer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.cta-dark .offer-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-dark .offer-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.cta-dark .offer-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.cta-dark .offer-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* --- ROI Line --- */

.cta-dark .roi-line {
    font-size: 1.05rem;
    font-weight: 600;
    color: #34d399;
    margin-bottom: 24px;
}

/* --- Trust Notes --- */

.cta-dark .trust-notes {
    margin-top: 16px;
}

.cta-dark .trust-notes p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* --- Coming Soon Section --- */

.coming-soon-section {
    padding: 72px 0;
    background: var(--bg);
}

.coming-soon-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.coming-soon-section .section-desc {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* --- Roadmap Grid --- */

.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.roadmap-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.roadmap-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.roadmap-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
}

.roadmap-item p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

/* --- Email Signup --- */

.email-signup {
    text-align: center;
}

.email-signup > p {
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: 12px;
    font-weight: 500;
}

.email-form {
    display: flex;
    gap: 8px;
    justify-content: center;
    max-width: 420px;
    margin: 0 auto;
}

.email-form input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--card);
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.email-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.email-confirm {
    font-size: 0.85rem;
    margin-top: 12px;
}

.email-confirm.success {
    color: var(--green);
}

.email-confirm.error {
    color: var(--red);
}

/* --- Loading --- */

.loading {
    display: none;
    text-align: center;
    padding: 24px;
    color: var(--muted);
}

.loading.visible { display: block; }

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- Site Navigation --- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-dark);
    height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-brand:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
}

/* --- Page Hero (interior pages) --- */

.page-hero {
    background: var(--bg-dark);
    background-image: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    color: #ffffff;
    padding: 56px 0;
    text-align: center;
}

.page-hero .container {
    max-width: 720px;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.page-hero .subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* --- Content Prose (About, general text pages) --- */

.content-prose {
    max-width: 680px;
    margin: 0 auto;
}

.content-prose p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 20px;
}

.content-prose h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* --- Legal Content (Terms) --- */

.legal-content {
    font-size: 0.95rem;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 0 0 16px 24px;
    padding: 0;
}

.legal-content li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* --- Product Grid / Product Cards --- */

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

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.product-card-disabled {
    opacity: 0.7;
}

.product-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    width: fit-content;
}

.product-badge.available {
    background: var(--green-bg);
    color: var(--green);
}

.product-badge.coming-soon {
    background: var(--bg-alt);
    color: var(--muted);
    border: 1px solid var(--border);
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--ink);
}

.product-price .price-note {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--muted);
}

.product-card .btn {
    text-align: center;
    text-decoration: none;
    width: 100%;
}

/* --- Section Heading (shared) --- */

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 36px;
}

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

.how-it-works-step {
    text-align: center;
    padding: 24px 16px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.how-it-works-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.how-it-works-step p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* --- Blog List --- */

.blog-list {
    max-width: 680px;
    margin: 0 auto;
}

.blog-card {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.blog-card:first-child {
    padding-top: 0;
}

.blog-card:last-child {
    border-bottom: none;
}

.blog-date {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.blog-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card h2 a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card h2 a:hover {
    color: var(--accent);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
}

/* --- Blog Post --- */

.blog-post {
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 64px;
}

.blog-post h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-post p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 20px;
}

.blog-post strong {
    color: var(--ink);
}

.blog-post ul {
    margin: 0 0 20px 24px;
    color: var(--muted);
    line-height: 1.75;
}

.blog-post li {
    margin-bottom: 8px;
}

.blog-back {
    margin-top: 48px;
}

.blog-back a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.blog-back a:hover {
    text-decoration: underline;
}

/* --- Contact Card --- */

.contact-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 32px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 12px;
}

.contact-email {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 16px;
}

.contact-email:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

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

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

.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    background: var(--bg-alt);
}

.site-footer p {
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.faq-section {
    padding: 72px 0;
    background: var(--bg);
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

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

.faq-item summary {
    font-size: 1rem;
    font-weight: 600;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--muted);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    padding: 0 0 20px;
}

/* --- Demo Form Section --- */

.demo-form-section {
    padding: 72px 0;
    background: var(--bg-alt);
}

.demo-form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.demo-form-section .section-desc {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    text-align: center;
}

.demo-form-section form {
    max-width: 540px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.demo-form-section .question {
    margin-bottom: 20px;
}

.demo-form-section .question label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.demo-form-section .question input,
.demo-form-section .question textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--card);
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-form-section .question textarea {
    resize: vertical;
    min-height: 80px;
}

.demo-form-section .question input:focus,
.demo-form-section .question textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.demo-confirm {
    font-size: 0.85rem;
    margin-top: 12px;
    text-align: center;
}

.demo-confirm.success {
    color: var(--green);
}

.demo-confirm.error {
    color: var(--red);
}

/* --- Feedback Prompt --- */

.feedback-prompt {
    display: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
}

.feedback-prompt.visible {
    display: block;
}

.feedback-prompt h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feedback-prompt p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.feedback-prompt textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    background: var(--card);
    color: var(--ink);
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feedback-prompt textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.feedback-prompt .btn {
    margin-top: 12px;
}

.feedback-confirm {
    font-size: 0.85rem;
    margin-top: 12px;
}

.feedback-confirm.success {
    color: var(--green);
}

.feedback-confirm.error {
    color: var(--red);
}

/* --- Video Embed (16:9 responsive) --- */

.video-section .container {
    max-width: 960px;
}

.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Hero CTA Button --- */

.hero-cta {
    margin-top: 24px;
    text-decoration: none;
}

/* --- Use Case Grid --- */

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

.use-case-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.use-case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.use-case-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.use-case-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.use-case-card .btn {
    text-align: center;
    text-decoration: none;
    align-self: flex-start;
}

/* --- Beta Badge --- */

.beta-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    width: fit-content;
}

.beta-badge.available {
    background: var(--green-bg);
    color: var(--green);
}

.beta-badge.upcoming {
    background: var(--bg-alt);
    color: var(--muted);
    border: 1px solid var(--border);
}

/* --- Differentiator Grid --- */

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

.differentiator-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.differentiator-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.differentiator-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* --- Responsive (640px breakpoint) --- */

@media (max-width: 640px) {
    .hero-dark {
        padding: 64px 0 48px;
    }

    .hero-dark h1 {
        font-size: 1.75rem;
    }

    .problem-headline {
        font-size: 1.35rem;
    }

    .problem-section {
        padding: 56px 0;
    }

    .problem-questions {
        grid-template-columns: 1fr;
    }

    .hero-dark .container,
    .cta-dark .container {
        max-width: 100%;
    }

    .container { padding: 0 16px; }
    section { padding: 48px 0; }

    .form-section form {
        padding: 20px;
    }

    .offer-details {
        grid-template-columns: 1fr;
    }

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

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

    .email-form input[type="email"] {
        width: 100%;
    }

    .data-table th,
    .data-table td {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .accounts-summary li strong {
        min-width: auto;
        display: block;
    }

    /* Nav responsive */
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    /* Page hero responsive */
    .page-hero {
        padding: 40px 0;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    /* Product grid responsive */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* Contact card responsive */
    .contact-card {
        padding: 32px 20px;
    }

    .contact-email {
        font-size: 1.1rem;
    }

    /* How It Works responsive */
    .how-it-works {
        grid-template-columns: 1fr;
    }

    /* Demo form responsive */
    .demo-form-section form {
        padding: 20px;
    }

    /* Use case grid responsive */
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    /* Differentiator grid responsive */
    .differentiator-grid {
        grid-template-columns: 1fr;
    }
}
