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

:root {
  --bg: #111014;
  --bg-alt: #16161c;
  --bg-card: #1c1c24;
  --fg: #f0ede8;
  --fg-dim: #8a8690;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --border: #2a2a36;
  --code-bg: #0d0d11;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-cta {
  margin-left: auto;
  background: var(--accent);
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* SECTION SHARED */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 3rem;
}

/* HERO */
.hero {
  padding: 5rem 0 4rem;
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}
.hero-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* CODE PANEL */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.code-panel {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.code-panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #0a0a0e;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }
.code-panel-title {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-left: auto;
}
.code-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.code-line {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
}
.code-key { color: #b48af5; }
.code-dim { color: #555; }
.code-url { color: #7ec8e3; }
.code-success { color: #4ade80; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* CAPABILITIES */
.capabilities {
  padding: 6rem 0;
  background: var(--bg-alt);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.cap-card:hover {
  border-color: var(--accent);
}
.cap-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.cap-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.cap-card p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.65;
}

/* PROCESS */
.process {
  padding: 6rem 0;
  background: var(--bg);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
}
.step {
  flex: 1;
  padding-right: 1rem;
}
.step-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.step p {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.6;
}
.step-divider {
  flex: 0 0 auto;
  padding: 2.5rem 0.75rem 0;
  color: var(--border);
  align-self: center;
}

/* OUTCOMES */
.outcomes {
  padding: 6rem 0;
  background: var(--bg-alt);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.outcomes-body {
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.outcomes-body:last-of-type { margin-bottom: 2.5rem; }
.outcome-stats {
  display: flex;
  gap: 3rem;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-top: 0.25rem;
  display: block;
}

/* DEVICE STACK */
.device-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.device {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.device-phone {
  width: 160px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  margin-bottom: -20px;
}
.device-screen {
  padding: 12px;
  background: var(--code-bg);
}
.screen-content { display: flex; flex-direction: column; gap: 10px; }
.screen-header { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.screen-logo { width: 20px; height: 20px; background: var(--accent); border-radius: 50%; }
.screen-nav { width: 40px; height: 4px; background: var(--border); border-radius: 2px; }
.screen-hero-icon { display: flex; justify-content: center; padding: 8px 0; }
.screen-lines { display: flex; flex-direction: column; gap: 5px; }
.screen-line { height: 6px; background: var(--border); border-radius: 3px; width: 100%; }
.screen-line.short { width: 60%; }

.device-browser {
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 1;
}
.device-bar { height: 28px; background: #0a0a0e; border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; gap: 4px; }
.device-bar::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.device-body { padding: 16px; }
.browser-grid { display: flex; gap: 8px; }
.browser-col { flex: 1; height: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; }
.browser-col.wide { flex: 2; }

/* PRICING */
.pricing {
  padding: 6rem 0;
  background: var(--bg);
}
.pricing .section-heading { margin-bottom: 2rem; }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.pricing-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 2rem;
}
.pricing-price span {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg-dim);
}
.pricing-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-top: 1.5rem;
}

/* SOCIAL PROOF */
.social-proof {
  padding: 6rem 0;
  background: var(--bg-alt);
}
.social-proof .section-heading { margin-bottom: 2.5rem; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.proof-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.proof-card:hover { border-color: var(--accent); }
.proof-quote {
  font-size: 0.9rem;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.proof-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.proof-avatar {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111;
  flex-shrink: 0;
}
.proof-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}
.proof-role {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

/* CLOSING */
.closing {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing .section-inner { max-width: 780px; }
.closing-text {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  color: var(--fg-dim);
  margin-bottom: 1.5rem;
}
.closing-text.accent { color: var(--fg); font-weight: 700; }

/* FOOTER */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-dim);
  flex: 1;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
  }
  .hero-text .hero-headline { font-size: 2.5rem; }
  .section-inner, .hero-grid { padding-left: 1.5rem; padding-right: 1.5rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 0; }
  .step-divider { display: none; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 3rem; }
  .outcome-stats { gap: 1.5rem; }
  .footer-inner { flex-wrap: wrap; gap: 0.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .section-heading { font-size: 1.75rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 2rem; }
  .pricing-price { font-size: 2.75rem; }
}

@media (max-width: 480px) {
  .stat-num { font-size: 1.5rem; }
  .step { padding-right: 0; }
  .device-phone { width: 130px; }
  .device-browser { max-width: 260px; }
}

/* DEMO SECTION */
.demo {
  padding: 6rem 0;
  background: var(--bg-alt);
}
.demo-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.demo-input-row {
  display: flex;
  gap: 0.75rem;
  max-width: 620px;
}
.demo-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1.1rem;
  outline: none;
  transition: border-color 0.2s;
}
.demo-input:focus { border-color: var(--accent); }
.demo-input::placeholder { color: var(--fg-dim); }
.demo-btn { white-space: nowrap; flex-shrink: 0; border: none; cursor: pointer; }
.demo-hint {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-top: 0.65rem;
}

/* Progress */
.demo-progress { margin-top: 2.5rem; }
.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 360px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-dim);
  transition: color 0.2s;
}
.progress-step.active { color: var(--fg); }
.progress-step.done { color: #4ade80; }
.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.25s;
}
.progress-step.active .progress-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  animation: pulse-dot 1.2s infinite;
}
.progress-step.done .progress-dot { background: #4ade80; }
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Result */
.demo-result { margin-top: 3rem; }
.demo-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: flex-start;
}

/* Phone frame */
.demo-phone-wrap {
  display: flex;
  justify-content: center;
}
.demo-phone {
  width: 220px;
  background: #1a1a22;
  border: 2px solid #3a3a4a;
  border-radius: 36px;
  padding: 18px 10px 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.demo-phone-notch {
  width: 70px;
  height: 12px;
  background: #0d0d11;
  border-radius: 6px;
  flex-shrink: 0;
}
.demo-phone-screen {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--code-bg);
}
.demo-iframe {
  width: 1100px;
  height: 2200px;
  border: none;
  background: #fff;
  transform-origin: top left;
  /* scale 1100px app width into ~200px phone screen */
  transform: scale(0.182);
  pointer-events: none;
}
.demo-phone-bar {
  width: 80px;
  height: 4px;
  background: #3a3a4a;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Info panel */
.demo-info { padding-top: 0.5rem; }
.demo-brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.demo-brand-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.demo-brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
}
.demo-brand-url {
  font-size: 0.8rem;
  color: var(--fg-dim);
  word-break: break-all;
}
.demo-lead-note {
  display: none;
  font-size: 0.85rem;
  color: #4ade80;
  margin-top: 0.4rem;
  font-weight: 500;
}
.demo-ready-text {
  font-size: 0.95rem;
  color: var(--fg-dim);
  margin-bottom: 1.75rem;
  max-width: 380px;
  line-height: 1.65;
}
.demo-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 380px;
}
.demo-publish-btn {
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  font-size: 1rem;
}
.demo-email-row { display: flex; gap: 0.5rem; }
.demo-email-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.demo-email-input:focus { border-color: var(--accent); }
.demo-email-input::placeholder { color: var(--fg-dim); }
.demo-email-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.demo-email-btn:hover { border-color: var(--accent); color: var(--accent); }
.demo-email-status { font-size: 0.85rem; }
.demo-email-ok { color: #4ade80; }
.demo-email-err { color: #f87171; }

/* Error */
.demo-error {
  margin-top: 2rem;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid #f87171;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.demo-error p { font-size: 0.9rem; color: var(--fg); margin-bottom: 0.75rem; }
.demo-retry-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg-dim);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.demo-retry-btn:hover { border-color: var(--accent); color: var(--fg); }

/* Demo mobile */
@media (max-width: 768px) {
  .demo-input-row { flex-direction: column; }
  .demo-btn { width: 100%; text-align: center; }
  .demo-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .demo-phone { width: 190px; }
  .demo-phone-screen { height: 340px; }
  .demo-email-row { flex-direction: column; }
  .demo-email-btn { width: 100%; text-align: center; }
}