/* ════════════════════════════════════════════════════════════════════
   Vastra Browser — Download Page
   Premium redesign · Vyoma Group design language
   ════════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --orange: #e8622a;
  --orange-hover: #d4561f;
  --orange-soft: rgba(232, 98, 42, 0.08);
  --orange-border: rgba(232, 98, 42, 0.18);
  --bg: #faf8f5;
  --bg-card: #f7f2e9;
  --bg-dark: #14110d;
  --surface: #ffffff;
  --text: #1a1714;
  --text-muted: #6b6560;
  --text-light: #f0ece6;
  --border: #e0ddd8;
  --border-dark: #2a2722;
  --green: #22c55e;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --max-width: 1100px;
  --radius-card: 16px;
  --radius-btn: 10px;
  --nav-height: 68px;
  --shadow-soft: 0 1px 3px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
  --shadow-pop: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-glow: 0 0 0 3px rgba(232, 98, 42, 0.15), 0 12px 40px rgba(0,0,0,.10);
}

/* ─── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes dash {
  to { stroke-dashoffset: 0; }
}
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(232,98,42,0.3)); }
  50%      { filter: drop-shadow(0 0 12px rgba(232,98,42,0.6)); }
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(40px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}

/* Scroll-driven fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* Staggered hero children */
.hero-anim {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-anim:nth-child(1) { animation-delay: 0.05s; }
.hero-anim:nth-child(2) { animation-delay: 0.15s; }
.hero-anim:nth-child(3) { animation-delay: 0.25s; }
.hero-anim:nth-child(4) { animation-delay: 0.35s; }
.hero-anim:nth-child(5) { animation-delay: 0.45s; }
.hero-anim:nth-child(6) { animation-delay: 0.55s; }

/* ─── AMBIENT BACKGROUND ───────────────────────────────────────── */
.bg-aurora {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(232, 98, 42, 0.06) 0%, transparent 70%),
    radial-gradient(55% 55% at 85% 12%, rgba(255,220,200,.25), transparent 60%),
    radial-gradient(50% 60% at 15% 80%, rgba(232, 98, 42, 0.04), transparent 60%),
    var(--bg);
}

/* ─── NAVBAR ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-height); z-index: 1000;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon {
  width: 36px; height: 36px;
  border-radius: 22%; overflow: hidden;
}
.brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: -0.01em; color: var(--text);
}
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 0.9rem; font-weight: 500;
  color: var(--text); border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(26, 23, 20, 0.05); }
.version-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--orange);
  background: var(--orange-soft); border: 1px solid var(--orange-border);
  padding: 4px 12px; border-radius: 999px;
}
.version-chip .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 24px 90px;
  overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  max-width: var(--max-width); margin: 0 auto;
}

/* Hero corner decorations */
.hero-corner-art {
  position: absolute; pointer-events: none; z-index: 1;
}
.hero-corner-art svg { width: 100%; height: 100%; }
.hero-corner-tl { top: calc(var(--nav-height) + 20px); left: -40px; width: 120px; height: 120px; }
.hero-corner-tr { top: calc(var(--nav-height) + 10px); right: -20px; width: 180px; height: 180px; }
.hero-corner-bl { bottom: 20px; left: 50%; transform: translateX(-50%); width: 200px; height: 40px; }

.hero-copy { position: relative; z-index: 5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 500; color: var(--orange);
  background: var(--orange-soft); border: 1px solid var(--orange-border);
  padding: 6px 18px 6px 12px; border-radius: 100px; margin-bottom: 28px;
}
.eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

h1.display {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600; line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 20px; color: var(--text);
}
h1.display em {
  font-style: italic; color: var(--orange); font-weight: 500;
}

.lede {
  font-size: 1.05rem; line-height: 1.65;
  color: var(--text-muted); max-width: 30rem; margin: 0 0 32px;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fineprint { font-size: 12px; color: var(--text-muted); margin-top: 14px; }

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius-btn);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.btn.block { width: 100%; }

