/* ========================================
   Embark Reader - Marketing Site Styles
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Dark Theme */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #18181b;
    --bg-card: #1c1c1f;
    --bg-card-hover: #242428;
    
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    
    --accent: #2dd4bf;
    --accent-hover: #14b8a6;
    --accent-subtle: rgba(45, 212, 191, 0.15);
    --accent-glow: rgba(45, 212, 191, 0.2);
    
    --border-color: #27272a;
    --border-subtle: #1f1f23;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* 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;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.4);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

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

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

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

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
}

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

.nav-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

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

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

.nav-cta {
    background: var(--accent);
    color: var(--bg-primary) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--accent-hover);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

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

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

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-subtle), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(45, 212, 191, 0.05), transparent);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: var(--space-3xl) 0;
}

.hero-icon {
    margin: 0 auto var(--space-xl);
}

.hero-icon img {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
}

.hero-title {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
    font-size: clamp(2.125rem, 4.25vw, 3.4rem);
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-4xl);
}

/* ========================================
   Coming Soon Banner & Email Signup
   ======================================== */
.coming-soon-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--accent-subtle), rgba(45, 212, 191, 0.2));
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--accent-glow);
    }
    50% {
        box-shadow: 0 0 30px var(--accent-glow), 0 0 40px rgba(45, 212, 191, 0.1);
    }
}

.coming-soon-text {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 400px;
    text-align: center;
}

.notify-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.notify-form-bottom {
    margin-bottom: var(--space-xl);
}

.notify-input-wrapper {
    display: flex;
    gap: var(--space-sm);
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xs);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.notify-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.notify-input-wrapper input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: var(--space-md) var(--space-md);
}

.notify-input-wrapper input[type="email"]::placeholder {
    color: var(--text-tertiary);
}

.notify-input-wrapper .btn {
    flex-shrink: 0;
    padding: var(--space-md) var(--space-xl);
}

.notify-hint {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.notify-success {
    color: var(--accent);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    padding: var(--space-md);
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    width: 100%;
}

.notify-error {
    color: #ef4444;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    padding: var(--space-md);
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    width: 100%;
}

/* Loading spinner */
.btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hero-screenshot {
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-frame {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-sm);
    box-shadow: var(--shadow-xl);
}

.screenshot-frame img {
    border-radius: var(--radius-lg);
    width: 100%;
}

/* Image placeholders */
.screenshot-frame img,
.feature-image img,
.github-visual img {
    background: var(--bg-tertiary);
    min-height: 200px;
    object-fit: cover;
}

.device-macbook img,
.device-iphone img {
    background: var(--bg-tertiary);
}

/* ========================================
   Problem Section
   ======================================== */
.problem {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    padding: var(--space-md);
    background: var(--accent-subtle);
    border-radius: var(--radius-lg);
}

.problem-icon svg {
    width: 100%;
    height: 100%;
    color: var(--accent);
}

.problem-card h3 {
    margin-bottom: var(--space-md);
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.problem-transition {
    text-align: center;
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 500;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--space-4xl) 0;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

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

.feature-block-reverse {
    direction: rtl;
}

.feature-block-reverse > * {
    direction: ltr;
}

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

.feature-content p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.feature-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.feature-image img {
    width: 100%;
}

/* ========================================
   GitHub Section
   ======================================== */
.github-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

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

.github-content h2 {
    margin-bottom: var(--space-lg);
}

.github-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.github-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.github-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.github-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.github-secondary {
    color: var(--text-tertiary);
    font-size: 0.9375rem;
}

.github-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

/* ========================================
   Audio Section
   ======================================== */
.audio-section {
    padding: var(--space-4xl) 0;
}

.audio-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3xl);
    align-items: end;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 0;
    padding-right: var(--space-3xl);
    overflow: hidden;
}

.audio-visual {
    position: relative;
    width: 300px;
    max-width: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: end;
}

.audio-phone-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    display: block;
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
}

.audio-waveform {
    position: absolute;
    bottom: 112px; /* adjust this to move waveform up/down on the image */
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    display: flex;
    align-items: center;
    gap: 4px;
    height: 60px;
}

.audio-waveform span {
    width: 6px;
    background: var(--accent);
    border-radius: 3px;
    animation: waveform 1s ease-in-out infinite;
}

