/* ===========================
   Global Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Clean Design System - Neutral Foundation */
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #E5E5E5;
    --neutral-300: #D4D4D4;
    --neutral-400: #A3A3A3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Accent Color - Manifestation Purple */
    --accent-50: #F5F3FF;
    --accent-100: #EDE9FE;
    --accent-200: #DDD6FE;
    --accent-300: #C4B5FD;
    --accent-400: #A78BFA;
    --accent-500: #8B5CF6;
    --accent-600: #7C3AED;
    --accent-700: #6D28D9;
    --accent-800: #5B21B6;
    --accent-900: #4C1D95;

    /* Brand Extensions */
    --brand-blue-primary: #2855ca;
    --brand-blue-dark: #1d3da3;
    --brand-cream: #fff9f1;
    --brand-emerald: #0f9d58;

    --color-success: #15803d;
    --color-warning: #f97316;
    --color-info: #2563eb;

    /* Semantic Tokens */
    --color-primary: var(--brand-blue-primary);
    --color-primary-hover: var(--brand-blue-dark);
    --color-text-primary: #050505;
    --color-text-secondary: #121212;
    --color-text-tertiary: #2c2c2c;
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: var(--neutral-50);
    --color-bg-tertiary: var(--neutral-100);
    --color-border-light: var(--neutral-200);
    --color-border-medium: var(--neutral-300);

    /* Legacy Support */
    --primary-color: var(--color-primary);
    --text-color: var(--color-text-primary);
    --text-light: var(--color-text-secondary);
    --border-color: var(--color-border-light);
    --bg-light: var(--color-bg-secondary);
    --white: var(--color-bg-primary);

    /* Elevation System */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow: var(--shadow-sm);
    --shadow-hover: var(--shadow-md);

    /* Spacing Scale (8px base) */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */

    /* Border Radius Scale */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-3xl: 2rem;
    /* 32px */
    /* Apple-inspired continuous corners */
    --radius-apple-s: 0.625rem;
    /* 10px */
    --radius-apple-m: 0.875rem;
    /* 14px */
    --radius-apple-l: 1.25rem;
    /* 20px */
    --radius-apple-xl: 1.75rem;
    /* 28px */
    --radius-apple-xxl: 2.25rem;
    /* 36px */
    --radius-full: 9999px;

    /* Typography Scale (1.25 ratio) */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography Tokens */
    --font-body: 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Outfit', 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-brand: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* State Feedback */
    --state-error-bg: #FEF2F2;
    --state-error-border: #FECACA;
    --state-error-text: #991B1B;
    --state-success-bg: #F0FDF4;
    --state-success-border: #BBF7D0;
    --state-success-text: #166534;

    /* Theme Surface Tokens */
    --page-gradient: linear-gradient(180deg, #D4F1F4 0%, #E0F7FA 20%, #F5E6D3 40%, #FFF5E1 60%, #FFD4D4 80%, #FFC0CB 100%);
    --content-section-backdrop: radial-gradient(circle at 20% 20%, rgba(40, 85, 202, 0.18), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(249, 115, 22, 0.12), transparent 45%),
        linear-gradient(135deg, #eef2ff 0%, #fef3f0 45%, #fff9ed 100%);
    --manifest-detail-backdrop: radial-gradient(circle at 10% 15%, rgba(130, 50, 50, 0.08), transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(40, 85, 202, 0.08), transparent 40%),
        linear-gradient(120deg, #fdf3ff 0%, #f4fbff 45%, #fff7ec 100%);
    --surface-glass: rgba(255, 255, 255, 0.95);
    --surface-glass-muted: rgba(255, 255, 255, 0.9);
    --surface-chip: rgba(255, 255, 255, 0.8);
    --surface-card: var(--color-bg-primary);
    --surface-card-alt: var(--color-bg-secondary);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-chip: rgba(0, 0, 0, 0.1);
    --accent-soft-bg: rgba(40, 85, 202, 0.12);
    --accent-soft-bg-strong: rgba(40, 85, 202, 0.18);
    --accent-soft-border: rgba(40, 85, 202, 0.25);
    --nav-active-bg: var(--accent-50);
    --tooltip-bg: rgba(28, 28, 28, 0.95);
    --tooltip-color: #ffffff;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: var(--page-gradient);
    background-attachment: fixed;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--text-base);
    color-scheme: light;
}

body.dark-theme {
    --color-primary: #7ba8ff;
    --color-primary-hover: #a5c4ff;
    --color-text-primary: #f4f7ff;
    --color-text-secondary: #c9d3e6;
    --color-text-tertiary: #9eadc6;
    --color-bg-primary: #070d18;
    --color-bg-secondary: #0c1524;
    --color-bg-tertiary: #111d31;
    --color-border-light: rgba(230, 236, 255, 0.16);
    --color-border-medium: rgba(230, 236, 255, 0.28);
    --primary-color: var(--color-primary);
    --text-color: var(--color-text-primary);
    --text-light: var(--color-text-secondary);
    --border-color: var(--color-border-light);
    --bg-light: var(--color-bg-secondary);
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.35);
    --surface-card: #0c1524;
    --surface-card-alt: #111d31;
    --surface-glass: rgba(7, 12, 22, 0.92);
    --surface-glass-muted: rgba(9, 15, 27, 0.9);
    --surface-chip: rgba(15, 24, 38, 0.86);
    --border-glass: rgba(123, 168, 255, 0.22);
    --border-chip: rgba(123, 168, 255, 0.18);
    --accent-soft-bg: rgba(123, 168, 255, 0.16);
    --accent-soft-bg-strong: rgba(123, 168, 255, 0.26);
    --accent-soft-border: rgba(123, 168, 255, 0.34);
    --nav-active-bg: rgba(123, 168, 255, 0.12);
    --tooltip-bg: rgba(5, 8, 16, 0.95);
    --tooltip-color: #e8eeff;
    --page-gradient: linear-gradient(180deg, #050914 0%, #0b1426 45%, #07101f 100%);
    --content-section-backdrop: radial-gradient(circle at 18% 20%, rgba(123, 168, 255, 0.24), transparent 55%),
        radial-gradient(circle at 82% 12%, rgba(247, 144, 67, 0.14), transparent 42%),
        linear-gradient(135deg, #081325 0%, #0d1a2f 45%, #07101d 100%);
    --manifest-detail-backdrop: radial-gradient(circle at 12% 18%, rgba(123, 168, 255, 0.22), transparent 50%),
        radial-gradient(circle at 85% 18%, rgba(247, 144, 67, 0.12), transparent 42%),
        linear-gradient(120deg, #050a15 0%, #0b1526 50%, #050912 100%);
    --state-error-bg: rgba(239, 68, 68, 0.16);
    --state-error-border: rgba(239, 68, 68, 0.36);
    --state-error-text: #FCA5A5;
    --state-success-bg: rgba(16, 185, 129, 0.14);
    --state-success-border: rgba(16, 185, 129, 0.36);
    --state-success-text: #CFF8E5;
    color: var(--color-text-primary);
    background: var(--page-gradient);
    background-attachment: fixed;
    color-scheme: dark;
}

body.menu-open {
    overflow: hidden;
}

.font-display {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

main {
    flex: 1;
    background: transparent;
}

/* ===========================
   Header Styles - Clean & Minimal
   =========================== */
.main-header {
    background: var(--surface-glass);
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.utility-bar {
    background: var(--surface-glass-muted);
    border-bottom: 1px solid var(--border-glass);
    font-size: var(--text-sm);
    overflow: hidden;
    max-width: 100vw;
}

.utility-content {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--space-3) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-ticker {
    display: flex;
    list-style: none;
    gap: var(--space-6);
    color: var(--color-text-tertiary);
    animation: tickerScroll 30s linear infinite;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
}

.banner-item .material-icons {
    font-size: 18px;
    color: var(--color-primary);
}

.header-shell {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--space-5) var(--space-8);
}

.mobile-header-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.mobile-brand {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    width: 100%;
}

.brand-cluster {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-shrink: 0;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-base);
}

.logo-link:hover {
    opacity: 0.8;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    background: var(--surface-card);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.brand-title {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.brand-subtitle {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
}

.support-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--surface-chip);
    border: 1px solid var(--border-chip);
    transition: all var(--transition-base);
}

.support-chip:hover {
    background: var(--color-bg-tertiary);
    box-shadow: var(--shadow-sm);
}

.support-chip .material-icons {
    font-size: 18px;
    color: var(--color-primary);
}

.support-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.support-copy p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.support-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

.main-nav li {
    display: flex;
}

.main-nav a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-base);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    position: relative;
    transition: all var(--transition-fast);
}

.main-nav a:hover {
    color: var(--color-text-primary);
    background: var(--color-bg-secondary);
}

.main-nav a.active {
    color: var(--color-primary);
    background: var(--nav-active-bg);
}

.action-cluster {
    display: flex;
    align-items: stretch;
    gap: var(--space-3);
    flex-shrink: 0;
}

.action-cluster > * {
    display: flex;
    align-items: center;
}

.action-cluster .btn,
.action-cluster .btn-login,
.action-cluster .btn-logout,
.action-cluster .user-badge,
.action-cluster .theme-toggle {
    min-height: 40px;
}

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

.nav-ctas .btn {
    display: flex;
    align-items: center;
}

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

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

.auth-menu {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 90px;
    min-height: 46px;
    justify-content: flex-end;
}

.auth-controls {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 360px;
    justify-content: flex-end;
}

.theme-toggle {
    border: 1px solid var(--color-border-medium);
    background: var(--surface-card);
    color: var(--color-text-primary);
    border-radius: var(--radius-full);
    padding: var(--space-2);
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--surface-card-alt);
    border-color: var(--color-border-light);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.theme-toggle__icon {
    font-size: 20px;
    line-height: 1;
}
.header-menu-button {
    flex-shrink: 0;
}


.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.user-badge {
    background: var(--color-bg-secondary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
}

.auth-buttons {
    display: flex;
    gap: var(--space-2);
}

.btn-login,
.btn-register {
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

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

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

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

.btn-register:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-logout {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    padding: var(--space-2) var(--space-5);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.btn-logout:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-border-medium);
}

.menu-button {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.menu-button:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-border-medium);
}

.material-icons {
    font-size: 20px;
    color: var(--color-text-secondary);
}

/* ===========================
   Content Section
   =========================== */
.content-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: var(--space-12) 0;
    padding: var(--space-12) var(--space-8);
    border-radius: 0;
    background:
        radial-gradient(120% 90% at 18% 78%, rgba(126, 150, 255, 0.03), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fdfdff 38%, #fafbff 70%, #f8f9fd 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.05);
}

body.dark-theme .content-section {
    background: linear-gradient(135deg, #0a0e1a 0%, #0e1424 45%, #0c1322 75%, #0b101c 100%);
    border-color: var(--border-glass);
}

.content-section::before,
.content-section::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.4;
    pointer-events: none;
}

.content-section::before {
    width: 320px;
    height: 320px;
    background: rgba(40, 85, 202, 0.22);
    top: -80px;
    left: -120px;
}

.content-section::after {
    width: 280px;
    height: 280px;
    background: rgba(247, 144, 67, 0.22);
    bottom: -120px;
    right: -80px;
}

.content-section__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 520px);
    gap: var(--space-12);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.content-section__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: #e7ecff;
    color: #3f63d8;
    border-radius: var(--radius-full);
    border: 1px solid rgba(63, 99, 216, 0.28);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    box-shadow: var(--shadow-sm);
}

