/* ==========================================================================
   Typedeck Landing Page — style.css
   ========================================================================== */

/* ---------- Custom Properties ---------- */

:root {
    --brand: #4F46E5;
    --brand-hover: #4338CA;
    --brand-light: #EEF2FF;
    --text-primary: #111111;
    --text-secondary: #4B5563;
    --text-tertiary: #9CA3AF;
    --bg-page: #FFFFFF;
    --bg-section: #FAFAFA;
    --bg-warm: #FBF8F3;
    --border: #E5E7EB;
    --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
    --max-width: 1120px;
    --nav-height: 56px;
}

/* ---------- Reset ---------- */

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

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

body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
}

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

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--brand-hover);
}

/* ---------- Container ---------- */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-primary);
}

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

.nav-icon {
    margin-right: -3px;
}

.nav-wordmark {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.01em;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

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

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

.hero {
    background: var(--bg-page);
    padding: 80px 0 0;
    text-align: center;
}

.hero-icon {
    margin: 0 auto 32px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 32px;
}

/* ---------- Notify Form (email capture) ---------- */

.notify-form {
    max-width: 440px;
    margin: 0 auto;
}

.notify-row {
    display: flex;
    gap: 8px;
}

.notify-row input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-primary);
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 999px;
}

.notify-row input[type="email"]:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-notify {
    padding: 12px 24px;
    background: var(--brand);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.btn-notify:hover {
    background: var(--brand-hover);
}

.notify-hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.notify-form-alt {
    margin-top: 32px;
}

.notify-form-alt .notify-hint {
    display: none;
}

.honeypot {
    display: none;
}

/* ---------- Window Chrome ---------- */

.window-chrome {
    margin: 48px auto 0;
    max-width: 900px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid var(--border);
}

.window-chrome-sm {
    margin: 0;
    max-width: 100%;
}

.window-dots {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
}

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

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.window-body {
    padding: 0;
}

.hero-screenshot,
.feature-screenshot {
    display: block;
    width: 100%;
    height: auto;
}

.app-screenshot {
    margin: 48px auto -4px;
    max-width: 900px;
    display: block;
}

.hero .app-screenshot {
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
}

.feature-image .app-screenshot {
    margin: 0;
    max-width: 100%;
    border-radius: 10px;
}

.screenshot-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section);
    color: var(--text-tertiary);
    font-size: 15px;
    font-weight: 500;
}

/* ---------- Hero Editor Mockup ---------- */

.hero-editor-mockup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 360px;
}

.editor-pane {
    background: #FFFFFF;
    padding: 32px 36px;
    border-right: 1px solid var(--border);
    overflow: hidden;
}

/* Pretty editor (iA Writer inspired) */
.pretty-editor {
    font-family: Georgia, 'Source Serif 4', serif;
    font-size: 15px;
    line-height: 1.7;
    color: #1F2937;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.pretty-h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pretty-spacer {
    height: 12px;
}

.pretty-bullet {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 3px 0;
    font-size: 15px;
    color: #374151;
}

.pretty-bullet-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2563EB;
    flex-shrink: 0;
    position: relative;
    top: -2px;
}

.pretty-notes {
    font-size: 13px;
    font-style: italic;
    color: #9CA3AF;
    padding: 8px 12px;
    background: #F9FAFB;
    border-left: 2px solid #E5E7EB;
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

.pretty-cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: #2563EB;
    margin-top: 8px;
    animation: blink 1.2s step-end infinite;
}

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

.preview-pane {
    background: #F3F4F6;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-slide {
    background: #FFFFFF;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 28px 32px;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-slide-h2 {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 2.5vw, 22px);
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.preview-slide-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(9px, 1.4vw, 14px);
    color: #1F2937;
    line-height: 1.4;
}

.bullet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563EB;
    flex-shrink: 0;
}

/* ---------- Presenter View Mockup ---------- */

.presenter-mockup {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    min-height: 300px;
    background: #111111;
}

.presenter-main {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.presenter-current-slide {
    background: #FFFFFF;
    border-radius: 6px;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
    position: relative;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.presenter-slide-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ps-heading {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2vw, 18px);
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.ps-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(8px, 1.2vw, 12px);
    color: #1F2937;
}

.ps-bullet-dim {
    opacity: 0.3;
}

.ps-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2563EB;
    flex-shrink: 0;
}

.presenter-slide-badge {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-family: var(--font-sans);
    font-size: 9px;
    color: #9CA3AF;
}

.presenter-sidebar {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 1px solid #2A2A2A;
}

.presenter-timer {
    font-family: var(--font-mono);
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    padding: 8px 0;
}

