/* website/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #FF4D00;
    --primary-dim: rgba(255, 77, 0, 0.15);
    --primary-glow: rgba(255, 77, 0, 0.4);
    --bg: #000000;
    --surface: #0F0F0F;
    --surface-border: #222;
    --text: #F5F5F7;
    --text-sec: #888888;
    --radius-pill: 9999px;
    --radius-lg: 24px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Demo box specific variables to override docs.html */
    --code-bg: #1A1A1A;
    --card-bg: #161616;
    --radius-md: 12px;
    --radius-sm: 8px;
    --text-secondary: #86868b;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Scroll Fade-Up Animation */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger children of features grid */
.features.fade-up.visible .feature {
    animation: fadeUpItem 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.features.fade-up.visible .feature:nth-child(1) { animation-delay: 0ms; }
.features.fade-up.visible .feature:nth-child(2) { animation-delay: 80ms; }
.features.fade-up.visible .feature:nth-child(3) { animation-delay: 160ms; }
.features.fade-up.visible .feature:nth-child(4) { animation-delay: 240ms; }
.features.fade-up.visible .feature:nth-child(5) { animation-delay: 320ms; }
.features.fade-up.visible .feature:nth-child(6) { animation-delay: 400ms; }
.features.fade-up.visible .feature:nth-child(7) { animation-delay: 480ms; }
.features.fade-up.visible .feature:nth-child(8) { animation-delay: 560ms; }
@keyframes fadeUpItem {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Static radial glow — no looping idle animations */
.audio-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.audio-bg-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
    top: -300px;
    right: -300px;
    filter: blur(120px);
    opacity: 0.35;
}

.audio-bg-waves { display: none; }

/* Navbar */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 64px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text);
}

.nav-brand img { width: 32px; height: 32px; border-radius: 8px; background: #000; }

.version-badge {
    background-color: var(--primary-dim);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    border: 1px solid rgba(255,77,0,0.3);
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-sec); font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
    /* Remove transition for transform to allow immediate JS magnetic effect */
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-primary:hover {
    background: #ff6a00;
    box-shadow: 0 10px 28px rgba(255, 77, 0, 0.6), inset 0 0 10px rgba(255, 150, 50, 0.4);
}

.btn-primary:hover::before {
    left: 200%;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--surface-border);
}
.btn-secondary:hover {
    background: #1a1a1a;
    border-color: #444;
    transform: translateY(-2px);
}
.purchase-price { color: var(--text-sec); font-size: 12px; margin-left: 6px; }

/* Centered Hero — Apple style */
.hero-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 160px;
    padding: 60px 48px 0;
    gap: 64px;
    min-height: 90vh;
    justify-content: center;
}

.hero-left {
    position: relative;
    z-index: 5;
    max-width: 760px;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.045em;
    margin-bottom: 20px;
    background: linear-gradient(160deg, #FFF 40%, #888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #FFAA00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-sec);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.hero-right {
    width: 100%;
    max-width: 820px;
    position: relative;
    z-index: 2;
    perspective: 1400px;
}

/* Showcase Container (Dark Wrapper) */
.showcase-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    transform: rotateY(-18deg) rotateX(8deg) scale(0.85);
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-wrapper:hover {
    transform: rotateY(-12deg) rotateX(4deg) scale(0.9);
}

.psst-note {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sec);
    opacity: 0.6;
}

/* Chrome Mockup & Extension UI Styles */
.chrome-mockup {
    width: 100%;
    max-width: 900px;
    background: #161616;
    border-radius: 16px;
    box-shadow: 30px 50px 100px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.05) inset;
    display: flex;
    flex-direction: column;
    z-index: 10;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transform: translateZ(20px);
}

.chrome-titlebar {
    display: flex;
    align-items: flex-end;
    padding: 10px 10px 0;
    background: #2b2b2b;
    border-bottom: 1px solid auto;
    border-radius: 12px 12px 0 0;
}