.btn-primary {
  background: var(--bg-dark); color: var(--text-light);
  border-color: var(--border-dark);
}
.btn-primary:hover { background: #1a1917; }

.btn-accent {
  background: var(--orange); color: #fff;
  border-color: var(--orange);
}
.btn-accent:hover { background: var(--orange-hover); }

.btn-ghost {
  background: var(--surface); border-color: var(--border); color: var(--text);
}
.btn-ghost:hover { background: #fff8f1; border-color: #d4c8b1; }

.btn-disabled {
  background: var(--bg-card); border-color: var(--border);
  color: var(--text-muted); cursor: default;
}
.btn-disabled:hover { transform: none; box-shadow: none; }

.btn svg { flex-shrink: 0; }

/* ─── HERO ART (Browser Mock) ──────────────────────────────────── */
.hero-art { display: flex; justify-content: center; position: relative; z-index: 5; }
.window-mock {
  width: 100%; max-width: 540px;
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-pop);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.window-mock:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}
.wm-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.wm-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.wm-url {
  margin-left: 12px; font-size: 12px; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 4px 14px; border-radius: 999px; font-family: var(--font-mono);
}
.window-mock img { width: 100%; display: block; }

/* ─── SECTION COMMON ───────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--orange); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--text);
  margin: 0 0 12px;
}
.section-sub {
  font-size: 15px; line-height: 1.55;
  color: var(--text-muted); max-width: 520px;
  margin: 0 0 48px;
}

/* ─── FEATURES ──────────────────────────────────────────────────── */
.features {
  padding: 96px 24px;
  border-top: 1px solid var(--border);
}
.features .container { text-align: center; }
.features .section-title { margin: 8px auto 8px; }
.features .section-sub { margin: 0 auto 48px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; max-width: var(--max-width); margin: 0 auto;
}

.feature {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: #d4c8b1;
  box-shadow: 0 12px 32px rgba(26, 23, 20, 0.06);
}

.f-art {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; height: 140px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; padding: 0;
  overflow: hidden;
  position: relative;
}
.f-mockup-window {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
}
.f-mockup-bar {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  background: var(--surface);
  align-items: center;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.f-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.f-dot.f-r { background: #ff5f56; }
.f-dot.f-y { background: #ffbd2e; }
.f-dot.f-g { background: #27c93f; }
.f-mockup-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature:hover .f-mockup-window img {
  transform: scale(1.05);
}

.feature h3 {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--text);
  margin: 0 0 8px;
}
.feature p {
  margin: 0; font-size: 13.5px; line-height: 1.55;
  color: var(--text-muted); flex: 1;
}

/* ─── CAPABILITIES STRIP ───────────────────────────────────────── */
.capability-strip {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.capability-strip-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.capability-strip-label {
  font-size: 12px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.08em; white-space: nowrap;
}
.capability-strip-list {
  list-style: none; display: flex; align-items: center;
  gap: 22px; flex-wrap: wrap;
}
.capability-strip-list li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--text);
}
.capability-strip-list li svg { color: var(--orange); flex-shrink: 0; }

/* ─── DOWNLOADS ─────────────────────────────────────────────────── */
.downloads {
  padding: 96px 24px;
  border-top: 1px solid var(--border);
}
.downloads .container { text-align: center; }
.downloads .section-title { margin: 8px auto 8px; }
.downloads .section-sub { margin: 0 auto 48px; }

.dl-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; max-width: var(--max-width); margin: 0 auto;
  text-align: left;
}

.dl-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 0;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.dl-card:not(.soon):hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
}
.dl-card.soon { opacity: .65; }
.dl-card.highlight { border-color: var(--orange); box-shadow: var(--shadow-glow); }

.dl-card-header {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 22px 24px; display: flex; align-items: center; gap: 14px;
}
.dl-os-icon {
  width: 44px; height: 44px;
  background: var(--orange); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dl-os-icon svg { color: #fff; }
.dl-card-header h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--text); }
.dl-card-header p { margin: 2px 0 0; font-size: 12px; color: var(--text-muted); }

.dl-card-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }

.dl-meta {
  list-style: none; display: grid; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}
.dl-meta li { padding-left: 22px; position: relative; }
.dl-meta li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%23e8622a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

.dl-card-footer { padding: 0 24px 22px; margin-top: auto; }

.dl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ─── CODE BLOCK ────────────────────────────────────────────────── */
.code-block {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-dark); color: var(--text-light);
  border-radius: 10px; padding: 10px 14px; font-size: 12px;
  overflow: hidden; border: 1px solid var(--border-dark);
}
.code-block code {
  font-family: var(--font-mono);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1;
}
.copy-btn {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  padding: 5px 12px; font-size: 11px; font-weight: 600;
  cursor: pointer; transition: background 0.2s ease;
  font-family: var(--font-body);
}
.copy-btn:hover { background: rgba(255,255,255,.2); }
.copy-btn.copied { background: var(--green); border-color: var(--green); }

