:root {
  --bg-deep: #070708;
  --bg-surface: #0f0f12;
  --bg-card: rgba(20, 20, 24, 0.82);
  --bg-card-hover: rgba(28, 27, 33, 0.95);
  --yellow-bright: #f5c418;
  --yellow-gold: #d89614;
  --yellow-amber: #b87810;
  --yellow-glow: rgba(245, 196, 24, 0.25);
  --yellow-border: rgba(245, 196, 24, 0.38);
  --text-main: #f7f7f8;
  --text-muted: #9a9aa6;
  --text-dim: #646470;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--bg-deep);
  position: relative;
  overflow-x: hidden;
}

/* Signature Volli Smooth Obsidian + Golden Glow Background (No Grid) */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 75% 15%, rgba(245, 196, 24, 0.08), transparent 55%);
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 620px;
  height: 620px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(245, 196, 24, 0.22) 0%, rgba(216, 150, 20, 0.08) 50%, transparent 75%);
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-2 {
  width: 520px;
  height: 520px;
  bottom: 10%;
  left: -180px;
  background: radial-gradient(circle, rgba(216, 150, 20, 0.14) 0%, transparent 70%);
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 35px) scale(1.08); }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 7, 8, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(245, 196, 24, 0.35));
  transition: transform 0.35s ease;
}

.brand:hover .brand-icon {
  transform: rotate(8deg) scale(1.08);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 20%, var(--yellow-bright) 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-tab:hover,
.nav-tab.active {
  color: var(--text-main);
  background: rgba(245, 196, 24, 0.09);
  border-color: rgba(245, 196, 24, 0.25);
}

.nav-tab .soon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow-bright);
  box-shadow: 0 0 8px var(--yellow-bright);
}

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

.lang-switch {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch:hover {
  border-color: var(--yellow-border);
  background: rgba(245, 196, 24, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow-gold) 100%);
  color: #09090b;
  box-shadow: 0 8px 28px rgba(245, 196, 24, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245, 196, 24, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(245, 196, 24, 0.35);
}

.btn-secondary:hover {
  background: rgba(245, 196, 24, 0.14);
  border-color: var(--yellow-bright);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

main {
  position: relative;
  z-index: 1;
  padding-top: 86px;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.page-view {
  display: none;
  animation: fadeInPage 0.4s ease forwards;
}

.page-view.active {
  display: block;
}

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

/* Hero Section */
.hero {
  padding: 46px 0 50px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(245, 196, 24, 0.1);
  border: 1px solid rgba(245, 196, 24, 0.32);
  color: var(--yellow-bright);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--yellow-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--yellow-bright);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.55; }
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 920px;
  margin: 0 auto 18px;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Quick Feature Pills under Hero Subtitle */
.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 32px;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 196, 24, 0.25);
  color: #e4e4e7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-pill span {
  color: var(--yellow-bright);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* ==========================================
   3D INTERACTIVE BROWSER STAGE
   ========================================== */
.stage-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.screen-mode-btn {
  background: rgba(18, 18, 22, 0.9);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.screen-mode-btn:hover {
  color: var(--text-main);
  border-color: rgba(245, 196, 24, 0.4);
  transform: translateY(-1px);
}

.screen-mode-btn.active {
  background: linear-gradient(135deg, rgba(245, 196, 24, 0.22), rgba(216, 150, 20, 0.12));
  color: var(--yellow-bright);
  border-color: var(--yellow-bright);
  box-shadow: 0 0 22px rgba(245, 196, 24, 0.25);
}

.perspective-stage {
  perspective: 1800px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 10px 44px;
  position: relative;
}

.browser-3d-rig {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-5deg) rotateZ(0deg);
  transition: transform 0.2s ease-out;
  will-change: transform;
  border-radius: 18px;
}

.browser-3d-rig.smooth-transition {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-chassis-shadow {
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 40%, rgba(245, 196, 24, 0.42), rgba(0, 0, 0, 0.95) 75%);
  transform: translateZ(-50px) scale(0.98);
  filter: blur(36px);
  pointer-events: none;
}

.browser-chassis-layer {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 196, 24, 0.5), rgba(25, 25, 30, 0.9) 45%, rgba(216, 150, 20, 0.45));
  transform: translateZ(-12px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.92), 0 0 40px rgba(245, 196, 24, 0.16);
  pointer-events: none;
}

