/* ManualRack — Shared Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy:    #0F1B2D;
  --card:    #1A2E45;
  --card2:   #162540;
  --amber:   #F5A623;
  --amber2:  #E8920D;
  --text:    #E8EDF2;
  --muted:   #7A9BB5;
  --border:  #243D58;
  --white:   #FFFFFF;
  --danger:  #E05C5C;
  --success: #4CAF7D;
  --radius:  10px;
  --ff-display: 'Space Grotesk', sans-serif;
  --ff-body:    'Inter', sans-serif;
  --ff-mono:    'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ─────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(15,27,45,0.97);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
}

.nav-logo .icon-shelf {
  width: 32px; height: 32px;
  background: var(--amber);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-logo .icon-shelf svg { display: block; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover { background: var(--amber2); color: var(--navy); text-decoration: none; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}
.btn-outline:hover { background: rgba(245,166,35,0.1); text-decoration: none; }

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  padding: 6rem 2.5rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  color: var(--amber);
  font-family: var(--ff-mono);
  font-weight: 500;
  margin-bottom: 1.4rem;
  letter-spacing: 0.03em;
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--ff-display);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 460px;
  line-height: 1.7;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-meta {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* ── EXTENSION MOCKUP ───────────────────────────────── */
.ext-mockup {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  max-width: 380px;
}

.ext-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.ext-icon {
  width: 28px; height: 28px;
  background: var(--amber);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}

.ext-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.ext-search {
  background: var(--card2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--text);
  min-height: 44px;
}

.ext-search .search-icon { color: var(--amber); flex-shrink: 0; }

.typed-text { color: var(--text); }
.cursor {
  display: inline-block;
  width: 2px; height: 14px;
  background: var(--amber);
  animation: blink 0.9s infinite;
  vertical-align: middle;
  margin-left: 1px;
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.ext-results { display: flex; flex-direction: column; gap: 0.55rem; }

.ext-result {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.ext-result:hover { border-color: var(--amber); }

.ext-result .pdf-tag {
  background: rgba(245,166,35,0.15);
  color: var(--amber);
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.ext-result .result-name {
  font-size: 0.82rem;
  color: var(--text);
  flex: 1;
  line-height: 1.3;
}

.ext-result .result-src {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ── SECTIONS ────────────────────────────────────────── */
.section {
  padding: 5rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ── FEATURES GRID ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(245,166,35,0.4); transform: translateY(-2px); }

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(245,166,35,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS ────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 1rem;
}

.step-num {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.step-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.step::before {
  content: '';
  position: absolute;
  left: 0; top: 0.3rem;
  width: 2px;
  height: calc(100% - 0.3rem);
  background: var(--border);
}

.step:first-child::before { background: var(--amber); }

/* ── REASONS BLOCK ───────────────────────────────────── */
.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.reason {
  display: flex;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  align-items: flex-start;
}

.reason-check {
  width: 24px; height: 24px;
  background: rgba(76,175,125,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  color: var(--success);
}

.reason-text strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--white);
  font-size: 0.97rem;
  margin-bottom: 0.25rem;
}

.reason-text span {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── CTA BAND ────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--card) 0%, #0E2236 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 2.5rem;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  margin-top: auto;
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* ── INNER PAGE ──────────────────────────────────────── */
.inner-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  width: 100%;
}

.inner-page h1 {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.inner-page .updated {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.inner-page h2 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin: 2rem 0 0.6rem;
}

.inner-page p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.inner-page ul, .inner-page ol {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.inner-page li { margin-bottom: 0.4rem; }

.inner-page a { color: var(--amber); }

/* ── THANKS PAGE ─────────────────────────────────────── */
.thanks-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
}

.thanks-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  max-width: 520px;
}

.thanks-icon {
  width: 72px; height: 72px;
  background: rgba(245,166,35,0.13);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.thanks-card h1 {
  font-family: var(--ff-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.thanks-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* ── DOWNLOAD PAGE ───────────────────────────────────── */
.download-hero {
  text-align: center;
  padding: 5rem 2.5rem 3rem;
}

.download-hero h1 {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.download-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.download-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 2.5rem 4rem;
}

.dl-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 2rem 2.2rem;
  text-align: center;
  width: 280px;
  transition: border-color 0.2s, transform 0.2s;
}
.dl-card:hover { border-color: var(--amber); transform: translateY(-3px); }

.dl-card .dl-logo { font-size: 2.8rem; margin-bottom: 0.75rem; }

.dl-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.dl-card .dl-version {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.dl-card .dl-badge {
  display: inline-block;
  background: rgba(76,175,125,0.15);
  color: var(--success);
  font-family: var(--ff-mono);
  font-size: 0.73rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}

.install-steps {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
  counter-reset: install;
}

.install-steps h2 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.install-step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.install-step-num {
  width: 32px; height: 32px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.install-step-text strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.install-step-text span { font-size: 0.9rem; color: var(--muted); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .ext-mockup { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .reasons { grid-template-columns: 1fr; }
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .section { padding: 3.5rem 1.25rem; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 2.1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .thanks-card { padding: 2rem 1.5rem; }
  .download-cards { flex-direction: column; align-items: center; }
}
