/* Falcon of Codes — landing page */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --amethyst: #9354B7;
  --periwinkle: #E3DAFE;
  --rebecca-purple: #543A9C;
  --wisteria: #C5A8E0;

  --purple: var(--amethyst);
  --purple-dark: var(--rebecca-purple);
  --purple-light: var(--amethyst);
  --purple-pale: var(--periwinkle);
  --purple-tag: var(--periwinkle);
  --purple-tag-text: var(--rebecca-purple);
  --bg: #ffffff;
  --bg-2: var(--periwinkle);
  --white: #ffffff;
  --text: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --footer-bg: #1a1229;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 25px;
  --shadow: 0 10px 40px rgba(147, 84, 183, 0.1);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1200px;
}

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-purple { color: var(--purple); }
.kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

/* ── Main layout ── */
main {
  position: relative;
  isolation: isolate;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(920px, 92vh);
  background: linear-gradient(320deg, var(--wisteria) 0%, var(--periwinkle) 38%, var(--bg) 100%);
  z-index: -1;
  pointer-events: none;
}

/* ── Main hero shell ── */
.main-hero {
  overflow: visible;
}

/* ── Header / Nav ── */
.header {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 16px 24px 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform, opacity;
}
.header.is-hidden {
  transform: translateY(calc(-100% - 20px));
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .header { transition: none; }
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--amethyst) 0%, var(--rebecca-purple) 100%);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(84, 58, 156, 0.35);
}
.nav-logo img { height: 54px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 0.75; }
.btn-nav {
  background: var(--white);
  color: var(--rebecca-purple);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform 0.12s, box-shadow 0.15s;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(147, 84, 183, 0.28);
}
.btn-primary:hover { background: var(--purple-dark); }
.btn-outline {
  background: var(--white);
  color: var(--purple);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--purple); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 14px;
}
.btn-white {
  background: var(--white);
  color: var(--purple);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.btn-white:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--bg);
  border-radius: 50%;
  font-size: 10px;
  color: var(--text-muted);
}

/* ── Hero ── */
.hero {
  padding: 64px 0 80px;
  background: transparent;
  overflow: visible;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: visible;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--rebecca-purple);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero-lede {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 48ch;
  margin: 0 0 24px;
}
.hero-lede strong { color: var(--text); }
.hero-lede code,
.section-head-center code,
.plan li code {
  background: var(--purple-pale);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--rebecca-purple);
}

