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

:root {
  --gold: #C9A84C;
  --gold-light: #e2c06e;
  --gold-dim: rgba(201,168,76,0.15);
  --bg: #0e0d0b;
  --bg2: #131210;
  --bg3: #1a1814;
  --surface: #1e1c18;
  --surface2: #252219;
  --border: rgba(201,168,76,0.18);
  --text: #f0ead8;
  --text-muted: #8a8070;
  --text-dim: #5a5448;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(14,13,11,0.92);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  color: #0e0d0b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.logo-mark.sm { width: 28px; height: 28px; font-size: 14px; }

.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  letter-spacing: 0.03em;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.btn-ghost {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(201,168,76,0.4); }

.btn-gold {
  font-size: 13px;
  font-weight: 500;
  color: #0e0d0b;
  text-decoration: none;
  padding: 8px 20px;
  background: var(--gold);
  border-radius: 8px;
  transition: var(--transition);
}
.btn-gold:hover { background: var(--gold-light); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.c1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #C9A84C, transparent);
  top: -200px; right: -100px;
  animation: floatOrb 12s ease-in-out infinite;
}
.c2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7C6FCD, transparent);
  bottom: 0; left: -100px;
  animation: floatOrb 16s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(30px,-30px); }
}

.hero-inner {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

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

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(201,168,76,0); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  text-decoration: none;
  background: var(--gold);
  color: #0e0d0b;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 10px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary-hero:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.3);
}

