/* =========================================================================
   Senova design system — Premium edition
   Light, warm, polished. Framer-level typography & spacing.
   ========================================================================= */

:root {
  /* Surfaces */
  --bg:           #faf8f6;
  --surface:      #ffffff;
  --surface-2:    #f5f3f0;
  --surface-hover: #f5f3f0;
  --surface-active: #efecea;

  /* Palette */
  --coral:        #E67E80;
  --coral-hover:  #d4696b;
  --coral-soft:   #fdf0f0;
  --pink:         #E8B4B8;
  --pink-soft:    #fcf4f4;
  --rose:         #B16B84;
  --rose-soft:    #f7f0f3;
  --sage:         #5C8B7D;
  --sage-deep:    #4a7568;
  --sage-soft:    #eff3f2;
  --steel:        #4D6E7C;

  /* Semantic */
  --accent:       var(--coral);
  --accent-2:     var(--coral-hover);
  --accent-grad:  linear-gradient(135deg, #E67E80 0%, #d4696b 100%);

  /* Text */
  --ink:          #1c1917;
  --ink-soft:     #44403c;
  --ink-faint:    #78716c;
  --text:         #1c1917;
  --text-secondary: #57534e;
  --border:       #d6d3d1;

  /* Lines */
  --line:         #d6d3d1;
  --line-soft:    #e7e5e4;

  /* Status */
  --ok:           var(--sage);
  --ok-soft:      #eff3f2;
  --warn:         #d4a037;
  --danger:       #dc4a4a;
  --danger-soft:  #fef2f2;
  --focus-ring:   0 0 0 2px rgba(230, 126, 128, 0.2);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm: 6px;
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows — warm-tinted */
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.04), 0 1px 2px rgba(28, 25, 23, 0.02);
  --shadow:    0 4px 12px rgba(28, 25, 23, 0.06), 0 1px 4px rgba(28, 25, 23, 0.03);
  --shadow-lg: 0 12px 32px rgba(28, 25, 23, 0.08), 0 4px 12px rgba(28, 25, 23, 0.04);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1100px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg);
}
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--pink); color: var(--ink); }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   PHASE 1: Scroll-reveal animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.35s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.4s; }

/* Legacy compat for workspace */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   PHASE 2: Typography — large editorial type
   ========================================================================== */

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1c1917;
  max-width: 720px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1c1917;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.landing-body-text {
  font-size: 18px;
  line-height: 1.6;
  color: #57534e;
}

/* ==========================================================================
   PHASE 3: Generous spacing + alternating backgrounds
   ========================================================================== */

.landing-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.landing-section {
  padding: 120px 0;
}

.landing-section:nth-child(odd) {
  background: var(--bg);
}
.landing-section:nth-child(even) {
  background: var(--surface);
}