body.dark-theme .content-section__badge {
    background: rgba(15, 24, 38, 0.86);
    color: var(--color-primary);
}

.content-section__title {
    font-size: clamp(2.3rem, 2vw + 1.2rem, 3rem);
    line-height: 1.1;
    max-width: 700px;
    color: #0a0a0f;
}

.content-section__title-accent {
    display: inline-block;
    background: linear-gradient(120deg, #1e4bff 0%, #6b4dff 45%, #8f3ffc 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.content-section__lead {
    max-width: 760px;
    color: #1f2430;
    font-size: 1.05rem;
    line-height: 1.7;
}

.content-section__list {
    list-style: none;
    display: grid;
    gap: var(--space-3);
    padding-left: 0;
    margin: var(--space-4) 0 var(--space-5);
}

.content-section__list li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    color: #0f1117;
    font-size: 1rem;
}

.content-section__list-text {
    color: var(--color-text-primary);
}

.content-section__icon {
    color: var(--color-success);
    background: rgba(15, 128, 61, 0.08);
    border: 1px solid rgba(15, 128, 61, 0.18);
    border-radius: var(--radius-full);
    padding: 6px;
    font-size: 18px;
}

body.dark-theme .content-section__icon {
    color: #a5f3c6;
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.32);
}

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

.content-section__cta {
    background: linear-gradient(115deg, #1f63f2 0%, #4659ff 45%, #7c48ff 100%);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(70, 89, 255, 0.36);
    border: 1px solid rgba(70, 89, 255, 0.4);
    padding: 12px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 14px;
}

.content-section__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(87, 97, 255, 0.45);
}