/* ─── THEME SHOWCASE SECTION ───────────────────────────────────── */
.theme-showcase-section {
  padding: 96px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, #f7f2e9 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.theme-showcase-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 400px 250px at 20% 30%, rgba(232, 98, 42, 0.06), transparent),
    radial-gradient(ellipse 300px 200px at 80% 70%, rgba(34, 197, 94, 0.05), transparent);
  pointer-events: none;
}
.theme-showcase-section .container { position: relative; z-index: 2; }
.theme-showcase-section .section-title { text-align: center; margin: 8px auto 8px; }
.theme-showcase-section .section-sub { text-align: center; margin: 0 auto 56px; }

.theme-showcase-card {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.theme-control-panel {
  text-align: left;
}
.accent-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.accent-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.accent-dot:hover {
  transform: scale(1.15);
}
.accent-dot.active {
  border-color: var(--text);
  transform: scale(1.1);
}

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

.window-mock-theme {
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-mock-newtab {
  display: flex;
  height: 220px;
  background: var(--bg);
  transition: background 0.3s ease;
}
.mock-sidebar {
  width: 40px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.mock-workspace-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: background 0.2s ease;
}
.mock-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.mock-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-greeting {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.mock-search-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--text-muted);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.mock-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mock-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: background 0.3s ease, border-color 0.3s ease;
}


/* Window mock dark-theme support rules */
.window-mock-theme.dark-theme {
  border-color: #2a2722;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  background: #14110d;
}
.window-mock-theme.dark-theme .wm-bar {
  background: #1a1714;
  border-bottom: 1px solid #2a2722;
}
.window-mock-theme.dark-theme .theme-mock-newtab {
  background: #14110d;
}
.window-mock-theme.dark-theme .mock-sidebar {
  background: #1a1714;
  border-color: #2a2722;
}
.window-mock-theme.dark-theme .mock-workspace-icon:not(.mock-active-accent) {
  background: #2a2722;
  color: #a09890;
}
.window-mock-theme.dark-theme .mock-greeting {
  color: #f0ece6;
}
.window-mock-theme.dark-theme .mock-search-bar {
  background: #1a1714;
  border-color: #2a2722;
  color: #a09890;
}
.window-mock-theme.dark-theme .mock-widget {
  background: #1a1714;
  border-color: #2a2722;
  color: #f0ece6;
}

@media (max-width: 900px) {
  .theme-showcase-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ─── CTA BANNER ────────────────────────────────────────────────── */
.cta-banner-section {
  padding: 0 24px 96px;
}
.cta-banner {
  max-width: var(--max-width); margin: 0 auto;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,98,42,0.15), transparent 70%);
  pointer-events: none;
}
.cta-banner-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px); font-weight: 600;
  color: #fff; margin: 0 0 8px;
}
.cta-banner-text p { font-size: 15px; color: rgba(255,255,255,.5); margin: 0; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 2; }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-hover); }
.btn-dark-ghost {
  background: transparent; color: var(--text-light);
  border: 1.5px solid rgba(240,236,230,0.2);
}
.btn-dark-ghost:hover { border-color: rgba(240,236,230,0.5); background: rgba(255,255,255,.05); }

