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

:root {
  --gold: #E8A917;
  --gold-light: #F5C842;
  --gold-dark: #C48E0E;
  --black: #0A0A0A;
  --off-black: #141414;
  --dark: #1A1A1A;
  --dark-card: #1E1E1E;
  --dark-border: #2A2A2A;
  --white: #F5F2EB;
  --gray: #8A8A8A;
  --gray-light: #B0B0B0;
  --red: #E84C4C;
  --green: #4CE870;
  --font-display: 'Archivo Black', Impact, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== NOISE OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ===== GLOBAL ===== */
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dark-border);
  transition: background 0.3s;
}

nav.menu-open {
  background: var(--black);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  z-index: 110;
}

.nav-logo {
  height: 36px;
  width: auto;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--gray-light);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* Notebooks dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  color: var(--gray-light);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--white); }

.nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--gray-light);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: rgba(232, 169, 23, 0.08);
  color: var(--white);
}

.nav-dropdown-menu .nb-icon {
  width: 32px;
  height: 32px;
  background: rgba(232, 169, 23, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.nav-dropdown-menu .nb-info {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-menu .nb-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.85rem;
}

.nav-dropdown-menu .nb-sub {
  font-size: 0.72rem;
  color: var(--gray);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
}

/* ===== HAMBURGER & MOBILE NAV ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  z-index: 110;
  width: 28px;
  height: 28px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 105;
  background: var(--black);
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-menu-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-inner a,
.mobile-menu-inner button.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.15s;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
}

.mobile-menu-inner a:hover,
.mobile-menu-inner button.mobile-dropdown-trigger:hover {
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

.mobile-menu-inner .mobile-nav-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 12px 20px 4px;
  margin-top: 16px;
}

.mobile-menu-inner .mobile-nav-label:first-child {
  margin-top: 0;
}

.mobile-dropdown-trigger svg {
  width: 16px;
  height: 16px;
  color: var(--gray);
  transition: transform 0.3s;
}

.mobile-dropdown-trigger.open svg {
  transform: rotate(180deg);
  color: var(--gold);
}

.mobile-dropdown-items {
  display: none;
  flex-direction: column;
  padding: 4px 0 4px 16px;
  gap: 2px;
}

.mobile-dropdown-items.open {
  display: flex;
}

.mobile-dropdown-items a {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--gray-light) !important;
  padding: 12px 20px !important;
}

.mobile-dropdown-items a:hover {
  color: var(--gold) !important;
}

.mobile-dropdown-items .nb-tag-small {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(232, 169, 23, 0.1);
  color: var(--gold);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: auto;
}

.mobile-menu-cta {
  margin: 24px 20px 0;
}

.mobile-menu-cta .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
}

.mobile-menu-footer {
  padding: 24px 20px;
  margin-top: 24px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.mobile-menu-footer a {
  color: var(--gray) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  padding: 0 !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: 80px;
  padding-bottom: 32px;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.75) 45%, rgba(10, 10, 10, 0.3) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.6) 85%, rgba(10, 10, 10, 1) 100%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232, 169, 23, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 169, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 169, 23, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

/* Desktop two-column hero layout */
.hero-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.6s ease-out 0.15s both;
  order: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  order: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 169, 23, 0.1);
  border: 1px solid rgba(232, 169, 23, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease-out both;
  transition: background 0.2s, border-color 0.2s;
}

.hero-badge:hover {
  background: rgba(232, 169, 23, 0.18);
  border-color: rgba(232, 169, 23, 0.45);
  color: var(--gold-light);
}

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

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  animation: fadeUp 0.6s ease-out 0.1s both;
}

.hero h1 .gold { color: var(--gold); }

.hero-sub {
  font-size: 0.95rem;
  color: var(--gray-light);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(232, 169, 23, 0);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 169, 23, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid var(--dark-border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: var(--gray);
  background: rgba(255,255,255,0.03);
  color: var(--white);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray);
  animation: fadeUp 0.6s ease-out 0.4s both;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta .check {
  color: var(--green);
  font-size: 0.9rem;
}

/* ===== INSTALL COMMAND ===== */
.hero-install {
  margin-top: 28px;
  animation: fadeUp 0.6s ease-out 0.5s both;
}

.install-box {
  background: var(--off-black);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  overflow: hidden;
}

.install-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.75rem;
  color: var(--gray);
  font-family: var(--font-mono);
}

.install-dots {
  display: flex;
  gap: 6px;
}
.install-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--dark-border);
}

.install-code {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-light);
  overflow-x: auto;
}

