/* ==========================================================================
   GROWW WATCHLIST PRO — EXACT HUNGNGO.NET THEME & DESIGN SYSTEM
   Extracted directly from https://hungngo.net/_next/static/chunks/3fcnwjjvut68w.css
   ========================================================================== */

/* ----------------- CSS VARIABLES & THEME TOKENS ----------------- */
:root {
  /* Exact hungngo.net Light Theme */
  --background: #ffffff;
  --surface: #faf9f7;
  --surface-2: #f4f2ec;
  --surface-hover: #edeae0;
  --border: #e8e4da;
  --border-strong: #d3cebf;
  --border-dashed: #dcd7ca;
  --foreground: #17232e;
  --muted: #5f6771;
  --muted-2: #8a8f96;
  --accent: #16293c;
  --accent-hover: #24405f;
  --accent-contrast: #ffffff;
  --gold: #c9a24e;
  --gold-hover: #b98f38;
  --gold-soft: rgba(201, 162, 78, 0.12);
  --cta-text: #16293c;
  --logo-ink: #17232e;
  --logo-ring: #16293c;
  --logo-gold: #c9a24e;

  --kbd-bg: #f4f2ec;
  --kbd-border: #dcd7ca;
  --kbd-shadow: rgba(0, 0, 0, 0.08);

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius-sm: 0.375rem; /* 6px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  --radius-2xl: 1.25rem; /* 20px */
}

/* Exact hungngo.net Dark Theme */
.dark, html.dark {
  --background: #0d0d0f;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --surface-hover: #232327;
  --border: #2a2a2e;
  --border-strong: #3d3d42;
  --border-dashed: #36363c;
  --foreground: #ededec;
  --muted: #a1a19b;
  --muted-2: #77776f;
  --accent: #d9b76a;
  --accent-hover: #e6c67e;
  --accent-contrast: #0d0d0f;
  --gold: #d9b76a;
  --gold-hover: #e6c67e;
  --gold-soft: rgba(217, 183, 106, 0.14);
  --cta-text: #241a06;
  --logo-ink: #ededec;
  --logo-ring: #e6ddcb;
  --logo-gold: #d9b76a;

  --kbd-bg: #1c1c1f;
  --kbd-border: #36363c;
  --kbd-shadow: rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--gold);
  color: var(--cta-text);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----------------- LAYOUT WRAPPERS ----------------- */
.wrap {
  width: 100%;
  max-width: 1152px; /* max-w-6xl in Tailwind (72rem) */
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 2rem;
  }
}

.wrap-narrow {
  width: 100%;
  max-width: 768px; /* max-w-3xl */
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .wrap-narrow {
    padding: 0 2rem;
  }
}

/* ----------------- TYPOGRAPHY (EXACT HUNGNGO) ----------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2.6rem, 5vw, 3.75rem); /* sm:text-6xl text-[2.6rem] */
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.25rem); /* text-3xl sm:text-4xl */
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem; /* text-xl */
  line-height: 1.375;
}

p.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem); /* text-lg sm:text-xl */
  line-height: 1.625;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem; /* text-xs */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em; /* tracking-[0.18em] */
  color: var(--gold);
}

/* ----------------- EXACT HUNGNGO HEADER NAVIGATION ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

@supports (color: color-mix(in srgb, red, red)) {
  .site-header {
    background-color: color-mix(in srgb, var(--background) 88%, transparent);
  }
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem; /* h-16 (64px) */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem; /* gap-2.5 */
  text-decoration: none;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1rem; /* 16px */
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--logo-ink);
  text-transform: uppercase;
}

.brand-badge {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-left: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem; /* gap-1 */
}

.nav-link {
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  border-radius: var(--radius-sm);
  font-size: 0.875rem; /* text-sm */
  color: var(--muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--foreground);
  background-color: var(--surface-2);
}

.nav-divider {
  width: 1px;
  height: 1.25rem; /* h-5 */
  background-color: var(--border);
  margin: 0 0.5rem; /* mx-2 */
}

/* Theme Toggle Button (Exact hungngo style) */
.theme-btn {
  display: inline-flex;
  height: 2.25rem; /* h-9 */
  width: 2.25rem;  /* w-9 */
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.theme-btn:hover {
  background-color: var(--surface-2);
  color: var(--foreground);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--foreground);
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn:hover {
  background-color: var(--surface-2);
}

/* ----------------- EXACT HUNGNGO BUTTONS ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  border-radius: var(--radius-sm); /* rounded-md */
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

/* Primary Gold Button: exact hungngo 'bg-gold px-6 py-3 text-cta-text hover:bg-gold-hover' */
.btn-primary, .btn-gold {
  background-color: var(--gold);
  color: var(--cta-text);
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
  border: none;
}

.btn-primary:hover, .btn-gold:hover {
  background-color: var(--gold-hover);
}

/* Secondary Border Button: exact hungngo 'border border-border px-6 py-3 hover:border-accent/50 hover:text-accent' */
.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: var(--surface);
}