/* Legacy layout classes (workspace uses these) */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-24) 0; }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-16);
}
.section-head .section-title {
  margin: var(--space-4) 0;
}
.section-head .landing-body-text {
  margin-top: var(--space-3);
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .section-label { justify-content: center; }

/* Legacy eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); opacity: 0.6; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: var(--space-4) 0; font-weight: 700; }
.section-head p { color: #57534e; font-size: 1.05rem; line-height: 1.65; }
.center .eyebrow { justify-content: center; }

/* ==========================================================================
   Buttons — smooth hover with subtle scale
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 40px;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 200ms var(--ease), transform 200ms var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: #1c1917;
  color: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.15);
}
.btn-primary:hover {
  background: #292524;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.15);
}
.btn-secondary {
  background: transparent;
  color: #1c1917;
  border: 1.5px solid #1c1917;
}
.btn-secondary:hover {
  background: #1c1917;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.15);
}
.btn-dark { background: var(--steel); color: #fff; }
.btn-dark:hover { background: #3a5663; transform: scale(1.02); }
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn-lg { height: 48px; padding: 0 2rem; font-size: 1rem; border-radius: 100px; }

/* ==========================================================================
   Nav — fixed, transparent -> white+blur on scroll
   ========================================================================== */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.landing-nav.scrolled {
  background: rgba(250, 248, 246, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: var(--space-8); }
.nav-links a {
  color: #44403c;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 200ms var(--ease);
  position: relative;
}
.nav-links a:hover { color: #1c1917; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 200ms var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: var(--space-4); }
.nav-cta .btn { border-radius: 100px; }
.nav-signin {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 200ms var(--ease);
}
.nav-signin:hover { color: var(--ink); }

/* Legacy sticky nav (workspace) */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg) !important;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  position: relative;
  z-index: 1;
}
.hero-subtitle {
  max-width: 520px;
}

.hero-prompt {
  width: 100%;
  max-width: 640px;
  margin: var(--space-8) auto 0;
  position: relative;
}
.hero-prompt textarea {
  width: 100%;
  min-height: 72px;
  max-height: 180px;
  padding: 20px 88px 20px 22px;
  background: #ffffff;
  border: 1px solid #d6d3d1;
  border-radius: var(--radius-xl);
  color: #1c1917;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.hero-prompt textarea::placeholder { color: var(--ink-faint); }
.hero-prompt textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(230, 126, 128, 0.08);
}
.hero-prompt-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  height: 42px;
  padding: 0 24px;
  background: #1c1917;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.hero-prompt-btn:hover {
  background: #292524;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.15);
}
.hero-prompt-btn svg { width: 16px; height: 16px; }