.content-section__cta .material-icons {
    color: #ffffff;
    font-size: 18px;
}

.content-section__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.content-section__device {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.dark-theme .content-section__device {
    background: #0f1523;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.content-section__device-top {
    height: 128px;
    background:
        radial-gradient(circle at 12% 30%, rgba(148, 124, 255, 0.24) 8px, transparent 0),
        radial-gradient(circle at 32% 65%, rgba(165, 194, 255, 0.26) 6px, transparent 0),
        radial-gradient(circle at 65% 40%, rgba(152, 142, 255, 0.26) 8px, transparent 0),
        radial-gradient(#d3d3db 2px, transparent 2px) 0 0/26px 26px,
        radial-gradient(#d3d3db 2px, transparent 2px) 13px 13px/26px 26px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.dark-theme .content-section__device-top {
    background:
        radial-gradient(circle at 12% 30%, rgba(123, 168, 255, 0.2) 8px, transparent 0),
        radial-gradient(circle at 32% 65%, rgba(247, 144, 67, 0.18) 6px, transparent 0),
        radial-gradient(circle at 65% 40%, rgba(148, 124, 255, 0.24) 8px, transparent 0),
        radial-gradient(#1d2638 2px, transparent 2px) 0 0/28px 28px,
        radial-gradient(#1d2638 2px, transparent 2px) 14px 14px/28px 28px;
    border-color: rgba(255, 255, 255, 0.05);
}

.content-section__device-screen {
    position: relative;
    background: linear-gradient(180deg, #f4f6fb 0%, #f7f8fc 35%, #f3f5fa 70%, #eef0f6 100%);
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    padding: var(--space-8);
    overflow: hidden;
}

body.dark-theme .content-section__device-screen {
    background: linear-gradient(180deg, #0f1523 0%, #0c1220 45%, #0b101c 100%);
}

.content-section__device-bar {
    width: 100%;
    height: 80px;
    background: #050505;
    border-radius: 26px;
    box-shadow: inset 0 12px 22px rgba(0, 0, 0, 0.3);
}

body.dark-theme .content-section__device-bar {
    background: #0a0e18;
    box-shadow: inset 0 12px 22px rgba(0, 0, 0, 0.6);
}

.content-section__icon-card {
    position: absolute;
    top: var(--space-5);
    right: var(--space-5);
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

body.dark-theme .content-section__icon-card {
    background: rgba(13, 19, 33, 0.95);
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
}

.content-section__icon-card .material-icons {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
    border-radius: var(--radius-full);
    padding: 8px;
    font-size: 22px;
}

.content-section__icon-card p {
    font-weight: 700;
    color: var(--color-text-primary);
    font-size: var(--text-sm);
}

.content-section__icon-card small {
    display: block;
    color: var(--color-text-tertiary);
    font-size: var(--text-xs);
}

/* ===========================
   Content Stats Strip
   =========================== */
.content-stats {
    position: relative;
    margin: var(--space-10) 0 var(--space-8);
    padding: var(--space-6) var(--space-8);
    background: linear-gradient(135deg, #eef3ff 0%, #eaf0ff 35%, #e3ebff 65%, #e1e9ff 100%);
    border-radius: 20px;
    border: 1px solid rgba(99, 123, 255, 0.16);
    box-shadow: 0 16px 32px rgba(40, 85, 202, 0.12);
    overflow: hidden;
    color: #1c2440;
}

.content-stats__texture {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(63, 99, 216, 0.12) 1px, transparent 1px) 0 0/26px 26px,
        radial-gradient(circle, rgba(99, 123, 255, 0.09) 1px, transparent 1px) 13px 13px/26px 26px;
    opacity: 0.35;
    pointer-events: none;
}

.content-stats__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: center;
}

.content-stats__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.content-stats__value {
    font-size: clamp(1.8rem, 1vw + 1.2rem, 2.2rem);
    font-weight: 800;
    color: #4f6cff;
    letter-spacing: 0.01em;
}

.content-stats__label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.8rem;
    color: rgba(28, 36, 64, 0.65);
}

.content-stats__item--live {
    gap: var(--space-2);
}

.content-stats__live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
    margin: 0 auto;
}

/* ===========================
   CTA Hero
   =========================== */
.cta-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 6vw, 6rem) clamp(1.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, #3c7bff 0%, #5867ff 40%, #7f54ff 70%, #9a4ef3 100%);
    color: #f7fbff;
    text-align: center;
}

.cta-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 14px, transparent 14px, transparent 28px);
    opacity: 0.6;
    pointer-events: none;
}

.cta-hero::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.12), transparent 45%);
    opacity: 0.8;
    pointer-events: none;
}

