/* ============================================
   CAWPVERSE — Clean Light Design
   ============================================ */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@300,400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,400;0,500;1,400&family=Lexend+Zetta:wght@700&display=swap');

:root {
  --bg:        #ffffff;
  --surface:   #f7f7f7;
  --surface-2: #f0f0f0;
  --border:    #e8e8e8;
  --border-2:  #d4d4d4;
  --ink:       #0a0a0a;
  --ink-2:     #525252;
  --ink-3:     #a3a3a3;
  --ink-4:     #d4d4d4;
  --accent:    #0a0a0a;
  --radius:    12px;
  --radius-sm: 8px;
  --font:      'General Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'Courier New', monospace;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================
   TYPE
   ============================================ */
h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  display: flex; align-items: center;
  padding: 0 28px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1160px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: center;
}

.navbar-logo-center {
  text-align: center;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.05);
}

.logo {
  font-family: 'Lexend Zetta', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-pill {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-2);
}

.hamburger { display: none; flex-direction: column; gap: 4px; padding: 6px; }
.hamburger span { display: block; width: 18px; height: 1.5px; background: var(--ink-2); border-radius: 2px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  transition: all 0.18s var(--ease);
  cursor: pointer; white-space: nowrap;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover:not(.btn-disabled) {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--border-2);
}
.btn-outline:hover { background: var(--surface); color: var(--ink); border-color: var(--border-2); }

.btn-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: 110px;
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}

.hero-text {
  padding: 0 28px;
}

/* Mixed-weight headline */
.hero-h1 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.h1-thin {
  font-weight: 300;
  color: var(--ink);
}
.h1-bold {
  font-weight: 800;
  color: var(--ink);
}

.hero-sub {
  font-size: 1rem;
  color: var(--ink-3);
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Pill CTA */
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: var(--ink); color: #fff;
  border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  transition: all 0.18s var(--ease);
}
.btn-pill:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ── Scattered card fan ────────────────────── */
.hero-visual {
  position: relative;
  height: 420px;
  margin-top: 64px;
}

