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

:root {
  --bg: #050816;
  --bg-alt: #0b1021;
  --bg-soft: #12172a;
  --accent: #6c63ff;
  --accent-soft: rgba(108, 99, 255, 0.15);
  --accent-2: #7f5af0;
  --text: #f5f5ff;
  --muted: #a5a7c7;
  --border-subtle: #232742;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.4);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1c1f3b, #050816 55%);
  color: var(--text);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.brand {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
    }

    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      background: radial-gradient(circle at 20% 20%, #e0f2fe, #38bdf8 40%, #0f172a 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
      position: relative;
      overflow: hidden;
    }

    .brand-mark::after {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: inherit;
      border: 1px solid rgba(15, 23, 42, 0.6);
    }

    .brand-mark span {
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #0b1120;
    }

    .brand-text-main {
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .brand-text-sub {
      font-size: 0.75rem;
      color: var(--muted);
    }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.98), rgba(5, 8, 22, 0.9));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-mark {
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: radial-gradient(circle at top left, #4f46e5, #111827);
}

.logo-ai {
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, #7f5af0, #22d3ee);
  color: #050816;
}

.main-nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-link.active {
  background: rgba(124, 92, 255, 0.18);
  color: #e5e7ff;
  border: 1px solid rgba(124, 92, 255, 0.7);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3vw + 1.3rem, 3.1rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-content p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-highlights span {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

/* Hero visual card */

.hero-visual {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.hero-card {
  width: 100%;
  max-width: 320px;
  padding: 1.6rem 1.4rem;
  border-radius: 22px;
  background: radial-gradient(circle at top, #1e293b, #020617);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card li + li {
  margin-top: 0.4rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(120deg, #7f5af0, #22d3ee);
  color: #050816;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.5);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.65);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.9);
}

.btn.outline {
  background: transparent;
  border-color: rgba(125, 211, 252, 0.7);
  color: #e0f2fe;
}

.btn.outline:hover {
  background: rgba(15, 23, 42, 0.8);
}

.btn.small {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

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

/* Sections */

.section-intro {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.highlights {
  padding: 0.75rem 0 3rem;
}

.highlights h2,
.quick-links h2 {
  text-align: center;
  margin-bottom: 0.4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}

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

/* Cards */

.card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.card-link {
  font-size: 0.85rem;
  color: #93c5fd;
}

/* Quick links */

.quick-links {
  padding: 2.2rem 0 3rem;
}

.quick-links-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.6rem 1.5rem;
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), rgba(15, 23, 42, 0.96));
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.quick-links-inner p {
  color: var(--muted);
  max-width: 26rem;
}

.quick-link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Page hero */

.page-hero {
  padding: 2.7rem 0 1.8rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.4rem);
  margin-bottom: 0.4rem;
}

.page-hero p {
  max-width: 32rem;
  color: var(--muted);
}

/* Content sections */

.content-section {
  padding: 0.8rem 0 3.2rem;
}

.narrow {
  max-width: 780px;
}

.steps-list {
  list-style: decimal;
  padding-left: 1.3rem;
  color: var(--muted);
}

.steps-list li + li {
  margin-top: 0.5rem;
}

.callout {
  margin-top: 2rem;
  padding: 1.4rem 1.3rem;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(125, 211, 252, 0.5);
}

.callout h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.callout p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

/* Products page */

.product-grid {
  margin-top: 0.5rem;
}

.product-card h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.product-tagline {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.product-features {
  margin: 0 0 0.7rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-features li + li {
  margin-top: 0.25rem;
}

.product-note {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  color: #e5e7eb;
}

/* Contact form */

.contact-form {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--border-subtle);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-field label {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: #020617;
  color: var(--text);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: #7f5af0;
  box-shadow: 0 0 0 1px rgba(127, 90, 240, 0.7);
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: #020617;
}

.footer-inner {
  padding: 1rem 0 1.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-inner a {
  color: #93c5fd;
}

/* Responsive */

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

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

  .quick-links-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 0.4rem;
  }

  .nav-link {
    padding-inline: 0.7rem;
  }
}

@media (max-width: 520px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .quick-link-buttons {
    width: 100%;
    justify-content: flex-start;
  }
  .iframe {
      height: 3700px;
  }
}
