/* ============================================
   PodLoom Marketing Website Styles
   Sleek, minimalist design inspired by modern SaaS sites
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Light Mode */
    --color-bg: #ffffff;
    --color-bg-alt: #fafafa;
    --color-text: #1a1a1a;
    --color-text-secondary: #545764;
    --color-text-muted: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    /* Accent */
    --color-accent: #075F42;
    --color-accent-hover: #054a33;
    --color-accent-light: #d1f5e8;

    /* Status */
    --color-success: #075F42;
    --color-success-light: #d1fae5;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Monaco, monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #0f0f0f;
        --color-bg-alt: #1a1a1a;
        --color-text: #f5f5f5;
        --color-text-secondary: #a1a1aa;
        --color-text-muted: #71717a;
        --color-border: #27272a;
        --color-border-light: #1f1f1f;
        --color-accent-light: #064e3b;
    }
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.875rem, 3vw, 2.75rem);
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.hero-description,
.section-header p,
.pricing-description {
    font-size: 1.125rem;
    line-height: 1.75;
}

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

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.section-header .badge {
    margin-bottom: var(--space-md);
}

.content-hub-lead {
    font-size: 1.125rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
}

@media (prefers-color-scheme: dark) {
    .header {
        background: rgba(15, 15, 15, 0.8);
    }
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    font-size: 1.125rem;
}

.logo-icon {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

/* Mobile Nav */
@media (max-width: 920px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-xl);
        background: var(--color-bg);
        transform: translateX(100%);
        transition: transform var(--transition-slow);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

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

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
    padding: calc(72px + var(--space-4xl)) 0 var(--space-4xl);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    margin: var(--space-lg) 0;
    color: var(--color-text);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-video {
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: #000;
    cursor: pointer;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: var(--space-xl) var(--space-lg) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.video-wrapper:hover .video-controls,
.video-wrapper.show-controls .video-controls,
.video-wrapper:not(.playing) .video-controls {
    opacity: 1;
}

.video-play-btn,
.video-fullscreen-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
    border-radius: var(--radius-sm);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
}

.video-play-btn:hover,
.video-fullscreen-btn:hover {
    opacity: 0.7;
}

.video-progress {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: var(--radius-full);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-progress:hover {
    height: 8px;
    transition: height 0.1s ease;
}

.video-progress-filled {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: var(--radius-full);
}

.video-time {
    color: #fff;
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    min-width: 90px;
    text-align: right;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border-light);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

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

/* Page Hero (Inner Pages) */
.page-hero {
    padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
    text-align: center;
    background: var(--color-bg-alt);
}

.page-hero h1 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

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

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

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

/* Cards */
.card {
    padding: var(--space-xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast);
}

.card:hover {
    border-color: var(--color-text-muted);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-lg);
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
}

.card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

/* Feature Cards */
.feature-card {
    padding: var(--space-2xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-lg);
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: var(--radius-lg);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

.feature-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-success);
}

.feature-list-large li {
    margin-bottom: var(--space-lg);
}

.feature-list-section {
    margin-top: var(--space-3xl);
    text-align: center;
}

.feature-list-section h3 {
    margin-bottom: var(--space-xl);
    color: var(--color-text);
}

.feature-list-section .feature-list {
    display: inline-block;
    text-align: left;
}

/* Split Layout */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.split-content .badge {
    margin-bottom: var(--space-md);
}