.hero-templates {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.hero-templates-label {
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.hero-template-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-template-pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid #d6d3d1;
  background: #ffffff;
  font-size: 0.88rem;
  color: #44403c;
  cursor: pointer;
  transition: border-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
  font-family: var(--font-sans);
}
.hero-template-pill:hover {
  border-color: #1c1917;
  color: #1c1917;
  transform: scale(1.02);
}

/* ==========================================================================
   PHASE 4: Showcase cards — immersive feature displays
   ========================================================================== */

.showcase-card {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  transition: box-shadow 0.3s var(--ease);
}
.showcase-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.showcase-card:last-child {
  margin-bottom: 0;
}
.showcase-visual {
  padding: 40px;
  background: var(--bg);
}
.showcase-info {
  padding: 40px;
}
.showcase-info .section-label {
  margin-bottom: var(--space-3);
}
.showcase-info .section-title {
  margin: var(--space-3) 0;
}
.showcase-info .landing-body-text {
  margin-top: var(--space-3);
  max-width: 560px;
}

/* Mockup windows */
.mockup-window {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-topbar-title {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-faint);
  font-weight: 500;
}
.mockup-content {
  padding: 24px;
  min-height: 280px;
}

/* Showcase 1: AI Builder split view */
.mockup-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}
.mockup-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 90%;
}
.mockup-msg-user {
  background: var(--coral-soft);
  color: var(--ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mockup-msg-ai {
  background: var(--surface-2);
  color: var(--ink-soft);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.mockup-typing {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  align-self: flex-start;
}
.mockup-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  animation: typing 1.4s infinite;
}
.mockup-typing span:nth-child(2) { animation-delay: 0.2s; }
.mockup-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

.mockup-code {
  background: #1e1e2e;
  border-radius: var(--radius);
  padding: 16px;
  overflow: hidden;
}
.mockup-code-line {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: #cdd6f4;
  white-space: nowrap;
}
.mc-kw { color: #cba6f7; }
.mc-fn { color: #89b4fa; }
.mc-prop { color: #a6e3a1; }
.mc-num { color: #fab387; }

/* Showcase 2: Database table */
.mockup-table-wrap {
  padding: 0;
  overflow: auto;
}
.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mockup-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 500;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mockup-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.mockup-table tbody tr:hover {
  background: var(--bg);
}
.mockup-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-pro { background: var(--coral-soft); color: var(--accent); }
.badge-team { background: var(--sage-soft); color: var(--sage); }
.badge-free { background: var(--surface-2); color: var(--ink-faint); }
.mockup-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-active { background: var(--sage); }
.status-pending { background: var(--warn); }

/* Showcase 3: Deploy */
.mockup-deploy-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.mockup-deploy {
  text-align: center;
}
.mockup-deploy-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-5);
}
.mockup-deploy-icon svg {
  width: 28px;
  height: 28px;
}
.mockup-deploy-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.mockup-deploy-url {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
}
.mockup-deploy-meta {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}
.mockup-deploy-stat {
  font-size: 12px;
  color: var(--ink-faint);
  font-weight: 500;
}

/* Showcase 4: Templates */
.mockup-templates-wrap {
  padding: 20px;
}
.mockup-tpl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mockup-tpl-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 200ms var(--ease);
}
.mockup-tpl-card:hover {
  transform: translateY(-2px);
}
.mockup-tpl-preview {
  height: 80px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tpl-color) 15%, transparent) 0%, color-mix(in srgb, var(--tpl-color) 40%, transparent) 100%);
}
.mockup-tpl-name {
  display: block;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ==========================================================================
   Feature grid (secondary features)
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.feature-card {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  transition: all 200ms var(--ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.feature-card:hover {
  border-color: #d6d3d1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  background: var(--coral-soft);
  color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon.icon-sage { background: var(--sage-soft); color: var(--sage); }
.feature-icon.icon-rose { background: var(--rose-soft); color: var(--rose); }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.feature-card p {
  color: #57534e;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   How it works — step cards
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all 200ms var(--ease);
}
.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.step-number {
  display: inline-block;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #d6d3d1;
  line-height: 1;
  margin-bottom: var(--space-5);
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.step-card p {
  color: #57534e;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   PHASE 5: Built with Senova — showcase grid
   ========================================================================== */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.showcase-site {
  text-align: center;
}
.showcase-site-preview {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--site-accent) 8%, var(--bg)) 0%, color-mix(in srgb, var(--site-accent) 20%, var(--bg)) 100%);
  padding: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.showcase-site:hover .showcase-site-preview {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.showcase-site-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: var(--space-4);
}
.showcase-site-type {
  display: block;
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: var(--space-1);
}

/* Site wireframes */
.site-wireframe {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sw-nav {
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}
.sw-hero {
  height: 40%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sw-hero-sm {
  height: 25%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sw-cards {
  display: flex;
  gap: 6px;
  flex: 1;
}
.sw-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}
.sw-sidebar {
  width: 22%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sw-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sw-topbar {
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 3px;
}
.sw-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.sw-cell {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sw-gallery {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.sw-img {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sw-img-tall {
  grid-row: span 2;
}
.sw-products {
  flex: 1;
  display: flex;
  gap: 6px;
}
.sw-product {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sw-cart {
  height: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}
.sw-article {
  height: 35%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sw-posts {
  flex: 1;
  display: flex;
  gap: 6px;
}
.sw-post {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sw-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  padding: 0 15%;
}
.sw-input {
  height: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}
.sw-btn {
  height: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  width: 50%;
  align-self: center;
}

/* Dashboard wireframe needs flex layout */
.showcase-site:nth-child(2) .site-wireframe {
  flex-direction: row;
}
.showcase-site:nth-child(2) .sw-main {
  flex: 1;
}

/* ==========================================================================
   Pricing — 4-column, toggle, Popular badge
   ========================================================================== */

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.pricing-toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.pricing-save-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 11px;
  font-weight: 600;
}
.pricing-toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 100px;
  background: var(--line);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 200ms var(--ease);
  padding: 0;
}
.pricing-toggle-switch.active {
  background: var(--accent);
}
.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 200ms var(--ease);
}
.pricing-toggle-switch.active .pricing-toggle-knob {
  transform: translateX(20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all 200ms var(--ease);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.pricing-card.popular {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(230, 126, 128, 0.12);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(230, 126, 128, 0.3);
}
.pricing-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
  font-feature-settings: "tnum";
}
.pricing-amount small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-faint);
}
.pricing-blurb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-6);
  line-height: 1.5;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.pricing-feature,
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.pricing-feature svg,
.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--ok);
  flex-shrink: 0;
}
.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all 200ms var(--ease), transform 200ms var(--ease);
  font-family: var(--font-sans);
}
.pricing-cta:hover {
  border-color: #1c1917;
  color: #1c1917;
  transform: scale(1.02);
}
.pricing-card.popular .pricing-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pricing-card.popular .pricing-cta:hover {
  background: var(--accent-2);
  transform: scale(1.02);
}
.pricing-card.pricing-enterprise {
  background: var(--surface-2);
  border-color: var(--line-soft);
}
.pricing-card.pricing-enterprise .pricing-amount {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.pricing-bottom-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* ==========================================================================
   Template gallery
   ========================================================================== */

.tpl-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-8);
}
.tpl-filter {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 180ms var(--ease);
  font-family: var(--font-sans);
}
.tpl-filter:hover { border-color: var(--ink-faint); color: var(--ink); }
.tpl-filter.active { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.tpl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.tpl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.tpl-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.tpl-preview {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tpl-preview-blocks {
  width: 80%;
  height: 75%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.35;
}
.tpl-block { background: #fff; border-radius: 3px; }
.tpl-block-nav { height: 10px; width: 100%; }
.tpl-block-hero { height: 40px; width: 100%; }
.tpl-block-bigimg { height: 55px; width: 100%; }
.tpl-block-featured { height: 48px; width: 100%; }
.tpl-block-player { height: 50px; width: 100%; }
.tpl-block-sidebar { width: 22%; align-self: stretch; }
.tpl-block-topbar { height: 10px; width: 100%; }
.tpl-block-rowbar { height: 14px; width: 100%; }
.tpl-block-row { display: flex; gap: 6px; flex: 1; }
.tpl-block-card { flex: 1; border-radius: 3px; background: #fff; }
.tpl-block-cell { border-radius: 3px; background: #fff; }
.tpl-block-grid6 { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 6px; flex: 1; }
.tpl-block-app { display: flex; gap: 6px; flex: 1; }
.tpl-block-main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tpl-block-rows { display: flex; flex-direction: column; gap: 6px; flex: 1; }

.tpl-info { padding: var(--space-5); }
.tpl-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.tpl-meta h4 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0; }
.tpl-cat {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-faint); padding: 2px 8px; border-radius: 100px;
}
.tpl-info p { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 var(--space-4); line-height: 1.5; }
.tpl-use-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 180ms var(--ease); font-family: var(--font-sans); width: 100%;
  justify-content: center;
}
.tpl-use-btn:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */

.landing-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line-soft);
  padding: 80px 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.landing-footer .brand { margin-bottom: var(--space-4); }
.footer-about {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 290px;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: var(--space-4);
  font-weight: 700;
}
.footer-col a,
.footer-col span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding: var(--space-2) 0;
  transition: color 200ms var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Legacy footer (workspace uses .footer) */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line-soft);
  padding: var(--space-16) 0 var(--space-8);
}
.footer .brand { margin-bottom: var(--space-4); }

/* ==========================================================================
   Legacy sections — workspace compatibility
   ========================================================================== */

.build-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.build-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6); transition: all 200ms var(--ease);
  box-shadow: var(--shadow-sm);
}
.build-card:hover { border-color: var(--line); box-shadow: var(--shadow); }
.build-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: var(--space-5); background: var(--coral-soft); color: var(--accent);
}
.build-icon svg { width: 22px; height: 22px; }
.build-card:nth-child(3n+2) .build-icon { background: var(--sage-soft); color: var(--sage); }
.build-card:nth-child(3n+3) .build-icon { background: var(--rose-soft); color: var(--rose); }
.build-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: var(--space-2); }
.build-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