.btn-link-hero {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.btn-link-hero:hover { color: var(--text); }
.play-icon {
  font-size: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.metric span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.metric-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* Hero Preview */
.hero-preview {
  flex: 0 0 440px;
  position: relative;
}

.preview-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.window-bar {
  background: var(--bg3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.wb {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.wb.r { background: #ff5f57; }
.wb.y { background: #ffbd2e; }
.wb.g { background: #28c840; }

.window-url {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-dim);
  font-family: monospace;
  background: var(--bg2);
  padding: 3px 12px;
  border-radius: 6px;
  margin: 0 8px;
}

.window-content { padding: 20px; }

.mock-hero {}
.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mock-logo-bar {
  width: 70px; height: 8px;
  background: var(--gold);
  border-radius: 4px;
  opacity: 0.7;
}
.mock-nav-links { display: flex; gap: 8px; }
.mock-link {
  width: 30px; height: 6px;
  background: var(--text-dim);
  border-radius: 3px;
}
.mock-headline {
  width: 80%; height: 14px;
  background: var(--text-muted);
  border-radius: 4px;
  margin-bottom: 8px;
  opacity: 0.6;
}
.mock-sub {
  width: 60%; height: 8px;
  background: var(--text-dim);
  border-radius: 3px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.mock-btns { display: flex; gap: 8px; margin-bottom: 20px; }
.mock-btn-solid {
  width: 80px; height: 24px;
  background: var(--gold);
  border-radius: 6px;
  opacity: 0.7;
}
.mock-btn-out {
  width: 70px; height: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.mock-cards { display: flex; gap: 8px; }
.mock-card {
  flex: 1; height: 60px;
  border-radius: 8px;
}
.mock-card.gold { background: rgba(201,168,76,0.25); border: 1px solid var(--border); }
.mock-card.dim { background: var(--bg3); }

.floating-tag {
  position: absolute;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 100px;
  animation: tagFloat 4s ease-in-out infinite;
}
.t1 {
  bottom: -16px; left: -20px;
  color: var(--gold);
  animation-delay: 0s;
}
.t2 {
  top: -12px; right: -16px;
  animation-delay: 2s;
}

@keyframes tagFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== SECTIONS SHARED ===== */
section {
  padding: 100px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.sec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.sec-title em {
  font-style: italic;
  color: var(--gold);
}

.sec-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== CATEGORIES ===== */
#categories {
  background: var(--bg2);
  max-width: 100%;
  padding: 100px 32px;
}

#categories .section-wrap { max-width: 1280px; margin: 0 auto 60px; }

.categories-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cat-color);
  opacity: 0;
  transition: var(--transition);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--cat-color);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cat-card:hover::before { opacity: 1; }

.cat-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.cat-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cat-count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cat-color);
  text-transform: uppercase;
}

/* ===== TEMPLATES ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: #0e0d0b;
  background: var(--gold);
  border-color: var(--gold);
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.tmpl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.tmpl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.tmpl-card.hidden { display: none; }

.tmpl-preview {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Mock UI inside previews */
.tmpl-mock-ui {
  width: 85%;
  padding: 12px;
}
.dark-ui .tmu-nav {
  height: 6px; width: 100%;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin-bottom: 16px;
}
.dark-ui .tmu-nav.green { background: rgba(72,199,120,0.4); }
.dark-ui .tmu-nav.purple { background: rgba(155,135,245,0.4); }
.dark-ui .tmu-nav.amber { background: rgba(201,168,76,0.4); }
.dark-ui .tmu-hero-text {
  height: 12px; width: 70%;
  background: rgba(255,255,255,0.3);
  border-radius: 3px; margin-bottom: 8px;
}
.dark-ui .tmu-hero-text.green-t { background: rgba(72,199,120,0.5); }
.dark-ui .tmu-hero-text.amber-t { background: rgba(201,168,76,0.5); }
.dark-ui .tmu-hero-sub {
  height: 6px; width: 50%;
  background: rgba(255,255,255,0.15);
  border-radius: 3px; margin-bottom: 12px;
}
.dark-ui .tmu-hero-sub.dim-sub { background: rgba(255,255,255,0.1); }
.dark-ui .tmu-btn {
  height: 18px; width: 70px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}
.dark-ui .tmu-btn.green-btn { background: rgba(72,199,120,0.5); }
.dark-ui .tmu-btn.amber-btn { background: rgba(201,168,76,0.5); }

.light-ui .tmu-nav { background: rgba(0,0,0,0.2); }
.light-ui .tmu-nav.dark { background: rgba(0,0,0,0.5); }
.light-ui .tmu-hero-text.dark { background: rgba(0,0,0,0.4); }
.light-ui .tmu-hero-sub.dark { background: rgba(0,0,0,0.2); }
.light-ui .tmu-btn.gold-btn { background: rgba(201,168,76,0.8); }
.light-ui .tmu-btn.dark-btn { background: rgba(0,0,0,0.6); }

.tmu-grid-mock {
  display: flex; gap: 6px; margin-top: 10px;
}
.tmu-grid-item {
  flex: 1; height: 50px;
  background: rgba(155,135,245,0.4);
  border-radius: 6px;
}
.tmu-grid-item.dim { background: rgba(155,135,245,0.15); }

.tmpl-body { padding: 20px; }

.tmpl-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge.free { background: rgba(72,199,120,0.15); color: #48c778; }
.badge.premium { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge.new { background: rgba(84,160,212,0.15); color: #54a0d4; }

.tmpl-cat {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tmpl-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.tmpl-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tmpl-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tmpl-tech {
  font-size: 11px;
  color: var(--text-dim);
  font-family: monospace;
}

.tmpl-btn {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 7px;
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.tmpl-btn:hover { color: var(--text); border-color: rgba(201,168,76,0.4); }
.tmpl-btn.gold { background: var(--gold); color: #0e0d0b; border-color: var(--gold); }
.tmpl-btn.gold:hover { background: var(--gold-light); }

.view-more-wrap { text-align: center; }

.btn-view-all {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 14px 36px;
  border-radius: 10px;
  transition: var(--transition);
}
.btn-view-all:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}

/* ===== WHY / ABOUT ===== */
.why-section {
  max-width: 100%;
  background: var(--bg2);
  padding: 100px 32px;
}

.why-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text .sec-label { text-align: left; }
.why-text .sec-title { text-align: left; font-size: clamp(30px, 4vw, 52px); margin-bottom: 20px; }

.why-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.why-list {
  list-style: none;
  margin-bottom: 36px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.why-icon {
  color: var(--gold);
  font-size: 12px;
}

.btn-gold-lg {
  display: inline-block;
  text-decoration: none;
  background: var(--gold);
  color: #0e0d0b;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  transition: var(--transition);
}
.btn-gold-lg:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.3);
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.why-stat-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
.why-stat-card.gold-card {
  background: var(--gold-dim);
  border-color: rgba(201,168,76,0.4);
}

.why-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.why-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== CTA / CONTACT ===== */
.cta-section {
  max-width: 100%;
  padding: 100px 32px;
  background: var(--bg);
  text-align: center;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.cta-section h2 em { font-style: italic; color: var(--gold); }

.cta-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-actions { margin-bottom: 32px; }

.cta-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 13px;
}

.social-link {
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition);
  font-size: 13px;
}
.social-link:hover { color: var(--gold); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 32px 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(201,168,76,0.08);
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding-top: 140px;
    gap: 60px;
  }
  .hero-preview { flex: none; width: 100%; max-width: 480px; margin: 0 auto; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .templates-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 60px; }
  .why-cards { max-width: 480px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(14,13,11,0.98); border-bottom: 1px solid var(--border); padding: 24px 32px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-inner { position: relative; }
  .btn-ghost { display: none; }
  .burger { display: flex; }
  .categories-grid { grid-template-columns: 1fr; }
  .templates-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: 16px; flex-wrap: wrap; }
  .why-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  section, .why-section, .cta-section, .footer { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding: 0 20px; }
  .hero { padding: 120px 20px 60px; }
  .why-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 12px; }
}