.presenter-next-label,
.presenter-notes-label {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.presenter-next-slide {
    background: #1A1A1A;
    border-radius: 4px;
    padding: 12px;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.pns-heading {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 9px;
    color: #E5E7EB;
}

.pns-table-hint {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pns-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 8px;
    color: #9CA3AF;
}

.presenter-notes {
    font-family: var(--font-sans);
    font-size: 11px;
    line-height: 1.5;
    color: #D1D5DB;
    flex: 1;
}

/* ---------- Values ---------- */

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

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

.value-card h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

.features {
    padding: 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 96px 24px;
}

.feature-row-reverse .feature-text {
    order: 2;
}

.feature-row-reverse .feature-image {
    order: 1;
}

.feature-text h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.feature-text p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ---------- Interactive Layout Preview ---------- */

.feature-layouts {
    padding: 96px 24px;
}

.feature-layouts-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
}

.feature-layouts-header h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.feature-layouts-header p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.layout-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.layout-tab {
    padding: 8px 20px;
    background: var(--brand-light);
    color: var(--brand);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.layout-tab:hover {
    background: #E0E7FF;
}

.layout-tab.active {
    background: var(--brand);
    color: #FFFFFF;
}

.layout-preview-container {
    max-width: 800px;
    margin: 0 auto;
}

.layout-preview {
    display: none;
    gap: 32px;
    align-items: start;
}

.layout-preview.active {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

/* --- Slide Mockups --- */

.slide-mockup {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10%;
}

/* Clean theme mockup */
.slide-clean {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
}

/* Warm theme mockup */
.slide-warm {
    background: #FBF8F3;
    border: 1px solid #E7E0D5;
}

/* Mono/dark theme mockup */
.slide-mono {
    background: #0F172A;
}

/* Title layout */
.slide-title-layout {
    align-items: center;
    text-align: center;
    gap: 8px;
}

.slide-title-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 3vw, 32px);
    color: #111827;
    letter-spacing: -0.02em;
}

.slide-subtitle-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(10px, 1.5vw, 16px);
    color: #6B7280;
}

.slide-accent-line {
    width: 48px;
    height: 3px;
    background: #2563EB;
    border-radius: 2px;
    margin-top: 8px;
}

/* Code layout */
.slide-code-layout {
    gap: 12px;
}

.slide-code-heading {
    font-family: 'SF Mono', ui-monospace, monospace;
    font-weight: 600;
    font-size: clamp(12px, 2vw, 20px);
    color: #F8FAFC;
}

.slide-code-block {
    font-family: 'SF Mono', ui-monospace, monospace;
    font-size: clamp(8px, 1.2vw, 13px);
    line-height: 1.7;
    color: #CBD5E1;
    background: #1E293B;
    padding: 12px 16px;
    border-radius: 6px;
}

.hl-keyword { color: #C084FC; }
.hl-func { color: #38BDF8; }
.hl-param { color: #FDE68A; }

/* Table layout */
.slide-table-layout {
    gap: 12px;
}

.slide-table-heading {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2vw, 20px);
    color: #111827;
}

.slide-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(8px, 1.2vw, 13px);
}

.slide-table th {
    text-align: left;
    padding: 6px 10px;
    background: #F3F4F6;
    color: #111827;
    font-weight: 600;
    border-bottom: 2px solid #E5E7EB;
}

.slide-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #E5E7EB;
    color: #1F2937;
}

.slide-table .positive {
    color: #059669;
    font-weight: 500;
}

/* Chart layout */
.slide-chart-layout {
    gap: 16px;
}

.slide-chart-heading {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2vw, 20px);
    color: #111827;
}

.slide-chart {
    display: flex;
    align-items: flex-end;
    gap: clamp(4px, 1vw, 12px);
    height: 120px;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 4px;
}

.chart-bar {
    width: 100%;
    background: linear-gradient(180deg, #4F46E5, #6366F1);
    border-radius: 3px 3px 0 0;
    position: relative;
    min-height: 4px;
    transition: height 0.3s ease;
}

.chart-bar span {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.chart-label {
    font-family: var(--font-sans);
    font-size: 10px;
    color: var(--text-tertiary);
}

/* Quote layout */
.slide-quote-layout {
    align-items: center;
    text-align: center;
    gap: 4px;
}

.slide-quote-mark {
    font-family: Georgia, serif;
    font-size: clamp(32px, 5vw, 56px);
    color: #B45309;
    line-height: 1;
    margin-bottom: -8px;
}

.slide-quote-text {
    font-family: Georgia, serif;
    font-size: clamp(12px, 2vw, 20px);
    font-style: italic;
    color: #292524;
    line-height: 1.5;
    max-width: 80%;
}

.slide-quote-attr {
    font-family: Georgia, serif;
    font-size: clamp(9px, 1.2vw, 14px);
    color: #78716C;
    margin-top: 8px;
}

/* Diagram layout */
.slide-diagram-layout {
    align-items: center;
    gap: 8px;
}

.slide-diagram-heading {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2vw, 20px);
    color: #111827;
    margin-bottom: 8px;
}

.slide-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.slide-diagram-row2 {
    margin: 4px 0;
}

.diagram-node {
    padding: 8px 16px;
    background: #F3F4F6;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(9px, 1.2vw, 13px);
    font-weight: 500;
    color: #111827;
}

.diagram-node-accent {
    background: #EEF2FF;
    border-color: #A5B4FC;
    color: #4338CA;
}

.diagram-arrow {
    font-size: clamp(12px, 1.5vw, 18px);
    color: #9CA3AF;
}

.diagram-arrow-down {
    font-size: clamp(12px, 1.5vw, 18px);
    color: #9CA3AF;
}

.diagram-spacer {
    width: 80px;
}

/* Layout markdown hint */
.layout-markdown {
    padding: 24px;
    background: #1E293B;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    color: #E2E8F0;
    align-self: center;
}

.layout-markdown code {
    font-family: inherit;
    color: #F8FAFC;
}

.layout-markdown code.dim {
    color: #64748B;
}

/* ---------- Badges ---------- */

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-row-center {
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
}

.badge-lg {
    padding: 8px 24px;
    font-size: 16px;
}

/* ---------- Theme Swatches ---------- */

.feature-themes {
    background: var(--bg-section);
    padding: 96px 0;
    text-align: center;
}

.feature-themes h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.feature-themes-sub {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.theme-swatch {
    background: var(--swatch-bg);
    border-radius: 10px;
    aspect-ratio: 16 / 10;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--border);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-swatch:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.theme-swatch-gradient {
    background: var(--swatch-bg);
    border-color: transparent;
}

.swatch-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--swatch-title);
    line-height: 1.2;
}