.btn-sm {
  padding: 0.5rem 1rem; /* px-4 py-2 */
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
}

/* ----------------- SECTIONS & DIVIDERS ----------------- */
.section {
  padding: 4rem 0; /* py-16 */
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .section {
    padding: 5rem 0; /* sm:py-20 */
  }
}

.section-hero {
  padding: 5rem 0 4rem;
}

@media (min-width: 640px) {
  .section-hero {
    padding: 7rem 0 5rem; /* sm:py-28 */
  }
}

.section-alt {
  background-color: var(--surface);
}

/* ----------------- HERO SECTION ----------------- */
.hero-content {
  max-width: 48rem; /* max-w-3xl */
}

.hero-title {
  margin-top: 1.25rem; /* mt-5 */
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-text {
  font-size: 1.125rem; /* text-lg */
  line-height: 1.625;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 42rem;
}

@media (min-width: 640px) {
  .hero-text {
    font-size: 1.25rem; /* sm:text-xl */
  }
}

.hero-emphasis {
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
  margin-bottom: 2rem;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.hero-trust-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-trust-chips span::before {
  content: "•";
  color: var(--gold);
}

/* ----------------- CONTRAST SECTION (EXACT HUNGNGO) -----------------
   "I don't start with: Which AI tool should you buy?" (strikethrough)
   "I start with: Where is your business losing time...?" (accent border)
   ------------------------------------------------------------------ */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem; /* gap-4 */
  margin-top: 2rem; /* mt-8 */
}

@media (min-width: 640px) {
  .contrast-grid {
    grid-template-columns: repeat(2, 1fr); /* sm:grid-cols-2 */
  }
}

.contrast-card {
  border-radius: var(--radius-xl); /* rounded-xl (12px) */
  border: 1px solid var(--border);
  padding: 1.25rem; /* p-5 */
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.contrast-card.negative {
  background: var(--surface);
}

.contrast-card.positive {
  background: var(--background);
  border-color: var(--gold);
}

.contrast-tag {
  font-size: 0.75rem; /* text-xs */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wider */
}

.contrast-card.negative .contrast-tag {
  color: var(--muted-2);
}

.contrast-card.positive .contrast-tag {
  color: var(--gold);
}

.contrast-title {
  margin-top: 0.5rem; /* mt-2 */
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
}

.contrast-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.contrast-list.strikethrough li {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--border-strong);
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}

.contrast-list.strikethrough li::before {
  content: "✕";
  color: #eb5757;
  font-weight: 600;
  text-decoration: none;
}

.contrast-list.benefits li {
  color: var(--foreground);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}

.contrast-list.benefits li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 600;
}

/* ----------------- CHECKLIST SECTION (EXACT HUNGNGO) -----------------
   "You've probably already asked..."
   ------------------------------------------------------------------ */
.questions-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem; /* gap-x-8 */
  row-gap: 0.75rem; /* gap-y-3 */
  margin-top: 2rem; /* mt-8 */
  margin-bottom: 2rem;
  list-style: none;
}

@media (min-width: 640px) {
  .questions-grid {
    grid-template-columns: repeat(2, 1fr); /* sm:grid-cols-2 */
  }
}

.questions-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* gap-3 */
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted);
}

.question-dot {
  width: 0.375rem; /* w-1.5 */
  height: 0.375rem; /* h-1.5 */
  border-radius: 9999px;
  background-color: var(--gold);
  margin-top: 0.5rem; /* mt-2 */
  flex-shrink: 0;
}

/* ----------------- NUMBERED PROGRESSION CARDS (EXACT HUNGNGO) --------
   "Discover → Decide → Deploy" (01, 02, 03)
   ------------------------------------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem; /* gap-5 */
  margin-top: 2.5rem; /* mt-10 */
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr); /* md:grid-cols-3 */
  }
}

.step-card {
  border-radius: var(--radius-xl); /* rounded-xl (12px) */
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.5rem; /* p-6 */
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 0.875rem; /* text-sm */
  color: var(--gold);
  font-weight: 500;
}

.step-title {
  margin-top: 0.5rem; /* mt-2 */
  font-family: var(--font-serif);
  font-size: 1.25rem; /* text-xl */
  font-weight: 500;
}