.cta-hero__content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.cta-hero h2 {
    font-size: clamp(2rem, 3vw + 1rem, 2.6rem);
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
}

.cta-hero p {
    font-size: 1rem;
    color: rgba(247, 251, 255, 0.92);
}

.cta-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-2);
    padding: 14px 22px;
    background: #f7fbff;
    color: #1f63f2;
    font-weight: 800;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-hero__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-hero__btn .material-icons {
    font-size: 18px;
    color: inherit;
}

/* ===========================
   Footer Styles - Clean & Minimal
   =========================== */
.footer-meta {
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
    gap: var(--space-6);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.stat-card {
    background: linear-gradient(135deg, var(--accent-50) 0%, var(--surface-card) 100%);
    color: var(--color-text-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

body.dark-theme .stat-card {
    background: linear-gradient(135deg, rgba(123, 168, 255, 0.45) 0%, rgba(11, 21, 38, 0.95) 100%);
    border-color: var(--color-border-medium);
}

.stat-label {
    text-transform: uppercase;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-tertiary);
}

.stat-value {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin: var(--space-2) 0;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.stat-helper {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.quick-actions__intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.quick-actions__title {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text-primary);
}

.quick-actions__description {
    color: var(--color-text-tertiary);
    font-size: var(--text-sm);
}

.quick-actions__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-3);
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-medium);
}