.swatch-body {
    font-size: 12px;
    font-weight: 400;
    color: var(--swatch-body, var(--text-secondary));
    line-height: 1.4;
}

.themes-more {
    margin-top: 24px;
    font-size: 15px;
    color: var(--text-tertiary);
}

.brand-callout {
    margin-top: 48px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.brand-callout h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 8px;
}

.brand-callout p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ---------- Export ---------- */

.feature-export {
    padding: 80px 0;
    text-align: center;
}

.feature-export h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.export-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
}

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

.pricing {
    padding: 96px 0;
    text-align: center;
    background: var(--bg-warm);
}

.pricing-context {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pricing-amount {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.pricing-tagline {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-detail {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ---------- Support / Contact ---------- */

.support {
    background: var(--bg-section);
    padding: 96px 0;
}

.support h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 36px;
    text-align: center;
    margin-bottom: 12px;
}

.support-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 480px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    display: inline-block;
    padding: 12px 32px;
    background: var(--brand);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-submit:hover {
    background: var(--brand-hover);
}

.support-email {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: var(--text-secondary);
}

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

.footer {
    background: #111111;
    color: #FFFFFF;
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-icon {
    border-radius: 4px;
}

.footer-wordmark {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
}

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

.footer-links a {
    color: #9CA3AF;
    font-size: 14px;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-copy {
    font-size: 13px;
    color: #6B7280;
}

/* ---------- Privacy Page ---------- */

.privacy-page {
    padding: 96px 0;
    min-height: 60vh;
}

.privacy-page h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.privacy-date {
    font-size: 15px;
    color: var(--text-tertiary);
    margin-bottom: 48px;
}

.privacy-page section {
    margin-bottom: 36px;
    max-width: 640px;
}

.privacy-page section h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 12px;
}

.privacy-page section p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.privacy-page code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--bg-section);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .theme-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

    .hero-headline {
        font-size: 36px;
    }

    .hero-sub {
        font-size: 18px;
    }

    .notify-row {
        flex-direction: column;
    }

    .notify-row input[type="email"],
    .btn-notify {
        width: 100%;
        text-align: center;
    }

    .feature-layouts {
        padding: 64px 24px;
    }

    .feature-layouts-header h2,
    .feature-text h2,
    .feature-themes h2,
    .feature-export h2,
    .support h2 {
        font-size: 28px;
    }

    .layout-preview.active {
        grid-template-columns: 1fr;
    }

    .layout-markdown {
        font-size: 12px;
    }

    .hero-editor-mockup {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .editor-pane {
        display: none;
    }

    .presenter-mockup {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .presenter-sidebar {
        border-left: none;
        border-top: 1px solid #2A2A2A;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .presenter-timer {
        font-size: 24px;
    }

    .presenter-next-slide {
        flex: 1;
        min-width: 120px;
    }

    .presenter-notes {
        flex-basis: 100%;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 64px 24px;
    }

    .feature-row-reverse .feature-text {
        order: 1;
    }

    .feature-row-reverse .feature-image {
        order: 2;
    }

    .feature-text p,
    .feature-layouts-header p,
    .feature-themes-sub {
        font-size: 17px;
    }

    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .theme-swatch {
        padding: 16px 14px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pricing-amount {
        font-size: 56px;
    }

    .pricing-tagline {
        font-size: 20px;
    }

    .feature-themes,
    .feature-export,
    .values,
    .pricing,
    .support {
        padding: 64px 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 17px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .feature-layouts {
        padding: 48px 16px;
    }

    .layout-tab {
        padding: 6px 14px;
        font-size: 13px;
    }

    .feature-row {
        padding: 48px 16px;
    }

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

    .theme-swatch {
        padding: 14px 12px;
    }

    .swatch-heading {
        font-size: 16px;
    }

    .swatch-body {
        font-size: 10px;
    }
}
