/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #050814;
  color: #f4f5fb;
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Colors */
:root {
  --bg-main: #050814;
  --bg-alt: #0b1020;
  --bg-soft: #10172a;
  --primary: #30d0e8;
  --primary-soft: rgba(48, 208, 232, 0.15);
  --accent: #ffb84d;
  --text-main: #f4f5fb;
  --text-muted: #a1accb;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --danger: #f97373;
  --warning: #facc15;
  --neutral: #38bdf8;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.98), rgba(5, 8, 20, 0.9), transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.7rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0%, var(--primary), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #050814;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 0 35px rgba(56, 189, 248, 0.5);
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.brand-dot {
  color: var(--primary);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.main-nav a:hover {
  color: var(--primary);
}

.btn-nav {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(48, 208, 232, 0.4);
  color: var(--primary);
  font-weight: 500;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.22rem;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-toggle-line {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Hero */
.hero-section {
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(248, 250, 252, 0.04), transparent 55%),
    var(--bg-main);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 2.7vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-copy p {
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #050814;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.7);
}

.btn-ghost:hover {
  border-color: var(--primary);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Hero panel */
.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 380px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.1rem 1.25rem;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.hero-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-status-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.6);
  color: #4ade80;
}

.hero-chat {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.1), transparent 60%), #020617;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 0.8rem;
}

.hero-chat-bubble {
  max-width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
}

.hero-chat-bubble p {
  margin: 0.15rem 0 0;
}

.hero-chat-bubble.user {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.hero-chat-bubble.bot {
  background: rgba(30, 64, 175, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.8);
}

.bubble-label {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-audit-panel {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 0.7rem 0.8rem;
  background: rgba(15, 23, 42, 0.9);
}

.hero-audit-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.badge-warning,
.badge-alert,
.badge-neutral {
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
}

.badge-warning {
  background: rgba(250, 204, 21, 0.15);
  color: var(--warning);
  border: 1px solid rgba(250, 204, 21, 0.7);
}

.badge-alert {
  background: rgba(248, 113, 113, 0.16);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.8);
}

.badge-neutral {
  background: rgba(56, 189, 248, 0.15);
  color: var(--neutral);
  border: 1px solid rgba(56, 189, 248, 0.7);
}

.hero-audit-note {
  font-size: 0.75rem;
  margin: 0.3rem 0 0;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 3.5rem 0;
  background: var(--bg-main);
}

.section-alt {
  background: var(--bg-alt);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.2rem;
}

.section-heading h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Cards & grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Checklists */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.3rem;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--primary);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.step {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

/* Why section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.why-point {
  background: radial-gradient(circle at 0 0, rgba(48, 208, 232, 0.12), transparent 60%), var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.1rem;
}

.why-point h3 {
  margin-top: 0;
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2.2rem;
  align-items: center;
}

.founder-circle {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  border: 2px solid rgba(48, 208, 232, 0.6);
  background: radial-gradient(circle at 25% 0%, rgba(56, 189, 248, 0.4), #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: #e5e7eb;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.9);
}

.founder-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.founder-signoff {
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.founder-title {
  color: var(--text-muted);
}

/* CTA / Contact */
.cta-section {
  background: radial-gradient(circle at 0 0, rgba(48, 208, 232, 0.18), transparent 60%), var(--bg-soft);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.cta-form {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.3rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: #e5e7eb;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.85rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(48, 208, 232, 0.4);
}

textarea {
  resize: vertical;
}

.btn-full {
  width: 100%;
  margin-top: 0.3rem;
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.cta-side h3 {
  margin-top: 0;
}

.cta-steps {
  margin: 0.5rem 0 0.9rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cta-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 0.8rem 0.9rem;
  background: rgba(15, 23, 42, 0.8);
}

/* Footer */
.site-footer {
  padding: 1.8rem 0 1.4rem;
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
  font-size: 0.8rem;
}

.footer-logo {
  font-weight: 600;
}

.footer-brand p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-meta {
  text-align: right;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .grid-3,
  .steps-grid,
  .why-grid,
  .founder-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(5, 8, 20, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.25rem 0.9rem;
    gap: 0.6rem;
  }

  .main-nav.nav-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-section {
    padding-top: 4.3rem;
  }
}

@media (max-width: 480px) {
  .hero-card {
    max-width: 100%;
  }

  .hero-meta span {
    width: 100%;
  }
}