:root {
  --bg-black: #08080c;
  --bg-card: #0f0f16;
  --bg-card-hover: #161622;
  --bg-panel: #12121b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.18);
  --border-cyan: rgba(0, 255, 204, 0.35);
  --border-pink: rgba(255, 42, 133, 0.35);
  
  --neon-cyan: #00ffcc;
  --neon-pink: #ff2a85;
  --neon-purple: #a855f7;
  --neon-amber: #ffd166;
  --neon-blue: #4d9dee;
  
  --text-main: #f5f5f7;
  --text-muted: #8e8ea0;
  --text-dim: #5a5a6e;
  
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Roboto Mono', 'Source Code Pro', Menlo, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --glow-cyan: 0 0 24px rgba(0, 255, 204, 0.25);
  --glow-pink: 0 0 24px rgba(255, 42, 133, 0.25);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #171128 0%, #08080c 60%);
  min-height: 100vh;
  line-height: 1.6;
}

/* Background Grid Overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Utility Monospace */
.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.glow-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
}

.glow-pink {
  color: var(--neon-pink);
  text-shadow: 0 0 12px rgba(255, 42, 133, 0.4);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- NAVIGATION BAR --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 12, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.62rem;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(10px, 1.2vw, 18px);
  align-items: center;
  flex-shrink: 1;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s, text-shadow 0.2s;
  letter-spacing: 0.04em;
}

.nav-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
}

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

.nav-btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.2), rgba(0, 255, 204, 0.2));
  border: 1px solid var(--neon-pink);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 0 14px rgba(255, 42, 133, 0.2);
}

.nav-btn-appstore:hover {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 42, 133, 0.5);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-nav-toggle.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 255, 204, 0.08);
  border: 1px solid var(--border-cyan);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--neon-cyan);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.hero-icon {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  border: 2px solid var(--border-cyan);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.25), 0 0 20px rgba(255, 42, 133, 0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.hero-icon:hover {
  transform: rotate(-3deg) scale(1.05);
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 40%, var(--neon-cyan) 80%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #dcd6f7;
  font-weight: 500;
  max-width: 820px;
  margin: 0 auto 16px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #ff2a85, #b829e0);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 0 25px rgba(255, 42, 133, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 42, 133, 0.65);
}

.btn-polar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #00e5ff, #00ffcc);
  border: 1px solid #00e5ff;
  border-radius: 8px;
  color: #060913;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.btn-polar:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.7);
  color: #000;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(0, 255, 204, 0.1);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.spec-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.spec-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  white-space: nowrap;
}

.spec-pill span {
  color: var(--neon-cyan);
}

/* Hero Showcase Frame */
.hero-showcase {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 204, 0.15);
}

.showcase-header {
  height: 36px;
  background: #14141e;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.showcase-dots {
  display: flex;
  gap: 6px;
}

.showcase-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a2a38;
}

