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

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

:root {
    --bg: #080808;
    --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%);
    --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);

    /* Dashboard/Plugin variable aliases */
    --bg-primary: #080808;
    --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);
}

/* ---------- Light Mode ---------- */
[data-theme="light"] {
    --bg: #f8f8fa;
    --bg-elevated: #eeeef2;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --text: #111118;
    --text-primary: #111118;
    --text-muted: #555568;
    --text-dim: #888898;
    --accent: #c43a26;
    --accent-light: #e8503a;
    --accent-dark: #a02d1a;
    --accent-glow: rgba(196, 58, 38, 0.2);
    --primary: #c43a26;
    --secondary: #a02d1a;
    --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%, #ccc 100%);

    /* Dashboard/Plugin variable aliases */
    --bg-primary: #f8f8fa;
    --bg-secondary: #eeeef2;
    --card-bg: rgba(0, 0, 0, 0.03);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-secondary: #555568;
    --text-tertiary: #888898;
    --primary-dark: #a02d1a;
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ── Announcement Banner (shared include) ── */
.announcement-banner{position:fixed;top:0;left:0;right:0;z-index:300;height:36px;background:var(--bg,#080808);border-bottom:1px solid var(--border,rgba(255,255,255,.06));display:flex;align-items:center;justify-content:center;font-family:var(--font,'Inter',sans-serif)}
.announcement-banner__inner{display:flex;align-items:center;gap:10px;font-size:.78rem;color:var(--text-muted,#9ca0ab)}
.announcement-banner__tag{background:rgba(232,80,58,.15);color:var(--accent,#e8503a);font-weight:700;font-size:.65rem;padding:2px 8px;border-radius:9999px;letter-spacing:.04em;text-transform:uppercase}
.announcement-banner__text{margin:0;white-space:nowrap}
.announcement-banner__arrow{margin-left:2px;font-weight:700}
.announcement-banner__actions{display:flex;gap:6px;margin-left:8px}
.announcement-banner__action-btn{font-size:.7rem;font-weight:600;color:var(--text-muted,#9ca0ab);text-decoration:none;padding:2px 8px;border-radius:6px;border:1px solid var(--border,rgba(255,255,255,.06));transition:color .2s,border-color .2s}
.announcement-banner__action-btn:hover{color:var(--accent,#e8503a);border-color:var(--accent,#e8503a)}
.announcement-banner__action-btn--logout{color:var(--danger,#ef4444)}
.announcement-banner__action-btn--logout:hover{border-color:var(--danger,#ef4444);color:var(--danger,#ef4444)}
@media(max-width:640px){.announcement-banner__text,.announcement-banner__arrow{display:none}.announcement-banner__inner{gap:6px}}

[data-theme="light"] .navbar {
    background: rgba(248, 248, 250, 0.97);
}

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

[data-theme="light"] .hero-orb {
    opacity: 0.15;
}

[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

[data-theme="light"] .hero-image-placeholder {
    background: linear-gradient(145deg, #eeeef2 0%, #e0dde8 50%, #dde4ed 100%);
}

[data-theme="light"] .showcase-image-placeholder {
    background: linear-gradient(145deg, #eeeef2 0%, #e8dde5 50%, #dde0ed 100%);
}

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

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

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

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

[data-theme="light"] .navbar.menu-open .nav-links .mobile-only {
    color: rgba(0, 0, 0, 0.4) !important;
}

[data-theme="light"] .navbar.menu-open .nav-links .mobile-only:hover {
    color: #e8503a !important;
}

[data-theme="light"] .bento-visual {
    background: linear-gradient(135deg, rgba(232, 80, 58, 0.06) 0%, rgba(196, 58, 38, 0.03) 100%);
}


[data-theme="light"] .hero-float {
    background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .cta-box {
    background: linear-gradient(145deg, rgba(232, 80, 58, 0.06) 0%, rgba(196, 58, 38, 0.04) 100%);
}

[data-theme="light"] .footer-socials a {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--bg);
}

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

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    -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;
    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;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.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: var(--gradient-1);
    -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;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-logo span {
    font-size: 1.5em;
    line-height: 1;
    margin-left: -8px;
    vertical-align: middle;
    position: relative;
    bottom: 4px;
}

.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: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text);
    background: var(--bg-card-hover);
}

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

.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: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

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

.hero-orb {
    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 {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.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 0.1s both;
}

.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 0.4s both;
}

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

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

.hero-image {
    position: relative;
    max-width: 1000px;
    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;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
}

.hero-image-glow {
    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;
    scroll-snap-align: start;
}

.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(255, 255, 255, 0.06);
    border-radius: 100px;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .audio-fader-track {
    background: rgba(0, 0, 0, 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(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    color: #c084fc;
    box-shadow: 0 0 20px rgba(168, 85, 247, 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: #a855f7; 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);
}

.midi-showcase {
    position: relative;
    margin-top: 80px;
    margin-bottom: 80px;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rising device */
.midi-device {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
}

.midi-device-inner {
    position: relative;
}

.midi-device-placeholder {
    width: 100%;
    aspect-ratio: 5 / 3;
    background: linear-gradient(145deg, #0c0c14 0%, #14101e 50%, #0c1018 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-hover);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: device-rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-play-state: paused;
}

[data-theme="light"] .midi-device-placeholder {
    background: linear-gradient(145deg, #e8e8f0 0%, #dedae8 50%, #dde2ed 100%);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}

.midi-device.visible .midi-device-placeholder {
    animation-play-state: running;
}

@keyframes device-rise {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateX(10deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

.midi-product-img {
    width: 80%;
    max-width: 400px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.midi-device-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100px;
    background: var(--accent);
    filter: blur(60px);
    opacity: 0.2;
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.15; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.25; transform: translateX(-50%) scale(1.1); }
}

.midi-device-reflection {
    position: absolute;
    bottom: -80px;
    left: 5%;
    right: 5%;
    height: 80px;
    background: linear-gradient(180deg, rgba(232, 80, 58, 0.04) 0%, transparent 100%);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

/* Floating callouts */
.midi-callouts {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.midi-callout {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    pointer-events: auto;
    animation: float-card 6s ease-in-out infinite;
    white-space: nowrap;
}

[data-theme="light"] .midi-callout {
    background: rgba(255, 255, 255, 0.8);
}

.midi-callout-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(232, 80, 58, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.midi-callout strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.midi-callout span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.midi-callout-1 {
    top: 5%;
    left: 0;
    animation-delay: 0s;
}

.midi-callout-2 {
    top: 15%;
    right: 0;
    animation-delay: -1.5s;
}

.midi-callout-3 {
    bottom: 20%;
    left: 0;
    animation-delay: -3s;
}

.midi-callout-4 {
    bottom: 10%;
    right: 0;
    animation-delay: -4.5s;
}

/* Platform row */
.midi-platforms {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.midi-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.midi-platform i {
    font-size: 1.1rem;
    color: var(--accent-light);
}

/* MIDI Learn More CTA */
.midi-learn-more {
    text-align: center;
    margin-top: 48px;
}

.midi-learn-more p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .midi-callout-1 { left: -10px; }
    .midi-callout-2 { right: -10px; }
    .midi-callout-3 { left: -10px; }
    .midi-callout-4 { right: -10px; }
}

@media (max-width: 768px) {
    .midi-showcase {
        flex-direction: column;
        min-height: auto;
    }

    .midi-callouts {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 32px;
    }

    .midi-callout {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none;
    }

    .midi-platforms {
        gap: 8px;
    }

    .midi-platform {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

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

    .midi-callout {
        white-space: normal;
    }
}

/* ---------- 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 {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    scroll-snap-align: start;
}

.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;
}

.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: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    /* 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;
        padding: 16px 32px;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 0.02em;
        border-radius: 12px;
        transition: background 0.2s;
    }

    .nav-links a:hover {
        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 {
        display: none;
    }

    .nav-actions .user-menu {
        display: none;
    }

    .mobile-menu-divider {
        width: 60px;
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
        margin: 8px 0;
    }

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

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

    .nav-links.active .mobile-menu-divider {
        display: block;
    }

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

    .nav-links .mobile-only:hover {
        color: #fff !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;
        gap: 32px;
    }

    .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(14, 16, 23, 0.8) 0%, rgba(22, 16, 32, 0.6) 100%);
}

[data-theme="light"] .render-card-inner {
    background: linear-gradient(145deg, rgba(238, 238, 242, 0.8) 0%, rgba(232, 221, 229, 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 {
    position: relative;
    height: 350vh;
}

/* Sticky viewport — stays pinned while user scrolls through the root */
.widgets-section.wc-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: none;
    padding: 0;
    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: hidden;
    position: relative;
    flex-shrink: 0;
}

/* Flex row of cards — moved via translateX, NOT scrollLeft */
.wc-track {
    display: flex;
    gap: 28px;
    padding: 16px 48px 20px;
    will-change: transform;
}

/* Individual card */
.wc-card {
    flex-shrink: 0;
    width: min(480px, 42vw);
    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 ---------- */
.wc-spotify .wc-visual {
    background: linear-gradient(160deg, #0a1a0d 0%, #040d06 100%);
    flex-direction: column;
    gap: 16px;
}

.sp-vinyl {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(#1a1a1a 0deg, #222 45deg, #1a1a1a 90deg, #222 135deg,
                               #1a1a1a 180deg, #222 225deg, #1a1a1a 270deg, #222 315deg, #1a1a1a 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-vinyl 4s linear infinite;
    box-shadow: 0 0 0 3px rgba(29,185,84,0.25);
}

.sp-vinyl-inner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1db954;
}

@keyframes spin-vinyl { to { transform: rotate(360deg); } }

.sp-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
}

.sp-wave span {
    width: 3px;
    background: #1db954;
    border-radius: 3px;
    animation: sp-wave-bar 0.8s ease-in-out infinite alternate;
}

.sp-wave span:nth-child(1)  { height: 40%; animation-delay: 0s; }
.sp-wave span:nth-child(2)  { height: 80%; animation-delay: 0.1s; }
.sp-wave span:nth-child(3)  { height: 55%; animation-delay: 0.2s; }
.sp-wave span:nth-child(4)  { height: 95%; animation-delay: 0.05s; }
.sp-wave span:nth-child(5)  { height: 65%; animation-delay: 0.15s; }
.sp-wave span:nth-child(6)  { height: 40%; animation-delay: 0.25s; }
.sp-wave span:nth-child(7)  { height: 75%; animation-delay: 0.08s; }
.sp-wave span:nth-child(8)  { height: 90%; animation-delay: 0.18s; }
.sp-wave span:nth-child(9)  { height: 50%; animation-delay: 0.12s; }
.sp-wave span:nth-child(10) { height: 70%; animation-delay: 0.22s; }

@keyframes sp-wave-bar {
    from { transform: scaleY(0.3); }
    to   { transform: scaleY(1); }
}

.sp-progress-wrap {
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    margin-top: 14px;
    overflow: hidden;
}

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

@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: 8px;
}

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

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

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

/* ---------- Stocks ---------- */
.wc-stocks .wc-visual {
    background: linear-gradient(160deg, #081208 0%, #040a04 100%);
    flex-direction: column;
    padding: 24px 24px 0;
    justify-content: flex-end;
    align-items: flex-start;
}

.stk-ticker {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.stk-up { color: #22c55e; font-size: 0.9rem; }

.stk-chart {
    width: 100%;
    height: 70px;
    display: block;
}

.stk-line {
    fill: none;
    stroke: #22c55e;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stk-fill {
    fill: rgba(34,197,94,0.12);
    stroke: none;
}

/* ---------- Network ---------- */
.wc-network .wc-visual {
    background: linear-gradient(160deg, #08101a 0%, #040810 100%);
}

.net-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.net-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 22px;
}

.net-divider {
    width: 1px;
    height: 44px;
    background: var(--border);
}

.net-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.net-val small {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-left: 2px;
}

.net-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- System Monitor ---------- */
.wc-sysmon .wc-visual {
    background: linear-gradient(160deg, #100815 0%, #080510 100%);
}

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

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

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

.sys-ring {
    width: 72px;
    height: 72px;
    transform: rotate(-90deg);
}

.sys-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 5;
}

.sys-ring-fill {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dashoffset: 0;
    transition: stroke-dasharray 1.5s cubic-bezier(0.16,1,0.3,1);
}

.sys-cpu-ring { stroke: var(--accent); }
.sys-gpu-ring { stroke: #3b82f6; }
.sys-ram-ring { stroke: #a855f7; }

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

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

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

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

/* ============================================
   User Menu & Dropdown
   ============================================ */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.user-badge:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.user-badge .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.user-menu:has(.user-dropdown.show) .user-badge .fa-chevron-down {
    transform: rotate(180deg);
}

.user-menu {
    position: relative;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 200px;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-card-hover);
    color: var(--text);
}

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

.dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.35rem 0;
}

/* ============================================
   Plugins Browse Page
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 2.5rem 0 2rem;
    text-align: center;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
}

.search-box {
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.6rem 1.1rem;
    gap: 0.6rem;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-box i {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font);
}

.search-box input::placeholder {
    color: var(--text-dim);
}

/* Category Tabs */
.categories {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 60px;
    z-index: 50;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    white-space: nowrap;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.category-tab .count {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

/* Plugins Grid */
.plugins-section {
    padding: 2rem 0 4rem;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.plugin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.plugin-card-link {
    display: flex;
    padding: 1.25rem;
    gap: 1rem;
}

.plugin-card .plugin-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #fff;
    overflow: hidden;
}

.plugin-card .plugin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plugin-info {
    flex: 1;
    min-width: 0;
}

.plugin-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.plugin-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plugin-category {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: var(--accent-glow);
    color: var(--primary);
    white-space: nowrap;
}

.plugin-author {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.plugin-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.plugin-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.meta-item i {
    font-size: 0.75rem;
}

.meta-item.version {
    color: var(--primary);
    font-weight: 500;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    color: var(--text-dim);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.no-results p {
    font-size: 0.9rem;
}

/* ---------- Footer (Browse/Plugin) ---------- */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.25rem 0;
    transition: var(--transition);
}

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

/* ---------- Browse Responsive ---------- */
@media (max-width: 768px) {
    .plugins-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 5rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .plugin-card-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .plugin-header {
        justify-content: center;
    }

    .plugin-meta {
        justify-content: center;
    }
}
