/* ============================================
   DriveIndex Landing Page Styles
   A dark, sophisticated theme with cool blue accents
   ============================================ */

:root {
    /* Color Palette - Midnight with Cool Blues */
    --bg-primary: #0a0b0e;
    --bg-secondary: #12141a;
    --bg-tertiary: #1a1d26;
    --bg-card: #16181f;
    --bg-card-hover: #1e2129;
    
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --accent-primary: #3b82f6;
    --accent-secondary: #60a5fa;
    --accent-tertiary: #93c5fd;
    --accent-glow: rgba(59, 130, 246, 0.15);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0b0e 0%, #12141a 50%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-text: linear-gradient(135deg, #93c5fd 0%, #3b82f6 50%, #2563eb 100%);
    
    /* Typography */
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::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-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: rgba(10, 11, 14, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-logo .logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-sm);
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-sm);
}

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

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

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

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

.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 120px 24px 60px;
    padding-left: calc(24px + 8vw);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, var(--accent-glow) 0%, transparent 60%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-content {
    max-width: 540px;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

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

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

.hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-visual {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 42%;
    max-width: 500px;
    perspective: 1000px;
}

.hero-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
    display: block;
}

.hero-screenshot:hover {
    transform: rotateY(0) rotateX(0);
}

/* ============================================
   Section Styles
   ============================================ */

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.features {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
}

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

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ============================================
   Screenshots Section
   ============================================ */

.screenshots {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.screenshot-placeholder:hover {
    border-color: var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-placeholder.large {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.screenshot-placeholder.mobile {
    aspect-ratio: 9 / 19.5;
    max-width: 300px;
    margin: 0 auto;
    overflow: hidden;
}

.placeholder-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-label {
    display: block;
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   iOS App Section
   ============================================ */

.ios-app {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.ios-app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ios-app-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ios-app-text .section-header {
    text-align: left;
    margin: 0;
}

.ios-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ios-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ios-feature svg {
    flex-shrink: 0;
    color: var(--accent-primary);
    margin-top: 4px;
}

.ios-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.ios-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.ios-download {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.app-store-badge {
    display: inline-block;
    transition: transform var(--transition-base), opacity var(--transition-base);
    line-height: 0;
}

.app-store-badge:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.app-store-badge:active {
    transform: scale(0.98);
}

.app-store-img {
    display: block;
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.ios-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.ios-app-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    width: 280px;
    max-width: 100%;
    aspect-ratio: 9 / 19.5;
    background: var(--bg-card);
    border: 8px solid var(--bg-primary);
    border-radius: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px var(--border-subtle),
        inset 0 0 0 1px var(--border-light);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.phone-screenshot:not([src]),
.phone-screenshot[src=""],
.phone-screenshot[src*="placeholder"] {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    position: relative;
}

.phone-screenshot:not([src])::after,
.phone-screenshot[src=""]::after,
.phone-screenshot[src*="placeholder"]::after {
    content: 'iOS App Screenshot';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
}

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

.download {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    flex-wrap: wrap;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.app-icon-placeholder {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.app-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.download-details h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-details .version {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-primary);
    margin-bottom: 4px;
}

.download-details .requirements {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.download-actions {
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gradient-accent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transition: all var(--transition-base);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.download-trust-signals {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    align-items: center;
}

.download-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quick-start {
    padding: 28px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin: 0;
    height: 100%;
}

.quick-start h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.quick-start-steps {
    list-style: none;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
}

.quick-start-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 40px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.quick-start-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pricing-highlight {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: grid;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    height: 100%;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.pricing-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-benefits {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-secondary);
}

.pricing-benefits li {
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.pricing-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

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

.download-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

/* Sticky Download Button */
.sticky-download {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
    pointer-events: none;
}

.sticky-download.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.sticky-download .btn {
    padding: 14px 24px;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-download .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

.alt-downloads {
    margin-top: 48px;
    text-align: center;
}

.alt-downloads h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.alt-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.alt-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.alt-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-light);
}

/* ============================================
   Changelog Section
   ============================================ */

.changelog {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.changelog-entries {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-entry {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.changelog-version {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.version-tag {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.version-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.version-badge {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.version-badge.new {
    background: var(--accent-glow);
    color: var(--accent-primary);
}

.changelog-content {
    padding: 28px;
}

.changelog-content h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.changelog-content ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.changelog-content li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.changelog-content li strong {
    color: var(--text-primary);
}

.changelog-placeholder {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
    font-style: italic;
}

/* Changelog Accordion */
.changelog-accordion {
    margin-top: 32px;
}

.changelog-accordion summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
    user-select: none;
}

.changelog-accordion summary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
}

.changelog-accordion summary::-webkit-details-marker {
    display: none;
}

.accordion-icon {
    transition: transform var(--transition-base);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.changelog-accordion[open] .accordion-icon {
    transform: rotate(180deg);
}

.changelog-accordion-content {
    margin-top: 24px;
    animation: accordion-slide-down var(--transition-base) ease-out;
}

@keyframes accordion-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.footer {
    padding: 80px 24px 40px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-logo .logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-sm);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

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

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

.footer-bottom a {
    color: var(--accent-primary);
}

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

.made-with {
    font-size: 0.85rem;
}

/* ============================================
   Policies Page
   ============================================ */

.policies-main {
    background: var(--bg-primary);
    padding-top: 120px;
    padding-bottom: 120px;
}

.policy-hero {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.policy-hero .section-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-kicker {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.policy-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.policy-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.policy-intro {
    color: var(--text-secondary);
    max-width: 860px;
}

.policy-links {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.policy-links a {
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.policy-links a:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.policy-content {
    padding: 40px 0;
}

.policy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.policy-section + .policy-section {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.policy-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.policy-section h4 {
    font-size: 1.05rem;
    margin: 12px 0 6px;
}

.policy-section h5 {
    font-size: 0.98rem;
    margin: 10px 0 6px;
    color: var(--text-primary);
}

.policy-section p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-section ul,
.policy-section ol {
    margin: 8px 0 14px 20px;
    color: var(--text-secondary);
    display: grid;
    gap: 6px;
}

.policy-section li {
    line-height: 1.6;
}

.policy-section a {
    color: var(--accent-primary);
}

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

@media (min-width: 1400px) {
    .hero {
        padding-left: calc(24px + 12vw);
    }
    
    .hero-visual {
        right: 10%;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 24px 60px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin-top: 48px;
    }
    
    .hero-screenshot {
        transform: none;
    }
    
    .hero-meta {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .ios-app-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .ios-app-text .section-header {
        text-align: center;
    }
    
    .ios-download {
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .download-info {
        flex-direction: column;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .policies-main {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .policy-hero {
        padding: 60px 0 28px;
    }

    .policy-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .sticky-download {
        display: none;
    }
    
    .quick-start {
        padding: 24px;
        margin-top: 32px;
    }
    
    .download-trust-signals {
        gap: 6px;
    }
    
    .phone-mockup {
        width: 240px;
        border-width: 6px;
        border-radius: 32px;
    }
    
    .app-store-img {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .download-card {
        padding: 32px 24px;
    }
    
    .changelog-content {
        padding: 20px;
    }
    
    .quick-start {
        padding: 20px;
    }
    
    .quick-start-steps li {
        padding-left: 36px;
        font-size: 0.9rem;
    }
    
    .quick-start-steps li::before {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
}

/* How It Works Grid - Responsive Layout */
.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first - single column */
    gap: 40px;
    margin-top: 48px;
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
    .how-it-works-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