/* ─── FOOTER ────────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--border); padding: 48px 24px 64px;
}
.foot-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.foot-brand {
  display: flex; align-items: center; gap: 10px;
}
.foot-brand img { border-radius: 22%; }
.foot-brand span {
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 600; color: var(--text);
}
.foot-copy { font-size: 12.5px; color: var(--text-muted); }
.foot-links {
  display: flex; gap: 20px; list-style: none;
}
.foot-links a {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s ease;
}
.foot-links a:hover { color: var(--orange); }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-left: 18px; padding-right: 18px; }
  .hero-copy .cta-row { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-art { margin-top: 24px; }
  .hero-corner-tl, .hero-corner-tr { display: none; }
  .feature-grid, .agri-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .capability-strip-list { gap: 14px; }
}
@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-height) + 48px) 18px 60px; }
  h1.display { font-size: clamp(36px, 8vw, 52px); }
  .features, .downloads, .agri-meter { padding: 56px 18px; }
  .feature { padding: 22px 20px; }
  .f-art { height: 90px; padding: 10px; }
  .cta-banner { padding: 40px 28px; flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }
  .meter-gauge { gap: 20px; }
  .gauge-ring { width: 120px; height: 120px; }
  .nav-links { display: none; }
  .foot-inner { flex-direction: column; text-align: center; gap: 12px; }
}
@media (max-width: 480px) {
  h1.display { font-size: 36px; }
  .lede { font-size: 15px; }
  .capability-strip-list { gap: 10px 14px; }
  .dl-card-header { padding: 18px 20px; }
  .dl-card-body { padding: 18px 20px; }
  .dl-card-footer { padding: 0 20px 18px; }
}

/* ─── FEATURES PAGE DEDICATED STYLES ───────────────────────────────── */
.features-page .bg-aurora {
  background:
    radial-gradient(ellipse 700px 350px at 50% 0%, rgba(232, 98, 42, 0.08) 0%, transparent 70%),
    radial-gradient(55% 55% at 15% 15%, rgba(255,220,200,.22), transparent 60%),
    radial-gradient(50% 60% at 85% 80%, rgba(232, 98, 42, 0.05), transparent 60%),
    var(--bg);
}

.nav-links a.active {
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 600;
}

/* Hero features */
.features-hero {
  padding: calc(var(--nav-height) + 60px) 24px 64px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.features-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.features-hero h1.display {
  margin-bottom: 24px;
}
.features-hero .lede {
  margin-bottom: 48px;
  max-width: 38rem;
}
.hero-showcase {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}
.window-mock-large {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.window-mock-large img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features details grid and alternating showcase rows */
.features-detail-section {
  padding: 48px 24px 96px;
  background: var(--bg);
}
.feature-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 80px 0;
}
@media (min-width: 901px) {
  .feature-row {
    flex-direction: row;
    align-items: center;
    gap: 72px;
  }
  .feature-row.row-reverse {
    flex-direction: row-reverse;
  }
  .feature-desc {
    flex: 1.1;
  }
  .feature-visual {
    flex: 1;
  }
}
.feat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(232, 98, 42, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.feature-desc h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--text);
}
.feat-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.5;
  margin-bottom: 16px;
}
.feature-desc p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.section-divider {
  border: 0;
  height: 1px;
  background: radial-gradient(circle, var(--border) 0%, transparent 80%);
  margin: 80px auto;
  max-width: var(--max-width);
}

.window-mock-feature {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.window-mock-feature:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
  border-color: rgba(232,98,42,0.25);
}
.window-mock-feature img {
  width: 100%;
  height: auto;
  display: block;
}

/* Interactive Demos Boxes */
.demo-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.demo-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--orange-soft);
  border: 1.5px solid var(--orange-border);
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 6px;
  pointer-events: none;
}