.browser-screen-frame {
  position: relative;
  z-index: 5;
  background: #0a0a0c;
  border-radius: 18px;
  border: 1px solid rgba(245, 196, 24, 0.48);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.screen-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 25;
  background: radial-gradient(
    650px circle at var(--glare-x, 50%) var(--glare-y, 30%),
    rgba(245, 196, 24, 0.11),
    rgba(255, 255, 255, 0.03) 35%,
    transparent 70%
  );
  mix-blend-mode: screen;
}

.screen-slide {
  display: none;
  width: 100%;
  position: relative;
  z-index: 10;
}

.screen-slide.active {
  display: block;
}

.screen-slide img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

/* ==========================================
   AUTHENTIC INTERACTIVE LIVE UI SIMULATOR
   ========================================== */
.interactive-volli-sim {
  display: flex;
  flex-direction: column;
  min-height: 600px;
  background: #09090b;
  color: #e4e4e7;
  text-align: left;
  font-size: 0.85rem;
  position: relative;
  --sim-accent: #f5c418;
}

/* Horizontal Top Tabs Bar (Shown when Horizontal Layout is toggled) */
.sim-horizontal-tabbar {
  display: none;
  background: #070709;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px 12px 0;
  gap: 6px;
  align-items: center;
}

.interactive-volli-sim.layout-horizontal .sim-horizontal-tabbar {
  display: flex;
}

.interactive-volli-sim.layout-horizontal .sim-sidebar {
  display: none;
}

.sim-htab {
  padding: 7px 14px;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.04);
  color: #999;
  font-size: 0.76rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sim-htab.active {
  background: #141418;
  color: #fff;
  border-color: rgba(245, 196, 24, 0.4);
}

.sim-body-wrap {
  display: flex;
  flex: 1;
  min-height: 580px;
}

.sim-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #0d0d10;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-sidebar-header {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8e8e99;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 6px;
}

.sim-workspaces-row {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.sim-workspace-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 26px;
  border-radius: 999px;
  background: rgba(245, 196, 24, 0.2);
  border: 1px solid var(--sim-accent);
  color: var(--sim-accent);
  font-size: 0.76rem;
  cursor: pointer;
}

.sim-tabs-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-tabs-count {
  background: rgba(255, 255, 255, 0.12);
  color: #ccc;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 4px;
}

.sim-tab-item {
  padding: 9px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #a1a1aa;
  margin-bottom: 5px;
  border: 1px solid transparent;
  transition: 0.18s;
  user-select: none;
}

.sim-tab-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sim-tab-item.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 196, 24, 0.45);
  color: #fff;
  box-shadow: inset 2px 0 0 var(--sim-accent);
}

.sim-tab-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  overflow: hidden;
}

.sim-tab-meta span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.sim-tab-meta small {
  font-size: 0.67rem;
  color: #71717a;
}

/* Simulator Main Area (Pure Obsidian + Golden Glow, No Grid) */
.sim-main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #09090b;
}

.sim-main-glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--sim-accent) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(45px);
  pointer-events: none;
}

.sim-topbar {
  height: 46px;
  background: #0c0c0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  z-index: 15;
}

.sim-icon-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #a1a1aa;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: 0.18s;
}

.sim-icon-btn:hover,
.sim-icon-btn.active {
  background: rgba(245, 196, 24, 0.18);
  border-color: var(--sim-accent);
  color: var(--sim-accent);
}

.sim-omnibox {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
  background: #141418;
  border: 1px solid rgba(245, 196, 24, 0.28);
  border-radius: 999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #aaa;
  font-size: 0.78rem;
}

.sim-action-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eee;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sim-action-pill:hover,
.sim-action-pill.active {
  background: var(--sim-accent);
  color: #000;
  border-color: var(--sim-accent);
}

/* Inner Views inside Simulator */
.sim-viewport-pane {
  display: none;
  flex: 1;
  position: relative;
  overflow-y: auto;
}

.sim-viewport-pane.active {
  display: flex;
  flex-direction: column;
}

/* Authentic Volli 1.22 New Tab Body + Real Widgets (Matches screenshot-widgets.png) */
.sim-newtab-body {
  flex: 1;
  padding: 36px 46px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
}

