:root {
  --bg: #030712;
  --bg-soft: #111827;
  --bg-elevated: #0f172a;
  --panel: rgba(17, 24, 39, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --text: #f9fafb;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.18);
  --accent: #f59e0b;
  --accent-strong: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --success: #34d399;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --nav-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.1), transparent 24%),
    linear-gradient(180deg, #020617 0%, #030712 48%, #020617 100%);
  min-height: 100vh;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

iframe {
  border: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h1,
.section-header h2,
.section-header h3 {
  margin: 1rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-header p,
.lead,
.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(3, 7, 18, 0.9);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 16px 48px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #111827;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.28);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
}

.nav-menu {
  position: fixed;
  inset: var(--nav-height) 1rem auto 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-menu.open {
  display: flex;
}

.nav-menu a {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
}

.nav-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover,
.button-link:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #111827;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.28);
}

.btn-secondary {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
}

.btn-ghost {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-strong);
}

.hero {
  padding: 72px 0 96px;
}

.hero-grid,
.content-grid,
.split-grid,
.about-grid,
.contact-grid,
.demo-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy h1 {
  margin: 1.2rem 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-chip,
.trust-stat,
.metric-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.stat-chip strong,
.trust-stat strong,
.metric-card strong {
  display: block;
  font-size: 1.15rem;
}

.hero-panel,
.glass-card,
.pricing-card,
.addon-card,
.faq-item,
.testimonial-card,
.contact-card,
.demo-card,
.story-card,
.team-card,
.browser-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.7));
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.3rem;
}

.dashboard-preview {
  min-height: 100%;
  display: grid;
  gap: 1rem;
}

.dashboard-toolbar,
.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-toolbar span,
.browser-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
}

.dashboard-toolbar span:nth-child(1),
.browser-toolbar span:nth-child(1) {
  background: #fb7185;
}

.dashboard-toolbar span:nth-child(2),
.browser-toolbar span:nth-child(2) {
  background: #fbbf24;
}

.dashboard-toolbar span:nth-child(3),
.browser-toolbar span:nth-child(3) {
  background: #34d399;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
}

.dashboard-sidebar,
.preview-list,
.walkthrough-list {
  display: grid;
  gap: 0.8rem;
}

.sidebar-pill,
.preview-item,
.walkthrough-step {
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.dashboard-main {
  display: grid;
  gap: 1rem;
}

.metric-grid,
.features-grid,
.trust-grid,
.pricing-grid,
.addons-grid,
.faq-grid,
.testimonials-grid,
.team-grid,
.footer-grid,
.walkthrough-grid {
  display: grid;
  gap: 1.25rem;
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-card {
  min-height: 210px;
  padding: 1rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.08), transparent),
    rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 0.7rem;
  height: 132px;
  margin-top: 1.1rem;
}

.chart-bars span {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--accent-strong), rgba(245, 158, 11, 0.24));
}

.card {
  padding: 1.6rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.pricing-card:hover,
.addon-card:hover,
.testimonial-card:hover,
.story-card:hover,
.team-card:hover,
.contact-card:hover,
.demo-card:hover,
.faq-item:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.55);
}

.feature-icon,
.info-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.08));
  color: var(--accent-strong);
  font-size: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.18);
}

.card h3,
.pricing-card h3,
.addon-card h3,
.contact-card h3,
.story-card h3,
.team-card h3,
.demo-card h3 {
  margin: 1.1rem 0 0.7rem;
  font-size: 1.2rem;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.steps {
  counter-reset: step;
}

.step-card {
  padding: 1.7rem;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-strong);
  font-weight: 800;
}

.testimonial-card,
.story-card,
.team-card,
.contact-card,
.demo-card,
.faq-item,
.pricing-card,
.addon-card {
  padding: 1.7rem;
}

.quote {
  font-size: 1.04rem;
}

.quote-author {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(2, 6, 23, 0.35)),
    rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 28px;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(2, 6, 23, 0.75);
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}

.footer-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-links a,
.footer-socials a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-socials a:hover {
  color: var(--text);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card.popular {
  border-color: rgba(245, 158, 11, 0.34);
  transform: scale(1.01);
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-strong);
  border: 1px solid rgba(245, 158, 11, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price strong {
  font-size: 3.3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.feature-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.feature-list li,
.plain-list li {
  display: flex;
  gap: 0.7rem;
  align-items: start;
  color: var(--muted);
}

.feature-list i,
.plain-list i {
  color: var(--success);
  margin-top: 0.2rem;
}

.faq-item {
  padding: 0;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.6rem;
  border: 0;
  background: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1.6rem 1.4rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  transition: transform 0.25s ease;
  color: var(--accent-strong);
}

.browser-frame {
  padding: 1.2rem;
}

.browser-screen {
  aspect-ratio: 16 / 10;
  margin-top: 1rem;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.7)),
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.22), transparent 34%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.browser-screen iframe {
  width: 100%;
  height: 100%;
  background: #fff;
}

.walkthrough-step h3 {
  margin: 0 0 0.35rem;
}

.story-card p,
.team-card p,
.contact-card p,
.demo-card p {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.72);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(245, 158, 11, 0.28);
  border-color: rgba(245, 158, 11, 0.4);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.field-error {
  color: #fca5a5;
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: 64px 0 64px;
}

.page-hero .section-header h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.page-subnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.notice-card {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(245, 158, 11, 0.08);
  border-radius: 16px;
}

.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-404 {
  min-height: calc(100vh - var(--nav-height) - 120px);
  display: grid;
  place-items: center;
}

.page-404 .glass-card {
  padding: 2rem;
  max-width: 640px;
  text-align: center;
}

@media (min-width: 720px) {
  .hero-stats,
  .features-grid,
  .trust-grid,
  .testimonials-grid,
  .faq-grid,
  .team-grid,
  .addons-grid,
  .walkthrough-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: 1.4fr auto;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    inset: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    width: 100%;
  }

  .nav-menu a {
    padding: 0.7rem 0.9rem;
  }

  .nav-cta {
    flex-direction: row;
    align-items: center;
    margin: 0 0 0 0.65rem;
  }

  .hero-grid,
  .about-grid,
  .demo-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
  }

  .split-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonials-grid,
  .faq-grid,
  .team-grid,
  .addons-grid,
  .walkthrough-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

@media (max-width: 959px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
