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

:root {
    --bg: #F8F4F0;
    --text: #1A1A1A;
    --text-dim: #666;
    --text-muted: #999;
    --olive: #6B6344;
    --olive-light: #8a7d5a;
    --border: #DDD5CA;
    --white: #fff;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

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


/* ─── Hero (full-bleed) ─── */

.hero {
    position: relative;
    width: 100%;
    height: 92vh;
    min-height: 520px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3.5rem 4rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%);
    pointer-events: none;
}

.hero-overlay h1 {
    font-family: var(--serif);
    font-size: 4.2rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.12;
    color: var(--white);
    max-width: 650px;
}


/* ─── Nav ─── */

.nav {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    z-index: 10;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 0.28rem 0.28rem 0.28rem 0.5rem;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.nav-logo-link {
    display: flex;
    align-items: center;
    margin-right: 0.7rem;
}

.nav-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.nav-link {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text);
    margin-right: 0.85rem;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.5;
}

.nav-cta {
    display: inline-block;
    background: var(--text);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    white-space: nowrap;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: #333;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    margin-left: 0.3rem;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.nav-hamburger span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}


/* ─── Mobile Nav Sidebar ─── */

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--bg);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.6rem;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.mobile-nav-header .nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    line-height: 1;
    transition: color 0.2s;
}

.mobile-nav-close:hover {
    color: var(--text);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.mobile-nav-links a {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 400;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.mobile-nav-links a:hover {
    color: var(--olive);
}

.mobile-nav-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--text);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.75rem 1.6rem;
    border-radius: 100px;
    margin-top: 1.5rem;
    transition: background 0.3s;
}

.mobile-nav-download:hover {
    background: #333;
}


/* ─── Value prop ─── */

.value-prop {
    text-align: center;
    padding: 7rem 2rem 6rem;
}

.vp-content {
    max-width: 480px;
    margin: 0 auto;
}

.vp-logo {
    width: 36px;
    height: 36px;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
}

.vp-tagline {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--olive);
}

.vp-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border);
    margin: 1.4rem auto;
}

.vp-heading {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.18;
    margin-bottom: 1.2rem;
}

.vp-sub {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 2.2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--text);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.7rem 1.6rem;
    border-radius: 100px;
    transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.vp-note {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.7rem;
}


/* ─── Features ─── */

.features {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
}

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

.f-card {
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border);
}

.f-card:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.f-card h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.f-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-dim);
}


/* ─── Showcase (text + demo) ─── */

.showcase {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.showcase-row {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.showcase-row.flip {
    grid-template-columns: 1.2fr 0.8fr;
    direction: rtl;
}

.showcase-row.flip .showcase-text {
    direction: ltr;
}

.showcase-row.flip .showcase-demo {
    direction: ltr;
}

.showcase-text h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.showcase-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dim);
}


/* ─── Demo frame ─── */