.sim-real-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  z-index: 2;
}

.real-volli-widget {
  background: rgba(18, 18, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
  color: #e4e4e7;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: 0.2s;
}

.real-volli-widget:hover {
  border-color: rgba(245, 196, 24, 0.35);
  transform: translateY(-2px);
}

.rw-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 6px;
  font-weight: 600;
}

.rw-big {
  font-size: 1.65rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
}

.rw-sub {
  font-size: 0.68rem;
  color: #71717a;
  margin-top: 8px;
}

.rw-ram-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  margin: 10px 0 8px;
  overflow: hidden;
}

.rw-ram-fill {
  width: 57%;
  height: 100%;
  background: var(--yellow-bright);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.rw-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  font-size: 0.63rem;
  text-align: center;
  margin-top: 6px;
  color: #a1a1aa;
}

.rw-cal-grid span {
  padding: 2px 0;
  border-radius: 4px;
}

.rw-cal-grid .cal-today {
  background: var(--yellow-bright);
  color: #000;
  font-weight: 700;
}

.rw-speed-btn {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ccc;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.rw-speed-btn:hover {
  border-color: var(--yellow-bright);
  color: var(--yellow-bright);
}

.sim-clock {
  font-size: 4.8rem;
  font-weight: 200;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.sim-date {
  color: #8e8e99;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.sim-search-box {
  max-width: 480px;
  background: rgba(22, 22, 26, 0.95);
  border: 1px solid var(--sim-accent);
  box-shadow: 0 0 25px rgba(245, 196, 24, 0.15);
  border-radius: 16px;
  padding: 7px 8px 7px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.sim-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
}

.sim-search-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sim-accent);
  color: #000;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.sim-shortcuts {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.sim-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.sim-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  transition: 0.2s;
}

.sim-tile:hover .sim-tile-icon {
  border-color: var(--sim-accent);
  transform: translateY(-3px);
  background: rgba(245, 196, 24, 0.14);
}

.sim-tile span {
  font-size: 0.72rem;
  color: #a1a1aa;
}

.sim-corner-logo {
  position: absolute;
  right: 28px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
  pointer-events: none;
}

.sim-corner-logo img {
  width: 28px;
  height: 28px;
}

.sim-corner-logo span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--yellow-gold);
}

/* Pane 2: 4-Way Quad Split Browser View */
.sim-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  flex: 1;
  background: #050507;
  min-height: 510px;
}

.sim-quad-cell {
  background: #101014;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.2s;
}

.sim-quad-cell:hover {
  border-color: var(--sim-accent);
  box-shadow: 0 0 16px rgba(245, 196, 24, 0.15);
}