/* Domain widget */
.domain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.domain-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 16px;
}
.prefix { color: var(--text-muted); font-size: 14px; }
#domain {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font: 500 15px var(--font);
  padding: 10px 4px;
  min-width: 0;
}
#domain::placeholder { color: #9CA3AF; }
.domain-link {
  display: block;
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.domain-link:hover { color: var(--purple); }
.domain-result {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--text-muted);
  animation: fadeUp 0.2s ease-out;
}
.domain-result.ok { border-color: rgba(147, 84, 183, 0.35); color: var(--text); }
.domain-result code {
  display: inline-block;
  padding: 2px 8px;
  background: var(--purple-pale);
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--purple);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.social-proof-avatars {
  display: flex;
  align-items: center;
  padding-right: 4px;
}
.social-proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
  margin-left: -10px;
  position: relative;
}
.social-proof-avatar:first-child { margin-left: 0; z-index: 4; }
.social-proof-avatar:nth-child(2) { z-index: 3; }
.social-proof-avatar:nth-child(3) { z-index: 2; }
.social-proof-avatar:nth-child(4) { z-index: 1; }
.social-proof-rating {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.social-proof-stars {
  color: #FBBF24;
  font-size: 13px;
  letter-spacing: 2px;
  line-height: 1;
}
.social-proof-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 480px;
  padding: 12px 16px 28px 8px;
  overflow: visible;
  width: fit-content;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  --laptop-width: 420px;
}
.laptop-mock {
  position: relative;
  z-index: 2;
  width: var(--laptop-width);
  max-width: 100%;
  margin: 0 auto;
}
.laptop-screen {
  background: #1e1e2e;
  border-radius: 14px 14px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 24px 60px rgba(84, 58, 156, 0.18);
}
.screen-bar {
  display: flex;
  gap: 6px;
  padding: 4px 8px 10px;
}
.screen-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.screen-bar span:first-child { background: #ff5f57; }
.screen-bar span:nth-child(2) { background: #febc2e; }
.screen-bar span:nth-child(3) { background: #28c840; }
.screen-content { background: var(--white); border-radius: 6px 6px 0 0; overflow: hidden; }
.screen-nav {
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  color: var(--purple);
  border-bottom: 1px solid var(--border);
}
.screen-hero-img {
  height: 138px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.35) 0%, rgba(118, 75, 162, 0.35) 100%),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=600&q=80") center/cover;
}
.screen-text { background: var(--footer-bg); padding: 14px 16px; display: grid; gap: 8px; }
.screen-text span {
  display: block;
  height: 9px;
  background: var(--bg);
  border-radius: 4px;
}
.screen-text span:first-child { width: 70%; }
.screen-text span:nth-child(2) { width: 90%; }
.screen-text span:nth-child(3) { width: 50%; }
.laptop-base {
  height: 16px;
  background: linear-gradient(180deg, #d1d5db, #9ca3af);
  border-radius: 0 0 10px 10px;
  margin: 0 24px;
}

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(84, 58, 156, 0.12);
  z-index: 3;
  min-width: 130px;
}
.float-label {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
}
.float-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.float-meta {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}
.float-card-1 { top: 0; right: -8px; }
.float-card-2 { top: 40%; left: -28px; transform: translateY(-50%); }
.float-card-3 {
  bottom: 64px;
  left: -4px;
  text-align: center;
  padding: 16px 20px;
  min-width: 138px;
}
.float-card-4 { bottom: 12px; right: -14px; }
.perf-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 6px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

@media (min-width: 1100px) {
  .hero-visual {
    min-height: 520px;
    max-width: 520px;
    padding-right: 20px;
    --laptop-width: 460px;
  }
  .screen-hero-img { height: 155px; }
  .float-card { padding: 16px 20px; min-width: 132px; }
  .float-value { font-size: 24px; }
  .float-label,
  .float-meta { font-size: 12px; }
  .perf-ring { width: 56px; height: 56px; font-size: 18px; }
  .float-card-1 { top: 4px; right: -16px; }
  .float-card-2 { left: -36px; }
  .float-card-3 { bottom: 76px; left: -10px; min-width: 148px; }
  .float-card-4 { bottom: 16px; right: -22px; }
}

/* ── About ── */
.about { padding: 80px 0 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.about h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.about-content p {
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 44ch;
}
.hand-note {
  display: inline-block;
  margin-left: 16px;
  color: var(--purple);
  font-style: italic;
  font-size: 14px;
  transform: rotate(-4deg);
}
.about-visual { position: relative; }
.about-deco-square {
  position: absolute;
  top: -20px;
  right: 40px;
  width: 80px;
  height: 80px;
  background: var(--purple-pale);
  border-radius: 12px;
  z-index: 0;
}
.about-deco-dots {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(circle, #D1D5DB 2px, transparent 2px);
  background-size: 12px 12px;
  z-index: 0;
}
.about-image {
  position: relative;
  z-index: 1;
  transform: rotate(3deg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.stats-bar {
  background: linear-gradient(135deg, var(--wisteria) 0%, var(--periwinkle) 50%, var(--amethyst) 100%);
  padding: 48px 0;
  margin-top: 20px;
}
.stats-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow);
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--purple-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.stat span { font-size: 13px; color: var(--text-muted); }

/* ── Services ── */
.section { padding: 96px 0; }
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-desc {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  max-width: 42ch;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--purple-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 18px;
  line-height: 1.55;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-weight: 600;
  font-size: 14px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
}
.section-cta { margin-top: 8px; }

/* ── Themes section ── */
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-title-row h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.text-link {
  color: var(--purple);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.text-link span { margin-left: 4px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ── Theme demos ── */
.theme-preview-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
  animation: fadeUp 0.25s ease-out;
}
.theme-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.theme-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D1D5DB;
}
.theme-preview-dot:first-child { background: #ff5f57; }
.theme-preview-dot:nth-child(2) { background: #febc2e; }
.theme-preview-dot:nth-child(3) { background: #28c840; }
.theme-preview-url {
  margin-left: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}
.theme-preview-frame {
  min-height: 220px;
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.theme-preview-frame::before {
  content: "";
  display: block;
  height: 14px;
  width: 42%;
  border-radius: 6px;
  background: rgba(255,255,255,0.85);
}
.theme-preview-frame::after {
  content: "";
  display: block;
  height: 72px;
  border-radius: 12px;
  background: rgba(255,255,255,0.35);
}
.theme-preview-label {
  margin: 0;
  padding: 12px 16px 16px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.theme-preview-label strong { color: var(--purple); }

.theme-preview-frame.theme-frame-studio { background: linear-gradient(135deg, #f4d35e, #ee964b); }
.theme-preview-frame.theme-frame-cafe { background: linear-gradient(135deg, #f7c6d9, #d4a5e8); }
.theme-preview-frame.theme-frame-saas { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.theme-preview-frame.theme-frame-portfolio { background: linear-gradient(135deg, #2e2e3a, #555); }
.theme-preview-frame.theme-frame-realestate { background: linear-gradient(135deg, #667eea, #764ba2); }
.theme-preview-frame.theme-frame-agency { background: linear-gradient(135deg, var(--rebecca-purple), var(--amethyst)); }

.theme-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-scroll {
  container-type: inline-size;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.theme-scroll::-webkit-scrollbar { display: none; }
.theme-scroll-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.theme-scroll-btn:hover {
  background: var(--purple-pale);
  border-color: var(--purple);
}
.theme-scroll-btn:active { transform: scale(0.96); }
.theme-scroll-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.theme-scroll-hint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.theme-grid {
  display: flex;
  gap: 24px;
}
.theme-card {
  flex: 0 0 calc((100cqw - 48px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.theme-card.is-previewing { border-color: var(--wisteria); }
.theme-card.is-selected {
  border-color: var(--purple);
  box-shadow: 0 12px 40px rgba(147, 84, 183, 0.18);
}
.theme-thumb {
  position: relative;
  aspect-ratio: 16/10;
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 8px;
}
.theme-thumb-nav {
  display: block;
  height: 8px;
  width: 36%;
  border-radius: 4px;
  background: rgba(255,255,255,0.75);
}
.theme-thumb-hero {
  display: block;
  border-radius: 8px;
  background: rgba(255,255,255,0.35);
  min-height: 48px;
}
.theme-thumb-line {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.55);
}
.theme-thumb-line.short { width: 55%; }
.theme-thumb-studio { background: linear-gradient(135deg, #f4d35e, #ee964b); }
.theme-thumb-cafe { background: linear-gradient(135deg, #f7c6d9, #d4a5e8); }
.theme-thumb-saas { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.theme-thumb-portfolio { background: linear-gradient(135deg, #2e2e3a, #555); }
.theme-thumb-realestate { background: linear-gradient(135deg, #667eea, #764ba2); }
.theme-thumb-agency { background: linear-gradient(135deg, var(--rebecca-purple), var(--amethyst)); }
.theme-body { padding: 22px 24px 24px; }
.theme-tag {
  display: inline-block;
  background: var(--purple-tag);
  color: var(--purple-tag-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.theme-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.theme-body p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 18px;
  line-height: 1.55;
  min-height: 44px;
}
.theme-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.theme-actions .btn { width: 100%; }
.theme-selected-note {
  margin: 28px 0 0;
  padding: 16px 20px;
  background: var(--purple-pale);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  text-align: center;
}
.theme-selected-note strong { color: var(--purple); }
.theme-selected-note a {
  color: var(--purple);
  font-weight: 600;
  margin-left: 6px;
}

/* ── Pricing ── */
.pricing { background: rgba(227, 218, 254, 0.35); }
.section-head-center {
  text-align: center;
  margin-bottom: 48px;
}
.section-head-center h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-head-center p { color: var(--text-muted); margin: 0; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.plan h3 { margin: 0; font-size: 18px; color: var(--text-muted); font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 2px; margin: 16px 0 6px; }
.price .cur { font-size: 22px; color: var(--text-muted); font-weight: 600; }
.price .amt { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--purple); }
.price .per { color: var(--text-muted); font-size: 14px; margin-left: 4px; }
.plan-tag { color: var(--text-muted); font-size: 14px; margin: 0 0 24px; }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.plan li {
  font-size: 14px;
  padding-left: 24px;
  position: relative;
  color: var(--text);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; }
.plan-featured {
  border-color: var(--purple);
  box-shadow: 0 20px 60px rgba(147, 84, 183, 0.22);
  transform: scale(1.03);
}
.badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 0;
  box-shadow: var(--shadow-card);
}
.quote-icon {
  width: 40px;
  height: 40px;
  background: var(--purple-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 24px;
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card footer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card footer strong {
  display: block;
  font-size: 15px;
}
.testimonial-card footer span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.faq-list details[open] { border-color: var(--purple); }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::after {
  content: "+";
  color: var(--purple);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p {
  color: var(--text-muted);
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
.faq-list code {
  background: var(--purple-pale);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--purple);
}

/* ── CTA + Footer zone (Photoshop-style layers: footer bg below, CTA on top) ── */
.footer-cta-zone {
  position: relative;
  isolation: isolate;
  overflow: visible;
  margin-top: 16px;
}

.cta-banner-wrap {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  top: -148px;
  padding: 0;
  margin: 0;
  scroll-margin-top: 96px;
  background: transparent;
  pointer-events: none;
}

.cta-banner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 48px 56px;
  pointer-events: auto;
  background: linear-gradient(135deg, var(--rebecca-purple) 0%, var(--amethyst) 55%, var(--wisteria) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(84, 58, 156, 0.35);
}
.cta-icon {
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.cta-text { flex: 1; }
.cta-text h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 8px;
}
.cta-text p {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 15px;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--footer-bg);
  color: rgba(255,255,255,0.6);
  padding: 148px 0 32px;
  margin-top: 108px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-logo img { height: 46px; width: auto; }
.footer-social {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-social a {
  font-size: 14px;
  transition: color 0.15s;
}
.footer-social a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual {
    min-height: 400px;
    max-width: 640px;
    margin: 32px auto 0;
    padding: 12px 28px 32px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .section-header { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-card { flex: 0 0 calc((100cqw - 24px) / 2); }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-featured { transform: none; }
}

/* Tablet — stacked hero (portrait iPad, etc.) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-visual {
    min-height: 460px;
    max-width: min(620px, 94vw);
    margin: 40px auto 0;
    padding: 16px 48px 40px;
    --laptop-width: 480px;
  }
  .screen-hero-img { height: 145px; }
  .float-card {
    padding: 15px 19px;
    min-width: 124px;
    border-radius: 16px;
  }
  .float-value { font-size: 23px; }
  .float-label,
  .float-meta { font-size: 11px; }
  .perf-ring {
    width: 52px;
    height: 52px;
    font-size: 17px;
  }
  .float-card-1 { top: 8px; right: 16px; }
  .float-card-2 { top: 40%; left: 12px; transform: translateY(-50%); }
  .float-card-3 {
    bottom: 68px;
    left: 20px;
    min-width: 142px;
    padding: 16px 20px;
  }
  .float-card-4 { bottom: 16px; right: 12px; }
}

/* Tablet landscape / small laptop — two-column hero */
@media (min-width: 1025px) and (max-width: 1099px) {
  .hero-visual {
    min-height: 460px;
    max-width: 460px;
    padding: 8px 12px 24px 0;
    --laptop-width: 400px;
  }
  .screen-hero-img { height: 128px; }
  .float-card {
    padding: 14px 17px;
    min-width: 118px;
  }
  .float-value { font-size: 21px; }
  .float-label,
  .float-meta { font-size: 11px; }
  .perf-ring {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  .float-card-1 { top: 0; right: -4px; }
  .float-card-2 { top: 40%; left: -28px; }
  .float-card-3 {
    bottom: 68px;
    left: -4px;
    min-width: 136px;
    padding: 16px 18px;
  }
  .float-card-4 { bottom: 12px; right: -12px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    background: var(--rebecca-purple);
    padding: 20px;
    border-radius: var(--radius);
    gap: 16px;
  }
  .nav { position: relative; flex-wrap: wrap; }
  .header { top: 8px; padding-top: 8px; }
  .main-hero { padding-top: 0; }
  .hero { padding-top: 40px; }
  .hero-visual {
    min-height: 360px;
    max-width: 100%;
    width: 100%;
    margin: 28px auto 0;
    padding: 0 12px 24px;
    --laptop-width: 300px;
  }
  .screen-hero-img { height: 110px; }
  .screen-nav { font-size: 12px; padding: 10px 12px; }
  .float-card {
    padding: 12px 14px;
    border-radius: 14px;
    min-width: 108px;
  }
  .float-label { font-size: 10px; margin-bottom: 2px; }
  .float-value { font-size: 18px; }
  .float-meta { font-size: 10px; }
  .perf-ring {
    width: 44px;
    height: 44px;
    font-size: 15px;
    border-width: 3px;
    margin: 6px auto 4px;
  }
  .float-card-1 { top: 0; right: 0; }
  .float-card-2 {
    top: 33%;
    bottom: auto;
    left: 0;
    transform: translateY(-50%);
  }
  .float-card-3 {
    top: 67%;
    bottom: auto;
    left: 0;
    transform: translateY(-50%);
    padding: 14px 16px;
    min-width: 120px;
  }
  .float-card-4 { bottom: 0; right: 0; }
  .service-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
  .theme-carousel { gap: 8px; }
  .theme-scroll-btn { width: 38px; height: 38px; font-size: 16px; }
  .theme-card { flex: 0 0 calc(100cqw - 12px); }
  .theme-actions { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr; padding: 24px; }
  .section-title-row { flex-direction: column; align-items: flex-start; }
  .footer-cta-zone { margin-top: 40px; }
  .cta-banner-wrap { top: -250px;  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }
  .footer { padding-top: 320px; margin-top: 230px;}
  .footer-top,
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .domain-row { flex-wrap: wrap; }
  .hand-note { display: block; margin: 16px 0 0; }
}