.quick-action-icon {
    background: var(--accent-soft-bg);
    color: var(--color-primary);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    font-size: 20px;
    border: 1px solid var(--accent-soft-border);
    flex-shrink: 0;
}

.quick-action-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.quick-action-title {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text-primary);
}

.quick-action-desc {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    line-height: 1.4;
}

.quick-action-caret {
    margin-left: auto;
    color: var(--color-text-tertiary);
    font-size: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.quick-action-card:hover .quick-action-caret {
    transform: translate(2px, -2px);
}

.main-footer {
    background: var(--surface-glass);
    color: var(--color-text-primary);
    margin-top: 0;
    border-top: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--space-12) var(--space-8) var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(320px, 1.2fr) repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-10);
    margin-bottom: var(--space-8);
    background: linear-gradient(180deg, rgba(40, 85, 202, 0.08) 0%, rgba(40, 85, 202, 0.02) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
}

.footer-section h3 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-section h4 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer-section p {
    color: var(--color-text-tertiary);
    font-size: var(--text-base);
    line-height: 1.7;
    max-width: 360px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 0;
}

.footer-section a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--text-base);
    font-weight: 500;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

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

.footer-socials {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.footer-social {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--surface-glass-muted);
    color: var(--color-primary);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.footer-social:hover {
    transform: translateY(-2px);
    background: var(--accent-soft-bg);
    border-color: var(--accent-soft-border);
    box-shadow: var(--shadow-md);
    color: var(--color-primary-hover);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border-light);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.footer-bottom a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===========================
   Common Button Styles - Design System
   =========================== */
.btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    white-space: nowrap;
    font-family: var(--font-brand);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active:not(:disabled) {
    background: var(--color-primary-hover);
    transform: translateY(0);
}

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

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

/* ===========================
   Lockable Button Loading State
   =========================== */
.lockable-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2, 0.5rem);
    --lock-spinner-base: rgba(255, 255, 255, 0.35);
    --lock-spinner-highlight: rgba(255, 255, 255, 0.9);
}