.sim-quad-bar {
  background: #09090c;
  padding: 5px 10px;
  font-size: 0.7rem;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-quad-content {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* Pane 3: Settings & RAM Studio */
.sim-settings-studio {
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.studio-card {
  background: rgba(18, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
}

/* Circle to Search Interactive Overlay */
.circle-search-overlay {
  position: absolute;
  inset: 46px 0 0 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
}

.circle-search-overlay.active {
  display: flex;
}

.circle-target-ring {
  width: 170px;
  height: 170px;
  border: 3px dashed var(--yellow-bright);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(245, 196, 24, 0.6), inset 0 0 25px rgba(245, 196, 24, 0.3);
  animation: spinRing 8s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.circle-result-card {
  position: absolute;
  bottom: 20px;
  background: #121217;
  border: 1px solid var(--yellow-bright);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  max-width: 420px;
  text-align: left;
}

/* Translator Popover inside Simulator */
.sim-translator-popover {
  position: absolute;
  top: 52px;
  right: 18px;
  background: #14141a;
  border: 1px solid var(--yellow-bright);
  border-radius: 12px;
  padding: 12px 16px;
  z-index: 35;
  display: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85);
  width: 270px;
}

.sim-translator-popover.active {
  display: block;
}

/* Floating 3D Depth Callout Cards */
.floating-3d-badge {
  position: absolute;
  background: rgba(15, 15, 19, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 196, 24, 0.45);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75), 0 0 24px rgba(245, 196, 24, 0.18);
  transform: translateZ(50px);
  pointer-events: none;
  z-index: 30;
}

.badge-top-left {
  top: -18px;
  left: -20px;
}

.badge-bottom-right {
  bottom: 24px;
  right: -20px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(245, 196, 24, 0.16);
  color: var(--yellow-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.badge-text {
  text-align: left;
}

.badge-text strong {
  display: block;
  font-size: 0.84rem;
  color: #fff;
}

.badge-text span {
  font-size: 0.74rem;
  color: var(--yellow-bright);
}

/* 3D Angle Sliders Bar */
.rig-angle-bar {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(20, 20, 25, 0.85);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rig-angle-bar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.rig-angle-bar input[type="range"] {
  accent-color: var(--yellow-bright);
  cursor: pointer;
  width: 90px;
}

.reset-3d-btn {
  background: rgba(245, 196, 24, 0.14);
  border: 1px solid rgba(245, 196, 24, 0.35);
  color: var(--yellow-bright);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================
   FEATURES & SCREENSHOT GALLERY
   ========================================== */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  color: var(--yellow-bright);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.features-section {
  padding: 60px 0 80px;
}

/* ==========================================
   ALTERNATING LEFT / RIGHT SCREENSHOT SHOWCASE ROWS
   ========================================== */
.feature-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 44px;
  margin-bottom: 64px;
}

.feature-row {
  background: linear-gradient(135deg, rgba(22, 22, 27, 0.9), rgba(10, 10, 13, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 42px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  transition: var(--transition);
}

.feature-row:hover {
  border-color: rgba(245, 196, 24, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8), 0 0 42px rgba(245, 196, 24, 0.12);
  transform: translateY(-4px);
}

/* Reverse Row: Screenshot on Left, Text on Right */
.feature-row.reverse {
  grid-template-columns: 1.35fr 1fr;
}

.feature-row.reverse .feature-row-text {
  order: 2;
}

.feature-row.reverse .feature-row-media {
  order: 1;
}

.feature-row-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feature-row-text p {
  color: var(--text-muted);
  font-size: 1.03rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.feature-row-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.feature-row-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #e4e4e7;
}

.feature-row-bullets li::before {
  content: "✦";
  color: var(--yellow-bright);
  font-weight: 700;
}

.feature-row-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #070709;
  border: 1px solid rgba(245, 196, 24, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.feature-row-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-row:hover .feature-row-media img {
  transform: scale(1.025);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

/* ==========================================
   MANIFESTO & 5 CATEGORIZED SPEC BLOCKS
   ========================================== */
.specs-section {
  padding: 20px 0 90px;
}

.manifesto-banner {
  background: linear-gradient(135deg, rgba(245, 196, 24, 0.12), rgba(16, 16, 20, 0.96) 60%);
  border: 1px solid rgba(245, 196, 24, 0.45);
  border-radius: 26px;
  padding: 44px 48px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.manifesto-banner h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.manifesto-banner p {
  font-size: 1.12rem;
  color: #d4d4d8;
  max-width: 820px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.manifesto-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.manifesto-badge {
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid rgba(245, 196, 24, 0.38);
  color: var(--yellow-bright);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.spec-blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.spec-block-card {
  background: rgba(17, 17, 21, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.spec-block-card:hover {
  border-color: rgba(245, 196, 24, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(245, 196, 24, 0.09);
  transform: translateY(-4px);
}

.spec-block-card.full-width {
  grid-column: span 2;
}

.spec-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.spec-block-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 196, 24, 0.15);
  border: 1px solid rgba(245, 196, 24, 0.35);
  color: var(--yellow-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.spec-block-header h3 {
  font-size: 1.38rem;
  font-weight: 800;
  color: #fff;
}

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

.spec-list li {
  position: relative;
  padding-left: 24px;
  color: #d4d4d8;
  font-size: 0.94rem;
  line-height: 1.55;
}

.spec-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--yellow-bright);
  font-size: 0.78rem;
}

.spec-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}

.independence-note {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow-border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(245, 196, 24, 0.12);
}

.feature-visual {
  background: #08080a;
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: 10px;
  border: 1px solid rgba(245, 196, 24, 0.25);
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-visual img {
  transform: scale(1.04);
}

.custom-feature-graphic {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: radial-gradient(circle at 80% 20%, rgba(245, 196, 24, 0.18), #0d0d11 70%);
  border: 1px solid rgba(245, 196, 24, 0.28);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.feature-body {
  padding: 24px;
}

.feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--yellow-bright);
  background: rgba(245, 196, 24, 0.13);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.feature-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.feature-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ==========================================
   DEDICATED DOWNLOAD PAGE / SECTION
   ========================================== */
.download-hero {
  padding: 40px 0 90px;
}

.download-banner-card {
  background: linear-gradient(145deg, rgba(22, 21, 26, 0.92), rgba(10, 10, 12, 0.96));
  border: 1px solid rgba(245, 196, 24, 0.4);
  border-radius: 26px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 50px rgba(245, 196, 24, 0.12);
  margin-bottom: 38px;
}

.download-banner-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245, 196, 24, 0.25), transparent 70%);
  pointer-events: none;
}

.download-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.download-brand-lockup {
  display: flex;
  align-items: center;
  gap: 22px;
}

.download-brand-lockup img {
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 0 24px rgba(245, 196, 24, 0.4));
}

.status-pill-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 196, 24, 0.16);
  border: 1px solid var(--yellow-bright);
  color: var(--yellow-bright);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.os-card {
  background: rgba(14, 14, 18, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.os-card.recommended {
  border-color: var(--yellow-bright);
  box-shadow: 0 0 30px rgba(245, 196, 24, 0.14);
}

.os-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 24, 0.5);
}

.os-rec-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--yellow-bright);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.os-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 196, 24, 0.12);
  color: var(--yellow-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.os-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.os-meta {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 20px;
}

.os-specs {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.os-specs li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.os-specs li strong {
  color: var(--text-main);
}

.btn-download-soon {
  width: 100%;
  background: rgba(245, 196, 24, 0.14);
  border: 1px solid var(--yellow-bright);
  color: var(--yellow-bright);
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.os-card.recommended .btn-download-soon,
.btn-download-soon:hover {
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-gold));
  color: #000;
  box-shadow: 0 10px 25px rgba(245, 196, 24, 0.3);
}

.btn-ms-store {
  width: 100%;
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-gold));
  color: #070708;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 10px 28px rgba(245, 196, 24, 0.32);
  margin-bottom: 10px;
}

.btn-ms-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 196, 24, 0.5);
}

.btn-direct-msix {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 196, 24, 0.45);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-direct-msix:hover {
  background: rgba(245, 196, 24, 0.16);
  border-color: var(--yellow-bright);
  color: var(--yellow-bright);
}

.smartscreen-alert {
  margin-top: 14px;
  background: rgba(245, 196, 24, 0.09);
  border: 1px solid rgba(245, 196, 24, 0.42);
  border-left: 4px solid var(--yellow-bright);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #e4e4e7;
  text-align: left;
}

.smartscreen-alert strong {
  color: var(--yellow-bright);
  display: block;
  margin-bottom: 4px;
  font-size: 0.81rem;
}

.release-roadmap-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0 10px;
}

.progress-fill {
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, var(--yellow-gold), var(--yellow-bright));
  border-radius: 999px;
  box-shadow: 0 0 16px var(--yellow-bright);
}

.notify-form {
  display: flex;
  gap: 10px;
}

.notify-form input {
  flex: 1;
  background: #0c0c10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
}

.notify-form input:focus {
  border-color: var(--yellow-bright);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #111115;
  border: 1px solid var(--yellow-bright);
  border-radius: 22px;
  max-width: 480px;
  width: 100%;
  padding: 34px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 196, 24, 0.2);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 960px) {
  .sim-sidebar {
    display: none;
  }
  .sim-newtab-body {
    padding: 32px 24px;
    grid-template-columns: 1fr;
  }
  .sim-settings-studio,
  .feature-row,
  .feature-row.reverse,
  .release-roadmap-box,
  .spec-blocks-grid,
  .spec-list.two-col {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }
  .spec-block-card.full-width {
    grid-column: span 1;
  }
  .manifesto-banner {
    padding: 30px 22px;
  }
  .feature-row.reverse .feature-row-text {
    order: 1;
  }
  .feature-row.reverse .feature-row-media {
    order: 2;
  }
  .floating-3d-badge {
    display: none;
  }
  .download-banner-card {
    padding: 28px 20px;
  }
}