.showcase-dot.red { background: #ff5f56; }
.showcase-dot.yellow { background: #ffbd2e; }
.showcase-dot.green { background: #27c93f; }

.showcase-title-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

/* --- SECTION GENERAL --- */
.section {
  padding: 85px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.section-header {
  margin-bottom: 45px;
  text-align: left;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

/* --- ARCHITECTURE OVERVIEW GRID --- */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.arch-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.arch-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.arch-card:hover::before {
  opacity: 1;
}

.arch-icon {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: inline-block;
}

.arch-card h3 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* --- 5 ENGINES BREAKDOWN --- */
.engines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.engine-card {
  background: #0d0d14;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.engine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.engine-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: bold;
}

.engine-name {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.engine-card.bubble .engine-name { color: #4d9dee; }
.engine-card.rainbow .engine-name { color: #e15fed; }
.engine-card.cloud .engine-name { color: #70c1b3; }
.engine-card.shine .engine-name { color: #ffd166; }
.engine-card.shadow .engine-name { color: #ff5f56; }

.engine-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.engine-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.engine-params {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(0, 0, 0, 0.35);
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.engine-params li {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #b0afbe;
  display: flex;
  align-items: baseline;
  gap: 6px;
  word-break: break-word;
}

.engine-params li strong {
  color: #fff;
  font-weight: 600;
  flex-shrink: 0;
}

/* --- SYNTH LAB & FEATURE CARDS --- */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
}

.feature-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  background: #000;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-media:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 50px rgba(0, 255, 204, 0.2);
}

.feature-media img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-content h3 {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.feature-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-bullet {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  font-weight: bold;
  flex-shrink: 0;
}

.feature-item-text {
  font-size: 0.88rem;
  color: #d1d1dc;
  line-height: 1.5;
}

.feature-item-text strong {
  color: #fff;
  font-family: var(--font-mono);
}

/* Preset Badge Cloud */
.preset-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.preset-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #dcd6f7;
  padding: 4px 10px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.preset-chip:hover {
  background: rgba(168, 85, 247, 0.3);
  color: #fff;
  border-color: var(--neon-purple);
}

/* --- STEP-BY-STEP TUTORIAL --- */
.tutorial-container {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.tutorial-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.step-tab:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-subtle);
}

.step-tab.active {
  background: rgba(0, 255, 204, 0.08);
  border-color: var(--border-cyan);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

.step-tab.active .step-num {
  color: var(--neon-pink);
}

.step-title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.step-desc-short {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.tutorial-content-pane {
  background: #09090e;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 28px;
}

.tutorial-step-view {
  display: none;
}

.tutorial-step-view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.tut-step-header {
  margin-bottom: 18px;
}

.tut-step-header h4 {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}

.tut-step-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.tut-instruction-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--neon-cyan);
  padding: 16px 18px;
  margin: 18px 0;
  border-radius: 0 6px 6px 0;
}

.tut-instruction-box h5 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tut-instruction-box p {
  font-size: 0.86rem;
  color: #c5c5d2;
  line-height: 1.6;
}

.tut-pro-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #ffd166;
  margin-top: 16px;
}

/* --- TECHNICAL SPECIFICATIONS GRID --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
}

.specs-table th,
.specs-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table th {
  background: #14141e;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 32%;
}

.specs-table td {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table td strong {
  font-family: var(--font-mono);
  color: #fff;
}

/* --- FOOTER --- */
.site-footer {
  background: #050508;
  border-top: 1px solid var(--border-subtle);
  padding: 55px 0 35px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 45px;
}

.footer-brand h4 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  max-width: 320px;
}

.footer-columns {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-tagline-quote {
  color: var(--neon-pink);
  font-weight: 600;
}

/* Modal for Image Preview */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.modal-overlay.active {
  display: flex;
}

.modal-img {
  max-width: 94vw;
  max-height: 90vh;
  border-radius: 8px;
  border: 1px solid var(--border-bright);
  box-shadow: 0 0 50px rgba(0, 255, 204, 0.2);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

/* Medium / Laptop Screens (prevents nav collision & wrap) */
@media (max-width: 1120px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(8, 8, 12, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid transparent;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    z-index: 99;
  }
  
  .nav-links.mobile-open {
    height: auto;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    border-bottom-color: var(--border-bright);
    padding: 12px 20px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  }

  .nav-links.mobile-open a {
    padding: 13px 14px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
  }

  .nav-links.mobile-open a:last-child {
    border-bottom: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }
}

/* Tablet Screens (<= 860px) */
@media (max-width: 860px) {
  .section {
    padding: 65px 0;
  }

  .split-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .tutorial-container {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  /* Horizontal swipeable tutorial tabs on mobile */
  .tutorial-nav {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .step-tab {
    flex: 0 0 170px;
    padding: 10px 12px;
  }

  .tutorial-content-pane {
    padding: 20px;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 50px 0 40px;
  }

  .hero-title-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .btn-polar,
  .btn-primary, 
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .specs-table, 
  .specs-table tbody, 
  .specs-table tr, 
  .specs-table th, 
  .specs-table td {
    display: block;
    width: 100%;
  }

  .specs-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .specs-table th {
    padding: 0 0 4px 0;
    background: transparent;
    font-size: 0.72rem;
    color: var(--neon-cyan);
    width: 100%;
  }

  .specs-table td {
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .footer-columns {
    gap: 30px;
    width: 100%;
  }

  .footer-col {
    min-width: 140px;
  }
}

/* Compact Mobile (<= 480px) */
@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }

  .brand-logo-mark {
    width: 30px;
    height: 30px;
  }

  .nav-btn-appstore {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .nav-btn-appstore span {
    display: none;
  }

  .nav-btn-appstore::after {
    content: "GET";
  }

  .spec-pill {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
}