.lockable-button.is-locking {
    cursor: wait;
}

.lockable-button__spinner {
    display: none;
}

.lockable-button__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1, 0.25rem);
}

.lockable-button__spinner {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    border: 2px solid var(--lock-spinner-base);
    border-top-color: var(--lock-spinner-highlight);
    box-sizing: border-box;
}

.lockable-button.is-locking .lockable-button__spinner {
    display: inline-flex;
}

.lockable-button.is-locking .lockable-button__spinner {
    animation: lockable-spin 0.9s linear infinite;
}

.lockable-button--dark {
    --lock-spinner-base: rgba(15, 23, 42, 0.25);
    --lock-spinner-highlight: rgba(15, 23, 42, 0.85);
}

@keyframes lockable-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   Form Styles - Clean Design
   =========================== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
    color: var(--color-text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-family: inherit;
    color: var(--color-text-primary);
    background: var(--surface-card);
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--accent-100);
}

.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
    background: var(--color-bg-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ===========================
   Utility Classes
   =========================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-6);
}

.card {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

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

.spinner-small {
    border: 2px solid var(--color-border-light);
    border-top: 2px solid var(--color-primary);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===========================
   Global Skeleton Loading System
   Premium shimmer effect with accessibility support
   =========================== */

/* Base Skeleton Element */
.skeleton {
    background: linear-gradient(90deg,
            var(--neutral-100) 25%,
            var(--neutral-200) 50%,
            var(--neutral-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

body.dark-theme .skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Skeleton Variants */
.skeleton-card {
    height: 180px;
    border-radius: var(--radius-2xl);
}

.skeleton-card--sm {
    height: 120px;
    border-radius: var(--radius-xl);
}

.skeleton-card--lg {
    height: 280px;
    border-radius: var(--radius-2xl);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
}

.skeleton-text--sm {
    height: 0.75rem;
}

.skeleton-text--lg {
    height: 1.5rem;
}

.skeleton-text--short {
    width: 60%;
}

.skeleton-text--medium {
    width: 80%;
}

.skeleton-title {
    height: 1.75rem;
    width: 70%;
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.skeleton-avatar--sm {
    width: 32px;
    height: 32px;
}

.skeleton-avatar--lg {
    width: 80px;
    height: 80px;
}

.skeleton-button {
    height: 44px;
    width: 120px;
    border-radius: var(--radius-full);
}

/* Auth menu skeleton - layout shift önleme */
.auth-menu-skeleton {
    display: flex;
    align-items: center;
}

.skeleton-fade-out {
    opacity: 0;
    transition: opacity 150ms ease-out;
}

.skeleton-badge {
    height: 24px;
    width: 80px;
    border-radius: var(--radius-full);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-xl);
}

.skeleton-circle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
}

/* Skeleton Grid Layouts */
.skeleton-grid {
    display: grid;
    gap: var(--space-4);
}

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

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

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

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

/* Skeleton Fade In/Out Animations */
.skeleton-container {
    animation: skeleton-fade-in 0.3s ease-out;
}

@keyframes skeleton-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.skeleton-container.is-loaded {
    animation: skeleton-fade-out 0.4s ease-out forwards;
}

@keyframes skeleton-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        display: none;
    }
}

/* Content reveal animation after skeleton */
.content-loaded {
    animation: content-reveal 0.4s ease-out forwards;
}

@keyframes content-reveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skeleton Loading State for Containers */
.is-skeleton-loading {
    pointer-events: none;
    user-select: none;
}

.is-skeleton-loading > *:not(.skeleton):not(.skeleton-container) {
    visibility: hidden;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .skeleton {
        animation: none;
        background: var(--neutral-200);
    }

    body.dark-theme .skeleton {
        background: rgba(255, 255, 255, 0.08);
    }

    .skeleton-container,
    .skeleton-container.is-loaded,
    .content-loaded {
        animation: none;
    }
}

/* ===========================
   Responsive Design - Mobile First
   =========================== */
@media (min-width: 1280px) {
    .footer-content {
        gap: var(--space-12);
        padding: var(--space-10);
    }
}

/* xxl breakpoint - 1400px */
@media (max-width: 1399.98px) {
    .primary-nav {
        gap: var(--space-5);
    }

    .main-nav a {
        padding: var(--space-2) var(--space-3);
    }
}

/* xl breakpoint - 1200px */
@media (max-width: 1200px) {

    .primary-nav {
        gap: var(--space-4);
    }

    .main-nav a {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }

    .nav-ctas .btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }

    .auth-controls {
        min-width: auto;
    }

    .user-badge {
        display: none;
    }
}

/* lg breakpoint - 992px: Mobile menu */
@media (max-width: 991.98px) {
    .primary-nav {
        display: none;
    }

    .mobile-header-bar {
        display: flex;
    }

    .primary-nav.is-open {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-5) var(--space-4);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-2xl);
        background: var(--surface-card);
        box-shadow: var(--shadow-sm);
    }

    .primary-nav.is-open .brand-cluster {
        width: 100%;
        flex-wrap: wrap;
    }

    .primary-nav.is-open .main-nav {
        width: 100%;
        flex-direction: column;
        gap: var(--space-2);
    }

    .primary-nav.is-open .main-nav a {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .primary-nav.is-open .action-cluster {
        width: 100%;
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }

    .primary-nav.is-open .nav-ctas {
        width: 100%;
        flex-direction: column;
        gap: var(--space-2);
    }

    .primary-nav.is-open .nav-ctas .btn {
        width: 100%;
    }

    .auth-controls {
        min-width: auto;
    }

    .primary-nav.is-open .auth-controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .primary-nav.is-open .auth-menu {
        width: 100%;
        justify-content: center;
    }

    .header-menu-button {
        display: none;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
        padding: var(--space-6);
    }
}

