/* Rewind Desktop - Marketing Website Styles (Light Theme) */

:root {
    /* Colors - Light theme */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-subtle: #eef2ff;

    --bg: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;
    --bg-card: #ffffff;

    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --success: #22c55e;
    --error: #ef4444;

    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-subtle: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    /* Spacing */
    --section-padding: 6rem 2rem;
    --container-max: 1200px;

    /* Transitions */
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

kbd {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.875rem;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 2px 0 var(--border);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 2rem;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

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

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

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 0 4px var(--primary-subtle);
    color: #ffffff !important;
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--text-light);
    color: var(--text);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    text-align: center;
    padding: 2rem 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-subtle);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.badge-dot {
    display: none;
}

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

.hero h1 {
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Hero Interactive Demo
   ============================================ */

/* Hero Demo - Big and Wide */
.hero-demo-container {
    max-width: 1000px;
    width: 80vw;
    margin: 0 auto;
    padding: 0.25rem 2rem 0.5rem;
}

.hero-demo-container .mini-rewind-demo {
    border-radius: 28px;
    box-shadow: 0 40px 120px rgba(99, 102, 241, 0.3), 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(99, 102, 241, 0.2);
    animation: heroGlow 4s ease-in-out infinite;
}

.hero-demo-container .mini-rewind-main {
    padding: 12px;
}

.hero-demo-container .mini-rewind-screen-container {
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

@keyframes heroGlow {
    0%, 100% {
        box-shadow: 0 40px 120px rgba(99, 102, 241, 0.3), 0 20px 60px rgba(0, 0, 0, 0.25);
    }
    50% {
        box-shadow: 0 50px 150px rgba(99, 102, 241, 0.45), 0 25px 80px rgba(0, 0, 0, 0.3);
    }
}

.hero-demo-container .mini-rewind-callout {
    font-size: 1.125rem;
    padding: 16px 32px;
    border-radius: 32px;
}

.hero-demo-label {
    display: none; /* Hidden to save space - demo is self-explanatory */
}

.hero-demo-label strong {
    color: var(--primary);
}

/* Hero Demo - Compact thumbnails and controls */
.hero-demo-container .mini-rewind-thumbnails {
    gap: 4px;
    padding: 6px 10px;
}

.hero-demo-container .mini-rewind-thumbnail {
    width: 60px;
    height: 30px;
    border-radius: 3px;
}

.hero-demo-container .mini-rewind-thumbnail.selected {
    border-width: 2px;
}

.hero-demo-container .mini-rewind-controls {
    padding: 10px 16px 12px;
    margin: 0 12px 12px;
    border-radius: 10px;
}

.hero-demo-container .mini-rewind-timestamp {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    bottom: 20px;
    left: 20px;
}

.hero-demo-container .time-markers {
    font-size: 0.75rem;
}

.hero-demo-container .timeline-handle {
    width: 16px;
    height: 16px;
}

.hero-demo-container .mini-rewind-main-image {
    aspect-ratio: 16/7.5;
}

/* Legacy Hero Mockup (keeping for reference) */
.hero-mockup {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    display: none; /* Hidden - using interactive demo instead */
}

.mockup-window {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
}

.mockup-buttons {
    display: flex;
    gap: 8px;
}

.mockup-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ef4444; }
.btn-minimize { background: #eab308; }
.btn-maximize { background: #22c55e; }

.mockup-title {
    flex: 1;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-content {
    padding: 1.5rem;
}

.mockup-timeline {
    margin-bottom: 1.5rem;
}

.timeline-track {
    height: 8px;
    background: var(--bg-muted);
    border-radius: 4px;
    position: relative;
    margin-bottom: 0.5rem;
}

.timeline-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gradient);
    border-radius: 50%;
    top: -4px;
    box-shadow: var(--shadow);
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mockup-preview {
    margin-bottom: 1.5rem;
}

.preview-placeholder {
    background: var(--bg-subtle);
    border-radius: 8px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-code {
    width: 80%;
    padding: 2rem;
}

.code-line {
    height: 12px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.code-line.short { width: 40%; }
.code-line.medium { width: 70%; }

.mockup-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumb {
    width: 80px;
    height: 50px;
    background: var(--bg-muted);
    border-radius: 6px;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumb.active {
    border-color: var(--primary);
    background: var(--primary-subtle);
}

/* ============================================
   Social Proof
   ============================================ */

.social-proof {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.social-proof p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Value Props
   ============================================ */

.value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: var(--section-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.value-prop {
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-subtle);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary);
}

.value-prop h3 {
    margin-bottom: 0.75rem;
}

.value-prop p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Use Cases Section
   ============================================ */

.use-cases {
    padding: 6rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.use-case {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 6rem;
}

.use-case-content {
    flex: 1;
    max-width: 500px;
}

.use-case-mockup {
    flex: 0 0 880px;
    width: 880px;
}

.use-case.reverse {
    direction: rtl;
}

.use-case.reverse > * {
    direction: ltr;
}

.use-case:last-child {
    margin-bottom: 0;
}

.use-case-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gradient-subtle);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.use-case-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.use-case-content p {
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.use-case-list {
    list-style: none;
}

.use-case-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
}

.use-case-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* Use Case Mockups */
.use-case-mockup {
    background: var(--bg-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.mockup-screen {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Terminal Mockup */
.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1rem;
    background: #1e293b;
}

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

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #eab308; }
.terminal-dot.green { background: #22c55e; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
}

.terminal-content {
    background: #0f172a;
    padding: 1.25rem;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.8125rem;
    line-height: 1.8;
}

.terminal-line {
    color: #e2e8f0;
}

.terminal-line .prompt {
    color: #22c55e;
    margin-right: 0.5rem;
}

.terminal-line.error {
    color: #ef4444;
}

.terminal-line.dim {
    color: #64748b;
    font-size: 0.75rem;
}

.terminal-line.highlight {
    color: var(--primary-light);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #334155;
}

/* Design Mockup */
.mockup-screen.design {
    background: #f1f5f9;
}

.design-canvas {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 1rem;
    padding: 1rem;
    min-height: 280px;
}

.design-artboard {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.design-header {
    height: 20px;
    width: 60%;
    background: var(--bg-muted);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.design-hero {
    margin-bottom: 1.5rem;
}

.design-text {
    height: 32px;
    width: 80%;
    background: var(--bg-muted);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.design-button {
    height: 36px;
    width: 120px;
    background: var(--gradient);
    border-radius: 6px;
}

.design-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.design-card {
    height: 60px;
    background: var(--bg-subtle);
    border-radius: 6px;
}

.design-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-section {
    background: white;
    border-radius: 6px;
    height: 80px;
    box-shadow: var(--shadow-sm);
}

.design-timeline {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.design-timeline .active {
    color: var(--primary);
    font-weight: 600;
}

/* Browser Mockup */
.browser-tabs {
    display: flex;
    background: var(--bg-muted);
    padding: 0.5rem 0.5rem 0;
}

.browser-tab {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border-radius: 6px 6px 0 0;
    margin-right: 2px;
}

.browser-tab.active {
    background: white;
    color: var(--text);
}

.browser-content {
    padding: 1.5rem;
    position: relative;
    min-height: 220px;
}

.article-title {
    height: 24px;
    width: 70%;
    background: var(--text);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.article-meta {
    height: 14px;
    width: 40%;
    background: var(--text-light);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.article-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.text-line {
    height: 12px;
    background: var(--bg-muted);
    border-radius: 4px;
}

.text-line.highlight {
    background: #fef9c3;
}

.search-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-subtle);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.search-text {
    font-size: 0.875rem;
    color: var(--text);
}

.search-result {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 500;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--section-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    background: var(--bg-subtle);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-visual {
    height: 140px;
    background: var(--bg-subtle);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Feature Demos */
.feature-demo {
    padding: 1rem;
    width: 100%;
}

.timeline-demo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-thumbnails {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.timeline-thumbnails .thumb {
    width: 48px;
    height: 32px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.timeline-thumbnails .thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-subtle);
}

.timeline-demo .demo-scrubber {
    width: 100%;
}

.scrubber-track {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.scrubber-progress {
    width: 50%;
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
}

.keyboard-demo {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.key {
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: 0 2px 0 var(--border);
}

.search-demo {
    width: 100%;
}

.search-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.search-icon {
    font-size: 0.875rem;
}

.search-query {
    color: var(--text);
    font-size: 0.8rem;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.7rem;
}

.result-time {
    color: var(--text-muted);
    font-size: 0.65rem;
    white-space: nowrap;
}

.result-match {
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.privacy-demo {
    text-align: center;
}

.shield-icon {
    color: var(--success);
    margin-bottom: 0.5rem;
}

.privacy-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    background: #dcfce7;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

.storage-demo {
    width: 100%;
    text-align: center;
}

.storage-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.storage-used {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
}

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

.menubar-demo {
    position: relative;
}

.menubar-mock {
    background: linear-gradient(180deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 6px 6px 0 0;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border);
    border-bottom: none;
}

.menubar-items {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.menubar-app {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.menubar-app.active {
    background: rgba(99, 102, 241, 0.15);
}

.rec-indicator {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

.rec-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.menubar-dropdown {
    background: white;
    border: 1px solid var(--border);
    border-radius: 0 0 6px 6px;
    padding: 0.375rem 0;
    box-shadow: var(--shadow);
    font-size: 0.7rem;
}

.dropdown-item {
    padding: 0.25rem 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.dropdown-item.recording {
    color: var(--success);
}

.rec-dot-small {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

.dropdown-separator {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
    padding: var(--section-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--text-light);
    padding-top: 0.75rem;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    padding: var(--section-padding);
    background: var(--bg-subtle);
    text-align: center;
}

.pricing h2 {
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.pricing-card-wrapper {
    max-width: 420px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ============================================
   Download Section
   ============================================ */

.download {
    padding: var(--section-padding);
    text-align: center;
    background: var(--gradient-subtle);
}

.download-content {
    max-width: 500px;
    margin: 0 auto;
}

.download h2 {
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.download-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.download-requirements {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Footer
   ============================================ */

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-bottom: 3rem;
}

.footer-brand {
    max-width: 240px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-muted);
    padding: 0.375rem 0;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

@media (max-width: 1024px) {
    .use-case {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .use-case.reverse {
        direction: ltr;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 1.5rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero {
        padding: 1.5rem 1.5rem 0.75rem;
    }

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

    .value-props {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .steps-grid {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .download-requirements {
        flex-direction: column;
        gap: 0.25rem;
    }

    .download-requirements span:nth-child(2) {
        display: none;
    }
}

/* ============================================
   Mini-Rewind Interactive Demo (App-like UI)
   ============================================ */

.mini-rewind-demo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0f;
    user-select: none;
}

.mini-rewind-wrapper {
    display: flex;
    flex-direction: column;
}

/* Main screenshot area */
.mini-rewind-main {
    position: relative;
    background: #0f0f1a;
    padding: 16px;
}

.mini-rewind-screen-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.mini-rewind-main-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    cursor: grab;
}

.mini-rewind-demo.is-dragging .mini-rewind-main-image {
    cursor: grabbing;
}

/* Loading indicator */
.mini-rewind-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Timestamp badge */
.mini-rewind-timestamp {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10;
}

.mini-rewind-timestamp .rewind-icon {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Controls area - contains time markers, slider, and thumbnails */
.mini-rewind-controls {
    padding: 12px 16px 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0 12px 12px;
    border-radius: 12px;
}

/* Time markers */
.mini-rewind-time-markers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px 8px;
}

.time-marker {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.time-marker.time-selected {
    color: white;
    font-weight: 600;
}

/* Timeline slider */
.mini-rewind-timeline-slider {
    padding: 8px 0 16px;
}

.timeline-track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    cursor: pointer;
    transition: height 0.15s ease;
}

.timeline-track:hover {
    height: 8px;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.5), #6366f1);
    border-radius: 3px;
    transition: width 0.1s ease;
}

.timeline-handle {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease, box-shadow 0.15s ease;
    cursor: grab;
}

.timeline-handle:hover,
.mini-rewind-demo.is-slider-dragging .timeline-handle {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.5);
}

.mini-rewind-demo.is-slider-dragging .timeline-handle {
    cursor: grabbing;
}

/* Scrubber area with thumbnails - 30/70 layout */
.mini-rewind-scrubber-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

/* Info section (left ~30%) */
.mini-rewind-info {
    flex: 0 0 auto;
    min-width: 70px;
}

/* Thumbnail strip (right ~70%) */
.mini-rewind-thumbnail-strip {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.thumbnail-scroll-container {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 4px 2px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-scroll-container::-webkit-scrollbar {
    display: none;
}

.mini-rewind-thumbnail {
    flex-shrink: 0;
    width: 48px;
    height: 28px;
    border-radius: 3px;
    overflow: hidden;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.12s ease;
    opacity: 0.6;
}

.mini-rewind-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-rewind-thumbnail:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
}

.mini-rewind-thumbnail.selected {
    border-color: white;
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    opacity: 1;
}

/* Position indicator */
.mini-rewind-position {
    margin-bottom: 2px;
}

.position-text {
    font-size: 0.625rem;
    font-family: 'SF Mono', Monaco, monospace;
    color: rgba(255, 255, 255, 0.8);
}

.scrubber-hint {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.4);
    transition: opacity 0.3s ease;
}

/* Use case mockup integration */
.use-case-mockup.has-demo {
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 0;
}

.use-case-mockup.has-demo .mini-rewind-demo {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Bouncy interactive callout */
.mini-rewind-callout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
    animation: calloutBounce 1.5s ease-in-out infinite;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.mini-rewind-callout::before {
    content: '↔ ';
}

@keyframes calloutBounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.mini-rewind-wrapper {
    position: relative;
}

/* Dim the screenshot until interaction */
.mini-rewind-main-image {
    filter: brightness(0.5);
    transition: filter 0.4s ease;
}

.mini-rewind-demo.interacted .mini-rewind-main-image {
    filter: brightness(1);
}

.mini-rewind-demo.interacted .mini-rewind-callout {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   Blog Styles
   ============================================ */

.blog-hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.blog-hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.blog-grid-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.blog-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    padding: 4rem 0;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    color: inherit;
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-muted);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.3;
}

.blog-card-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.blog-card-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 1rem;
}

/* Blog Article */
.blog-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.blog-article-header {
    margin-bottom: 3rem;
}

.blog-back-link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.blog-back-link:hover {
    color: var(--primary);
}

.blog-article-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Blog Article Body — Prose */
.blog-article-body {
    line-height: 1.8;
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

.blog-h1 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.blog-h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.blog-h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.blog-p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.blog-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.3);
    text-underline-offset: 2px;
}

.blog-link:hover {
    text-decoration-color: var(--primary);
}

.blog-ul,
.blog-ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-li {
    margin-bottom: 0.5rem;
}

.blog-blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-subtle);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-code {
    background: var(--bg-muted);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875em;
    font-family: 'SF Mono', Monaco, monospace;
}

.blog-pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.7;
}

.blog-pre .blog-code {
    background: none;
    padding: 0;
    color: inherit;
}

.blog-img {
    width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

/* Blog Callout */
.blog-callout {
    background: var(--gradient-subtle);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

/* Blog Table */
.blog-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.blog-table th {
    background: var(--bg-subtle);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid var(--border);
}

.blog-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.blog-table tr:hover td {
    background: var(--bg-subtle);
}

/* Blog Article Footer */
.blog-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.blog-cta {
    background: var(--gradient-subtle);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.blog-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.blog-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-article {
        padding: 1.5rem 1.5rem 3rem;
    }

    .blog-article-body {
        font-size: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mini-rewind-controls {
        padding: 10px 12px 12px;
        margin: 0 8px 8px;
    }

    .mini-rewind-time-markers {
        padding: 0 2px 6px;
    }

    .time-marker {
        font-size: 0.625rem;
    }

    .mini-rewind-timeline-slider {
        padding: 6px 0 12px;
    }

    .timeline-handle {
        width: 12px;
        height: 12px;
    }

    .mini-rewind-scrubber-area {
        flex-direction: column;
        gap: 4px;
        padding: 6px 10px;
    }

    .mini-rewind-info {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: auto;
    }

    .mini-rewind-position {
        margin-bottom: 0;
    }

    .mini-rewind-thumbnail {
        width: 20px;
        height: 12px;
    }

    .mini-rewind-main {
        padding: 12px;
    }

    .mini-rewind-timestamp {
        bottom: 20px;
        left: 20px;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}