.install-code .comment { color: #555; }
.install-code .cmd { color: var(--gold); }
.install-code .str { color: #7EC8E3; }

.copy-btn {
  background: rgba(232, 169, 23, 0.1);
  border: 1px solid rgba(232, 169, 23, 0.2);
  color: var(--gold);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.copy-btn:hover { background: rgba(232, 169, 23, 0.2); }

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

/* ===== SECTION STYLING ===== */
section { padding: 80px 0; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--gray-light);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ===== HERO SHOWCASE ===== */
.hero-showcase-link {
  display: block;
  overflow: hidden;
  background: transparent;
  transition: transform 0.3s;
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-showcase-link:hover {
  transform: translateY(-4px);
}

.hero-showcase-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(232, 169, 23, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-showcase-link img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.hero-showcase-link:hover img {
  transform: scale(1.03);
}

.hero-showcase-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  margin-top: 8px;
}

.hero-showcase-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 3px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.hero-showcase-caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.2px;
  flex: 1;
}

.hero-showcase-try {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}

.hero-showcase-link:hover .hero-showcase-try {
  opacity: 1;
  transform: translateX(0);
}

/* ===== PROBLEM / SOLUTION ===== */
.problem-section {
  border-top: 1px solid var(--dark-border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 36px;
}

.problem-col h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.problem-col h3 .icon-bad { color: var(--red); }
.problem-col h3 .icon-good { color: var(--green); }

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.5;
}

.problem-list li .marker {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border-radius: 4px;
}

.problem-list.bad .marker { background: rgba(232, 76, 76, 0.15); color: var(--red); }
.problem-list.good .marker { background: rgba(76, 232, 112, 0.15); color: var(--green); }

/* ===== HOW IT WORKS ===== */
.how-section {
  background: var(--off-black);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.step {
  position: relative;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.2s;
}

.step:hover {
  border-color: rgba(232, 169, 23, 0.3);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(232, 169, 23, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--gray-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

.step-code {
  margin-top: 16px;
  background: var(--off-black);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  word-break: break-all;
}

/* ===== WHAT'S INCLUDED ===== */
.included-section {
  border-bottom: 1px solid var(--dark-border);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.included-card {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color 0.3s;
}

.included-card:hover { border-color: rgba(232, 169, 23, 0.3); }

.included-card .ic-icon {
  width: 40px; height: 40px;
  background: rgba(232, 169, 23, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.included-card h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.included-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ===== SUPPORTED ===== */
.supported-table {
  margin-top: 40px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.supported-table th,
.supported-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--dark-border);
}

.supported-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  font-weight: 600;
}

.supported-table td {
  color: var(--gray-light);
}

.supported-table td .tag {
  display: inline-block;
  background: rgba(232, 169, 23, 0.1);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin: 2px 4px 2px 0;
}

/* ===== PRICING ===== */
.pricing-section {
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 36px auto 0;
  align-items: start;
}

.pricing-card {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 169, 23, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-card-featured {
  border: 2px solid var(--gold);
  box-shadow: 0 0 60px rgba(232, 169, 23, 0.08);
}

.pricing-card-featured::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 169, 23, 0.08) 0%, transparent 60%);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.pricing-card-header {
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.pricing-plan-sub {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}

.pricing-card .price-tag {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .price-tag .dollar { font-size: 1.8rem; vertical-align: top; color: var(--gold); }
.pricing-card .price-tag .period {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.pricing-card .price-trial {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 10px 0 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.4;
}

.pricing-features .pf-check { color: var(--green); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.pricing-card .btn-primary { font-size: 1rem; padding: 14px; }

.btn-outline {
  background: transparent !important;
  color: var(--gold) !important;
  border: 2px solid var(--gold) !important;
}
.btn-outline:hover {
  background: rgba(232, 169, 23, 0.1) !important;
  color: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
  box-shadow: 0 8px 30px rgba(232, 169, 23, 0.15) !important;
}

.pricing-fine {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--gray);
  position: relative;
}

.pricing-comparison {
  max-width: 680px;
  margin: 48px auto 0;
  padding: 28px 32px;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  text-align: left;
  position: relative;
}

.pricing-comparison h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.pricing-comparison p {
  font-size: 0.92rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ===== INDIVIDUAL WHEEL PURCHASES ===== */
.pricing-individual {
  max-width: 680px;
  margin: 40px auto 0;
  text-align: left;
}

.pricing-individual h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pricing-individual > p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 20px;
}

.individual-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.individual-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: border-color 0.2s;
}

.individual-card:hover {
  border-color: rgba(232, 169, 23, 0.3);
}

.individual-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.individual-icon {
  width: 36px;
  height: 36px;
  background: rgba(232, 169, 23, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.individual-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
}

.individual-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 2px;
}

.individual-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 169, 23, 0.1);
  border: 1px solid rgba(232, 169, 23, 0.25);
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.individual-buy:hover {
  background: rgba(232, 169, 23, 0.2);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.individual-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--gray);
}

.individual-note a {
  color: var(--gold);
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-section {
  border-top: 1px solid var(--dark-border);
}

.faq-list {
  max-width: 700px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--dark-border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--gold); }

.faq-q .faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--gray);
  flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--gold); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--gray-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--dark-border);
  padding: 48px 0;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gray);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
}

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

/* ===== MODALS ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

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

.modal {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  position: relative;
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.modal p {
  color: var(--gray-light);
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }

.modal-input {
  width: 100%;
  background: var(--off-black);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.modal-input:focus { border-color: var(--gold); }

.modal-msg {
  font-size: 0.85rem;
  margin-top: 12px;
  min-height: 20px;
}

.modal-msg.success { color: var(--green); }
.modal-msg.error { color: var(--red); }

/* ===== SUBPAGE HERO ===== */
.subpage-hero {
  padding-top: 110px;
  padding-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(232, 169, 23, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.subpage-hero .section-label { position: relative; }
.subpage-hero .section-title { position: relative; }
.subpage-hero .section-desc { position: relative; }

/* ===== BACK LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  position: relative;
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold); }

.back-link svg {
  width: 14px;
  height: 14px;
}

/* ===== NOTEBOOKS SECTION ===== */
.notebooks-section {
  border-top: 1px solid var(--dark-border);
  background: var(--off-black);
}

.notebooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.notebook-card {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.notebook-card:hover {
  border-color: rgba(232, 169, 23, 0.4);
  transform: translateY(-4px);
}

.notebook-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(232, 169, 23, 0.08);
}

.notebook-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--off-black);
}

.notebook-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.4s;
}