.hv-card {
  position: absolute;
  width: 195px;
  height: 275px;
  border-radius: 18px;
  bottom: -80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Fan positions — left to right */
.hv-lumina { left: calc(50% - 460px); transform: rotate(-22deg) translateY(-20px); }
.hv-nexus  { left: calc(50% - 265px); transform: rotate(-12deg) translateY(-40px); }
.hv-bloom  { left: calc(50% - 90px);  transform: rotate(-3deg)  translateY(-55px); }
.hv-drift  { left: calc(50% + 10px);  transform: rotate(4deg)   translateY(-50px); }
.hv-apex   { left: calc(50% + 170px); transform: rotate(13deg)  translateY(-35px); }
.hv-mosaic { left: calc(50% + 360px); transform: rotate(22deg)  translateY(-15px); }

/* Card backgrounds */
.hv-lumina { background: linear-gradient(160deg, #0d0b1e 0%, #1a1450 100%); }
.hv-nexus  { background: linear-gradient(160deg, #020c18 0%, #0a2240 100%); }
.hv-bloom  { background: #fdf4f0; border: 1px solid #f0e4dc; }
.hv-drift  { background: #ffffff; border: 1px solid var(--border); }
.hv-apex   { background: linear-gradient(160deg, #0c0a04 0%, #1c1400 100%); }
.hv-mosaic { background: linear-gradient(160deg, #0c0b09 0%, #1a160c 100%); }

/* Card text */
.hvc-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  display: inline-block;
  align-self: flex-start;
}
.hvc-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

/* Light cards (dark text) */
.hv-bloom .hvc-tag { background: rgba(0,0,0,0.07); color: rgba(0,0,0,0.5); }
.hv-bloom .hvc-name { color: #1a1a1a; }
.hv-drift .hvc-tag { background: var(--surface); color: var(--ink-3); border: 1px solid var(--border); }
.hv-drift .hvc-name { color: var(--ink); }

/* Dark cards (light text) */
.hv-lumina .hvc-tag { background: rgba(123,104,238,0.2); color: #a89af5; }
.hv-lumina .hvc-name { color: #fff; }
.hv-nexus .hvc-tag  { background: rgba(6,182,212,0.15); color: #22d3ee; }
.hv-nexus .hvc-name  { color: #fff; }
.hv-apex .hvc-tag   { background: rgba(245,158,11,0.15); color: #fbbf24; }
.hv-apex .hvc-name   { color: #fff; }
.hv-mosaic .hvc-tag { background: rgba(217,119,6,0.15); color: #d97706; }
.hv-mosaic .hvc-name { color: #fff; }

/* Card decorative accent shape */
.hv-card::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.07;
}
.hv-lumina::after { background: #7b68ee; }
.hv-nexus::after  { background: #06b6d4; }
.hv-bloom::after  { background: #ec4899; opacity: 0.06; }
.hv-drift::after  { background: #000; opacity: 0.04; }
.hv-apex::after   { background: #f59e0b; }
.hv-mosaic::after { background: #d97706; }

/* Divider line */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============================================
   SECTION LABEL
   ============================================ */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 12px; display: block;
}

.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { color: var(--ink-2); font-size: 0.95rem; }
.section-header.center { text-align: center; max-width: 500px; margin: 0 auto 48px; }

/* ============================================
   TEMPLATE GRID
   ============================================ */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tpl-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
  cursor: default;
}
.tpl-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

/* Browser chrome */
.tpl-chrome {
  height: 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
}
.tpl-dots { display: flex; gap: 4px; }
.tpl-dots span { width: 8px; height: 8px; border-radius: 50%; }
.tpl-dots span:nth-child(1) { background: #ff5f57; }
.tpl-dots span:nth-child(2) { background: #ffbd2e; }
.tpl-dots span:nth-child(3) { background: #28c840; }
.tpl-url {
  flex: 1; height: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; padding: 0 7px; gap: 4px;
}
.tpl-url-text { font-family: var(--font-mono); font-size: 0.52rem; color: var(--ink-3); }

/* Preview area */
.tpl-preview { height: 196px; position: relative; overflow: hidden; }

.tpl-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.tpl-card:hover .tpl-overlay { opacity: 1; }
.overlay-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--ink);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff;
}

/* ── Template preview designs (light) ── */

/* LUMINA – dark SaaS (kept dark for contrast) */
.prev-lumina {
  background: linear-gradient(160deg, #0d0b1e, #130f2e);
  height: 100%; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.pl-nav { display: flex; align-items: center; justify-content: space-between; }
.pl-logo { width: 36px; height: 6px; background: rgba(255,255,255,0.4); border-radius: 3px; }
.pl-cta { width: 32px; height: 14px; background: #7b68ee; border-radius: 4px; }
.pl-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.pl-h { height: 12px; background: rgba(255,255,255,0.85); border-radius: 3px; width: 80%; }
.pl-h2 { height: 12px; background: linear-gradient(90deg,#818cf8,#38bdf8); border-radius: 3px; width: 58%; opacity: 0.85; }
.pl-s { height: 5px; background: rgba(255,255,255,0.2); border-radius: 2px; width: 68%; }
.pl-btns { display: flex; gap: 6px; margin-top: 4px; }
.pl-b1 { width: 54px; height: 18px; background: #7b68ee; border-radius: 5px; }
.pl-b2 { width: 44px; height: 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 5px; }
.pl-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.pl-card { height: 32px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 6px; }

/* NEXUS – dark agency */
.prev-nexus {
  background: linear-gradient(160deg, #020c18, #061428);
  height: 100%; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.pn-nav { display: flex; align-items: center; justify-content: space-between; }
.pn-logo { width: 40px; height: 6px; background: rgba(255,255,255,0.5); border-radius: 3px; }
.pn-btn { width: 36px; height: 14px; background: linear-gradient(90deg,#06b6d4,#3b82f6); border-radius: 4px; }
.pn-img {
  flex: 1; background: linear-gradient(135deg,#0c2a4a,#0e3460);
  border-radius: 7px; display: flex; align-items: flex-end; padding: 10px;
}
.pn-t1 { height: 8px; width: 75%; background: rgba(255,255,255,0.7); border-radius: 3px; margin-bottom: 5px; }
.pn-t2 { height: 8px; width: 55%; background: linear-gradient(90deg,#06b6d4,#3b82f6); border-radius: 3px; opacity: 0.85; }
.pn-cols { display: flex; gap: 6px; }
.pn-col { flex: 1; height: 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 5px; }

/* BLOOM – light e-commerce */
.prev-bloom {
  background: #faf8f5;
  height: 100%; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 9px;
}
.pbl-nav { display: flex; align-items: center; justify-content: space-between; }
.pbl-logo { width: 32px; height: 5px; background: rgba(0,0,0,0.3); border-radius: 2px; }
.pbl-links { display: flex; gap: 6px; }
.pbl-links span { width: 18px; height: 4px; background: rgba(0,0,0,0.12); border-radius: 2px; }
.pbl-cart { width: 22px; height: 12px; background: #1a1a1a; border-radius: 3px; }
.pbl-banner {
  background: linear-gradient(135deg,#fce7f3,#fdf2f8);
  border-radius: 7px; padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.pbl-bt1 { height: 7px; width: 70%; background: rgba(0,0,0,0.35); border-radius: 2px; margin-bottom: 4px; }
.pbl-bt2 { height: 5px; width: 50%; background: rgba(0,0,0,0.18); border-radius: 2px; margin-bottom: 7px; }
.pbl-bb { width: 38px; height: 14px; background: #ec4899; border-radius: 3px; }
.pbl-img { width: 36px; height: 36px; background: linear-gradient(135deg,#f9a8d4,#ec4899); border-radius: 5px; opacity: 0.7; }
.pbl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.pbl-item { background: #f0ece8; border-radius: 5px; padding: 5px; }
.pbl-thumb { height: 22px; background: linear-gradient(135deg,#fecdd3,#f9a8d4); border-radius: 3px; margin-bottom: 3px; }
.pbl-n { height: 4px; width: 75%; background: rgba(0,0,0,0.18); border-radius: 2px; }

/* DRIFT – minimal editorial */
.prev-drift {
  background: #ffffff;
  border-top: 1px solid var(--border);
  height: 100%; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.pd-nav { display: flex; align-items: center; justify-content: space-between; }
.pd-logo { width: 44px; height: 7px; background: rgba(0,0,0,0.6); border-radius: 3px; }
.pd-links { display: flex; gap: 6px; }
.pd-links span { width: 18px; height: 4px; background: rgba(0,0,0,0.12); border-radius: 2px; }
.pd-hero { border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.pd-tag { width: 48px; height: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; margin-bottom: 8px; }
.pd-h { height: 11px; width: 88%; background: rgba(0,0,0,0.8); border-radius: 3px; margin-bottom: 4px; }
.pd-h2 { height: 11px; width: 65%; background: rgba(0,0,0,0.6); border-radius: 3px; margin-bottom: 8px; }
.pd-meta { display: flex; gap: 7px; align-items: center; }
.pd-av { width: 14px; height: 14px; border-radius: 50%; background: #e5e5e5; }
.pd-n { height: 4px; width: 40px; background: rgba(0,0,0,0.2); border-radius: 2px; }
.pd-d { height: 4px; width: 30px; background: rgba(0,0,0,0.12); border-radius: 2px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pd-post { border: 1px solid var(--border); border-radius: 6px; padding: 7px; }
.pd-pt { height: 5px; width: 85%; background: rgba(0,0,0,0.25); border-radius: 2px; margin-bottom: 3px; }
.pd-ps { height: 4px; width: 60%; background: rgba(0,0,0,0.12); border-radius: 2px; margin-bottom: 7px; }
.pd-pi { height: 18px; background: var(--surface); border-radius: 4px; }

/* APEX – startup, bold dark */
.prev-apex {
  background: linear-gradient(160deg,#07090e,#0d1120);
  height: 100%; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.pa-nav { display: flex; align-items: center; justify-content: space-between; }
.pa-logo { width: 34px; height: 6px; background: rgba(255,255,255,0.45); border-radius: 3px; }
.pa-btn { width: 36px; height: 14px; background: linear-gradient(90deg,#f59e0b,#ef4444); border-radius: 4px; }
.pa-kicker { display: flex; align-items: center; gap: 5px; }
.pa-dot { width: 5px; height: 5px; background: #f59e0b; border-radius: 50%; }
.pa-kl { width: 52px; height: 5px; background: rgba(245,158,11,0.35); border-radius: 2px; }
.pa-h { height: 11px; width: 86%; background: rgba(255,255,255,0.85); border-radius: 3px; }
.pa-h2 { height: 11px; width: 62%; background: linear-gradient(90deg,#f59e0b,#ef4444); border-radius: 3px; opacity: 0.9; }
.pa-s { height: 5px; width: 70%; background: rgba(255,255,255,0.15); border-radius: 2px; }
.pa-wl { display: flex; gap: 5px; }
.pa-inp { flex: 1; height: 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; }
.pa-sub { width: 48px; height: 20px; background: linear-gradient(90deg,#f59e0b,#ef4444); border-radius: 4px; }
.pa-stats { display: flex; gap: 16px; }
.pa-st { }
.pa-sn { height: 8px; width: 24px; background: rgba(255,255,255,0.5); border-radius: 2px; margin-bottom: 3px; }
.pa-sl { height: 4px; width: 32px; background: rgba(255,255,255,0.12); border-radius: 2px; }

/* MOSAIC – editorial grid */
.prev-mosaic {
  background: #0c0b09;
  height: 100%; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.pm-nav { display: flex; align-items: center; justify-content: space-between; }
.pm-logo { width: 38px; height: 6px; background: rgba(255,255,255,0.5); border-radius: 3px; }
.pm-links { display: flex; gap: 6px; }
.pm-links span { width: 20px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.pm-grid {
  flex: 1;
  display: grid; grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr; gap: 5px;
}
.pm-c1 {
  grid-row: 1/-1;
  background: linear-gradient(160deg,#1a1205,#2d2010);
  border-radius: 7px; padding: 10px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.pm-c1-tag { width: 32px; height: 10px; background: rgba(217,119,6,0.3); border: 1px solid rgba(217,119,6,0.3); border-radius: 100px; margin-bottom: 5px; }
.pm-c1-h { height: 7px; width: 90%; background: rgba(255,255,255,0.7); border-radius: 2px; margin-bottom: 3px; }
.pm-c1-s { height: 5px; width: 65%; background: rgba(255,255,255,0.25); border-radius: 2px; }
.pm-c2 { background: linear-gradient(135deg,#d97706,#b45309); border-radius: 7px; }
.pm-c3 {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px; display: flex; align-items: center; padding: 8px; gap: 5px;
}
.pm-c3-img { width: 20px; height: 20px; background: rgba(255,255,255,0.1); border-radius: 4px; flex-shrink: 0; }
.pm-c3-t1 { height: 4px; width: 85%; background: rgba(255,255,255,0.3); border-radius: 2px; margin-bottom: 3px; }
.pm-c3-t2 { height: 3px; width: 60%; background: rgba(255,255,255,0.12); border-radius: 2px; }

/* Template info bar */
.tpl-info { padding: 14px 16px 16px; }
.tpl-row1 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.tpl-name { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.tpl-soon {
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px; border-radius: 100px;
  background: var(--surface); color: var(--ink-3);
  border: 1px solid var(--border);
}
.tpl-desc { font-size: 0.8rem; color: var(--ink-2); line-height: 1.5; margin-bottom: 11px; }
.tpl-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--border);
}
.tag-dark {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feat-item {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.15s;
}
.feat-item:hover { background: var(--surface); }
.feat-icon { font-size: 1.4rem; margin-bottom: 14px; display: block; }
.feat-item h3 { margin-bottom: 7px; font-size: 0.95rem; }
.feat-item p { font-size: 0.845rem; color: var(--ink-2); line-height: 1.65; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: var(--ink);
  border-radius: 16px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.55); max-width: 400px; margin: 0 auto 32px; font-size: 0.95rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--ink);
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all 0.18s;
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn-white-outline {
  background: transparent; color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all 0.18s;
}
.btn-white-outline:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-brand p { font-size: 0.845rem; color: var(--ink-2); line-height: 1.7; margin-top: 12px; max-width: 240px; }
.footer-addr { font-size: 0.78rem; color: var(--ink-3); margin-top: 10px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.845rem; color: var(--ink-2); transition: color 0.15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-legal { font-size: 0.76rem; color: var(--ink-3); line-height: 1.9; }
.footer-legal strong { color: var(--ink-2); font-weight: 500; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 0.76rem; color: var(--ink-3); transition: color 0.15s; }
.footer-links a:hover { color: var(--ink-2); }

/* ============================================
   LEGAL PAGES
   ============================================ */
.page-hero {
  padding: 100px 0 52px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px; margin-top: 10px;
}
.page-hero p { color: var(--ink-2); max-width: 560px; font-size: 0.95rem; }
.page-meta { font-size: 0.8rem; color: var(--ink-3); margin-top: 10px; }

.legal-body { padding: 56px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: start; }

.legal-toc { position: sticky; top: 80px; }
.legal-toc h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px;
}
.legal-toc ul { display: flex; flex-direction: column; gap: 1px; }
.legal-toc a {
  font-size: 0.82rem; color: var(--ink-2); padding: 5px 10px;
  border-radius: var(--radius-sm); display: block;
  border-left: 2px solid transparent; transition: all 0.15s;
}
.legal-toc a:hover { color: var(--ink); background: var(--surface); border-left-color: var(--ink); }

.legal-content { max-width: 680px; }
.legal-content section { margin-bottom: 44px; }
.legal-content h2 {
  font-size: 1.2rem; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 0.95rem; margin: 20px 0 8px; }
.legal-content p { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 12px; line-height: 1.75; }
.legal-content ul, .legal-content ol { padding-left: 18px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 7px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { font-size: 0.9rem; color: var(--ink-2); line-height: 1.65; }
.legal-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--border-2); }
.legal-content a:hover { text-decoration-color: var(--ink); }

.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px; margin-bottom: 20px;
}
.info-box p { font-size: 0.875rem; margin: 0; }
.contact-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-top: 24px;
}
.contact-box h3 { margin-bottom: 12px; }
.contact-box p { font-size: 0.875rem; margin-bottom: 5px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 10px; transition: border-color 0.15s;
}
.contact-item:hover { border-color: var(--border-2); }
.contact-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-text h4 { font-size: 0.875rem; margin-bottom: 3px; }
.contact-text p { font-size: 0.82rem; color: var(--ink-2); margin: 0; }
.contact-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--border-2); }

.company-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-top: 10px;
}
.company-card h3 { font-family: var(--font-mono); font-size: 0.65rem; color: var(--ink-3); margin-bottom: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.8rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--ink-3); }
.detail-value { color: var(--ink-2); font-weight: 500; font-size: 0.78rem; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-card h3 { margin-bottom: 5px; }
.form-card > p { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { font-family: var(--font-mono); display: block; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 13px;
  font-size: 0.875rem; font-family: var(--font); color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-4); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.06);
}
.form-group select option { background: var(--bg); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 0.74rem; color: var(--ink-3); margin-top: 12px; text-align: center; }
.form-note a { color: var(--ink-2); text-decoration: underline; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hv-lumina { left: calc(50% - 410px); }
  .hv-nexus  { left: calc(50% - 230px); }
  .hv-bloom  { left: calc(50% - 80px); }
  .hv-drift  { left: calc(50% + 10px); }
  .hv-apex   { left: calc(50% + 140px); }
  .hv-mosaic { left: calc(50% + 310px); }
}

@media (max-width: 1024px) {
  .templates-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero { padding-bottom: 80px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .templates-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; background: none; border: none; border-radius: 0; gap: 10px; }
  .feat-item { border: 1px solid var(--border); border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .cta-section { padding: 40px 24px; border-radius: var(--radius); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions a { justify-content: center; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .templates-grid { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 12px; flex-wrap: wrap; }
  .hero-text { padding: 0 20px; }
  .page-hero { padding: 88px 0 40px; }
}

/* ============================================
   TEMPLATE CARDS — data-driven (render-templates.js)
   ============================================ */

/* Thumbnail image fills preview */
.tpl-thumb-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* No-thumbnail placeholder */
.tpl-no-thumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.tpl-no-thumb span {
  font-size: 3rem; font-weight: 800; opacity: 0.15; color: #fff;
  font-family: var(--font);
}
.tpl-no-thumb[data-platform="Framer"]  { background: linear-gradient(145deg, #0c0b24 0%, #1a1540 100%); }
.tpl-no-thumb[data-platform="Figma"]   { background: linear-gradient(145deg, #1a0d30 0%, #2d1b50 100%); }
.tpl-no-thumb[data-platform="Webflow"] { background: linear-gradient(145deg, #0d2040 0%, #0a1828 100%); }
.tpl-no-thumb[data-platform="Next.js"] { background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%); }
.tpl-no-thumb[data-platform="HTML"]    { background: linear-gradient(145deg, #0d1a10 0%, #1a3020 100%); }

/* Screenshot hover hint */
.tpl-preview-hint {
  font-family: var(--font-mono);
  font-size: 0.55rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.6); color: rgba(255,255,255,0.75);
  padding: 3px 9px; border-radius: 100px;
  pointer-events: none;
  opacity: 0; transition: opacity 0.15s;
}
.tpl-has-gallery .tpl-preview:hover .tpl-preview-hint { opacity: 1; }

/* Status badges */
.tpl-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px;
}
.tpl-badge-free {
  background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0;
}
.tpl-badge-soon {
  background: var(--surface); color: var(--ink-3); border: 1px solid var(--border);
}

/* Offer note */
.tpl-offer-note {
  font-family: var(--font-mono);
  font-size: 0.58rem; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 8px; margin-top: 2px;
}

/* Action button — full width in card */
.tpl-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 12px;
  padding: 9px 16px;
  background: var(--ink); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600; font-family: var(--font);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.tpl-action-btn:hover:not(:disabled) {
  background: #1a1a1a; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.tpl-action-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Section currency note */
.section-currency {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 6px; display: block;
}

/* ============================================
   LIGHTBOX
   ============================================ */
#tpl-lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
#tpl-lightbox.lb-open { opacity: 1; visibility: visible; }

.lb-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.92);
}
.lb-img-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 90vw; max-height: 88vh;
}
.lb-img {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain; border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lb-counter {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: rgba(255,255,255,0.35); letter-spacing: 0.08em; text-transform: uppercase;
}
.lb-close {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s;
}
.lb-close:hover { background: rgba(255,255,255,0.2); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 600px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ============================================
   THUMBNAIL — layered approach (bg + img)
   ============================================ */
.tpl-thumb-wrap {
  position: absolute; inset: 0;
}
.tpl-thumb-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #0c0b24;
}
.tpl-thumb-bg span {
  font-size: 4rem; font-weight: 800; opacity: 0.09; color: #fff;
  font-family: var(--font); user-select: none;
}
.tpl-thumb-bg[data-platform="Framer"]  { background: linear-gradient(145deg, #0c0b24, #1a1540); }
.tpl-thumb-bg[data-platform="Figma"]   { background: linear-gradient(145deg, #1a0d30, #2d1b50); }
.tpl-thumb-bg[data-platform="Webflow"] { background: linear-gradient(145deg, #0d2040, #0a1828); }
.tpl-thumb-bg[data-platform="Next.js"] { background: linear-gradient(145deg, #0a0a0a, #1a1a1a); }
.tpl-thumb-bg[data-platform="HTML"]    { background: linear-gradient(145deg, #0d1a10, #1a3020); }

.tpl-thumb-img-abs {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ============================================
   TEMPLATE DETAIL MODAL
   ============================================ */
#tpl-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
}
#tpl-modal.tpl-modal-open { opacity: 1; visibility: visible; }

.tpl-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tpl-modal-panel {
  position: relative; z-index: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%; max-width: 880px;
  max-height: 88vh;
  display: grid; grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 40px 120px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* Close button */
.tpl-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.8);
  transition: background 0.15s, color 0.15s;
}
.tpl-modal-close:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* Gallery side */
.tpl-modal-gallery {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #0c0b24, #1a1540);
  min-height: 380px;
}
.tpl-modal-gallery[data-platform="Framer"]  { background: linear-gradient(145deg, #0c0b24, #1a1540); }
.tpl-modal-gallery[data-platform="Figma"]   { background: linear-gradient(145deg, #1a0d30, #2d1b50); }
.tpl-modal-gallery[data-platform="Webflow"] { background: linear-gradient(145deg, #0d2040, #0a1828); }
.tpl-modal-gallery[data-platform="Next.js"] { background: linear-gradient(145deg, #0a0a0a, #1a1a1a); }
.tpl-modal-gallery[data-platform="HTML"]    { background: linear-gradient(145deg, #0d1a10, #1a3020); }

.tpl-modal-gallery-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.tpl-modal-gallery-bg span {
  font-size: 7rem; font-weight: 800; opacity: 0.07; color: #fff;
  font-family: var(--font); user-select: none;
}
.tpl-modal-main-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.tpl-gallery-prev, .tpl-gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(0,0,0,0.45); border: none; border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff;
  opacity: 0; transition: opacity 0.15s;
}
.tpl-modal-gallery:hover .tpl-gallery-prev,
.tpl-modal-gallery:hover .tpl-gallery-next { opacity: 1; }
.tpl-gallery-prev { left: 10px; }
.tpl-gallery-next { right: 10px; }
.tpl-modal-gallery-nav {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.tpl-gallery-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  border: none; padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.tpl-gallery-dot.active { background: #fff; transform: scale(1.3); }

/* Info side */
.tpl-modal-body {
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto;
}
.tpl-modal-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tpl-modal-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tpl-modal-name { font-size: 1.5rem; font-weight: 700; margin: 0; line-height: 1.2; }
.tpl-modal-desc { font-size: 0.875rem; color: var(--ink-2); line-height: 1.65; margin: 0; }
.tpl-modal-offer {
  font-family: var(--font-mono);
  font-size: 0.62rem; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0;
}
.tpl-modal-divider { border: none; border-top: 1px solid var(--border); margin: 2px 0; }

/* Email form inside modal */
.tpl-modal-form { display: flex; flex-direction: column; gap: 10px; }
.tpl-modal-submit {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 10px 18px;
  background: var(--ink); color: #fff; border: none;
  border-radius: var(--radius-sm);
  font-size: 0.855rem; font-weight: 600; font-family: var(--font);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.tpl-modal-submit:hover:not(:disabled) {
  background: #1a1a1a; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.tpl-modal-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.tpl-modal-fine { font-size: 0.7rem; color: var(--ink-3); text-align: center; margin: 0; }

/* Success state */
.tpl-modal-success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px; padding: 8px 0;
}
.tpl-modal-success[hidden] { display: none !important; }
#tpl-email-form[hidden] { display: none !important; }
.success-checkmark {
  width: 52px; height: 52px; background: #f0fdf4; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tpl-modal-success h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.tpl-modal-success p { font-size: 0.85rem; color: var(--ink-2); margin: 0; line-height: 1.55; }
.tpl-direct-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600;
  padding: 9px 18px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-sm);
  margin-top: 4px;
  transition: background 0.15s;
}
.tpl-direct-link:hover { background: #1a1a1a; }

@media (max-width: 700px) {
  #tpl-modal { padding: 12px; align-items: flex-end; }
  .tpl-modal-panel {
    grid-template-columns: 1fr;
    max-height: 94vh;
    border-radius: 18px 18px 10px 10px;
  }
  .tpl-modal-gallery { min-height: 240px; }
  .tpl-modal-body { padding: 22px 20px 24px; max-height: 55vh; }
  .tpl-modal-name { font-size: 1.25rem; }
  .tpl-gallery-prev, .tpl-gallery-next { opacity: 0.65; }
}

/* ============================================
   CTA EMAIL FORM
   ============================================ */
.cta-email-form {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 8px;
}
.cta-form-row { display: flex; gap: 6px; width: 100%; max-width: 420px; }
.cta-email-input {
  flex: 1; padding: 11px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff; font-size: 0.875rem; font-family: var(--font);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.cta-email-input::placeholder { color: rgba(255,255,255,0.4); }
.cta-email-input:focus {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.12);
}
.cta-form-note {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.cta-success-msg {
  color: rgba(255,255,255,0.8); font-size: 0.875rem;
  padding: 11px 22px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  display: inline-block;
}
@media (max-width: 480px) {
  .cta-form-row { flex-direction: column; align-items: stretch; }
  .cta-email-input { border-radius: 10px; }
}