.step-desc {
  margin-top: 0.75rem; /* mt-3 */
  font-size: 0.875rem; /* text-sm */
  line-height: 1.625;
  color: var(--muted);
  flex: 1;
}

.step-footer {
  margin-top: 1.25rem; /* mt-5 */
  padding-top: 1rem; /* pt-4 */
  border-top: 1px solid var(--border);
}

.step-footer-label {
  font-size: 0.75rem; /* text-xs */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wider */
  color: var(--muted-2);
}

.step-footer-val {
  margin-top: 0.25rem; /* mt-1 */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  color: var(--gold);
}

/* ----------------- IMAGE PLACEHOLDERS -----------------
   Editorial wireframe cards matching hungngo.net card styling
   ----------------------------------------------------- */
.img-placeholder {
  width: 100%;
  background: var(--surface);
  border: 1px dashed var(--border-dashed);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.img-placeholder:hover {
  border-color: var(--gold);
  background: var(--surface-hover);
}

.placeholder-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 0.875rem;
}

.placeholder-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.placeholder-caption {
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.placeholder-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.placeholder-filename {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-2);
}

.img-placeholder.aspect-hero {
  min-height: 24rem;
}

.img-placeholder.aspect-card {
  min-height: 14rem;
}

.img-placeholder.aspect-wide {
  min-height: 17rem;
}

/* ----------------- FEATURE CARDS GRID (EXACT HUNGNGO) -----------------
   Matching 'Ways to work together' / 'Client work' cards
   ------------------------------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem; /* gap-5 */
  margin-top: 2rem; /* mt-8 */
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr); /* sm:grid-cols-2 */
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr); /* lg:grid-cols-3 */
  }
}

.feature-card {
  border-radius: var(--radius-xl); /* rounded-xl */
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem; /* p-6 */
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: all 0.15s ease;
}

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 1px 0 0 var(--border);
  transform: translateY(-2px);
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-tag {
  font-size: 0.75rem; /* text-xs */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wider */
  color: var(--gold);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.25rem; /* text-xl */
  font-weight: 500;
  line-height: 1.375;
}

.feature-desc {
  font-size: 0.875rem; /* text-sm */
  color: var(--muted);
  line-height: 1.625;
}

/* ----------------- SHORTCUTS TABLE & SIMULATOR ----------------- */
.kbd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 1.25rem;
}

.kbd-table th, .kbd-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.kbd-table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}

.kbd-table tr:hover td {
  background-color: var(--surface);
}

kbd {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--foreground);
  background-color: var(--kbd-bg);
  border: 1px solid var(--kbd-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 var(--kbd-shadow);
  vertical-align: middle;
  white-space: nowrap;
}

/* Simulator Widget */
.sim-widget {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  margin-top: 1.75rem;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sim-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
}

.sim-screen {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sim-symbol {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gold);
  font-family: var(--font-mono);
}

.sim-wl-name {
  font-size: 0.875rem;
  color: var(--muted);
}

.sim-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.sim-key-btn {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  transition: all 0.15s ease;
}

.sim-key-btn:hover {
  background: var(--gold);
  color: var(--cta-text);
  border-color: var(--gold);
}

/* ----------------- FAQ SECTION ----------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-q {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

.faq-a {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.625;
}

/* ----------------- EXACT HUNGNGO FOOTER -----------------
   'mt-24 border-t border-border mx-auto grid max-w-6xl gap-10 px-5 py-14 sm:px-8 md:grid-cols-[1.4fr_1fr_1fr]'
   ----------------------------------------------------- */
.site-footer {
  margin-top: 6rem; /* mt-24 */
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem; /* gap-10 */
  padding: 3.5rem 0 2.5rem; /* py-14 */
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr; /* md:grid-cols-[1.4fr_1fr_1fr] */
  }
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.125rem; /* text-lg */
  font-weight: 500;
  margin-bottom: 0.75rem; /* mt-3 */
}

.footer-desc {
  font-size: 0.875rem; /* text-sm */
  line-height: 1.625;
  color: var(--muted);
  max-width: 20rem; /* max-w-xs */
}

.footer-col-title {
  font-size: 0.75rem; /* text-xs */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wider */
  color: var(--muted-2);
  margin-bottom: 1rem; /* mt-4 */
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem; /* space-y-2.5 */
  font-size: 0.875rem; /* text-sm */
}

.footer-links a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0; /* py-6 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem; /* text-xs */
  color: var(--muted-2);
}

/* ----------------- TUTORIAL / DOCS LAYOUT ----------------- */
.doc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 2.5rem 0 5rem;
}

@media (min-width: 960px) {
  .doc-layout {
    grid-template-columns: 15rem 1fr; /* 240px 1fr */
  }
}