/* 01 / Workspaces Switcher */
.ws-demo-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.ws-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}
.ws-tab .ws-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ws-accent);
}
.ws-tab.active {
  background: var(--surface);
  border-color: var(--ws-accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.ws-demo-display {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  transition: border-color 0.3s ease;
}
.ws-demo-display p {
  margin: 0 0 12px !important;
  font-size: 13.5px !important;
  color: var(--text) !important;
}
.ws-mock-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ws-mock-tabs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* 02 / Widgets */
.widget-dashboard-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .widget-dashboard-mock {
    grid-template-columns: 1fr;
  }
}
.mini-widget {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.mw-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: block;
}
.timer-display {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
  text-align: center;
  margin-bottom: 10px;
}
.timer-controls {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.btn-xs {
  padding: 6px 12px !important;
  font-size: 11px !important;
  border-radius: 6px !important;
}
.widget-todo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.widget-todo-list li label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text);
}
.widget-todo-list input[type="checkbox"] {
  accent-color: var(--orange);
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.widget-todo-list input[type="checkbox"]:checked + span {
  text-decoration: line-through;
  color: var(--text-muted);
  opacity: 0.7;
}

/* 03 / True Incognito */
.incognito-demo {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.incognito-demo.incognito-active {
  background: #17121c !important;
  border-color: #9060b8 !important;
  box-shadow: 0 0 20px rgba(144, 96, 184, 0.15), var(--shadow-soft) !important;
}
.incognito-demo.incognito-active .demo-badge {
  background: rgba(144, 96, 184, 0.1);
  border-color: rgba(144, 96, 184, 0.25);
  color: #c098e8;
}
.incognito-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.toggle-label {
  font-size: 13.5px;
  font-weight: 500;
}
.toggle-status-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.incognito-active .toggle-status-text {
  color: #c098e8;
}
/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border);
  transition: .3s;
}
.slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
}
input:checked + .slider {
  background-color: #9060b8;
}
input:checked + .slider::before {
  transform: translateX(22px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round::before {
  border-radius: 50%;
}
.incognito-stats {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 0.3s, border-color 0.3s;
}
.incognito-active .incognito-stats {
  background: #0f0b12;
  border-color: rgba(144, 96, 184, 0.2);
  color: #eae6f0;
}
.stat-p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}
.stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.stat-dot.green { background: var(--green); }
.stat-dot.orange { background: var(--orange); }
.incognito-active .stat-dot.green { background: #b080df; }
.incognito-active .stat-dot.orange { background: #4ecdc4; }
.incognito-glow-visual {
  box-shadow: 0 20px 48px rgba(144, 96, 184, 0.25) !important;
  border-color: rgba(144, 96, 184, 0.4) !important;
}

/* 04 / Keyboard Keyboard keys */
kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: 2px solid #ccc;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-block;
  white-space: nowrap;
}
.kbd-hint kbd {
  background: var(--bg-card);
}

/* 05 / Theme selectors styling */
.theme-picker-row {
  display: flex;
  gap: 12px;
}
.theme-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.theme-btn:hover {
  transform: scale(1.15);
}
.theme-btn.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(232, 98, 42, 0.2);
}
#calmDemoContainer {
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.theme-text-preview {
  transition: background 0.4s ease, border-color 0.4s ease;
}
/* Theme styles applied to the container */
#calmDemoContainer.theme-warm-light {
  background: #faf8f5 !important;
  border-color: #e0ddd8 !important;
  color: #1a1714 !important;
}
#calmDemoContainer.theme-warm-light .theme-text-preview {
  background: #ffffff;
  border-color: #e0ddd8;
}
#calmDemoContainer.theme-soft-dark {
  background: #14110d !important;
  border-color: #2a2722 !important;
  color: #f0ece6 !important;
}
#calmDemoContainer.theme-soft-dark .theme-text-preview {
  background: #1f1a14;
  border-color: #2c2720;
}
#calmDemoContainer.theme-forest-quiet {
  background: #e0ede0 !important;
  border-color: #c2d5c2 !important;
  color: #1b2e1b !important;
}
#calmDemoContainer.theme-forest-quiet .theme-text-preview {
  background: #ecf3ec;
  border-color: #ccdccd;
}
#calmDemoContainer.theme-sunset-cream {
  background: #f7ede2 !important;
  border-color: #e6ccb2 !important;
  color: #3b2f2f !important;
}
#calmDemoContainer.theme-sunset-cream .theme-text-preview {
  background: #fdf8f4;
  border-color: #ecd5c0;
}

/* 06 / Local status */
.privacy-status-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.status-indicator svg {
  flex-shrink: 0;
}

/* ─── SIMULATED COMMAND PALETTE ───────────────────────────────────── */
.cmd-palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 17, 13, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.cmd-palette-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cmd-palette {
  width: 100%;
  max-width: 600px;
  background: rgba(250, 248, 245, 0.96);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.cmd-palette-overlay.open .cmd-palette {
  transform: translateY(0);
}
.cmd-search-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--border);
  color: var(--text-muted);
}
.cmd-search-wrapper input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
}
.cmd-results {
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cmd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cmd-item:hover, .cmd-item.selected {
  background: var(--orange);
  color: white;
}
.cmd-item:hover .cmd-desc, .cmd-item.selected .cmd-desc {
  color: rgba(255,255,255,0.7);
}
.cmd-item:hover kbd, .cmd-item.selected kbd {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  color: white;
}
.cmd-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.cmd-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cmd-title {
  font-size: 13.5px;
  font-weight: 600;
}
.cmd-desc {
  font-size: 11px;
  color: var(--text-muted);
}
.cmd-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