.chrome-mac-dots {
    display: flex;
    gap: 8px;
    padding: 0 16px 8px 8px;
}
.mac-dot { width: 12px; height: 12px; border-radius: 50%; opacity: 0.9;}
.mac-dot.red { background: #ff5f56; border: 1px solid #e0443e; }
.mac-dot.yellow { background: #ffbd2e; border: 1px solid #dea123; }
.mac-dot.green { background: #27c93f; border: 1px solid #1aab29; }

.chrome-tabs {
    display: flex;
    flex: 1;
    gap: 4px;
}

.chrome-tab {
    background: transparent;
    color: #999;
    padding: 8px 16px;
    border-radius: 8px 8px 0 0;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
    flex: 1;
}

.chrome-tab.active {
    background: #3b3b3b;
    color: #fff;
    position: relative;
}
.chrome-tab.active::before, .chrome-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.chrome-tab.active::before { left: -8px; box-shadow: 4px 4px 0 0 #3b3b3b; }
.chrome-tab.active::after { right: -8px; box-shadow: -4px 4px 0 0 #3b3b3b; }

.tab-close { margin-left: auto; opacity: 0.6; cursor: pointer; }
.tab-close:hover { opacity: 1; }
.chrome-tab.new-tab { flex: 0 0 auto; padding: 4px 12px; font-size: 16px; cursor: pointer;}
.chrome-tab.new-tab:hover { background: rgba(255,255,255,0.1); border-radius: 8px; }

.chrome-toolbar {
    background: #3b3b3b;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    border-bottom: 1px solid #222;
}

.nav-btns { display: flex; gap: 16px; color: #bbb;}
.nav-btns svg { cursor: pointer; }
.nav-btns svg:hover { color: #fff; }

.chrome-omnibox {
    flex: 1;
    background: #2b2b2b;
    border-radius: 99px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #eee;
}

.chrome-extensions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bbb;
}
.ext-icon { width: 18px; height: 18px; border-radius: 4px; cursor: pointer; padding: 4px; border: 1px solid transparent; transition: all 0.2s;}
.ext-icon:hover { background: rgba(255,255,255,0.1); }
.ext-icon.active { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }

.chrome-viewport {
    position: relative;
    background: #fff;
    height: 540px;
    width: 100%;
    border-radius: 0 0 12px 12px;
}

.viewport-content { width: 100%; height: 100%; background: #f0f0f0; border-radius: 0 0 12px 12px; overflow: hidden; }

/* Fake webpage layout */
.fake-webpage {
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(to bottom, #d9d9d9 60px, transparent 60px),
        linear-gradient(to right, #e8e8e8 200px, #f5f5f5 200px);
    opacity: 0.5;
}

/* Extension Popup Mockup - matches style.css dark theme */
.ext-popup-container {
    position: absolute;
    top: 8px;
    right: 20px;
    width: 340px;
    z-index: 100;
    display: none;
    transform-origin: top right;
    animation: popup-open 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.ext-popup-container.open { display: block; }
@keyframes popup-open { 
    from { opacity: 0; transform: scale(0.95); } 
    to { opacity: 1; transform: scale(1); }
}

.ext-popup-arrow {
    position: absolute;
    top: -6px;
    right: 48px;
    width: 12px; height: 12px;
    background: #1A1A1A;
    transform: rotate(45deg);
    border-top: 1px solid #3A3A3A;
    border-left: 1px solid #3A3A3A;
    z-index: 11;
}

.ext-popup-inner {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04), 0 0 40px rgba(255,77,0,0.15);
    padding: 16px;
    position: relative;
    z-index: 12;
    color: #E8E4E1;
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Roboto Mono', 'Courier New', monospace;
}

/* Ext Header */
.ext-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2D2D2D; padding-bottom: 12px; margin-bottom: 12px; }
.title-group { display: flex; align-items: center; gap: 8px; }
.header-logo { width: 16px; height: 16px; border-radius: 4px; }
.ext-title { font-size: 10px; font-weight: 600; letter-spacing: 1px; color: #8A8A8A; margin: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 28px; height: 28px; background: #252525; border: 1px solid #2D2D2D; border-radius: 6px; color: #8A8A8A; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: #0D0D0D; color: #E8E4E1; border-color: #3A3A3A;}
.ext-status { font-size: 8px; font-weight: 600; padding: 4px 10px; background: #252525; color: #8A8A8A; border: 1px solid #2D2D2D; border-radius: 6px; }

/* Tab Indicator */
.ext-tab-indicator {
    display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #252525; border: 1px solid #2D2D2D; border-radius: 10px; margin-bottom: 16px; font-size: 10px; font-weight: bold; color: #8A8A8A;
}

/* Record Section */
.ext-record-section { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 16px; }
.ext-button-row { display: flex; gap: 15px; }
.ext-rec-button, .ext-stream-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #3A3A3A;
    background: #252525;
    position: relative;
    cursor: pointer;
    color: #E8E4E1;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5), inset 0 -2px 4px rgba(0,0,0,0.2);
}
.ext-rec-button:hover, .ext-stream-button:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.6), inset 0 -2px 4px rgba(0,0,0,0.2);
}
.ext-rec-button:active, .ext-stream-button:active { transform: scale(0.97); }
.ext-rec-button.recording { background: #FF4D00; border-color: #FF4D00; box-shadow: 0 4px 20px rgba(255,77,0,0.5), inset 0 -2px 4px rgba(0,0,0,0.1); }
.ext-stream-button.active { background: #E8E4E1; border-color: #E8E4E1; }
.ext-rec-label, .ext-stream-label {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 11px; font-weight: 600; letter-spacing: 1px; color: #E8E4E1;
}
.ext-rec-button.recording .ext-rec-label { color: #ffffff; }
.ext-stream-button.active .ext-stream-label { color: #1A1A1A; }
.ext-rec-indicator {
    position: absolute; top: 8px; right: 8px;
    width: 8px; height: 8px;
    background: #252525; border: 2px solid #3A3A3A;
    border-radius: 50%; opacity: 0;
}
.ext-rec-button.recording .ext-rec-indicator {
    opacity: 1; background: #ffffff; border-color: transparent;
    animation: ext-pulse 1s infinite;
}
@keyframes ext-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
}
.ext-timer { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 2px; }

/* Visualizers */
.ext-visualizers { display: flex; gap: 8px; margin-bottom: 8px; }
.ext-viz-box { border: 1px solid #2D2D2D; background: #252525; padding: 8px; border-radius: 10px; position: relative;}
.eq-box { flex: 2; }
.lvl-box { flex: 1; max-width: 65px; display: flex; flex-direction: column;}
.wave-box { margin-bottom: 16px; }

.ext-viz-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ext-viz-label { font-size: 8px; font-weight: bold; color: #8A8A8A; letter-spacing: 0.5px; }
.ext-viz-gear { width: 16px; height: 16px; background: transparent; border: 1px solid #3A3A3A; border-radius: 4px; color: #8A8A8A; padding: 0; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.15s; }
.ext-viz-gear:hover, .ext-viz-gear.active { color: #fff; border-color: #FF4D00; background-color: #FF4D00; }

.ext-canvas { width: 100%; height: 50px; display: block; }
.lvl-canvas { height: 50px; }
.ext-db-text { font-size: 9px; text-align: center; color: #8A8A8A; margin-top: 4px; font-family: tabular-nums; }

/* Control row */
.ext-audio-controls { display: flex; flex-direction: column; padding-top: 8px; border-top: 1px solid #2D2D2D;}
.ext-control-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ext-control-label { font-size: 10px; font-weight: bold; color: #E8E4E1; width: 40px; }
.ext-slider { -webkit-appearance: none; appearance: none; flex: 1; height: 4px; background: #0D0D0D; border: 1px solid #3A3A3A; border-radius: 2px; }
.ext-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #FF4D00; cursor: pointer; }
.ext-val { font-size: 10px; color: #FF4D00; font-weight: bold; width: 30px; text-align: right; }

/* Toggles & Rows Mockup */
.ext-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #2D2D2D; }
.ext-row:last-child { border-bottom: none; }
.ext-row-label { font-size: 9px; font-weight: bold; color: #E8E4E1; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px;}
.ext-row-right { display: flex; align-items: center; gap: 10px; }
.ext-state-label { font-size: 9px; font-weight: bold; color: #8A8A8A; }
.ext-ios-toggle { position: relative; display: inline-block; width: 32px; height: 18px; }
.ext-ios-toggle input { opacity: 0; width: 0; height: 0; }
.ext-ios-track { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #3A3A3A; border-radius: 18px; transition: .2s; }
.ext-ios-thumb { position: absolute; content: ""; height: 14px; width: 14px; left: 2px; bottom: 2px; background-color: #8A8A8A; border-radius: 50%; transition: .2s; }
.ext-ios-toggle input:checked + .ext-ios-track { background-color: #FF4D00; }
.ext-ios-toggle input:checked + .ext-ios-track .ext-ios-thumb { transform: translateX(14px); background-color: #fff; }

/* Header Icons Extension */
.ext-icon-btn { width: 24px; height: 24px; background: #252525; border: 1px solid #2D2D2D; border-radius: 6px; color: #8A8A8A; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.ext-icon-btn:hover, .ext-icon-btn.active { background: #FF4D00; color: #fff; border-color: #FF4D00;}

/* Parametric EQ Grid Mockup */
.ext-eq-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 12px 0; }
.ext-eq-band { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ext-eq-lbl { font-size: 8px; font-weight: bold; color: #8A8A8A; letter-spacing: 1px;}
.ext-eq-fq { font-size: 7px; color: #5A5A5A; margin-bottom: 4px; }
.ext-eq-track { height: 80px; width: 24px; background: #0D0D0D; border: 1px solid #3A3A3A; border-radius: 4px; position: relative; display: flex; justify-content: center; padding: 4px 0;}
.ext-eq-slider { -webkit-appearance: slider-vertical; appearance: slider-vertical; width: 100%; height: 100%; outline: none; background: transparent; cursor: pointer; accent-color: #FF4D00;}
.ext-eq-val { font-size: 8px; color: #FF4D00; font-weight: bold; margin-top: 4px;}

/* Panels Mockup (Library, Settings) */
.ext-panel { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: #1A1A1A; z-index: 200; display: none; flex-direction: column; border-radius: 16px; font-family: 'JetBrains Mono', monospace;}
.ext-panel.open { display: flex; animation: popup-open 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.ext-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #2D2D2D; }
.ext-panel-title { font-size: 10px; font-weight: bold; color: #FF4D00; letter-spacing: 1.5px; }
.ext-close-btn { width: 20px; height: 20px; border: 1px solid #3A3A3A; border-radius: 4px; background: transparent; color: #8A8A8A; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s;}
.ext-close-btn:hover { background: #FF4D00; color: #fff; border-color: #FF4D00;}
.ext-panel-content { padding: 16px; flex: 1; overflow-y: auto; color: #E8E4E1; font-size: 10px; }
.ext-lib-empty { text-align: center; padding: 40px 0; color: #5A5A5A; font-size: 10px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase;}
.ext-setting-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #2D2D2D; }
.ext-setting-item:last-child { border-bottom: none; }
.ext-setting-label { font-size: 9px; font-weight: bold; color: #E8E4E1; letter-spacing: 0.5px; }
.ext-setting-select { font-family: inherit; font-size: 9px; padding: 4px 6px; background: #252525; color: #8A8A8A; border: 1px solid #3A3A3A; border-radius: 4px; outline: none; }

/* Reusing Demo Box dropdown settings code inside popup context */
.demo-settings-panel { display: none; position: absolute; top: 26px; right: 0; z-index: 50; min-width: 140px; background: #1A1A1A; border: 1px solid #3A3A3A; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.5); padding: 10px; color: #E8E4E1; }
.demo-settings-panel.open { display: block; }
.demo-si { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.demo-si-label { font-size: 8px; font-weight: bold; color: #8A8A8A; text-transform: uppercase; }
.demo-si select, .demo-si input[type=range] { font-size: 8px; font-family: inherit; border: 1px solid #3A3A3A; border-radius: 4px; padding: 2px 4px; background: #252525; color: #E8E4E1; cursor: pointer; max-width: 60px; }
.demo-si input[type=range] { -webkit-appearance: none; appearance: none; height: 2px; }
.demo-si input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 8px; height: 8px; border-radius: 50%; background: #FF4D00; }
.demo-reset-btn { width: 100%; margin-top: 8px; padding: 4px; font-size: 8px; font-weight: bold; border: 1px solid #3A3A3A; border-radius: 4px; background: #252525; color: #E8E4E1; cursor: pointer; text-transform: uppercase; }
.demo-reset-btn:hover { background: #FF4D00; border-color: #FF4D00; }


/* How It Works — Apple ghost-number style */
.how-it-works {
    max-width: 900px;
    margin: 0 auto 160px;
    padding: 0 48px;
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 80px;
    background: linear-gradient(160deg, #FFF 40%, #555 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

/* Thin animated connector line between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: calc(16.6% + 16px);
    right: calc(16.6% + 16px);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.step {
    flex: 1;
    padding: 0 24px;
    position: relative;
}

.step-number {
    font-size: 96px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
    font-family: var(--font);
    user-select: none;
}

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

.step h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.step p {
    font-size: 15px;
    color: var(--text-sec);
    line-height: 1.6;
}

.step-divider { display: none; }

/* Footer links */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.footer-link {
    color: var(--text-sec);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

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

.footer-sep { color: var(--surface-border); }

@media (max-width: 768px) {
    .steps { flex-direction: column; gap: 40px; }
    .step-divider { width: 40px; height: 1px; align-self: center; }
    .how-it-works { padding: 0 24px; }
    .section-title { font-size: 26px; margin-bottom: 40px; }
}

/* Features — 4-col icon grid */
.features {
    max-width: 900px;
    margin: 0 auto 160px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 56px 28px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text);
    opacity: 0.7;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.feature p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.5;
    margin: 0;
}

.feature-badge {
    display: inline-block;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-pill);
    padding: 2px 10px;
    font-size: 11px;
    color: var(--primary);
    margin-top: 10px;
    font-weight: 700;
    background: var(--primary-dim);
}

/* Footer — minimal Apple-style */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 64px;
    color: var(--text-sec);
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .hero-split { padding: 60px 24px 0; min-height: auto; }
    .showcase-wrapper { transform: rotateY(-8deg) rotateX(4deg) scale(0.9); }
    .showcase-wrapper:hover { transform: rotateY(-4deg) rotateX(2deg) scale(0.92); }
    .footer { flex-direction: column; gap: 12px; text-align: center; padding: 40px 24px; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 44px; }
    .hero-subtitle { font-size: 16px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .nav { padding: 20px; }
    .steps { flex-direction: column; gap: 40px; }
    .how-it-works { padding: 0 24px; }
    .section-title { font-size: 30px; margin-bottom: 48px; }
    .steps::before { display: none; }
}

/* ── Floater Mockup Styles ── */
.tf { background: rgba(10,10,10,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; width: 210px; overflow: hidden; user-select: none; box-shadow: 0 20px 60px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.05), 0 0 30px rgba(255,77,0,0.12); transition: box-shadow .2s, transform .2s; font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;}
.tf:hover { box-shadow: 0 14px 44px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.07); }
.tf-drag { display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 10px; background: #141414; border-bottom: 1px solid #1E1E1E; cursor: grab; }
.tf-drag:active { cursor: grabbing; }
.tf-grip { color: #333; flex-shrink: 0; }
.tf-title { font-size: 8px; font-weight: 700; letter-spacing: .14em; color: #444; flex: 1; }
.tf-hbtns { display: flex; gap: 1px; }
.tf-hbtn { all: unset; color: #444; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 6px; cursor: pointer; font-size: 16px; transition: background .14s, color .14s; }
.tf-hbtn:hover { background: rgba(255,255,255,.07); color: #bbb; }
.tf-hbtn.on { color: #FF4D00; }
.tf-body { padding: 10px 12px 10px; display: flex; flex-direction: column; gap: 9px; }
.tf-timer { font-size: 22px; font-weight: 700; letter-spacing: .08em; color: #D8D4D1; text-align: center; line-height: 1; }
.tf-timer.rec { color: #FF4D00; }
.tf-btn-row { display: flex; gap: 7px; }
.tf-btn { all: unset; display: flex; align-items: center; justify-content: center; gap: 5px; flex: 1; padding: 7px 4px; border-radius: 8px; font-family: inherit; font-size: 9px; font-weight: 700; letter-spacing: .1em; cursor: pointer; border: 1px solid #2D2D2D; transition: background .14s; }
.tf-rec { background: #1E1A19; color: #D8D4D1; }
.tf-rec:hover { background: #2A2420; }
.tf-rec.on { background: rgba(255,77,0,.15); border-color: #FF4D00; color: #FF6633; }
.tf-stream { background: #191E1A; color: #D8D4D1; }
.tf-stream:hover { background: #202A22; }
.tf-dot { width: 7px; height: 7px; border-radius: 50%; background: #444; flex-shrink: 0; transition: background .2s; }
.tf-rec.on .tf-dot { background: #FF4D00; animation: tf-pulse 1.2s infinite; }
@keyframes tf-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
.tf-row { display: flex; align-items: center; gap: 7px; }
.tf-lbl { font-size: 7.5px; font-weight: 700; letter-spacing: .1em; color: #444; flex-shrink: 0; min-width: 54px; }
.tf-val { font-size: 8px; font-weight: 700; color: #B8B4B1; min-width: 24px; text-align: right; }
.tf-slider { -webkit-appearance: none; appearance: none; flex: 1; height: 3px; background: #252525; border-radius: 2px; cursor: pointer; outline: none; }
.tf-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; background: #FF4D00; border-radius: 50%; cursor: pointer; box-shadow: 0 1px 4px rgba(255,77,0,.4); }
.tf-viz-bar { display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px; border-top: 1px solid #1A1A1A; }
.tf-chips { display: flex; gap: 4px; }
.tf-chip { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 3px; font-size: 7px; font-weight: 700; letter-spacing: .08em; color: #3A3A3A; padding: 2px 6px; border: 1px solid #252525; border-radius: 5px; transition: color .14s, border-color .14s, background .14s; }
.tf-chip:has(input:checked) { color: #FF4D00; border-color: rgba(255,77,0,.5); background: rgba(255,77,0,.07); }
.tf-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.tf-viz-section { border-top: 1px solid #1A1A1A; display: flex; flex-direction: column; gap: 6px; padding: 6px 7px; }
.tf-viz-top-row { display: flex; gap: 6px; }
.tf-viz-box2 { display: flex; flex-direction: column; gap: 5px; }
.tf-viz-label { font-size: 7px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: #888; margin-bottom: 1px; }
.tf-viz-top-row .tf-viz-box2:first-child { flex: 1; min-width: 0; }
.tf-viz-box-lvl { width: 50px; flex-shrink: 0; }
.tf-canvas-wrap { background: #141414; border-radius: 7px; overflow: hidden; padding: 4px; }
.tf-canvas-wrap-lvl { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 4px; }
.tf-canvas-eq { height: 58px; }
.tf-canvas-lvl { height: 48px; width: 18px; }
.tf-canvas-wav { height: 36px; }
.tf-db-text { font-size: 7px; font-weight: 600; color: #A8A4A1; font-variant-numeric: tabular-nums; letter-spacing: .02em; text-align: center; white-space: nowrap; }