.demo-frame {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.window-dots {
    display: flex;
    gap: 6px;
    padding: 9px 12px;
    background: #F4F4F4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #FF5F56; }
.window-dots span:nth-child(2) { background: #FFBD2E; }
.window-dots span:nth-child(3) { background: #27C93F; }


/* ─── Chat Demo ─── */

.demo-chat-wrap {
    display: flex;
    flex-direction: column;
    height: 420px;
}

.demo-page-preview {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
    background: #FCFBFA;
}

.page-url {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.url-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #27C93F;
    flex-shrink: 0;
}

.demo-page-preview h4 {
    font-family: var(--serif);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.demo-page-preview p {
    font-size: 0.68rem;
    line-height: 1.55;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.demo-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chat-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--olive);
    padding: 0.7rem 1.2rem 0.3rem;
    letter-spacing: 0.04em;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chat-msg {
    max-width: 88%;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    font-size: 0.72rem;
    line-height: 1.55;
    animation: msgIn 0.3s ease;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-msg {
    background: #F3F0EC;
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
}

.user-msg {
    background: var(--text);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}

.typing-indicator {
    display: flex;
    gap: 3px;
    padding: 0.6rem 0.8rem;
    align-items: center;
}

.typing-indicator span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

.chat-chips {
    display: flex;
    gap: 0.35rem;
    padding: 0.6rem 1rem 0.8rem;
    flex-wrap: wrap;
}

.chat-chip {
    background: none;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    font-family: var(--sans);
    color: var(--olive);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.chat-chip:hover {
    background: #F3F0EC;
    border-color: var(--olive-light);
}

.chat-chip.reset-chip {
    color: var(--text-muted);
    border-color: #e0e0e0;
}


/* ─── Slides Demo ─── */

.demo-slides-wrap {
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.slides-prompt {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    text-align: center;
}

.prompt-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.prompt-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.prompt-text {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--text);
    max-width: 320px;
    margin-bottom: 1.8rem;
}

.generate-btn {
    background: var(--text);
    color: var(--white);
    border: none;
    border-radius: 100px;
    padding: 0.6rem 1.4rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.generate-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.slides-viewer {
    display: none;
    flex-direction: column;
    padding: 1.2rem;
}

.slides-viewer.visible {
    display: flex;
    animation: msgIn 0.4s ease;
}

.slides-deck {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
}

.demo-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.demo-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.title-slide {
    background: linear-gradient(135deg, #3D3929 0%, #5C5839 100%);
    color: var(--white);
    align-items: center;
    text-align: center;
}

.title-slide h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

.title-slide p {
    font-size: 0.72rem;
    opacity: 0.7;
}

.content-slide {
    background: var(--white);
    border: 1px solid #eee;
}

.slide-accent {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.slide-accent.solar { background: #E8A838; }
.slide-accent.wind { background: #3A9E8F; }
.slide-accent.takeaway { background: var(--olive); }

.content-slide h4 {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.content-slide ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.content-slide li {
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-dim);
    padding-left: 1rem;
    position: relative;
}

.content-slide li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--olive);
}

.slides-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem 0 0.3rem;
}

.slides-nav button {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-family: var(--sans);
    color: var(--text);
}

.slides-nav button:hover:not(:disabled) {
    background: #F3F0EC;
}

.slides-nav button:disabled {
    opacity: 0.3;
    cursor: default;
}

#slide-counter {
    font-size: 0.68rem;
    color: var(--text-muted);
    min-width: 36px;
    text-align: center;
}

.slides-reset {
    background: none;
    border: none;
    font-family: var(--sans);
    font-size: 0.65rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.4rem 0;
    text-align: center;
    transition: color 0.2s;
}

.slides-reset:hover {
    color: var(--text);
}


/* ─── Document Demo ─── */

.demo-doc-wrap {
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.doc-prompt {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    text-align: center;
}

.doc-viewer {
    display: none;
    flex-direction: column;
    overflow-y: auto;
    max-height: 480px;
}

.doc-viewer.visible {
    display: flex;
    animation: msgIn 0.4s ease;
}

.doc-content {
    padding: 1.5rem 1.4rem 1rem;
}

.doc-content h3 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.doc-subtitle {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.doc-section {
    margin-bottom: 1rem;
}

.doc-section h4 {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--olive);
}

.doc-section ul,
.doc-section ol {
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.doc-section li {
    font-size: 0.7rem;
    line-height: 1.55;
    color: var(--text-dim);
}

.doc-section li strong {
    color: var(--text);
    font-weight: 500;
}


/* ─── Workflow Demo ─── */

.demo-wf-wrap {
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.wf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
}

.wf-title {
    font-family: var(--serif);
    font-size: 0.85rem;
    font-weight: 500;
}

.wf-steps {
    flex: 1;
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.wf-step {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.6rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.wf-step.running {
    background: #FBF8F4;
}

.wf-step.done {
    opacity: 0.65;
}

.wf-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.wf-body {
    flex: 1;
    min-width: 0;
}

.wf-label {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.wf-desc {
    font-size: 0.62rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wf-status {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    transition: all 0.3s;
}

.wf-step.running .wf-status {
    border-color: var(--olive);
    animation: wfSpin 1s linear infinite;
}

.wf-step.running .wf-status::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 1.5px solid var(--olive);
    border-top-color: transparent;
    border-radius: 50%;
}

.wf-step.done .wf-status {
    border-color: #3A9E8F;
    background: #3A9E8F;
    color: white;
}

.wf-step.done .wf-status::after {
    content: '✓';
    font-size: 0.6rem;
}

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

.wf-result {
    display: none;
    padding: 0.8rem 1.2rem 0.6rem;
    border-top: 1px solid #eee;
    animation: msgIn 0.4s ease;
}

.wf-result.visible {
    display: block;
}

.wf-email {
    background: #FCFBFA;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.4rem;
}

.wf-email-row {
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-bottom: 0.2rem;
}

.wf-email-label {
    font-weight: 600;
    color: var(--text);
}

.wf-email-body {
    font-size: 0.65rem;
    line-height: 1.55;
    color: var(--text-dim);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}


/* ─── Meeting Demo ─── */

.demo-meeting-wrap {
    display: flex;
    flex-direction: column;
    height: 420px;
}

.meeting-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #eee;
    background: #FCFBFA;
}

.rec-indicator {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.rec-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}

.rec-indicator.active .rec-dot {
    background: #E53935;
    animation: recPulse 1.2s infinite;
}

.rec-indicator.active {
    color: #E53935;
    font-weight: 500;
}

@keyframes recPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.rec-timer {
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    margin-left: auto;
}

.rec-btn {
    background: var(--text);
    color: var(--white);
    border: none;
    border-radius: 100px;
    padding: 0.28rem 0.8rem;
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.rec-btn:hover:not(:disabled) {
    background: #333;
}

.rec-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.meeting-transcript {
    height: 130px;
    overflow-y: auto;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #eee;
    background: #FDFCFB;
}

.transcript-placeholder {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 0;
}

.transcript-line {
    font-size: 0.68rem;
    line-height: 1.55;
    color: var(--text-dim);
    padding: 0.25rem 0;
    animation: msgIn 0.3s ease;
}

.t-time {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    margin-right: 0.3rem;
}

.t-speaker {
    font-weight: 600;
    color: var(--text);
}


/* ─── Final CTA ─── */

.final-cta {
    text-align: center;
    padding: 6rem 2rem;
    border-top: 1px solid var(--border);
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 2.2rem;
    line-height: 1.7;
}


/* ─── Footer ─── */

footer {
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.footer-links {
    display: flex;
    gap: 1.4rem;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

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


/* ─── Scroll reveal ─── */

.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ─── Responsive ─── */

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .hero-overlay {
        padding: 2rem 1.5rem;
    }

    .hero-overlay h1 {
        font-size: 2.4rem;
    }

    .nav {
        top: 0;
        left: 0;
        right: 0;
        padding: 0.8rem;
    }

    .nav-pill {
        display: flex;
        width: 100%;
    }

    .nav-logo-link { margin-right: auto; }

    .nav-link { display: none; }
    .nav-hamburger { display: flex; }

    .value-prop { padding: 4rem 1.5rem; }
    .vp-heading { font-size: 2rem; }

    .features { padding: 2rem 1.25rem 4rem; }
    .features-grid { grid-template-columns: 1fr; }
    .f-card:nth-child(odd) { border-right: none; }

    .showcase { padding: 2.5rem 1.25rem; }

    .showcase-row,
    .showcase-row.flip {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }

    .showcase-text h2 { font-size: 1.8rem; }

    .demo-chat-wrap { height: 380px; }

    .final-cta { padding: 4rem 1.5rem; }
    .final-cta h2 { font-size: 2rem; }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 0.3rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
}

@media (max-width: 420px) {
    .hero-overlay h1 { font-size: 1.8rem; }

    .vp-heading { font-size: 1.7rem; }
}


/* ─── Inner Pages ─── */

.page-nav {
    padding: 1.2rem;
    background: var(--bg);
}

.page-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.page-content h1 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.18;
    margin-bottom: 1rem;
}

.page-content .page-subtitle {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 3rem;
}

.page-content h2 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin-top: 2.8rem;
    margin-bottom: 0.8rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border);
}

.page-content h2:first-of-type {
    margin-top: 0;
}

.page-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
}

.page-content ul {
    margin-bottom: 1.4rem;
    list-style: none;
    padding-left: 0;
}

.page-content li {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.page-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--olive);
}

.page-content a {
    color: var(--olive);
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}

.page-content a:hover {
    border-color: var(--olive);
}

.page-content strong {
    font-weight: 500;
    color: var(--text);
}


/* ─── About Page ─── */

.page-content .signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
    font-family: var(--serif);
}

.page-content .signature-img {
    display: block;
    max-width: 140px;
    margin-top: 0.8rem;
}


/* ─── Contact Page ─── */

.contact-hero {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.18;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 2.2rem;
}

.contact-hero .contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.7rem 1.6rem;
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--olive);
    transition: border-color 0.3s, transform 0.2s;
    margin-bottom: 0.6rem;
}

.contact-hero .contact-email:hover {
    border-color: var(--olive);
    transform: translateY(-1px);
}

.contact-channels {
    display: flex;
    gap: 1.4rem;
    justify-content: center;
    margin-top: 1.6rem;
}

.contact-channels a {
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.contact-channels a:hover {
    color: var(--text);
}


/* ─── Roadmap Page ─── */

.roadmap-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.roadmap-content h1 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.18;
    margin-bottom: 0.5rem;
}

.roadmap-content .page-subtitle {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 3rem;
}

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

.roadmap-col {
    border-left: 1px solid var(--border);
    padding: 0 1.8rem;
}

.roadmap-col:first-child {
    border-left: none;
    padding-left: 0;
}

.roadmap-col:last-child {
    padding-right: 0;
}

.roadmap-col-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.6rem;
}

.roadmap-col-label .status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.status-dot.next { background: var(--olive-light); }
.status-dot.progress { background: #E8A838; }
.status-dot.done { background: #27C93F; }

.roadmap-item {
    margin-bottom: 1.6rem;
}

.roadmap-item h3 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
}

.roadmap-item p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-dim);
}


/* ─── Pricing Page ─── */

.pricing-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.checkout-status {
    max-width: 760px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(107, 99, 68, 0.24);
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.checkout-status.success {
    border-color: rgba(25, 135, 84, 0.35);
    background: #f4fbf7;
}

.checkout-status.cancelled {
    background: #faf8f2;
}

.checkout-status h2 {
    margin: 0 0 0.5rem;
    font-family: 'Playfair Display', serif;
}

.checkout-status p {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}

.pricing-header {
    text-align: center;
    padding: 2rem 0 3.5rem;
}

.pricing-header h1 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.18;
    margin-bottom: 0.8rem;
}

.pricing-sub {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.pricing-cards.four-col {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--olive);
    box-shadow: 0 2px 20px rgba(107, 99, 68, 0.08);
}

.pricing-card-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 1.2rem;
}

.pricing-price {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.pricing-period {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-dim);
    padding: 0.35rem 0;
    padding-left: 1.4rem;
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--olive);
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 0.7rem 1.6rem;
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.pricing-cta.primary {
    background: var(--text);
    color: var(--white);
}

.pricing-cta.primary:hover {
    background: #333;
    transform: translateY(-1px);
}

.pricing-cta.secondary {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
}

.pricing-cta.secondary:hover {
    border-color: var(--olive);
    transform: translateY(-1px);
}

.pricing-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--olive);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 0.8rem;
}

.pricing-credits {
    max-width: 680px;
    margin: 0 auto 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
}

.pricing-credits h3 {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.pricing-credits p {
    font-size: 0.8rem;
    line-height: 1.65;
    color: var(--text-dim);
}

.pricing-note {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.pricing-note p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ─── FAQ Page ─── */

.faq-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.faq-header {
    text-align: center;
    padding: 2rem 0 3.5rem;
}

.faq-header h1 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.18;
    margin-bottom: 0.8rem;
}

.faq-sub {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

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

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

.faq-item summary {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    padding: 1.2rem 2rem 1.2rem 0;
    cursor: pointer;
    position: relative;
    list-style: none;
    transition: color 0.2s;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s;
}

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

.faq-item summary:hover {
    color: var(--olive);
}

.faq-answer {
    padding: 0 0 1.4rem;
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-dim);
}

.faq-answer a {
    color: var(--olive);
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}

.faq-answer a:hover {
    border-color: var(--olive);
}


/* ─── 404 Page ─── */

.error-page {
    text-align: center;
    padding: 8rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.error-page .error-code {
    font-family: var(--serif);
    font-size: 6rem;
    font-weight: 400;
    font-style: italic;
    color: var(--border);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-page h1 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.error-page .cta-btn {
    font-size: 0.82rem;
}


/* ─── Features Page ─── */

.features-page {
    max-width: 1060px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.features-page-header {
    text-align: center;
    padding: 2rem 0 4rem;
}

.features-page-header h1 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.18;
    margin-bottom: 0.8rem;
}

.features-page-sub {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.feat-category {
    margin-bottom: 3.5rem;
}

.feat-category-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.feat-item {
    background: var(--bg);
    padding: 1.6rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.feat-icon {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.feat-item h3 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.feat-item p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-dim);
}

.features-page-cta {
    text-align: center;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.features-page-cta h2 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1.5rem;
}


/* ─── Inner Page Responsive ─── */

@media (max-width: 768px) {
    .page-content { padding: 3rem 1.5rem 4rem; }
    .page-content h1 { font-size: 2rem; }
    .page-content h2 { font-size: 1.15rem; }

    .roadmap-content { padding: 3rem 1.5rem 4rem; }
    .roadmap-content h1 { font-size: 2rem; }
    .roadmap-grid { grid-template-columns: 1fr; gap: 0; }

    .roadmap-col {
        border-left: none;
        border-top: 1px solid var(--border);
        padding: 1.5rem 0;
    }

    .roadmap-col:first-child {
        border-top: none;
        padding-top: 0;
    }

    .contact-hero { padding: 4rem 1.5rem; }
    .contact-hero h1 { font-size: 2rem; }

    .features-page { padding: 2rem 1.25rem 3rem; }
    .features-page-header h1 { font-size: 2rem; }
    .feat-grid { grid-template-columns: 1fr; }

    .error-page { padding: 5rem 1.5rem; }
    .error-page .error-code { font-size: 4rem; }
    .error-page h1 { font-size: 1.6rem; }

    .pricing-page { padding: 2rem 1.25rem 3rem; }
    .pricing-header h1 { font-size: 2rem; }
    .pricing-cards { grid-template-columns: 1fr; }
    .pricing-cards.four-col { grid-template-columns: 1fr 1fr; }

    .faq-page { padding: 2rem 1.25rem 3rem; }
    .faq-header h1 { font-size: 2rem; }
}

@media (max-width: 520px) {
    .pricing-cards.four-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .page-nav .nav-link { display: none; }
}