.split-content h2 {
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.split-content > p {
    margin-bottom: var(--space-xl);
}

.split-image {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .split {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* Player Preview */
.player-preview {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.player-header {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.player-artwork {
    width: 64px;
    height: 64px;
    background: var(--color-border);
    border-radius: var(--radius-md);
}

.player-info {
    flex: 1;
}

.player-title {
    height: 20px;
    width: 80%;
    background: var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.player-meta {
    height: 14px;
    width: 50%;
    background: var(--color-border-light);
    border-radius: var(--radius-sm);
}

.player-controls {
    margin-bottom: var(--space-lg);
}

.player-timeline {
    height: 4px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.player-progress {
    width: 35%;
    height: 100%;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

.player-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.player-btn {
    width: 36px;
    height: 36px;
    background: var(--color-border);
    border-radius: 50%;
}

.player-btn-main {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
}

.player-tabs {
    display: flex;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

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

.tab.active {
    color: var(--color-accent);
}

/* CTA Section */
.section-cta {
    text-align: center;
    background: var(--color-bg-alt);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.cta-content p {
    margin-bottom: var(--space-xl);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.metric-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.metric-compare {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Integration Cards */
.integration-card {
    padding: var(--space-2xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.integration-card h3 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.integration-card p {
    margin-bottom: var(--space-lg);
}

.integration-card ul {
    list-style: none;
}

.integration-card li {
    padding: var(--space-sm) 0;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-light);
}

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

/* Mode Cards */
.mode-card {
    padding: var(--space-2xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.mode-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.mode-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: 50%;
}

.mode-header h3 {
    color: var(--color-text);
}

/* Platform Preview */
.platforms-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-2xl);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.platform-row {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.platform {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    border-radius: var(--radius-md);
}

.platform.spotify { background: #1db954; }
.platform.apple { background: #fc3c44; }
.platform.amazon { background: #ff9900; color: #111; }
.platform.overcast { background: #fc7e0f; }
.platform.pocketcasts { background: #f43e37; }
.platform.castro { background: #00b265; }

/* A11y Cards */
.a11y-card {
    padding: var(--space-xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.a11y-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

/* Pricing Card */
.pricing-card {
    background: var(--color-bg);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.pricing-header {
    padding: var(--space-2xl);
    text-align: center;
    background: var(--color-accent-light);
}

.pricing-label {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-bg);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.pricing-price {
    margin-bottom: var(--space-md);
}

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

.price-period {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

.pricing-description {
    font-size: 1.125rem;
}

.pricing-features {
    padding: var(--space-2xl);
}

.pricing-features h3 {
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.pricing-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
}

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

.pricing-action {
    padding: var(--space-xl) var(--space-2xl) var(--space-2xl);
    text-align: center;
}

.pricing-note {
    margin-top: var(--space-md);
    font-size: 0.875rem;
}

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

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
    padding-top: var(--space-xl);
}

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

.pricing-grid .pricing-card {
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.pricing-grid .pricing-header {
    background: var(--color-bg-alt);
}

.pricing-grid .pricing-features {
    flex: 1;
}

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

/* Featured Pricing Card */
.pricing-card-featured {
    position: relative;
    border: 2px solid var(--color-accent) !important;
}

.pricing-card-featured .pricing-header {
    background: var(--color-accent-light);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* Price with discount */
.price-original {
    display: block;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-bottom: var(--space-xs);
}

/* Support Card */
.support-card {
    padding: var(--space-2xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.support-card h2 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.support-card > p {
    margin-bottom: var(--space-2xl);
}

.support-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    text-align: left;
}

.support-option h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.support-option p {
    margin-bottom: var(--space-md);
}

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

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-lg);
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-text-muted);
    transition: transform var(--transition-fast);
}

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

.faq-item p {
    padding: 0 var(--space-lg) var(--space-lg);
}

/* Contact Cards */
.contact-card {
    display: block;
    padding: var(--space-2xl);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: 50%;
}

.contact-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.contact-link {
    display: inline-block;
    margin-top: var(--space-md);
    font-weight: 500;
    color: var(--color-accent);
}

/* Guidelines */
.guidelines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.guideline h3 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.guideline ul {
    list-style: none;
}

.guideline li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    color: var(--color-text-secondary);
    position: relative;
}

.guideline li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

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

/* Response Notice */
.response-notice {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.notice-icon {
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.notice-content h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

/* Code Preview */
.code-preview {
    background: #1e1e1e;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-header {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: #2d2d2d;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3c3c3c;
}

.code-dot:nth-child(1) { background: #ff5f56; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #27c93f; }

.code-content {
    padding: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.7;
    overflow-x: auto;
}

.code-content code {
    color: #d4d4d4;
}

.code-comment { color: #6a9955; }
.code-keyword { color: #569cd6; }
.code-string { color: #ce9178; }

/* Documentation Styles */
.docs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.docs-nav-item {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.docs-nav-item:hover {
    color: var(--color-text);
    border-color: var(--color-accent);
}

.docs-section h2 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.docs-intro {
    font-size: 1.125rem;
    margin-bottom: var(--space-2xl);
}

.docs-block {
    margin-bottom: var(--space-2xl);
}

.docs-block:last-child {
    margin-bottom: 0;
}

.docs-block h3 {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.docs-block p {
    margin-bottom: var(--space-md);
}

.docs-block ul,
.docs-block ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
    color: var(--color-text-secondary);
}

.docs-block li {
    margin-bottom: var(--space-sm);
}

.docs-steps {
    list-style: none;
    padding-left: 0;
    counter-reset: step;
}

.docs-steps li {
    position: relative;
    padding-left: var(--space-2xl);
    margin-bottom: var(--space-md);
    counter-increment: step;
}

.docs-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-accent-light);
    border-radius: 50%;
}

.docs-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.docs-option {
    padding: var(--space-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.docs-option h4 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.docs-option p {
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
}

.docs-option a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
}

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

.docs-tip {
    padding: var(--space-lg);
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    color: var(--color-text);
}

.docs-tip strong {
    color: var(--color-accent);
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-md);
}

.docs-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.docs-table td:first-child {
    width: 35%;
    color: var(--color-text);
}

.docs-table td:last-child {
    color: var(--color-text-secondary);
}

.docs-table code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: 2px 6px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
}

.docs-code {
    background: #1e1e1e;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    overflow-x: auto;
    margin-bottom: var(--space-md);
}

.docs-code code {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #d4d4d4;
}

.faq-content {
    padding: 0 var(--space-lg) var(--space-lg);
}

.faq-content ol,
.faq-content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
    color: var(--color-text-secondary);
}

.faq-content li {
    margin-bottom: var(--space-sm);
}

.faq-content code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: 2px 6px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Screenshot Grid */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

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

.screenshot-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    text-align: center;
    border-top: 1px solid var(--color-border);
    margin: 0;
}

.screenshot-cta {
    text-align: center;
    margin: 0;
}

.screenshot-cta a {
    color: var(--color-accent);
    font-weight: 500;
}

.screenshot-cta a:hover {
    color: var(--color-accent-hover);
}

/* Screenshots Page */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 992px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.screenshot-large {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.screenshot-large img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-large figcaption {
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.screenshot-large figcaption h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.screenshot-large figcaption p {
    margin: 0;
}

.screenshot-large img {
    cursor: zoom-in;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    cursor: zoom-out;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* GitHub Notice */
.github-notice {
    text-align: center;
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text);
}

.github-notice a {
    color: var(--color-accent);
    text-decoration: underline;
}

.github-notice a:hover {
    color: var(--color-accent-hover);
}

/* Form Embed */
.form-embed {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.form-embed iframe {
    display: block;
    max-width: 100%;
}

/* Footer */
.footer {
    padding: var(--space-4xl) 0 var(--space-2xl);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    max-width: 280px;
}

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

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

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .card,
    .feature-card,
    .contact-card,
    .metric-card {
        animation: fadeInUp 0.5s ease both;
    }

    .grid > *:nth-child(1) { animation-delay: 0s; }
    .grid > *:nth-child(2) { animation-delay: 0.1s; }
    .grid > *:nth-child(3) { animation-delay: 0.2s; }
    .grid > *:nth-child(4) { animation-delay: 0.3s; }
    .grid > *:nth-child(5) { animation-delay: 0.4s; }
    .grid > *:nth-child(6) { animation-delay: 0.5s; }
}

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

/* Focus States */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .section-cta {
        display: none;
    }

    .section {
        padding: var(--space-xl) 0;
    }
}