.band {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.band h2, .band h3, .band h4 { color: var(--ink); }
.band .section-head p { color: var(--ink-soft); }
.band .eyebrow { color: var(--accent); }
.band .eyebrow::before { background: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.step {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: var(--space-8);
  box-shadow: var(--shadow-sm); transition: all 200ms var(--ease);
}
.step:hover { box-shadow: var(--shadow); }
.step .n { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); margin-bottom: var(--space-5); display: block; }
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: var(--space-3); }
.step p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-10); }
.principle { padding-top: var(--space-5); border-top: 1px solid var(--line); }
.principle .p-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: var(--space-4); background: var(--coral-soft); color: var(--accent);
}
.principle .p-icon svg { width: 20px; height: 20px; }
.principle h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: var(--space-2); }
.principle p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }

/* Legacy pricing */
.pricing { padding: var(--space-24) 0; }
.pricing-head { text-align: center; max-width: 600px; margin: 0 auto var(--space-12); }
.pricing-head .eyebrow { justify-content: center; }
.pricing-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: var(--space-4) 0; font-weight: 700; }
.pricing-head p { color: var(--ink-soft); font-size: 1.05rem; }

.access {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12); text-align: center;
  max-width: 960px; margin: 0 auto; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.access > * { position: relative; z-index: 1; }