.notebook-card:hover .notebook-thumb img {
  opacity: 1;
  transform: scale(1.03);
}

.notebook-featured-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.notebook-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.notebook-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.notebook-body .notebook-by {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.notebook-body .notebook-desc {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.notebook-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.notebook-tags .nb-tag {
  background: rgba(232, 169, 23, 0.08);
  border: 1px solid rgba(232, 169, 23, 0.15);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.notebook-actions {
  display: flex;
  gap: 10px;
}

.notebook-actions .btn-primary {
  flex: 1;
  justify-content: center;
  padding: 11px 16px;
  font-size: 0.88rem;
}

.notebook-actions .btn-secondary {
  padding: 11px 16px;
  font-size: 0.88rem;
}

.notebooks-coming {
  margin-top: 40px;
  text-align: center;
  color: var(--gray);
  font-size: 0.92rem;
}

.notebooks-coming span {
  color: var(--gold);
  font-weight: 600;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding-top: 80px; padding-bottom: 32px; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); margin-bottom: 12px; }
  .hero-sub { font-size: 0.92rem; margin-bottom: 20px; }
  .hero-badge { font-size: 0.68rem; padding: 5px 12px; margin-bottom: 14px; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 10;
    justify-content: center;
  }

  .hero-showcase-bar {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 10px 12px;
    justify-content: center;
    text-align: center;
  }

  .hero-showcase-caption {
    flex: none;
    width: 100%;
    text-align: center;
    font-size: 0.65rem;
  }

  .hero-showcase-try {
    opacity: 1;
    transform: translateX(0);
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.7) 40%, rgba(10, 10, 10, 0.85) 80%, rgba(10, 10, 10, 1) 100%);
  }

  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 24px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
  .btn-primary, .btn-secondary { justify-content: center; }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }

  .hero-meta span {
    font-size: 0.82rem;
  }

  .hero-install { margin-top: 24px; max-width: 100%; }
  .install-box { max-width: 100%; }
  .install-code { font-size: 0.72rem; padding: 14px; word-break: break-all; white-space: pre-wrap; }

  section { padding: 80px 0; }

  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }

  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  .included-grid { grid-template-columns: 1fr; }

  .supported-table { font-size: 0.8rem; }
  .supported-table th, .supported-table td { padding: 10px 12px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 20px; }
  .pricing-card .price-tag { font-size: 2.8rem; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-links {
    justify-content: center;
    gap: 16px;
  }

  .notebooks-grid { grid-template-columns: 1fr; }

  .subpage-hero { padding-top: 88px; padding-bottom: 12px; }
  section { padding: 40px 0; }

  .modal { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-meta { gap: 4px 10px; }
  .container { padding: 0 16px; }
}