.doc-sidebar {
  position: sticky;
  top: 6rem;
  height: calc(100vh - 8rem);
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  padding-right: 0.75rem;
}

@media (min-width: 960px) {
  .doc-sidebar {
    display: flex;
  }
}

.doc-nav-item {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  display: block;
}

.doc-nav-item:hover, .doc-nav-item.active {
  color: var(--foreground);
  background-color: var(--surface-2);
}

.doc-nav-item.active {
  color: var(--gold);
  font-weight: 600;
}

.doc-chapter {
  margin-bottom: 4rem;
  scroll-margin-top: 6rem;
}

.chapter-num {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.375rem;
  display: block;
}

.chapter-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.chapter-body {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

.chapter-body p {
  margin-bottom: 1rem;
}

.doc-callout {
  border-left: 3px solid var(--gold);
  background: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--foreground);
}

/* ----------------- MOBILE NAVIGATION ----------------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .mobile-nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .mobile-nav-open .nav-divider {
    display: none;
  }
}

/* ==========================================================================
   RICH TUTORIAL & WALKTHROUGH COMPONENTS (HUNGNGO THEME)
   Structured chapters, numbered step cards, video showcase, and lightbox
   ========================================================================== */

/* ---------- Section Header & Chapter Indices ---------- */
.section-header {
  margin: 5rem 0 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: baseline;
}

@media (max-width: 768px) {
  .section-header {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 3.5rem 0 1.5rem;
  }
}

.section-index {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

@media (max-width: 768px) {
  .section-index {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
}

.section-index .index-num {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.375rem;
  width: 3.25rem;
}

@media (max-width: 768px) {
  .section-index .index-num {
    border-bottom: none;
    border-right: 1px solid var(--gold);
    padding-bottom: 0;
    padding-right: 0.75rem;
    width: auto;
  }
}

.section-header-content h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.section-header-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 48rem;
}

/* ---------- Tutorial Cards ---------- */
.tutorial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 2rem;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tutorial-card:hover {
  border-color: var(--border-strong);
}

.tutorial-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.badge-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tutorial-card-title h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.tutorial-card-title p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ---------- Step Grid & Instructions ---------- */
.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

.step-grid.reverse {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

@media (max-width: 960px) {
  .step-grid, .step-grid.reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.step-instructions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: flex-start;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-bullet {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.step-text h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

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

.step-alert {
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.6;
}

.step-alert strong {
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  margin-right: 0.375rem;
}

/* ---------- Screenshot / Placeholder Box with Lightbox ---------- */
.shot-box {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #09090c;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.shot-box:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.shot-box img,
.shot-box video {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #09090c;
  display: block;
  transition: transform 0.4s ease;
}

.shot-box:hover img {
  transform: scale(1.02);
}

.shot-caption {
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.zoom-hint {
  font-size: 0.6875rem;
  color: var(--gold);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

/* ---------- Video Showcase Card ---------- */
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 3.5rem;
}

.video-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}

.video-title-area h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.video-title-area p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.stage {
  position: relative;
  background: #0d0d0f;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.player {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  background: #0d0d0f;
}

.player img.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.5s ease, opacity 0.3s;
}

.player:hover img.thumb {
  transform: scale(1.02);
  opacity: 0.95;
}

.scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(13, 13, 15, 0.3) 0%, rgba(13, 13, 15, 0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.play-btn {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #ffffff;
  display: grid;
  place-items: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.play-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--cta-text);
  margin-left: 0.25rem;
}

.player:hover .play-btn {
  transform: scale(1.08);
  background: #ffffff;
}

.player:hover .play-btn svg {
  fill: #000000;
}

.plabel {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.video-chapters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.video-chapters-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-right: 0.5rem;
}

.chapter-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: all 0.15s ease;
  text-decoration: none;
}

.chapter-tag span {
  color: var(--gold);
  font-family: var(--font-mono);
  margin-right: 0.25rem;
}

.chapter-tag:hover {
  color: var(--foreground);
  border-color: var(--gold);
  background: var(--surface);
  transform: translateY(-1px);
}

/* ---------- Color Tag Previews ---------- */
.tag-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.dot-preview {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ---------- Cheatsheet Table ---------- */
.cheatsheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 1.25rem;
}

.cheatsheet th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-align: left;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-strong);
  background: var(--surface-2);
}

.cheatsheet td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}

.cheatsheet tr:hover td {
  background: var(--surface-hover);
}

/* ---------- Lightbox Modal ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 13, 15, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: var(--surface);
}

.lightbox-caption {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: #ededec;
  text-align: center;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--foreground);
  font-size: 1.5rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}