@media (max-width: 768px) {
    .btn,
    .content-section__actions .btn,
    .nav-ctas .btn {
        min-height: 48px;
    }

    .nav-ctas .btn {
        justify-content: center;
    }

    .content-section {
        margin: var(--space-8) 0;
        padding: var(--space-8) var(--space-5);
    }

    .content-section__shell {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .content-section__visual {
        order: -1;
    }

    .content-section__title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }

    .content-section__lead {
        font-size: var(--text-sm);
    }

    .content-section__actions {
        width: 100%;
    }

    .content-section__device {
        max-width: 100%;
    }

    .content-stats {
        margin: var(--space-6) 0 var(--space-6);
        padding: var(--space-5) var(--space-4);
        border-radius: 16px;
    }

    .content-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-5);
    }

    .content-stats__value {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
    }

    .cta-hero {
        padding: var(--space-8) var(--space-5);
    }

    .cta-hero h2 {
        font-size: clamp(1.8rem, 5vw + 1rem, 2.3rem);
    }

    .main-header {
        position: static;
        top: auto;
        z-index: auto;
    }

    :root {
        --text-base: 0.9375rem;
        /* 15px */
        --text-lg: 1.0625rem;
        /* 17px */
        --text-xl: 1.1875rem;
        /* 19px */
        --text-2xl: 1.375rem;
        /* 22px */
    }

    .utility-content {
        padding: var(--space-2) var(--space-4);
    }

    .banner-ticker {
        gap: var(--space-4);
        justify-content: center;
        animation: none;
        flex-wrap: wrap;
        white-space: normal;
    }

    .banner-item {
        white-space: nowrap;
    }

    .utility-content {
        overflow: hidden;
    }

    .header-shell {
        padding: var(--space-3) var(--space-4);
    }

    .mobile-header-bar {
        display: flex;
        min-height: 60px;
        background: var(--surface-glass);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-2xl);
        padding: var(--space-4);
    }

    .mobile-header-bar .brand-mark {
        width: 44px;
        height: 44px;
    }

    .primary-nav {
        display: none;
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-5) var(--space-4);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-2xl);
        background: var(--surface-card);
        box-shadow: var(--shadow-sm);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .brand-cluster {
        width: 100%;
        flex-wrap: wrap;
    }

    .support-chip {
        width: 100%;
        justify-content: center;
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
        gap: var(--space-2);
    }

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

    .main-nav a {
        width: 100%;
        justify-content: center;
    }

    .action-cluster {
        width: 100%;
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }

    .nav-ctas {
        width: 100%;
        flex-direction: column;
        gap: var(--space-2);
    }

    .nav-ctas .btn {
        width: 100%;
    }

    .auth-controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-3);
    }

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

    .header-menu-button {
        width: 100%;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
        padding: var(--space-6) var(--space-4);
    }

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

    .footer-section a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .quick-actions__list {
        grid-template-columns: 1fr;
    }

    .quick-action-card {
        min-height: 72px;
    }

    .main-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .footer-section ul {
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .content-stats__grid {
        grid-template-columns: 1fr;
    }

    .cta-hero__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-base: 0.75rem;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-title {
        font-size: var(--text-base);
    }

    .brand-subtitle {
        font-size: var(--text-xs);
    }

    .footer-content {
        padding: var(--space-5) var(--space-3);
    }

    .footer-section h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 375px) {
    :root {
        --text-base: 0.875rem;
        --text-sm: 0.8125rem;
    }

    .header-shell {
        padding: var(--space-2) var(--space-3);
    }

    .mobile-header-bar {
        padding: var(--space-3);
    }

    .footer-section h4 {
        font-size: 0.8125rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .quick-action-card:hover,
    .footer-section a:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }

    .quick-action-card:active {
        transform: scale(0.98);
        background: var(--surface-glass-muted);
    }

    .footer-social {
        width: 48px;
        height: 48px;
    }
}

/* ===========================
   Accessibility & Motion
   =========================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .banner-ticker {
        animation: none;
    }

    .feature-card:hover,
    .quick-action-card:hover {
        transform: none;
    }
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-border-light: var(--neutral-400);
        --color-border-medium: var(--neutral-500);
    }

    .btn {
        border: 2px solid currentColor;
    }

    .footer-social {
        border-width: 2px;
    }
}

/* Dark Mode Preparation - placeholder for future dark mode variables */

/* Print Styles */
@media print {

    .main-header,
    .main-footer,
    .nav-ctas,
    .action-cluster {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