.access .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: var(--coral-soft); padding: 5px 14px; border-radius: 100px; margin-bottom: var(--space-5); }
.access h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: var(--space-4); }
.access p { color: var(--ink-soft); font-size: 1.02rem; max-width: 520px; margin: 0 auto var(--space-8); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); text-align: left; margin: 0 auto var(--space-8); }
.tier {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: all 200ms var(--ease); position: relative;
}
.tier:hover { box-shadow: var(--shadow); }
.tier.popular { border: 2px solid var(--accent); }
.tier h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: var(--space-3); }
.tier-price {
  display: block; font-size: 2.2rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em; margin-bottom: var(--space-2); line-height: 1.1;
  font-feature-settings: "tnum";
}
.tier-price small { font-size: 0.85rem; font-weight: 500; color: var(--ink-faint); }
.tier-features { display: flex; flex-direction: column; gap: var(--space-2); margin: var(--space-4) 0; }
.tier-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: var(--ink-soft);
}
.tier-features li svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }
.tier p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; max-width: none; line-height: 1.5; }
.tier-cta {
  display: block; width: 100%; text-align: center; margin-top: var(--space-5);
  padding: 10px; border-radius: 100px; font-size: 0.88rem; font-weight: 600;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: all 200ms var(--ease);
}
.tier-cta:hover { border-color: var(--accent); color: var(--accent); }
.tier.popular .tier-cta {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.tier.popular .tier-cta:hover { background: var(--accent-2); }

.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; margin-top: var(--space-2); }

/* ==========================================================================
   PHASE 6: Framer-level animations
   ========================================================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--coral), var(--rose));
  z-index: 9999;
  transition: width 50ms linear;
  will-change: width;
}

/* Character-by-character hero text reveal */
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: charIn 0.4s var(--ease-out) forwards;
}

