:root {
  --primary: #ff8f33;
  --secondary: #7c3aed;
  --hero: #0f0a1e;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-900: #18181b;
  --heading: "allumi-std", system-ui, sans-serif;
  --sans: "JetBrains Mono", ui-monospace, monospace;
  --gradient: linear-gradient(135deg, #ff8f33 0%, #7c3aed 100%);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--zinc-900);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--heading); margin: 0; }

p { margin: 0; }

.accent { color: var(--primary); }

.muted { color: var(--zinc-400); }

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: var(--sans);
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 0 14px 3px rgba(255, 143, 51, 0.42), 0 0 30px 6px rgba(124, 58, 237, 0.22), 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: cta-pulse 3s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(0, 0, 0, 0.1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.cta:hover {
  transform: scale(1.05);
  animation: none;
  box-shadow: 0 0 32px 10px rgba(255, 143, 51, 0.82), 0 0 64px 18px rgba(124, 58, 237, 0.52), 0 2px 8px rgba(0, 0, 0, 0.24);
}

.cta:active { transform: scale(0.96); }

@keyframes cta-pulse {
  50% { box-shadow: 0 0 22px 6px rgba(255, 143, 51, 0.65), 0 0 48px 12px rgba(124, 58, 237, 0.38), 0 2px 6px rgba(0, 0, 0, 0.2); }
}

.cta-sm { height: 32px; padding: 0 16px; font-size: 13px; }

.cta-lg { height: 56px; padding: 0 40px; font-size: 17px; }

.cta-primary { background: var(--primary); }

.cta-gradient { background: var(--gradient); }

.cta-reverse { background: linear-gradient(to right, #7c3aed, #ff8f33); }

.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: transparent;
  backdrop-filter: blur(4px);
  transition: background-color 0.3s;
}

.navbar-solid { background: var(--zinc-900); }

.navbar-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
}

.navbar-burger:hover { background: rgba(255, 255, 255, 0.1); }

.navbar-logo { position: absolute; left: 50%; transform: translateX(-50%); }

.navbar-logo img { height: 20px; width: auto; }

.navbar-links, .navbar-actions { display: none; }

.navbar-links a, .drawer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}

.navbar-links a:hover, .drawer-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.navbar-login {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}

.navbar-login:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  width: 288px;
  display: flex;
  flex-direction: column;
  background: var(--zinc-900);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.menu-toggle:checked ~ .drawer { transform: none; }

.menu-toggle:checked ~ .drawer-overlay { opacity: 1; pointer-events: auto; }

.drawer-logo { height: 64px; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

.drawer-logo img { height: 20px; width: auto; }

.drawer-links { display: flex; flex-direction: column; padding: 8px 16px; }

.drawer-links a { padding: 10px 12px; }

.drawer-actions { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin: 8px 24px 0; padding: 24px 0; }

.drawer-actions .cta { height: 40px; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero);
}

.hero-aurora { position: absolute; pointer-events: none; mix-blend-mode: screen; }

.hero-aurora-top {
  top: -100px;
  left: -150px;
  width: 110%;
  height: 420px;
  filter: blur(90px);
  transform: rotate(-8deg);
  opacity: 0.65;
  background: linear-gradient(135deg, #ff8f33 0%, #7c3aed 100%);
}

.hero-aurora-bottom {
  bottom: -100px;
  right: -150px;
  width: 110%;
  height: 420px;
  filter: blur(90px);
  transform: rotate(8deg);
  opacity: 0.55;
  background: linear-gradient(135deg, #7c3aed 0%, #ff8f33 100%);
}

.hero-aurora-center {
  top: 50%;
  left: 50%;
  width: 70%;
  height: 300px;
  filter: blur(110px);
  transform: translate(-50%, -50%);
  opacity: 0.3;
  background: radial-gradient(ellipse, #7c3aed 0%, #ff8f33 50%, transparent 80%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background: url("/img/texture.webp") repeat;
  background-size: 2800px 2800px;
  filter: brightness(0) invert(1);
  -webkit-mask-image: radial-gradient(ellipse 480px 480px at top right, black 0%, transparent 40%), radial-gradient(ellipse 480px 480px at bottom left, black 0%, transparent 40%);
  mask-image: radial-gradient(ellipse 480px 480px at top right, black 0%, transparent 70%), radial-gradient(ellipse 480px 480px at bottom left, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0 24px;
  text-align: center;
  color: #fff;
}

.hero h1 { font-size: 48px; padding-top: 24px; }

.hero-tagline { font-family: var(--heading); font-size: 24px; color: rgba(255, 255, 255, 0.95); }

.hero-lead { font-size: 16px; color: rgba(255, 255, 255, 0.7); }

.hide-sm { display: none; }

.hero-rotator {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 1.4em;
  margin-top: 8px;
  overflow: hidden;
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.hero-rotator span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: rotate-word 7.5s ease-in-out infinite;
}

.hero-rotator span:nth-child(2) { animation-delay: 2.5s; }

.hero-rotator span:nth-child(3) { animation-delay: 5s; }

@keyframes rotate-word {
  0% { transform: translateY(100%); opacity: 0; }
  7%, 30% { transform: translateY(0); opacity: 1; }
  37%, 100% { transform: translateY(-100%); opacity: 0; }
}

.hero .cta { margin-top: 8px; }

.hero-note { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-top: -8px; }

.purpose { position: relative; z-index: 1; padding: 112px 24px; background: #fff; }

.purpose-inner { max-width: 768px; margin: 0 auto; text-align: center; }

.purpose h2 { font-size: 36px; line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 40px; }

.purpose-lead { font-size: 18px; line-height: 1.65; color: var(--zinc-600); margin-bottom: 24px; }

.purpose h3 { font-size: 24px; letter-spacing: -0.02em; margin: 64px 0 24px; }

.purpose p { line-height: 1.65; color: var(--zinc-500); margin-bottom: 24px; }

.purpose-services { list-style: none; padding: 0; margin: 0 auto 24px; max-width: 672px; text-align: left; color: var(--zinc-600); line-height: 1.65; }

.purpose-services li { border-left: 2px solid var(--zinc-200); padding-left: 16px; margin-bottom: 16px; }

.purpose-services strong { color: var(--zinc-900); }

.purpose .purpose-note { font-size: 15px; color: var(--zinc-400); margin-bottom: 40px; }

.purpose-link { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }

.purpose-link:hover { opacity: 0.8; }

.demo {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  background: var(--zinc-200) radial-gradient(ellipse 60% 80% at 75% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

.demo-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
}

.demo-copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 320px; padding-top: 64px; }

.demo-copy h2 { font-size: 48px; line-height: 1.1; margin-bottom: 24px; }

.demo-lines { display: none; flex-direction: column; gap: 12px; margin-bottom: 40px; }

.demo-lines p, .how-lines p { color: var(--zinc-500); font-size: 15px; }

.demo-note { margin-top: 12px; color: var(--zinc-500); font-size: 14px; }

.demo-cta-desktop { display: none; }

.demo-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 32px; }

.demo-phone-wrap .demo-note { margin: -20px 0 40px; }

.phone {
  position: relative;
  width: 75vw;
  max-width: 350px;
  aspect-ratio: 350 / 690;
  overflow: hidden;
  border: 8px solid #1e2530;
  border-radius: 2.8rem;
  background: #111b21;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; width: 90px; height: 22px; background: #1e2530; border-radius: 0 0 12px 12px; }

.phone-header { display: flex; align-items: center; gap: 10px; padding: 26px 16px 12px; background: #202c33; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }

.phone-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #1a1f2e; }

.phone-name { color: #fff; font-size: 12px; font-weight: 600; }

.phone-status { color: rgba(255, 255, 255, 0.35); font-size: 10px; }

.phone-chat { display: flex; flex-direction: column; gap: 10px; padding: 12px 10px; }

.bubble {
  max-width: 82%;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #e9edef;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  transition: opacity 0.24s ease-out, transform 0.24s ease-out;
}

.bubble-in { opacity: 1; transform: none; }

.bubble-user { align-self: flex-end; background: #005c4b; border-radius: 18px 18px 4px 18px; }

.bubble-sula { align-self: flex-start; background: #202c33; border-radius: 18px 18px 18px 4px; }

.demo-cta-mobile { width: 100%; max-width: 320px; }

.proof { position: relative; height: 75vh; overflow: clip; background: var(--zinc-200); }

.proof-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; transform: scale(1.9); transform-origin: 52% 55%; }

.proof-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 16px 24px;
  gap: 12px;
}

.proof h2 { font-size: 36px; line-height: 1.1; color: #fff; text-align: center; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); margin-bottom: 8px; }

.proof-bubbles { display: flex; flex-direction: column; gap: 12px; }

.proof-bubble {
  align-self: flex-start;
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 16px 16px 16px 4px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
}

.proof-bubble-end { align-self: flex-end; border-radius: 16px 16px 4px 16px; }

.proof .cta { margin-top: auto; align-self: center; width: 100%; max-width: 320px; padding: 0 32px; }

.how {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: 80vh;
  padding: 48px 0 0;
  overflow: clip;
  background: var(--zinc-100) radial-gradient(ellipse 60% 80% at 50% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

.how h2 { font-size: 36px; line-height: 1.1; text-align: center; padding: 0 24px; }

.how-lines { display: flex; gap: 24px; }

.how-lines p { white-space: nowrap; font-size: 14px; }

.laptop { position: relative; margin-top: auto; transform: translateY(8%); }

.laptop-lid { position: relative; padding: 20px 10px 6px; background: #1e2530; border: 2px solid #141b24; border-bottom: 0; border-radius: 16px 16px 2px 2px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.laptop-camera { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: #2a3448; }

.laptop-screen { width: 80vw; max-width: 740px; overflow: hidden; border-radius: 2px; background: #0f1117; }

.laptop-screen img { width: 100%; height: auto; }

.laptop-hinge { height: 6px; margin: 0 -3px; background: #252e3d; }

.laptop-base { height: 16px; margin: 0 -14px; background: linear-gradient(to bottom, #2a3447, #1e2733); }

.laptop-edge { height: 6px; margin: 0 -10px; background: #161e28; border-radius: 0 0 12px 12px; }

.textured { position: relative; background: #fff; }

.textured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background: url("/img/texture.webp") repeat;
  background-size: 2800px 2800px;
  filter: brightness(0);
  -webkit-mask-image: linear-gradient(to bottom right, black 0%, transparent 45%), linear-gradient(to top left, black 0%, transparent 45%);
  mask-image: linear-gradient(to bottom right, black 0%, transparent 45%), linear-gradient(to top left, black 0%, transparent 45%);
}

.objections { position: relative; z-index: 1; padding: 128px 24px; }

.objections h2, .plans h2 { font-size: 48px; line-height: 0.98; letter-spacing: -0.03em; text-align: center; color: var(--zinc-900); }

.objections h2 { margin-bottom: 80px; }

.objections-list { display: flex; flex-direction: column; gap: 64px; max-width: 896px; margin: 0 auto; }

.objection { display: flex; flex-direction: column; gap: 8px; align-self: flex-start; text-align: left; }

.objection-right { align-self: flex-end; text-align: right; align-items: flex-end; }

.objection-title { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; font-family: var(--heading); font-weight: 600; font-size: 28px; line-height: 1.02; letter-spacing: -0.02em; color: var(--zinc-900); }

.objection-right .objection-title { flex-direction: row-reverse; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

.objection-line { font-size: 16px; line-height: 1.55; color: var(--zinc-600); }

.objection-sub { font-size: 16px; line-height: 1.55; color: var(--zinc-400); }

.plans { position: relative; z-index: 1; max-width: 1072px; margin: 0 auto; padding: 112px 24px; text-align: center; }

.plans-kicker { margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }

.plans h2 { line-height: 1.1; }

.plans-sub { margin-top: 12px; font-size: 14px; color: var(--zinc-400); }

.plans-lead { margin: 20px 0 56px; color: var(--zinc-500); }

.plans-grid { display: flex; flex-direction: column; gap: 20px; text-align: left; }

.plan {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.plan-highlight { border-color: rgba(124, 58, 237, 0.35); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.06), 0 8px 32px rgba(124, 58, 237, 0.1); }

.plan h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 24px; line-height: 1.2; }

.plan-badge { font-family: var(--sans); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--primary); color: #fff; }

.plan-subtitle { margin: 6px 0 24px; font-size: 14px; color: var(--zinc-400); }

.plan-was { display: flex; align-items: center; gap: 8px; height: 24px; margin-bottom: 6px; font-size: 14px; color: var(--zinc-300); }

.plan-off { padding: 2px 6px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--primary); background: rgba(255, 143, 51, 0.1); }

.plan-was-empty { display: none; }

.plan-price { font-family: var(--heading); font-size: 36px; font-weight: 800; line-height: 1; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--zinc-100); }

.plan-price span { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--zinc-400); }

.plan ul { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }

.plan li { position: relative; padding-left: 28px; color: var(--zinc-500); line-height: 1.35; }

.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--zinc-300); font-weight: 700; }

.cta-plan { margin-top: 32px; width: 100%; height: 44px; font-size: 14px; background: var(--primary); }

.plans-secure { margin-top: 40px; font-size: 12px; color: var(--zinc-400); }

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 24px;
  background: var(--zinc-900);
  color: var(--zinc-400);
}

.footer img { height: 16px; width: auto; opacity: 0.7; }

.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 14px; }

.footer nav a:hover { color: #fff; }

.footer p { font-size: 12px; color: var(--zinc-600); }

@media (min-width: 768px) {
  .navbar { padding: 0 32px; }
  .navbar-burger { display: none; }
  .navbar-logo { position: static; transform: none; flex: 1; }
  .navbar-links { display: flex; gap: 4px; }
  .navbar-actions { display: flex; flex: 1; justify-content: flex-end; align-items: center; gap: 8px; }
  .drawer, .drawer-overlay { display: none; }
  .hero h1 { font-size: 60px; }
  .hero-tagline { font-size: 30px; }
  .hero-lead { font-size: 18px; }
  .hide-sm { display: inline; }
  .purpose h2 { font-size: 48px; }
  .purpose h3 { font-size: 30px; }
  .purpose-lead { font-size: 20px; }
  .demo-copy { max-width: 420px; }
  .demo-lines { display: flex; }
  .phone { width: 300px; height: 592px; aspect-ratio: auto; }
  .how h2 { font-size: 60px; }
  .how-lines p { font-size: 18px; }
  .objections { padding: 160px 24px; }
  .objections h2, .plans h2 { font-size: 60px; }
  .objections h2 { margin-bottom: 96px; }
  .objections-list { gap: 80px; }
  .objection { width: 440px; padding-left: 32px; }
  .objection-right { padding-left: 0; padding-right: 32px; }
  .objection-title { font-size: 34px; }
  .objection-line, .objection-sub { font-size: 18px; }
  .plans-grid { flex-direction: row; align-items: stretch; }
  .plan-was-empty { display: block; }
  .footer { flex-direction: row; justify-content: space-between; max-width: none; padding: 40px max(24px, calc((100% - 1024px) / 2)); }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 72px; }
  .hero-tagline { font-size: 36px; }
  .hero-lead { font-size: 20px; }
  .purpose h2 { font-size: 60px; }
  .demo { align-items: flex-end; }
  .demo-inner { flex-direction: row; justify-content: space-between; gap: 48px; }
  .demo-copy { align-items: flex-start; text-align: left; width: 380px; align-self: center; padding: 0 0 96px; }
  .demo-copy h2 { font-size: 60px; line-height: 1.15; margin-bottom: 40px; }
  .demo-lines { margin-bottom: 64px; }
  .demo-cta-desktop { display: inline-flex; }
  p.demo-cta-desktop { display: block; }
  .demo-cta-mobile { display: none; }
  .demo-phone-wrap { transform: translateY(10vh); gap: 0; }
  .phone { width: 350px; height: 690px; }
  .proof-image { object-position: 50% center; transform-origin: 50% 70%; }
  .proof-content { justify-content: center; padding: 0 6%; max-width: calc(448px + 12%); }
  .proof h2 { font-size: 48px; text-align: left; margin-bottom: 40px; }
  .proof-bubbles { margin-bottom: 32px; }
  .proof-bubble-end { align-self: flex-start; border-radius: 16px 16px 16px 4px; }
  .proof .cta { margin-top: 0; align-self: flex-start; width: auto; max-width: none; }
  .how { justify-content: flex-start; padding: 40px 0 0; }
  .how h2 { font-size: 72px; }
  .objections h2 { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta, .hero-rotator span { animation: none; }
  .hero-rotator span:first-child { opacity: 1; transform: none; }
  .bubble { opacity: 1; transform: none; transition: none; }
}