.audio-waveform span:nth-child(1) { height: 20%; animation-delay: 0s; }
.audio-waveform span:nth-child(2) { height: 40%; animation-delay: 0.1s; }
.audio-waveform span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.audio-waveform span:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.audio-waveform span:nth-child(5) { height: 100%; animation-delay: 0.4s; }
.audio-waveform span:nth-child(6) { height: 80%; animation-delay: 0.5s; }
.audio-waveform span:nth-child(7) { height: 100%; animation-delay: 0.6s; }
.audio-waveform span:nth-child(8) { height: 60%; animation-delay: 0.7s; }
.audio-waveform span:nth-child(9) { height: 80%; animation-delay: 0.8s; }
.audio-waveform span:nth-child(10) { height: 40%; animation-delay: 0.9s; }
.audio-waveform span:nth-child(11) { height: 60%; animation-delay: 1s; }
.audio-waveform span:nth-child(12) { height: 80%; animation-delay: 1.1s; }
.audio-waveform span:nth-child(13) { height: 40%; animation-delay: 1.2s; }
.audio-waveform span:nth-child(14) { height: 60%; animation-delay: 1.3s; }
.audio-waveform span:nth-child(15) { height: 20%; animation-delay: 1.4s; }

@keyframes waveform {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

.audio-content {
    padding: var(--space-3xl) 0;
}

.audio-content h2 {
    margin-bottom: var(--space-md);
}

.audio-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1.0625rem;
}

.audio-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.audio-details span {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

/* ========================================
   Import Section
   ======================================== */
.import-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
    text-align: center;
}

.import-section h2 {
    margin-bottom: var(--space-md);
}

.import-description {
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.import-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.import-before, .import-after {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.import-before img, .import-after img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

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

.browser-tabs {
    display: flex;
    gap: var(--space-xs);
    overflow: hidden;
}

.tab {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

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

.tab-more {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
    background: #ef4444;
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

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

.app-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.app-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    padding: var(--space-sm);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    text-align: left;
}

.app-item .check {
    color: var(--accent);
}

.app-item.repo {
    color: var(--text-secondary);
}

.repo-icon {
    opacity: 0.5;
}

.import-arrow svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.import-label {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ========================================
   Search Section
   ======================================== */
.search-section {
    padding: var(--space-4xl) 0;
    text-align: center;
}

.search-section h2 {
    margin-bottom: var(--space-md);
}

.search-section p {
    max-width: 500px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ========================================
   Platform Section
   ======================================== */
.platform-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
    text-align: center;
}

.platform-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--space-3xl);
}

.platform-devices {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.device-macbook {
    max-width: 700px;
    flex: 1;
}

.device-macbook img {
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

.device-iphone {
    max-width: 200px;
}

.device-iphone img {
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
    padding: var(--space-4xl) 0;
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.pricing-card-pro {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--accent-subtle) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: var(--space-xl);
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: var(--space-xl);
}

.about-content blockquote {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.about-content blockquote p {
    margin-bottom: var(--space-lg);
}

.about-signature {
    margin-top: var(--space-xl);
    color: var(--text-tertiary);
}

/* ========================================
   Download Section
   ======================================== */
.download-section {
    padding: var(--space-4xl) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.download-section h2 {
    margin-bottom: var(--space-md);
}

.download-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.download-ctas {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.footer-links {
    display: flex;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .feature-block,
    .github-section .container,
    .audio-card {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: 0;
        padding-bottom: 0;
    }
    
    .audio-content {
        padding: var(--space-xl);
        padding-bottom: var(--space-xl);
    }
    
    .audio-visual {
        order: 1;
    }
    
    .feature-block-reverse {
        direction: ltr;
    }
    
    .github-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-secondary);
        padding: var(--space-lg);
        border-bottom: 1px solid var(--border-color);
        gap: var(--space-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: var(--space-3xl);
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .notify-input-wrapper {
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-sm);
    }
    
    .notify-input-wrapper .btn {
        width: 100%;
    }
    
    .audio-visual {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .import-visual {
        flex-direction: column;
    }
    
    .import-arrow {
        transform: rotate(90deg);
    }
    
    .platform-devices {
        flex-direction: column;
        align-items: center;
    }
    
    .device-iphone {
        order: -1;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        padding: var(--space-md) var(--space-xl);
        font-size: 1rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
