:root {
  --bg: #050716;
  --bg-soft: #090b1f;
  --card-bg: #0f1228;
  --card-border: rgba(255, 255, 255, 0.06);
  --accent: #f472ff;
  --accent-soft: rgba(244, 114, 255, 0.15);
  --accent-2: #38bdf8;
  --accent-2-soft: rgba(56, 189, 248, 0.12);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.2);
  --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.7);
  --radius-xl: 1.4rem;
  --radius-lg: 1rem;
  --transition-fast: 0.18s ease-out;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #020617 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  width: 34px;
  height: 34px;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #e5e7eb;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-links a {
  color: #e5e7eb;
  opacity: 0.9;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Hero */

.hero {
  padding: 3.4rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(244, 114, 255, 0.25), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e5e7eb;
}

.hero h1 {
  margin: 1.2rem 0 0.9rem;
  font-size: clamp(2.2rem, 3.2vw + 1rem, 3rem);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.95rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.3);
  color: #020617;
  font-weight: 600;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(56, 189, 248, 0.4);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

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

.btn.large {
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
}

.hero-highlights {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-highlights li {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(244, 114, 255, 0.1), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Hero visual */

.hero-visual {
  position: relative;
  isolation: isolate;
}

.card-mesh {
  position: relative;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top left, rgba(244, 114, 255, 0.25), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  padding: 2.4rem;
  overflow: hidden;
  min-height: 260px;
}

.card-mesh-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle, #f9a8ff 0, #f472ff 45%, rgba(244, 114, 255, 0) 70%);
  box-shadow: 0 0 18px rgba(244, 114, 255, 0.9);
}

.card-mesh-node:nth-child(1) { top: 24%; left: 12%; }
.card-mesh-node:nth-child(2) { top: 55%; left: 45%; }
.card-mesh-node:nth-child(3) { top: 32%; right: 16%; }
.card-mesh-node:nth-child(4) { bottom: 16%; right: 28%; }

.card-mesh-line {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.8), rgba(148, 163, 184, 0.1));
  opacity: 0.7;
}

.card-mesh-line.horizontal {
  height: 1px;
  width: 120%;
  left: -10%;
  top: 55%;
}

.card-mesh-line.vertical {
  width: 1px;
  height: 140%;
  top: -20%;
  left: 52%;
  background: linear-gradient(to bottom, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0.8), rgba(56, 189, 248, 0.1));
}

.glow-circle {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.7), rgba(56, 189, 248, 0));
  right: -80px;
  bottom: -120px;
  opacity: 0.7;
}

.hero-stats {
  position: absolute;
  inset: auto 10% -1.4rem auto;
  display: flex;
  gap: 0.75rem;
}

.stat {
  backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.stat-value {
  font-size: 0.88rem;
  font-weight: 600;
}

/* Sections */

.section {
  padding: 2.8rem 0;
}

.bg-soft {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.section-header {
  text-align: left;
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  margin: 0 0 0.7rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(244, 114, 255, 0.12), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--card-border);
  padding: 1.3rem 1.3rem 1.25rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: #e5e7eb;
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-list li::before {
  content: "•";
  font-size: 1.1rem;
  color: var(--accent-2);
}

.card.small {
  padding: 1.1rem 1.1rem 1.05rem;
}

/* Split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

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

.split h2 {
  margin-top: 0;
}

/* Pillars */

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

.pillar {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(244, 114, 255, 0.12), rgba(15, 23, 42, 0.96));
  padding: 0.9rem 1rem;
}

.pillar-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.pillar h3 {
  margin: 0.25rem 0 0.2rem;
  font-size: 1rem;
}

.pillar p {
  margin: 0;
  font-size: 0.9rem;
}

/* CTA */

.cta-section {
  padding: 2.5rem 0 3rem;
}

.cta-inner {
  border-radius: 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(135deg, rgba(244, 114, 255, 0.18), rgba(56, 189, 248, 0.18));
  padding: 1.5rem 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.cta-inner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.cta-inner p {
  margin: 0;
  font-size: 0.95rem;
}

/* Page headers */

.page-header {
  padding: 2.4rem 0 1.6rem;
}

.page-header h1 {
  margin: 0 0 0.7rem;
  font-size: 1.9rem;
}

.page-header p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.legal-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #eab308;
}

/* Check list */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.check-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✔";
  color: var(--accent-2);
  margin-top: 0.1rem;
}

/* Use cases */

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 1.3rem;
}

.use-case {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.96));
  padding: 1.1rem 1.1rem 1rem;
}

.use-case h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.use-case p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2.3rem;
  align-items: start;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

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

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

.form-field label {
  font-size: 0.82rem;
  color: #d1d5db;
}

.form-field input,
.form-field textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.95);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.form-disclaimer a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Legal content */

.legal-content h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.legal-content p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Links */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.92rem;
  color: var(--accent-2);
  margin-top: 0.9rem;
}

.link-arrow::after {
  content: "→";
  font-size: 0.95rem;
  transform: translateX(0);
  transition: transform var(--transition-fast);
}

.link-arrow:hover::after {
  transform: translateX(2px);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin-top: 2rem;
  padding-top: 1.8rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.94), #020617);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.7rem;
  font-size: 0.86rem;
}

.site-footer h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.site-footer h4 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 0.4rem;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin-top: 1.3rem;
  padding: 0.8rem 0 1.4rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6b7280;
}

.domain {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .hero-visual {
    order: -1;
  }

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

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

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

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

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

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 0.2rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    margin-top: 0.6rem;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    padding: 0.7rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 11rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .main-nav.open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 2.4rem;
  }

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

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

  .cta-inner {
    padding: 1.2rem 1.1rem;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/* Logo specific small tweak */

.logo-text {
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}