@keyframes charIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero demo — live builder simulation */
.hero-demo {
  max-width: 900px;
  width: 100%;
  margin: 48px auto 0;
  perspective: 1000px;
  will-change: transform;
}
.demo-window {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06);
  transform: rotateX(2deg);
}
.demo-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e7e5e4;
}
.demo-dots {
  display: flex;
  gap: 6px;
}
.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6d3d1;
}
.demo-title {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-faint);
  font-weight: 500;
}
.demo-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 320px;
}
.demo-chat {
  padding: 20px;
  border-right: 1px solid #e7e5e4;
  background: #fafaf8;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.demo-msg-user {
  background: var(--coral-soft);
  color: var(--ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.demo-msg-ai {
  background: var(--surface-2);
  color: var(--ink-soft);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.demo-file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.demo-file {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-soft);
}
.demo-file::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.demo-file.done::before {
  background: #22c55e;
  animation: pop 0.3s 2.5s both var(--ease-out);
}
.demo-file.active::before {
  background: var(--accent);
  animation: pulse 1s infinite;
}

.demo-preview {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-preview-nav {
  height: 10px;
  background: #f3f4f6;
  border-radius: 4px;
}
.demo-preview-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.demo-card {
  height: 60px;
  background: #f3f4f6;
  border-radius: 6px;
  animation: cardIn 0.5s both var(--ease-out);
}
.demo-card:nth-child(1) { animation-delay: 3s; }
.demo-card:nth-child(2) { animation-delay: 3.15s; }
.demo-card:nth-child(3) { animation-delay: 3.3s; }
.demo-card:nth-child(4) { animation-delay: 3.45s; }

.demo-preview-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-row {
  height: 14px;
  background: #f3f4f6;
  border-radius: 3px;
}

/* Staggered slide-up animations for demo elements */
.demo-anim-1 { animation: slideUp 0.6s 0.5s both var(--ease-out); }
.demo-anim-2 { animation: slideUp 0.6s 1.2s both var(--ease-out); }
.demo-anim-3 { animation: slideUp 0.6s 2.0s both var(--ease-out); }
.demo-anim-4 { animation: fadeScale 0.8s 2.8s both var(--ease-out); }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
@keyframes pulse {
  50% { opacity: 0.4; }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Typing cursor blink on AI message */
.demo-typing::after {
  content: '|';
  animation: blink 0.8s infinite;
  font-weight: 300;
}
@keyframes blink { 50% { opacity: 0; } }

/* Animated cursor in showcase mockups */
.showcase-cursor {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #1c1917;
  border-radius: 50%;
  opacity: 0.5;
  animation: cursorMove 4s infinite var(--ease);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
.showcase-cursor-2 {
  animation: cursorMove2 5s infinite var(--ease);
}

@keyframes cursorMove {
  0%   { left: 20%; top: 30%; }
  25%  { left: 60%; top: 20%; }
  50%  { left: 40%; top: 60%; }
  75%  { left: 70%; top: 40%; }
  100% { left: 20%; top: 30%; }
}
@keyframes cursorMove2 {
  0%   { left: 30%; top: 25%; }
  20%  { left: 50%; top: 35%; }
  40%  { left: 70%; top: 50%; }
  60%  { left: 45%; top: 65%; }
  80%  { left: 25%; top: 45%; }
  100% { left: 30%; top: 25%; }
}

/* Element highlight when cursor passes */
.showcase-highlight {
  animation: highlightPulse 4s infinite;
}
@keyframes highlightPulse {
  0%, 100% { box-shadow: none; }
  25% { box-shadow: 0 0 0 2px var(--accent); }
  50% { box-shadow: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .mockup-split { grid-template-columns: 1fr; }
  .mockup-code { display: none; }
}

@media (max-width: 940px) {
  .landing-section { padding: 80px 0; }
  .hero-section { padding: 120px 0 80px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .nav-links { display: none; }
  .build-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .principles { grid-template-columns: 1fr; }
  .section { padding: var(--space-20) 0; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .demo-body { grid-template-columns: 1fr; }
  .demo-chat { border-right: none; border-bottom: 1px solid #e7e5e4; }
  .demo-preview-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .tpl-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .tpl-preview { height: 140px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .mockup-tpl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .landing-section { padding: 64px 0; }
  .hero-section { padding: 100px 0 64px; }
  .hero-title { font-size: clamp(28px, 7vw, 36px); }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .nav-signin { display: none; }
  .build-grid { grid-template-columns: 1fr; }
  .access { padding: var(--space-12) var(--space-6); }
  .tiers { grid-template-columns: 1fr; }
  .hero-template-pills { justify-content: center; }
  .showcase-visual { padding: 20px; }
  .showcase-info { padding: 24px; }
  .mockup-content { min-height: 200px; }
  .mockup-deploy-meta { flex-direction: column; gap: var(--space-2); }
  .hero-demo { margin-top: 32px; }
  .demo-body { min-height: 240px; }
  .showcase-cursor { display: none; }
}
