/* ============================================
   MIXLAR MIX - Framer-Style Landing Page
   ============================================ */

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

:root {
    /* Default: warm cream theme (matches main site) */
    --bg: #F2EDE5;
    --bg-elevated: #E8E2D8;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --border: #D5CFC4;
    --border-hover: #C2BBB0;
    --text: #1B1916;
    --text-primary: #1B1916;
    --text-muted: #8C8478;
    --text-dim: #A9A196;
    --accent: #D42B2B;
    --accent-light: #e8503a;
    --accent-dark: #B02222;
    --accent-glow: rgba(212, 43, 43, 0.2);
    --primary: #D42B2B;
    --secondary: #B02222;
    --gradient-1: linear-gradient(135deg, #D42B2B 0%, #B02222 100%);
    --gradient-2: linear-gradient(135deg, #e8503a 0%, #D42B2B 100%);
    --gradient-3: linear-gradient(135deg, #B02222 0%, #E8E2D8 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Variable aliases */
    --bg-primary: #F2EDE5;
    --bg-secondary: #E8E2D8;
    --card-bg: rgba(0, 0, 0, 0.03);
    --border-color: #D5CFC4;
    --text-secondary: #8C8478;
    --text-tertiary: #A9A196;
    --primary-dark: #B02222;
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;
    --shadow-lg: 0 10px 25px rgba(27, 25, 22, 0.1);

    /* New nav/footer layout vars */
    --clr-bg:          #F2EDE5;
    --clr-bg-card:     #E8E2D8;
    --clr-bg-dark:     #131110;
    --clr-text:        #1B1916;
    --clr-text-muted:  #8C8478;
    --clr-red:         #D42B2B;
    --clr-border:      #D5CFC4;
    --font-logo:       'Inter', 'Arial Black', 'Helvetica Neue', sans-serif;
    --font-body:       'Inter', system-ui, -apple-system, sans-serif;
    --container-max:   85%;
    --nav-h:           52px;
    --banner-h:        36px;
    --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
    --bg: #000000;
    --bg-elevated: #0e1017;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --text-primary: #ffffff;
    --text-muted: #9ca0ab;
    --text-dim: #636878;
    --accent: #e8503a;
    --accent-light: #ff6b52;
    --accent-dark: #c43a26;
    --accent-glow: rgba(232, 80, 58, 0.3);
    --primary: #e8503a;
    --secondary: #c43a26;
    --gradient-1: linear-gradient(135deg, #e8503a 0%, #c43a26 100%);
    --gradient-2: linear-gradient(135deg, #ff6b52 0%, #e8503a 100%);
    --gradient-3: linear-gradient(135deg, #c43a26 0%, #1d1e20 100%);

    /* Variable aliases */
    --bg-primary: #000000;
    --bg-secondary: #0e1017;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.06);
    --text-secondary: #9ca0ab;
    --text-tertiary: #636878;
    --primary-dark: #c43a26;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ---------- Default (warm) navbar ---------- */
.navbar {
    background: rgba(242, 237, 229, 0.95);
    border-bottom: 1px solid #D5CFC4;
}

.navbar.scrolled {
    background: rgba(242, 237, 229, 0.97);
}

.nav-links a {
    color: #8C8478;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1B1916;
}

.nav-logo {
    color: #1B1916;
}

.navbar.menu-open {
    background: rgba(242, 237, 229, 0.98);
}

.navbar.menu-open .nav-links a {
    color: #1B1916 !important;
}

.navbar.menu-open .nav-links a:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #D42B2B !important;
}

.footer-socials a {
    background: rgba(0, 0, 0, 0.04);
}

/* Default warm gradient text */
.hero h1 {
    background: linear-gradient(160deg, #B02222 0%, #D42B2B 40%, #e8503a 70%, #ff6b52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #7a1f0e 0%, #B02222 40%, #D42B2B 70%, #e8503a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan-section .slogan-text {
    background: linear-gradient(135deg, #7a1f0e 0%, #B02222 40%, #D42B2B 70%, #e8503a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* ---------- Dark mode overrides ---------- */
[data-theme="dark"] .navbar {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

[data-theme="dark"] .nav-links a {
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
    color: #ffffff;
}

[data-theme="dark"] .nav-logo {
    color: #ffffff;
}

[data-theme="dark"] .navbar.menu-open {
    background: rgba(0, 0, 0, 0.98);
}

[data-theme="dark"] .navbar.menu-open .nav-links a {
    color: #ffffff !important;
}

[data-theme="dark"] .navbar.menu-open .nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #e8503a !important;
}

[data-theme="dark"] .footer-socials a {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hero h1 {
    background: linear-gradient(160deg, #ffffff 0%, #e8503a 50%, #c43a26 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e8503a 50%, #c43a26 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .slogan-section .slogan-text {
    background: linear-gradient(135deg, #ffffff 0%, #e8503a 50%, #c43a26 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #000000;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    transition: background 0.4s ease, color 0.4s ease;
}

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

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

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 800px;
}

.container-lg {
    max-width: 1400px;
}

.section {
    padding: 140px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.section > .container {
    width: 100%;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: linear-gradient(135deg, #ff9980 0%, #ff6b52 25%, #e8503a 55%, #c43a26 80%, #9e2a19 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }
.reveal-delay-5 { transition-delay: 0.75s; }
.reveal-delay-6 { transition-delay: 0.9s; }

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-gradient {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-icon {
    font-size: 1.1em;
}

/* ---------- Announcement Banner ---------- */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 28px;
    background: var(--accent);
    display: flex;
    align-items: center;
}

.announcement-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.announcement-bar__tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    padding: 2px 8px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    padding: 0.1rem 0.55rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.announcement-bar__text {
    font-size: 0.78rem;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.announcement-bar__text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.announcement-bar__text a:hover {
    opacity: 0.85;
}

.announcement-bar__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.announcement-bar__link {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.announcement-bar__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}


/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.navbar .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo {
    font-family: 'Cy Grotesk Wide', 'Arial Black', 'Helvetica Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1;
    user-select: none;
}

.nav-logo .logo-dot {
    color: #D42B2B;
}

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

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
    transition: font-size 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.nav-links a:hover {
    font-size: 1rem;
    color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
    font-size: 0.8125rem;
}

.nav-links a.active:hover {
    font-size: 0.8125rem;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-auth-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.2s ease;
}

.nav-auth-link:hover {
    color: #ffffff;
}

.nav-auth-link i {
    font-size: 0.8rem;
}

.mobile-only,
.mobile-menu-divider {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--text);
    background: var(--bg-card-hover);
    transform: rotate(15deg) scale(1.1);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: min(100vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-orb {
    display: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: #c43a26;
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: #e8503a;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero-grid {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out 1s both;
    background: linear-gradient(160deg, #ffffff 0%, #ffddd6 30%, #ff9980 55%, #e8503a 75%, #c43a26 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Statement Slogan Section ---------- */
.slogan-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.slogan-section .slogan-text {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ff9980 0%, #ff6b52 20%, #e8503a 50%, #c43a26 75%, #9e2a19 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan-section .slogan-sub {
    margin-top: 12px;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* Alt+Tab key animation */
.alt-tab-keys {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.key-cap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 64px;
    height: 58px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--bg-elevated, #1a1a1e);
    border: 1px solid var(--border);
    box-shadow: 0 4px 0 rgba(0,0,0,0.25), 0 6px 12px rgba(0,0,0,0.15);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
    transition: transform 0.1s, box-shadow 0.1s;
    position: relative;
}

.key-cap .key-icon {
    font-size: 0.7rem;
    opacity: 0.5;
}

.key-plus {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Alt key presses first */
.alt-key {
    animation: key-press-alt 3s ease-in-out infinite;
}

/* Tab key presses slightly after */
.tab-key {
    animation: key-press-tab 3s ease-in-out infinite;
}

@keyframes key-press-alt {
    0%, 100% { transform: translateY(0); box-shadow: 0 4px 0 rgba(0,0,0,0.25), 0 6px 12px rgba(0,0,0,0.15); }
    12% { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.15); }
    24% { transform: translateY(0); box-shadow: 0 4px 0 rgba(0,0,0,0.25), 0 6px 12px rgba(0,0,0,0.15); }
}

@keyframes key-press-tab {
    0%, 8%, 100% { transform: translateY(0); box-shadow: 0 4px 0 rgba(0,0,0,0.25), 0 6px 12px rgba(0,0,0,0.15); }
    20% { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.15); }
    32% { transform: translateY(0); box-shadow: 0 4px 0 rgba(0,0,0,0.25), 0 6px 12px rgba(0,0,0,0.15); }
    /* Second press */
    50% { transform: translateY(0); box-shadow: 0 4px 0 rgba(0,0,0,0.25), 0 6px 12px rgba(0,0,0,0.15); }
    58% { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.15); }
    66% { transform: translateY(0); box-shadow: 0 4px 0 rgba(0,0,0,0.25), 0 6px 12px rgba(0,0,0,0.15); }
}

.hero-slogan {
    display: none;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease-out 2s both;
}

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

.hero-image {
    position: relative;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
    perspective: 1000px;
}

.hero-image-wrapper {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    will-change: transform;
    transition: transform 0.1s linear;
}

.hero-product-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-product-still {
    position: absolute;
    inset: 0;
    width: 50%;
    height: 50%;
    margin: auto;
    transform: translate(25px, 15px);
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.2s ease, filter 1.2s ease;
}

.hero-product-still.visible {
    opacity: 1;
    filter: brightness(1.18) contrast(1.04);
}

.hero-image-glow {
    display: none;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 120px;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
}

/* Floating elements around hero image */
.hero-float {
    position: absolute;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    animation: float-card 6s ease-in-out infinite;
}

.hero-float-1 {
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.hero-float-2 {
    top: 40%;
    right: -80px;
    animation-delay: -2s;
}

.hero-float-3 {
    bottom: 15%;
    left: -40px;
    animation-delay: -4s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Marquee / Logos ---------- */
.marquee-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;

}

.marquee-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
    opacity: 0.5;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--text-muted);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Per-App Audio Control Section ---------- */
.audio-control-section {
    overflow: hidden;
}

.audio-demo {
    margin-top: 64px;
    padding: 60px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.audio-channels {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: flex-end;
}

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

.audio-fader-track {
    width: 8px;
    height: 200px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 100px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .audio-fader-track {
    background: rgba(255, 255, 255, 0.06);
}

.audio-fader-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--gradient-1);
    border-radius: 100px;
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.audio-fader-knob {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 12px;
    background: #fff;
    border-radius: 6px;
    transform: translate(-50%, 50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: bottom 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.audio-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.audio-channel:hover .audio-channel-icon {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(232, 80, 58, 0.08);
}

.audio-channel-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.audio-channel-pct {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-light);
    font-variant-numeric: tabular-nums;
}

.audio-tagline {
    text-align: center;
    max-width: 520px;
}

.audio-tagline p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 480px) {
    .audio-demo {
        padding: 40px 24px;
    }

    .audio-channels {
        gap: 28px;
    }

    .audio-fader-track {
        height: 150px;
    }
}

/* ---------- Features — Apple Bento ---------- */
.ft-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
    margin-top: 56px;
}

.ft-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.ft-card:hover {
    border-color: rgba(232, 80, 58, 0.25);
    transform: translateY(-3px);
}

.ft-hero { grid-column: span 2; }

.ft-card-visual {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.ft-hero .ft-card-visual { height: 300px; }

.ft-card-text {
    padding: 28px 28px 32px;
}

.ft-card-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.ft-card-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---- Home Assistant card ---- */
.ft-ha .ft-card-visual {
    background: linear-gradient(160deg, #071a12 0%, #040d08 100%);
}

.ft-ha-scene {
    display: flex;
    align-items: flex-end;
    gap: 32px;
}

.ft-ha-bulb {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5em;
    animation: ft-ha-glow 3s ease-in-out infinite alternate;
}

.ft-ha-bulb-1 { color: #fbbf24; animation-delay: 0s; }
.ft-ha-bulb-2 { color: #4ade80; animation-delay: 0.5s; }
.ft-ha-bulb-3 { color: #60a5fa; animation-delay: 1s; }

@keyframes ft-ha-glow {
    0%   { opacity: 0.35; filter: drop-shadow(0 0 6px transparent); }
    100% { opacity: 1; filter: drop-shadow(0 0 18px currentColor); }
}

.ft-ha-slider {
    width: 6px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    position: relative;
    margin-left: 8px;
}

.ft-ha-slider-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 65%;
    background: #4ade80;
    border-radius: 100px;
    animation: ft-slider-move 3s ease-in-out infinite alternate;
}

.ft-ha-slider-knob {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    left: 50%;
    bottom: 65%;
    transform: translate(-50%, 50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    animation: ft-knob-move 3s ease-in-out infinite alternate;
}

@keyframes ft-slider-move {
    from { height: 35%; }
    to   { height: 80%; }
}

@keyframes ft-knob-move {
    from { bottom: 35%; }
    to   { bottom: 80%; }
}

/* ---- Spotify card ---- */
.ft-sp .ft-card-visual {
    background: linear-gradient(160deg, #081a0c 0%, #040e06 100%);
}

.ft-sp-player {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    width: 100%;
    max-width: 340px;
}

.ft-sp-art {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1db954 0%, #0d4a22 100%);
    flex-shrink: 0;
    animation: ft-sp-pulse 4s ease-in-out infinite alternate;
}

@keyframes ft-sp-pulse {
    from { box-shadow: 0 0 0 0 rgba(29,185,84,0); }
    to   { box-shadow: 0 0 30px 6px rgba(29,185,84,0.25); }
}

.ft-sp-info { flex: 1; }

.ft-sp-track {
    width: 70%;
    height: 10px;
    background: rgba(255,255,255,0.25);
    border-radius: 100px;
    margin-bottom: 8px;
}

.ft-sp-artist {
    width: 45%;
    height: 8px;
    background: rgba(255,255,255,0.12);
    border-radius: 100px;
    margin-bottom: 16px;
}

.ft-sp-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    overflow: hidden;
}

.ft-sp-bar-fill {
    height: 100%;
    background: #1db954;
    border-radius: 100px;
    animation: sp-progress 10s linear infinite;
}

/* ---- OBS card ---- */
.ft-obs .ft-card-visual {
    background: linear-gradient(160deg, #0f0a1a 0%, #080510 100%);
    gap: 10px;
    flex-direction: column;
}

.ft-obs-scenes { display: flex; gap: 10px; }

.ft-obs-scene {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s;
}

.ft-obs-scene.active {
    background: rgba(232, 80, 58, 0.2);
    border-color: rgba(232, 80, 58, 0.4);
    color: #ff6b52;
    box-shadow: 0 0 20px rgba(232, 80, 58, 0.15);
}

/* ---- System Stats card ---- */
.ft-sys .ft-card-visual {
    background: linear-gradient(160deg, #100610 0%, #08040a 100%);
}

.ft-sys-gauges { display: flex; gap: 20px; align-items: center; }

.ft-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ft-gauge svg { width: 56px; height: 56px; transform: rotate(-90deg); }

.ft-gauge span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.ft-gauge-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 4; }
.ft-gauge-fill { fill: none; stroke-width: 4; stroke-linecap: round; }
.ft-gauge-cpu { stroke: var(--accent); stroke-dasharray: 72 113; }
.ft-gauge-gpu { stroke: #3b82f6; stroke-dasharray: 50 113; }
.ft-gauge-ram { stroke: #e8503a; stroke-dasharray: 85 113; }

/* ---- Macro card ---- */
.ft-macro .ft-card-visual {
    background: linear-gradient(160deg, #1a0f05 0%, #0d0804 100%);
}

.ft-macro-chain { display: flex; align-items: center; gap: 0; }

.ft-macro-node {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fb923c;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.ft-macro-line { width: 28px; height: 2px; background: rgba(249, 115, 22, 0.3); }

/* ---- Plugins card ---- */
.ft-plug .ft-card-visual {
    background: linear-gradient(160deg, #05101a 0%, #040810 100%);
}

.ft-plug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ft-plug-tile {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: border-color 0.3s, transform 0.3s;
}

.ft-card:hover .ft-plug-tile { border-color: rgba(59, 130, 246, 0.3); }

@media (max-width: 900px) {
    .ft-bento { grid-template-columns: repeat(2, 1fr); }
    .ft-hero { grid-column: span 2; }
}

@media (max-width: 540px) {
    .ft-bento { grid-template-columns: 1fr; }
    .ft-hero { grid-column: span 1; }
    .ft-card-visual { height: 200px; }
    .ft-hero .ft-card-visual { height: 220px; }
}

/* ---------- Showcase / Product Section ---------- */
.showcase {
    position: relative;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-text {
    max-width: 480px;
}

.showcase-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.showcase-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.showcase-features li .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ade80;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.showcase-image {
    position: relative;
    perspective: 800px;
}

.showcase-image-wrapper {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    will-change: transform;
}

.showcase-product-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}


/* ---------- MIDI Section ---------- */
.midi-section {
    overflow: hidden;
    background: var(--bg-elevated);
}

/* Split layout */
.midi-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.midi-split-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.midi-device-frame {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 5 / 3;
    background: linear-gradient(145deg, #e8e8f0 0%, #dedae8 50%, #dde2ed 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}

[data-theme="dark"] .midi-device-frame {
    background: linear-gradient(145deg, #0c0c14 0%, #14101e 50%, #0c1018 100%);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.midi-product-img {
    width: 80%;
    max-width: 360px;
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.25));
}

/* Right side text */
.midi-split-text {
    display: flex;
    flex-direction: column;
}

.midi-split-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Feature list */
.midi-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.midi-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.midi-feat-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 6px;
}

.midi-feature-list li strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 650;
    color: var(--text);
    margin-bottom: 3px;
}

.midi-feature-list li span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Platform row (inline) */
.midi-split-platforms {
    display: flex;
    align-items: center;
    gap: 12px;
}

.midi-split-platforms > span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.midi-platform-icons {
    display: flex;
    gap: 14px;
}

.midi-platform-icons i {
    font-size: 1.1rem;
    color: var(--text-dim);
    transition: color 0.3s;
}

.midi-platform-icons i:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .midi-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .midi-split-text .section-title {
        text-align: center !important;
    }

    .midi-split-desc {
        text-align: center;
    }

    .midi-split-platforms {
        justify-content: center;
    }

    .midi-split-text {
        align-items: center;
    }

    .midi-device-frame {
        max-width: 400px;
    }
}

/* ---------- Specs Section ---------- */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.spec-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.spec-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.spec-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---------- Full Spec Sheet ---------- */
.spec-sheet-section {
    background: var(--bg-elevated);
}

.spec-list {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.spec-list-item {
    display: flex;
    gap: 24px;
    padding: 24px 28px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.spec-list-label {
    flex-shrink: 0;
    width: 160px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    padding-top: 2px;
}

.spec-list-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.7;
}

@media (max-width: 600px) {
    .spec-list {
        grid-template-columns: 1fr;
        border-left: none;
    }

    .spec-list-item {
        flex-direction: column;
        gap: 6px;
        padding: 20px 0;
        border-right: none;
    }

    .spec-list-label {
        width: auto;
    }

    .spec-list-value {
        font-size: 0.9rem;
    }
}

/* ---------- How It Works ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--border), var(--accent));
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.step:hover .step-number {
    border-color: var(--accent);
    background: rgba(232, 80, 58, 0.1);
    transform: scale(1.05);
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* ---------- Integrations ---------- */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 60px;
}

.integration-card {
    aspect-ratio: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    cursor: default;
}

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

.integration-icon {
    font-size: 1.5em;
    opacity: 0.7;
}

.integration-name {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ---------- CTA Section ---------- */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box {
    padding: 80px 40px;
    background: linear-gradient(145deg, rgba(232, 80, 58, 0.08) 0%, rgba(196, 58, 38, 0.05) 100%);
    border: 1px solid rgba(232, 80, 58, 0.15);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(232, 80, 58, 0.05) 0%, transparent 50%);
    animation: rotate-slow 30s linear infinite;
}

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

.cta-box h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-box .btn {
    position: relative;
    z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--clr-bg-dark, #131110);
    padding: 5rem 2.5rem 3rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Override any navbar absolute positioning on the footer logo */
.footer .nav-logo {
    position: static;
    transform: none;
    left: auto;
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
    text-align: left;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

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

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

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    /* features grid handled by ft-bento responsive */

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

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

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

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .nav-actions .btn.btn-primary.btn-sm {
        display: none;
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        display: none;
    }

    .navbar {
        top: 0;
    }

    .section {
        padding: 80px 0;
    }

    .hero-product-still {
        transform: translate(20px, 15px);
    }

    /* When menu is open, expand the navbar itself to full screen */
    .navbar.menu-open {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar.menu-open .container {
        position: static;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .navbar.menu-open .nav-logo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar.menu-open .nav-actions {
        position: absolute;
        top: 16px;
        right: 24px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        list-style: none;
        margin: 0;
        padding: 0;
        position: static;
        transform: none;
        left: auto;
    }

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

    .nav-links a {
        font-size: 1.4rem !important;
        padding: 16px 32px;
        color: #fff !important;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 0.02em;
        border-radius: 12px;
        transition: background 0.2s;
    }

    .nav-links a:hover {
        font-size: 1.4rem !important;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-toggle {
        display: block;
        z-index: 10000;
        font-size: 1.6rem;
        padding: 0.5rem;
        position: relative;
        top: -2px;
    }

    .theme-toggle {
        font-size: 1.1rem;
        padding: 0.5rem;
    }

    .nav-actions {
        gap: 4px;
        align-items: center;
    }

    .nav-actions .btn,
    .nav-actions .nav-auth-link,
    .nav-actions .nav-dash-link {
        display: none;
    }

    .nav-links.active .mobile-only {
        display: list-item;
    }

    .nav-links.active .mobile-menu-divider {
        display: block;
        list-style: none;
        width: 60px;
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
        margin: 4px auto;
    }

    .nav-links .mobile-only a {
        font-size: 1.1rem !important;
        color: rgba(0, 0, 0, 0.4) !important;
    }

    .nav-links .mobile-only a:hover {
        color: #e8503a !important;
    }

    .navbar.menu-open .mobile-menu-divider {
        background: rgba(0, 0, 0, 0.12) !important;
    }

    [data-theme="dark"] .nav-links .mobile-only a {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    [data-theme="dark"] .nav-links .mobile-only a:hover {
        color: #fff !important;
    }

    [data-theme="dark"] .navbar.menu-open .mobile-menu-divider {
        background: rgba(255, 255, 255, 0.12) !important;
    }

    .navbar .container {
        position: relative;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-float {
        display: none;
    }

    /* features grid handled by ft-bento responsive */

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-text {
        max-width: 100%;
    }

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

    .bento-card-wide {
        grid-column: span 1;
    }

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

    .steps {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .steps::before {
        display: none;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .cta-box {
        padding: 48px 24px;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(232, 80, 58, 0.3);
    color: white;
}

/* ============================================================
   RENDER GALLERY  (Framer-style staggered parallax)
   ============================================================ */

.render-gallery-section {
    overflow: hidden;
}

.render-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 64px;
}

.render-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s;
}

.render-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.render-card:hover {
    border-color: rgba(232, 80, 58, 0.3);
}

.render-card:hover .render-card-inner img {
    transform: scale(1.04);
}

/* Hero card spans wider */
.render-card-hero {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
}

.render-card:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
}

.render-card:nth-child(3) {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
}

.render-card:nth-child(4) {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
}

.render-card:nth-child(5) {
    grid-column: 5 / 13;
    grid-row: 3 / 4;
}

.render-card-inner {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    min-height: 260px;
    background: linear-gradient(145deg, rgba(238, 238, 242, 0.8) 0%, rgba(232, 221, 229, 0.6) 100%);
}

[data-theme="dark"] .render-card-inner {
    background: linear-gradient(145deg, rgba(14, 16, 23, 0.8) 0%, rgba(22, 16, 32, 0.6) 100%);
}

.render-card-hero .render-card-inner {
    min-height: 440px;
}

.render-card-inner img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.render-label {
    position: absolute;
    bottom: 16px;
    left: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    padding: 6px 12px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
}

/* Stagger delays for gallery cards */
.render-card:nth-child(1) { transition-delay: 0s; }
.render-card:nth-child(2) { transition-delay: 0.12s; }
.render-card:nth-child(3) { transition-delay: 0.24s; }
.render-card:nth-child(4) { transition-delay: 0.36s; }
.render-card:nth-child(5) { transition-delay: 0.48s; }

@media (max-width: 768px) {
    .render-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .render-card-hero {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .render-card:nth-child(2),
    .render-card:nth-child(3),
    .render-card:nth-child(4),
    .render-card:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }

    .render-card-hero .render-card-inner {
        min-height: 280px;
    }

    .render-card-inner {
        min-height: 200px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .render-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   FRAMER-STYLE SCROLL TRANSFORMS
   ============================================================ */

/* Smooth scroll-driven parallax wrapper */
[data-scroll-parallax] {
    will-change: transform;
    transition: transform 0.08s linear;
}

/* Scroll-linked 3D tilt for images */
.scroll-tilt {
    will-change: transform;
    transform-style: preserve-3d;
}

/* ============================================================
   WIDGETS CAROUSEL  (Apple-style scroll-linked)
   ============================================================ */

/* Tall scroll container — page scrolling through this drives the carousel */
.wc-scroll-root {
    display: contents;
}

.widgets-section.wc-sticky {
    padding: 140px 0;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Header: title left, dots right */
.wc-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
    flex-shrink: 0;
}

.wc-header-text .section-title {
    margin-bottom: 10px;
    text-align: left;
}

.wc-header-text .section-subtitle {
    text-align: left;
    margin: 0;
    max-width: 440px;
}

/* Dots below carousel */

/* Track wrapper clips cards that slide off-screen */
.wc-outer {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
    flex-shrink: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    /* hide scrollbar */
    scrollbar-width: none;
}
.wc-outer::-webkit-scrollbar {
    display: none;
}

/* Flex row of cards */
.wc-track {
    display: flex;
    gap: 28px;
    padding: 16px 0 20px;
    cursor: grab;
    user-select: none;
}

.wc-track:active {
    cursor: grabbing;
}

/* Individual card */
.wc-card {
    flex-shrink: 0;
    width: min(420px, 75vw);
    scroll-snap-align: start;
    height: 480px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.wc-card:hover {
    border-color: rgba(232, 80, 58, 0.3);
}

/* Visual area — top */
.wc-visual {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Text area — bottom */
.wc-body {
    padding: 22px 24px 24px;
    flex: 1;
    overflow: hidden;
}

.wc-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.wc-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Desk Buddy ---------- */
.wc-buddy .wc-visual {
    background: linear-gradient(160deg, #160a10 0%, #0a0006 100%);
}

.buddy-face {
    display: flex;
    gap: 24px;
    align-items: center;
}

.buddy-eye {
    width: 44px;
    height: 62px;
    background: #fff;
    border-radius: 50%;
    animation: buddy-blink 4s ease-in-out infinite;
}

.buddy-eye-right { animation-delay: 0.08s; }

@keyframes buddy-blink {
    0%, 88%, 100% { transform: scaleY(1); }
    92% { transform: scaleY(0.06); }
}

.buddy-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.buddy-modes span {
    font-size: 0.71rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* ---------- Spotify Widget ---------- */
.wc-spotify .wc-visual {
    background: linear-gradient(160deg, #0a1a0d 0%, #040d06 100%);
    flex-direction: column;
    gap: 0;
    padding: 28px 36px 26px;
    justify-content: center;
}

.wc-spotify:hover {
    border-color: rgba(29,185,84,0.35);
}

/* Top row: art left, info right */
.sp-top {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.sp-art-img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1db954 0%, #0d8c3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 2.4rem;
    box-shadow: 0 8px 32px rgba(29,185,84,0.3);
    flex-shrink: 0;
}

.sp-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.sp-track {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sp-artist-wrap {
    overflow: hidden;
    white-space: nowrap;
    margin-top: 5px;
}

.sp-artist {
    display: inline-block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    white-space: nowrap;
}

.sp-artist.scrolling {
    animation: sp-artist-scroll 6s linear infinite;
}

@keyframes sp-artist-scroll {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(0); }
    70%  { transform: translateX(var(--scroll-dist, -60px)); }
    100% { transform: translateX(var(--scroll-dist, -60px)); }
}

/* Progress bar */
.sp-progress-wrap {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.sp-progress-bar {
    height: 100%;
    background: #1db954;
    border-radius: 2px;
    animation: sp-progress 30s linear infinite;
    width: 30%;
}

@keyframes sp-progress { from { width: 0%; } to { width: 100%; } }

/* ---------- Time & Date ---------- */
.wc-time .wc-visual {
    background: linear-gradient(160deg, #0a0e1a 0%, #060810 100%);
    flex-direction: column;
    gap: 6px;
}

.time-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.time-hm {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.time-ampm {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
}

.time-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* ---------- Weather ---------- */
.wc-weather .wc-visual {
    background: linear-gradient(160deg, #0c1220 0%, #050810 100%);
    flex-direction: column;
    gap: 0;
    padding: 28px 36px 26px;
    justify-content: center;
}

.wx-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.wx-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wx-temp {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
}

.wx-city {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-top: 5px;
}

.wx-cond {
    font-size: 0.8rem;
    color: #93c5fd;
    font-weight: 500;
    margin-top: 2px;
}

.wx-icon-wrap {
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

.wx-icon {
    font-size: 3rem;
    color: #fbbf24;
    filter: drop-shadow(0 0 16px rgba(251,191,36,0.55));
}

/* Stats strip */
.wx-strip {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 8px 0;
    gap: 0;
    white-space: nowrap;
}

.wx-strip-item {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
}

.wx-strip-item i {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}

.wx-strip-item i.wx-blue  { color: #60a5fa; }
.wx-strip-item i.wx-amber { color: #fbbf24; }

.wx-strip-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ---------- Stocks ---------- */
.wc-stocks .wc-visual {
    background: linear-gradient(160deg, #080f10 0%, #040a08 100%);
    flex-direction: column;
    padding: 18px 18px 16px;
    gap: 12px;
    justify-content: center;
}

.stk-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 12px 14px;
}

.stk-hero-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stk-hero-ticker {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stk-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.stk-dot-orange {
    background: #f97316;
    box-shadow: 0 0 6px rgba(249,115,22,0.6);
}

.stk-sym {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #f97316;
}

.stk-hero-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.stk-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    align-self: flex-start;
}

.stk-up-badge {
    background: rgba(34,197,94,0.12);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.2);
}

.stk-mini-row {
    display: flex;
    gap: 8px;
}

.stk-mini {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stk-mini-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stk-mini-sym {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
}

.stk-mini-chg {
    font-size: 0.65rem;
    font-weight: 700;
}

.stk-up   { color: #22c55e; }
.stk-down { color: #f43f5e; }

.stk-mini-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* ---------- Network ---------- */
.wc-network .wc-visual {
    background: linear-gradient(160deg, #08101a 0%, #040810 100%);
    flex-direction: column;
    gap: 0;
    justify-content: center;
    padding: 16px 20px;
}

.net-ping-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
}

.net-ping-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.net-ping-val {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.net-ping-unit {
    font-size: 0.9rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 2px;
}

.net-quality-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 6px;
}

.net-quality-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: net-pulse 1.5s ease-in-out infinite;
}

@keyframes net-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.net-quality-excellent {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.2);
}
.net-quality-excellent .net-quality-dot { background: #22c55e; }

.net-quality-good {
    background: rgba(245,158,11,0.1);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,0.2);
}
.net-quality-good .net-quality-dot { background: #f59e0b; }

.net-quality-poor {
    background: rgba(244,63,94,0.1);
    color: #f43f5e;
    border: 1px solid rgba(244,63,94,0.2);
}
.net-quality-poor .net-quality-dot { background: #f43f5e; }

.net-bw-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 12px;
}

.net-bw-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.net-bw-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.net-bw-down { color: #22d3ee; }
.net-bw-up   { color: #a78bfa; }

.net-bw-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.net-bw-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.07);
}

/* ---------- System Monitor ---------- */
.wc-sysmon .wc-visual {
    background: linear-gradient(160deg, #100815 0%, #080510 100%);
    flex-direction: column;
    padding: 16px 18px;
    gap: 0;
    justify-content: center;
}

.sys-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.sys-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sys-bar-icon {
    width: 20px;
    display: flex;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sys-bar-icon-cpu { color: #f43f5e; }
.sys-bar-icon-gpu { color: #22c55e; }
.sys-bar-icon-ram { color: #60a5fa; }

.sys-bar-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sys-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.sys-bar-pct { color: #fff; }

.sys-bar-track {
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    overflow: hidden;
}

.sys-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}

.sys-bar-fill-cpu { background: #f43f5e; }
.sys-bar-fill-gpu { background: #22c55e; }
.sys-bar-fill-ram { background: #60a5fa; }

/* ---------- Dots ---------- */
.wc-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    flex-shrink: 0;
}

.wc-dot {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background: var(--text-muted);
    opacity: 0.35;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.4s cubic-bezier(0.16,1,0.3,1), background 0.4s, opacity 0.4s;
}

.wc-dot:hover {
    opacity: 0.6;
}

.wc-dot.active {
    width: 36px;
    background: var(--accent);
    opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .wc-card { width: 85vw; height: 420px; }
    .wc-track { padding: 16px 0 20px; gap: 16px; }
    .wc-header-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; padding: 0 20px; }
}

/* ---------- MixlarOS / Software Section ---------- */
.mos-section {
    background: var(--bg);
}

.mos-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px;
    overflow: hidden;
}

.mos-glow {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.mos-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.mos-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mos-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
}

.mos-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.mos-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.mos-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mos-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text);
    font-size: 0.85rem;
}

.mos-feature h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.mos-feature p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.mos-platform-note {
    display: inline-block;
    margin-left: 16px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .mos-card {
        padding: 36px 24px;
    }

    .mos-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mos-platform-note {
        display: block;
        margin-left: 0;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .mos-card {
        padding: 28px 20px;
    }

    .mos-title {
        font-size: 1.5rem;
    }
}

/* ============================================================
   ANNOUNCEMENT BANNER (matches index page)
   ============================================================ */

.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    height: var(--banner-h);
    background: #2a2a2a;
}

.announcement-banner__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.announcement-banner__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-banner__action-btn {
    font-family: var(--font, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.15rem 0.65rem;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.announcement-banner__action-btn--logout {
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.announcement-banner__action-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.announcement-banner__tag {
    font-family: var(--font, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--clr-red, #D42B2B);
    padding: 0.08rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.announcement-banner__text {
    font-family: var(--font, 'Inter', sans-serif);
    font-size: 0.8rem;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-banner__arrow {
    font-size: 0.8rem;
    opacity: 0.85;
}

@media (max-width: 640px) {
    .announcement-banner__inner { padding: 0 1.25rem; }
    .announcement-banner__actions { display: none; }
    .announcement-banner__text { font-size: 0.72rem; }
}

/* ============================================================
   NEW NAV (matches index/about/products pages)
   ============================================================ */

.nav {
    position: fixed;
    top: var(--banner-h, 0px);
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: rgba(30, 28, 26, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}

.nav--light {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

.nav--light .nav__logo { color: var(--clr-text); }
.nav--light .nav__link { color: rgba(27, 25, 22, 0.45); }
.nav--light .nav__link:hover { color: var(--clr-text); }
.nav--light .nav__link--active { color: var(--clr-text); }
.nav--light .nav__demo-btn { color: #ffffff; background: var(--clr-text); }
.nav--light .nav__demo-btn:hover { background: #3a3630; }
.nav--light .nav__menu-btn span { background: rgba(27, 25, 22, 0.7); }

.nav--light.is-scrolled {
    background: rgba(19, 17, 16, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav--light.is-scrolled .nav__logo { color: #ffffff; }
.nav--light.is-scrolled .nav__link { color: rgba(255, 255, 255, 0.45); }
.nav--light.is-scrolled .nav__link:hover { color: #ffffff; }
.nav--light.is-scrolled .nav__link--active { color: #ffffff; }
.nav--light.is-scrolled .nav__demo-btn { color: var(--clr-bg-dark); background: #ffffff; }
.nav--light.is-scrolled .nav__demo-btn:hover { background: #e8e2d8; }
.nav--light.is-scrolled .nav__menu-btn span { background: rgba(255, 255, 255, 0.7); }

.nav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav__logo {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 1.75rem;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1;
    user-select: none;
    text-decoration: none;
}

.nav__logo-dot { color: var(--clr-red); }

.nav__links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
}

.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
    transition: font-size 0.2s var(--ease-out), color 0.2s ease;
    text-decoration: none;
}

.nav__link:hover {
    font-size: 1rem;
    color: #ffffff;
}

.nav__link--active { color: #ffffff; }
.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--clr-red);
    border-radius: 2px;
}

.nav__demo-btn {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--clr-bg-dark);
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s ease;
    text-decoration: none;
}

.nav__demo-btn:hover {
    background: #e8e2d8;
    transform: translateY(-1px);
}

.nav__link-auth { display: none; }

.nav__menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav__menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

/* ============================================================
   NEW FOOTER (matches index/about/products pages)
   ============================================================ */

.footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer__logo {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1;
    text-decoration: none;
}

.footer__logo-dot { color: var(--clr-red); }

.footer__socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255,255,255,0.4);
    transition: color 0.18s ease;
}

.footer__social-link svg { width: 18px; height: 18px; }
.footer__social-link:hover { color: #ffffff; }

.footer__copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.22);
    line-height: 1.5;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer__legal a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.28);
    transition: color 0.18s ease;
    text-decoration: none;
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }

.footer__columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer__col-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__col ul li a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.42);
    transition: color 0.18s ease;
    text-decoration: none;
}

.footer__col ul li a:hover { color: rgba(255,255,255,0.85); }

/* ============================================================
   NEW NAV + FOOTER RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
    .nav__links {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        background: rgba(19, 17, 16, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 0.75rem 1.5rem 1.25rem;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 250;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .nav__links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%);
    }

    .nav__links li { display: block; width: 100%; }

    .nav__link,
    .nav--light .nav__link,
    .nav--light.is-scrolled .nav__link {
        display: block;
        padding: 0.875rem 0;
        font-size: 1rem !important;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.75);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        letter-spacing: 0;
    }

    .nav__link:last-child { border-bottom: none; }
    .nav__link:hover,
    .nav--light .nav__link:hover { color: #ffffff; }
    .nav__link--active { width: fit-content; }
    .nav__link--active::after { bottom: 0; }

    .nav__link-auth {
        display: block;
        width: 100%;
        margin-top: 0;
    }

    .nav__link-auth:first-of-type {
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav__link--muted { opacity: 0.5; }
    .nav__menu-btn { display: flex; z-index: 210; }

    .nav.is-nav-open,
    .nav--light.is-nav-open {
        background: rgba(19, 17, 16, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .nav--light.is-nav-open .nav__logo { color: #ffffff; }
    .nav--light.is-nav-open .nav__menu-btn span { background: rgba(255, 255, 255, 0.7); }

    .nav.is-nav-open .nav__menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
    .nav.is-nav-open .nav__menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}

@media (max-width: 640px) {
    .nav__inner { padding: 0 1.25rem; }
    .nav__logo { font-size: 1.4rem; }
    .nav__demo-btn { font-size: 0.7rem; padding: 0.45rem 0.9rem; }

    .footer { padding: 3rem 1.5rem 2rem; }
    .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer__columns { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}
