/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:        #0a0a0f;
    --bg-2:      #111118;
    --bg-3:      #1a1a25;
    --border:    rgba(255,255,255,0.07);
    --border-2:  rgba(255,255,255,0.12);
    --text:      #f0f0f5;
    --text-2:    #8b8b9a;
    --text-3:    #5a5a6a;
    --accent:    #6366f1;
    --accent-2:  #818cf8;
    --green:     #10b981;
    --yellow:    #f59e0b;
    --red:       #ef4444;
    --radius:    14px;
    --radius-sm: 8px;
    --shadow:    0 24px 64px rgba(0,0,0,0.6);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================
   NAV
   ============================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    background: rgba(10,10,15,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}

.nav-logo-icon {
    width: 30px; height: 30px;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-download {
    background: var(--accent);
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: opacity 0.2s !important;
}
.nav-download:hover { opacity: 0.9; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    z-index: 99;
}
.mobile-menu a {
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-download {
    color: var(--accent) !important;
    font-weight: 600 !important;
}
.mobile-menu.open { display: flex; }

/* ============================
   BUTTONS
   ============================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 10px;
    transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid var(--border-2);
    transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.btn-large { font-size: 17px; padding: 15px 32px; border-radius: 12px; }

/* ============================
   HERO
   ============================ */
.hero {
    padding: 160px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 60px;
}

/* Hero Window Mock */
.hero-window {
    max-width: 820px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 0 1px var(--border);
    background: var(--bg-2);
}

.window-chrome {
    background: var(--bg-3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.window-dots { display: flex; gap: 6px; }
.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.window-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-30px);
}

.window-body {
    display: flex;
    min-height: 320px;
}

.mock-sidebar {
    width: 160px;
    border-right: 1px solid var(--border);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.mock-sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500;
}
.mock-sidebar-item.active {
    background: rgba(99,102,241,0.15);
    color: var(--accent-2);
}

.mock-icon {
    width: 16px; height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}
.cpu-icon    { background: #6366f1; }
.tweak-icon  { background: #f59e0b; }
.clean-icon  { background: #10b981; }
.devops-icon { background: #06b6d4; }
.modes-icon  { background: #a78bfa; }

.mock-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-stats-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mock-stat-card {
    flex: 1;
    min-width: 80px;
    background: var(--bg-3);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
}

.mock-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mock-stat-ring {
    position: relative;
    width: 48px; height: 48px;
}
.mock-stat-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mock-stat-ring span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.mock-stat-ring.cpu span  { color: #6366f1; }
.mock-stat-ring.ram span  { color: #10b981; }
.mock-stat-ring.disk span { color: #f59e0b; }

.mock-stat-value.net {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-2);
    font-variant-numeric: tabular-nums;
}

.mock-processes {
    background: var(--bg-3);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.mock-process-header, .mock-process-row {
    display: grid;
    grid-template-columns: 1fr 70px 80px;
    padding: 8px 14px;
    font-size: 12px;
    gap: 8px;
}
.mock-process-header {
    color: var(--text-3);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
}
.mock-process-row {
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
}
.mock-process-row:last-child { border-bottom: none; }

.proc-name { color: var(--text); font-weight: 500; }
.proc-cpu.high { color: #ef4444; font-weight: 600; }
.proc-cpu.med  { color: #f59e0b; font-weight: 600; }
.proc-cpu.low  { color: #10b981; font-weight: 600; }
.proc-mem { color: var(--text-2); }

/* ============================
   TRUSTED
   ============================ */
.trusted {
    padding: 48px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.trusted-logos span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================
   FEATURES
   ============================ */
.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-block-reverse { direction: rtl; }
.feature-block-reverse > * { direction: ltr; }

.feature-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 12px;
}

.feature-text h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.feature-text p {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-2);
    font-size: 14px;
}
.feature-list li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}
.feature-list code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    background: rgba(99,102,241,0.1);
    color: var(--accent-2);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Feature visuals */
.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-card {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 24px;
    width: 100%;
    box-shadow: var(--shadow);
}

/* Dashboard visual */
.fv-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.fv-ring-wrap {
    position: relative;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.fv-ring {
    width: 80px; height: 80px;
    transform: rotate(-90deg);
    display: block;
}

.fv-ring-label {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fv-ring-val {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}
.fv-ring-name {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fv-process-list {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.fv-proc-head, .fv-proc {
    display: grid;
    grid-template-columns: 1fr 60px 80px;
    font-size: 12px;
    padding: 5px 0;
    gap: 8px;
}
.fv-proc-head {
    color: var(--text-3);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.fv-proc { color: var(--text-2); border-bottom: 1px solid var(--border); }
.fv-proc:last-child { border-bottom: none; }
.fv-proc span:first-child { color: var(--text); font-weight: 500; }
.fv-proc span:last-child { font-variant-numeric: tabular-nums; }

/* Tweaks visual */
.tweaks-card { padding: 20px; }
.fv-tweaks-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.fv-tweak-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.fv-tweak-row:last-child { border-bottom: none; }
.fv-tweak-row.locked { opacity: 0.5; }

.fv-tweak-info { display: flex; flex-direction: column; gap: 2px; }
.fv-tweak-name { font-size: 13px; font-weight: 500; color: var(--text); }
.fv-tweak-desc { font-size: 11px; color: var(--text-3); }

.pro-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 20px;
}

.fv-toggle {
    width: 38px; height: 22px;
    background: var(--bg-3);
    border-radius: 11px;
    border: 1px solid var(--border-2);
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}
.fv-toggle::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    background: var(--text-3);
    border-radius: 50%;
    top: 2px; left: 2px;
    transition: transform 0.2s, background 0.2s;
}
.fv-toggle.on {
    background: var(--accent);
    border-color: var(--accent);
}
.fv-toggle.on::after {
    transform: translateX(16px);
    background: #fff;
}

.fv-toggle-locked {
    width: 38px; height: 22px;
    background: var(--bg-3);
    border-radius: 11px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    flex-shrink: 0;
}

/* Cleanup visual */
.cleanup-card { padding: 20px; }
.cleanup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.cleanup-title { font-size: 13px; font-weight: 700; color: var(--text); }
.cleanup-total { font-size: 12px; font-weight: 600; color: var(--accent-2); }

.cleanup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.cleanup-item:last-of-type { border-bottom: none; }

.cleanup-item-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.xcode-color  { background: rgba(99,102,241,0.15); color: #6366f1; }
.npm-color    { background: rgba(245,158,11,0.15); color: #f59e0b; }
.docker-color { background: rgba(16,185,129,0.15); color: #10b981; }

.cleanup-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.cleanup-item-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cleanup-bar {
    height: 3px;
    background: var(--bg-3);
    border-radius: 2px;
    overflow: hidden;
}
.cleanup-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.cleanup-item-size {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
}

.cleanup-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-2);
    color: var(--text-2);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.cleanup-btn:hover { background: rgba(255,255,255,0.1); }

.cleanup-all-btn {
    width: 100%;
    margin-top: 14px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    transition: opacity 0.2s;
}
.cleanup-all-btn:hover { opacity: 0.9; }

/* DevOps visual */
.devops-card { padding: 20px; }
.devops-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    background: var(--bg-3);
    padding: 3px;
    border-radius: 8px;
    width: fit-content;
}
.devops-tab {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 6px;
    color: var(--text-3);
    transition: background 0.2s, color 0.2s;
}
.devops-tab.active {
    background: var(--bg-2);
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.devops-port-head, .devops-port-row {
    display: grid;
    grid-template-columns: 60px 1fr 60px auto;
    font-size: 12px;
    padding: 7px 0;
    gap: 8px;
    align-items: center;
}
.devops-port-head {
    color: var(--text-3);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
}
.devops-port-row { border-bottom: 1px solid var(--border); }
.devops-port-row:last-child { border-bottom: none; }

.port-num { font-weight: 700; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.port-proc { color: var(--text); font-weight: 500; }
.port-pid { color: var(--text-3); font-variant-numeric: tabular-nums; }

.port-kill {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #f87171;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    transition: background 0.2s;
}
.port-kill:hover { background: rgba(239,68,68,0.2); }

/* Feature Duo (Modes + Palette) */
.features-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-mini {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s;
}
.feature-mini:hover { border-color: var(--border-2); }

.feature-mini-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.modes-bg   { background: rgba(167,139,250,0.15); color: #a78bfa; }
.palette-bg { background: rgba(99,102,241,0.15); color: #6366f1; }

.feature-mini h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.feature-mini p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.7;
}
kbd {
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    color: var(--text);
    font-size: 12px;
    font-family: -apple-system, sans-serif;
    padding: 1px 6px;
    border-radius: 4px;
}

/* ============================
   MENU BAR SECTION
   ============================ */
.menubar-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 24px;
}

.menubar-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.menubar-text h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.menubar-text p {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.7;
}

.menubar-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menubar-popup {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 20px;
    width: 260px;
    box-shadow: var(--shadow);
}

.mb-circles {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
}

.mb-circle {
    position: relative;
    width: 66px; height: 66px;
    display: flex; align-items: center; justify-content: center;
}
.mb-circle svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.mb-circle-label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    z-index: 1;
}
.mb-val { font-size: 12px; font-weight: 800; }
.mb-name { font-size: 8px; font-weight: 700; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }

.mb-net {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
    padding: 8px 4px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.mb-actions { display: flex; flex-direction: column; gap: 2px; }
.mb-action-btn {
    padding: 8px 10px;
    font-size: 12px;
    color: var(--text);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}
.mb-action-btn:hover { background: rgba(255,255,255,0.06); }

/* ============================
   PRICING
   ============================ */
.pricing {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 16px;
    color: var(--text-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pricing-card-pro {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(99,102,241,0.06) 0%, var(--bg-2) 40%);
    transform: scale(1.03);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}
.price-amount {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.03em;
}
.price-period {
    font-size: 15px;
    color: var(--text-2);
}

.pricing-card-header p {
    font-size: 13px;
    color: var(--text-3);
}

.pricing-features { display: flex; flex-direction: column; gap: 9px; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-2);
}
.pricing-features li::before {
    content: '';
    width: 16px; height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}
.pricing-features li.yes { color: var(--text); }
.pricing-features li.yes::before {
    background: rgba(16,185,129,0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.pricing-features li.no { color: var(--text-3); }
.pricing-features li.no::before {
    background: rgba(255,255,255,0.03);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5a6a' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.pricing-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: opacity 0.2s, transform 0.15s;
}
.pricing-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.pricing-btn-free {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-2);
    color: var(--text);
}
.pricing-btn-pro {
    background: var(--accent);
    color: #fff;
}

.pricing-note {
    font-size: 11px;
    color: var(--text-3);
    text-align: center;
}

/* ============================
   FAQ
   ============================ */
.faq {
    padding: 80px 24px 100px;
    max-width: 740px;
    margin: 0 auto;
}

.faq-list { display: flex; flex-direction: column; }

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent-2); }

.faq-arrow {
    flex-shrink: 0;
    transition: transform 0.25s;
    color: var(--text-3);
}
.faq-question.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding-bottom: 20px;
}
.faq-answer.open { display: block; }
.faq-answer p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================
   CTA
   ============================ */
.cta {
    padding: 80px 24px;
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(99,102,241,0.08) 0%, transparent 70%);
    border-top: 1px solid var(--border);
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta h2 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.cta p {
    color: var(--text-2);
    font-size: 16px;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 60px 24px 32px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--text-3);
}

.footer-links {
    display: contents;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 4px;
}
.footer-col a {
    font-size: 14px;
    color: var(--text-2);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-3);
}

/* ============================
   HERO WHAT'S NEW BADGE
   ============================ */
.hero-whats-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.25);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px 6px 8px;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}
.hero-whats-new:hover {
    background: rgba(99,102,241,0.14);
    border-color: rgba(99,102,241,0.4);
    color: var(--text);
}
.hero-whats-new-badge {
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}
.hero-whats-new svg { color: var(--text-3); flex-shrink: 0; }

/* ============================
   TRUST STATS
   ============================ */
.trust-stats {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 48px 24px;
}
.trust-stats-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.trust-stat {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 24px;
}
.trust-stat-num {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f0f0f5, #8b8b9a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}
.trust-stat-label {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
    text-align: center;
}
.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ============================
   HOW IT WORKS
   ============================ */
.how-it-works {
    padding: 100px 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.steps {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-top: 60px;
    position: relative;
}
.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    padding: 0 20px;
}
.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
}
.step-connector {
    position: absolute;
    top: 0;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--border));
    top: 28px;
}
.step-connector.last { display: none; }

.step-icon {
    width: 56px; height: 56px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-2);
    margin-top: 8px;
    position: relative;
    z-index: 1;
}
.step h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.step p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    text-align: center;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials {
    padding: 100px 24px;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.testimonials .section-header {
    max-width: 1100px;
    margin: 0 auto 60px;
}
.testimonials-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s, transform 0.2s;
}
.testimonial-card:hover {
    border-color: var(--border-2);
    transform: translateY(-2px);
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 2px;
}
.testimonial-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.testimonial-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    opacity: 0.85;
}
.testimonial-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.testimonial-role {
    display: block;
    font-size: 11px;
    color: var(--text-3);
}

/* ============================
   PRICING TOGGLE
   ============================ */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.pricing-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pricing-toggle-switch {
    width: 48px; height: 26px;
    background: var(--bg-3);
    border-radius: 13px;
    border: 1px solid var(--border-2);
    position: relative;
    transition: background 0.25s, border-color 0.25s;
    cursor: pointer;
    flex-shrink: 0;
}
.pricing-toggle-switch.yearly {
    background: var(--accent);
    border-color: var(--accent);
}
.pricing-toggle-thumb {
    position: absolute;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 2px; left: 2px;
    transition: transform 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.pricing-toggle-switch.yearly .pricing-toggle-thumb {
    transform: translateX(22px);
}
.pricing-save-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.02em;
}
#toggleLabelYearly.active { color: var(--text); }
#toggleLabelMonthly.active { color: var(--text); }

/* ============================
   CHANGELOG
   ============================ */
.changelog {
    padding: 100px 24px;
    border-top: 1px solid var(--border);
}
.changelog-inner {
    max-width: 860px;
    margin: 0 auto;
}
.changelog-header {
    margin-bottom: 52px;
}
.changelog-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.changelog-header p {
    font-size: 16px;
    color: var(--text-2);
}
.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--border-2);
    padding-left: 0;
    margin-left: 60px;
}
.changelog-entry {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
    position: relative;
}
.changelog-entry::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 2px var(--accent);
}
.changelog-meta {
    position: absolute;
    left: -140px;
    top: 2px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    width: 120px;
}
.changelog-version {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-2);
}
.changelog-date {
    font-size: 11px;
    color: var(--text-3);
}
.changelog-content {
    padding-left: 28px;
    flex: 1;
}
.changelog-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.changelog-content ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.changelog-content li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}
.cl-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 1px;
}
.cl-tag.new { background: rgba(99,102,241,0.15); color: var(--accent-2); }
.cl-tag.fix { background: rgba(16,185,129,0.15); color: #10b981; }
.cl-tag.improve { background: rgba(245,158,11,0.15); color: #f59e0b; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
    .feature-block,
    .feature-block-reverse,
    .menubar-content,
    .features-duo,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .feature-block-reverse { direction: ltr; }
    .pricing-card-pro { transform: none; }
    .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-inner { grid-template-columns: 1fr; }
    .window-body { flex-direction: column; }
    .mock-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--border); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .step-connector { display: none; }
    .step-number { position: relative; top: auto; left: auto; transform: none; }
    .trust-divider { width: 100%; height: 1px; }
    .trust-stats-inner { flex-direction: column; }
    .changelog-list { margin-left: 0; border-left: none; }
    .changelog-entry { flex-direction: column; }
    .changelog-entry::before { display: none; }
    .changelog-meta { position: relative; left: auto; top: auto; align-items: flex-start; flex-direction: row; align-items: center; gap: 10px; }
    .changelog-content { padding-left: 0; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero { padding: 120px 20px 60px; }
    .features { padding: 60px 20px; gap: 60px; }
    .hero-window { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .mock-stats-row { gap: 8px; }
    .fv-row { gap: 16px; }
    .pricing-grid { gap: 16px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .trust-stat-num { font-size: 32px; }
}

/* ============================
   SCROLL REVEAL
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
