/* =====================================================
   ZEM CLOUD - Main Stylesheet
   Apple-inspired design system
   ===================================================== */

/* CSS Custom Properties - Light Theme (Default) */
:root {
    /* Colors */
    --color-primary: #0071e3;
    --color-primary-hover: #0077ed;
    --color-primary-dark: #0066cc;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fbfbfd;
    --bg-card: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    /* Text Colors */
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --text-muted: #a1a1a6;
    --text-inverse: #ffffff;

    /* Borders */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-strong: rgba(0, 0, 0, 0.16);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    --gradient-text: linear-gradient(90deg, #0071e3 0%, #5856d6 50%, #af52de 100%);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 17px;
    --font-size-lg: 21px;
    --font-size-xl: 28px;
    --font-size-2xl: 40px;
    --font-size-3xl: 48px;
    --font-size-4xl: 64px;
    --font-size-5xl: 80px;

    /* Line Heights */
    --line-height-tight: 1.1;
    --line-height-snug: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-smooth: 500ms cubic-bezier(0.25, 0.1, 0.25, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 48px;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1d1d1f;
    --bg-tertiary: #0d0d0d;
    --bg-card: #1d1d1f;
    --bg-overlay: rgba(0, 0, 0, 0.8);

    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #86868b;
    --text-muted: #6e6e73;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-strong: rgba(255, 255, 255, 0.16);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);

    --gradient-hero: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

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

*, *::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-family);
    font-size: var(--font-size-md);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-slow), color var(--transition-slow);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

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

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

.text-muted {
    color: var(--text-tertiary);
}

/* =====================================================
   Layout
   ===================================================== */

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

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--text-inverse);
    transform: scale(1.02);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--text-inverse);
}

.btn-link {
    background: none;
    color: var(--color-primary);
    padding: 0;
    font-weight: var(--font-weight-medium);
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-link svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn-link:hover svg {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
}

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

/* =====================================================
   Header
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-slow);
}

[data-theme="dark"] .header {
    background-color: rgba(29, 29, 31, 0.8);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-text);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

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

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

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-normal);
    color: var(--text-primary);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.nav-link:hover {
    opacity: 1;
    color: var(--text-primary);
}

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

.theme-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .icon-moon {
    display: block;
}

.theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

.btn-nav {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--header-height) + var(--space-4xl));
    padding-bottom: var(--space-4xl);
    background: var(--gradient-hero);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: var(--line-height-relaxed);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.hero-note {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

/* Hero Visual / Dashboard Mockup */
.hero-visual {
    width: 100%;
    max-width: 1000px;
    margin: var(--space-4xl) auto 0;
    padding: 0 var(--space-lg);
}

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

.mockup-screen {
    aspect-ratio: 16/10;
}

.dashboard-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dash-header {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.dash-nav {
    display: flex;
    gap: var(--space-sm);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--border-color-strong);
}

.nav-dot:first-child {
    background: #ff5f57;
}

.nav-dot:nth-child(2) {
    background: #febc2e;
}

.nav-dot:nth-child(3) {
    background: #28c840;
}

.dash-title {
    margin-left: var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
}

.dash-content {
    flex: 1;
    display: flex;
}

.dash-sidebar {
    width: 60px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.sidebar-item {
    width: 100%;
    aspect-ratio: 1;
    background: var(--border-color);
    border-radius: var(--radius-sm);
}

.sidebar-item.active {
    background: var(--color-primary);
}

.dash-main {
    flex: 1;
    padding: var(--space-lg);
}

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

.stat-card {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    opacity: 0.8;
}

.stat-icon.green {
    background: #28c840;
}

.stat-icon.blue {
    background: #5856d6;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-tertiary);
}

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

.endpoint-row {
    height: 48px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

/* =====================================================
   Features Overview
   ===================================================== */

.features-overview {
    background: var(--bg-primary);
}

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

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

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

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

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

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

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.feature-card p {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
}

.features-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

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

.how-it-works {
    background: var(--bg-secondary);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 300px;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.step-content h3 {
    margin-bottom: var(--space-sm);
}

.step-connector {
    width: 100px;
    height: 2px;
    background: var(--border-color-strong);
    flex-shrink: 0;
}

/* =====================================================
   Pricing Preview
   ===================================================== */

.pricing-preview {
    background: var(--bg-primary);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
}

.pricing-card {
    flex: 1;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-base);
}

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

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: calc(-1 * var(--space-sm));
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pricing-header h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
}

.pricing-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.pricing-amount {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.pricing-amount .currency {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    vertical-align: top;
    color: var(--text-primary);
}

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

.pricing-amount .period {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
}

.pricing-annual {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-xl);
}

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

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

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

.pricing-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* =====================================================
   Trust Section
   ===================================================== */

.trust-section {
    background: var(--bg-secondary);
}

.trust-content {
    display: flex;
    align-items: center;
    gap: var(--space-4xl);
}

.trust-text {
    flex: 1;
}

.trust-text h2 {
    margin-bottom: var(--space-lg);
}

.trust-text > p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xl);
}

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

.trust-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-md);
    color: var(--text-secondary);
}

.trust-list svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.trust-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.security-graphic {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--radius-xl);
    z-index: 1;
}

.shield-icon svg {
    width: 60px;
    height: 60px;
    stroke: white;
}

.orbit {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    animation: orbit 20s linear infinite;
}

.orbit-1 {
    width: 180px;
    height: 180px;
}

.orbit-2 {
    width: 240px;
    height: 240px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 300px;
    height: 300px;
    animation-duration: 30s;
}

.orbit-dot {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

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

/* =====================================================
   CTA Section
   ===================================================== */

.cta-section {
    background: var(--bg-primary);
    padding: var(--space-5xl) 0;
}

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

.cta-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.cta-content > p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

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

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

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

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

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

.footer-brand p {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    line-height: var(--line-height-relaxed);
}

.footer-col h4 {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

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

.footer-col a {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

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

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

.footer-bottom p {
    font-size: var(--font-size-xs);
    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;
    color: var(--text-tertiary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

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

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

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

    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 48px;
        --font-size-4xl: 40px;
        --font-size-3xl: 32px;
        --font-size-2xl: 28px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        margin-top: var(--space-2xl);
    }

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

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

    .step-connector {
        width: 2px;
        height: 40px;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

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

    .trust-content {
        flex-direction: column;
        text-align: center;
    }

    .trust-list {
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: var(--space-3xl) 0;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .stat-cards {
        flex-direction: column;
    }

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

    .footer-brand {
        grid-column: span 1;
    }
}

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

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: var(--z-modal);
    padding: var(--space-xl);
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
}

/* =====================================================
   Utility Classes
   ===================================================== */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
