:root {
  --bg: #090611;
  --bg-card: rgba(19, 14, 33, 0.75);
  --bg-alt: #0D091B;
  --border: rgba(168, 85, 247, 0.15);
  --text: #F3F0FA;
  --text-muted: #9E92B8;
  --purple: #A855F7;
  --purple-light: #C084FC;
  --pink: #EC4899;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap--narrow {
  max-width: 860px;
}

/* Owner Banner */
.owner-banner {
  background: linear-gradient(90deg, #1c092d, #360f58, #1c092d);
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  padding: 0.6rem 0;
  font-size: 0.85rem;
}

.owner-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.owner-banner__tag {
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.owner-banner__text a {
  color: #E9D5FF;
  text-decoration: underline;
  font-weight: 700;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 6, 17, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.brand__icon {
  width: 34px;
  height: 34px;
}

.brand__text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.text-purple {
  color: var(--purple-light);
}

.brand__dot {
  color: var(--pink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--purple-light);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  margin: 5px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn--purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.4);
}

.btn--purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(168, 85, 247, 0.55);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #fff;
}

.btn--glass:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--purple);
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.hero__glow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.purple-gradient {
  background: linear-gradient(90deg, #C084FC, #F472B6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-box .s-val {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--purple-light);
}

.stat-box .s-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Agent Sandbox */
.agent-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.agent-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
}

.agent-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #fff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 10px #22C55E;
}

.agent-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--purple-light);
}

.agent-chat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.chat-msg {
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.chat-msg.user {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
}

.chat-msg.ai {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid var(--border);
  color: #F3E8FF;
}

.agent-foot {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.eyebrow {
  color: var(--purple-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-size: 2.25rem;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Calculator */
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
}

.calc-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.range-purple {
  width: 100%;
  accent-color: var(--purple);
  cursor: pointer;
}

.calc-res {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.c-val {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
  margin-top: 0.25rem;
}

.c-val--purple {
  color: var(--purple-light);
}

/* Contact Card */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
  text-align: center;
}

.owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--border);
  padding: 1rem 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.avatar-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.c-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  transition: all 0.2s ease;
}

.c-btn:hover {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.08);
}

.lead-form {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.f-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero__grid, .calc-grid, .form-row, .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  .calc-box, .contact-card {
    padding: 2rem;
  }
}
