:root {
  --bg: #050816;
  --bg-soft: #0b1020;
  --bg-alt: #ffffff;
  --primary: #1d4ed8;
  --primary-soft: #1e40af;
  --accent: #38bdf8;
  --text-main: #0f172a;
  --text-light: #e5e7eb;
  --muted: #6b7280;
  --border: #1f2937;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.8);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.5);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top, #0b1220 0, #020617 55%, #000 100%);
  color: var(--text-light);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* Layout */

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 0 auto;
}

.page-padding {
  padding: 32px 20px 64px;
}

@media (min-width: 768px) {
  .page-padding {
    padding: 40px 40px 72px;
  }
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

/* Glass card */

.card {
  background: linear-gradient(145deg, rgba(15,23,42,0.98), rgba(15,23,42,0.92));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-soft);
  padding: 28px 20px;
}

@media (min-width: 768px) {
  .card {
    padding: 32px 28px;
  }
}

/* Header / Nav */

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(28px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.98), rgba(15,23,42,0.88), transparent);
  border-bottom: 1px solid rgba(148,163,184,0.18);
}

.app-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, #38bdf8, #1d4ed8, #0ea5e9, #22c55e, #38bdf8);
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(148,163,184,0.5);
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, #f9fafb, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e5e7eb;
  font-size: 15px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.brand-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .20em;
  color: #9ca3af;
}

.nav {
  display: none;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9ca3af;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-link:hover {
  color: #e5e7eb;
  border-color: rgba(148,163,184,0.4);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #f9fafb;
  border-color: #38bdf8;
}

.nav-cta {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.35);
    background: radial-gradient(circle at top left, rgba(56,189,248,0.28), rgba(15,23,42,0.9));
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #e5e7eb;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(15,23,42,0.75);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    white-space: nowrap;
  }
  .nav-cta span.badge {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(148,163,184,0.6);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .18em;
  }
  .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 60px rgba(15,23,42,0.95);
    border-color: rgba(56,189,248,0.6);
  }
}

/* Mobile menu button */

.menu-toggle {
  border: none;
  background: rgba(15,23,42,0.95);
  border-radius: 999px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e5e7eb;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid rgba(148,163,184,0.5);
}

.menu-toggle span.dots {
  display: flex;
  gap: 3px;
}

.menu-toggle span.dots i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
}

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

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

.mobile-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.3);
  background: linear-gradient(140deg, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
  box-shadow: 0 18px 45px rgba(15,23,42,0.85);
}

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

.mobile-nav-link {
  border-radius: 999px;
  border: 1px solid rgba(31,41,55,0.9);
  padding: 9px 12px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e5e7eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,1));
}

.mobile-nav-link span.dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #38bdf8;
}

.mobile-nav-link.active {
  border-color: #38bdf8;
}

/* Hero */

.hero {
  margin-top: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr);
  gap: 24px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
  }
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.26), rgba(15,23,42,0.96));
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.hero-label span.pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.75);
}

.hero-title {
  margin: 16px 0 10px;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
}

.hero-title span.accent {
  background: linear-gradient(120deg, #38bdf8, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 540px;
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5f5;
  margin-bottom: 18px;
}

.hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.65);
  background: rgba(15,23,42,0.96);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.meta-pill span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(circle at top left, #38bdf8, #1e40af);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 18px 45px rgba(56,189,248,0.55);
  border-color: rgba(15,23,42,0.9);
}

.btn-primary span.icon {
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: rgba(15,23,42,0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 60px rgba(56,189,248,0.7);
}

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

.btn-ghost span.icon {
  font-size: 14px;
}

.btn-ghost:hover {
  background: rgba(15,23,42,1);
}

.hero-note {
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Hero visual */

.hero-visual {
  border-radius: 26px;
  border: 1px solid rgba(148,163,184,0.3);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.22), rgba(15,23,42,1));
  padding: 18px 16px 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-layout {
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.9), #020617);
  border: 1px solid rgba(148,163,184,0.3);
  padding: 16px 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 14px;
}

.hero-layout-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-tag {
  align-self: flex-start;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #9ca3af;
}

.hero-block {
  background: linear-gradient(135deg, #020617, #0b1120);
  border-radius: 16px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(148,163,184,0.45);
  box-shadow: 0 18px 45px rgba(15,23,42,0.9);
}

.hero-block-title {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin-bottom: 7px;
}

.hero-block-sub {
  font-size: 11px;
  color: #9ca3af;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hero-chip {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid rgba(148,163,184,0.5);
  color: #e5e7eb;
}

.hero-layout-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-card {
  border-radius: 15px;
  padding: 10px 11px;
  border: 1px solid rgba(148,163,184,0.5);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.15), rgba(15,23,42,1));
  font-size: 11px;
}

.metric-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 18px;
  font-weight: 600;
}

.metric-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.metric-pill {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 3px 7px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.hero-orbit {
  position: absolute;
  inset: -40%;
  pointer-events: none;
  opacity: .6;
}

/* Sections */

.section {
  margin-top: 40px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #9ca3af;
}

.section-title {
  font-size: 20px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-description {
  font-size: 13px;
  color: #cbd5f5;
  max-width: 520px;
}

/* Grid */

.grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Feature item */

.feature {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.45);
  padding: 14px 14px 16px;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
}

.feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.feature-title {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  margin-bottom: 6px;
}

.feature-text {
  font-size: 12px;
  color: #9ca3af;
}

/* List */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.bullet-list li {
  font-size: 12px;
  color: #cbd5f5;
  display: flex;
  gap: 7px;
}

.bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #38bdf8;
  margin-top: 6px;
}

/* Table */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 10px;
}

.table th,
.table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(31,41,55,0.9);
}

.table th {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #9ca3af;
  text-align: left;
}

.table tr:last-child td {
  border-bottom: none;
}

/* Forms */

.form-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #9ca3af;
  margin-bottom: 6px;
  display: block;
}

.input,
.select,
.textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.96);
  color: #e5e7eb;
  font-size: 13px;
  padding: 9px 12px;
  outline: none;
}

.textarea {
  border-radius: 18px;
  min-height: 120px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.6);
}

/* Tag list */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid rgba(148,163,184,0.45);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item {
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.45);
  background: radial-gradient(circle at top, #0b1120, #020617);
  padding: 14px 10px;
  text-align: center;
  font-size: 11px;
  color: #cbd5f5;
}

/* Testimonials */

.testimonial {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148,163,184,0.45);
  padding: 16px 16px 14px;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,1));
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.testimonial-quote {
  font-size: 12px;
  color: #e5e7eb;
}

.testimonial-author {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .18em;
}

/* SEO content */

.seo-body {
  font-size: 13px;
  color: #cbd5f5;
  line-height: 1.72;
}

.seo-body h2 {
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.seo-body p {
  margin: 0 0 10px;
}

.seo-body ul {
  margin: 0 0 10px 0;
  padding-left: 0;
  list-style: none;
}

.seo-body li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* Footer */

.app-footer {
  border-top: 1px solid rgba(148,163,184,0.24);
  padding: 18px 20px 26px;
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), #020617);
  margin-top: auto;
}

.app-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
  color: #9ca3af;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.badge-pack {
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(56,189,248,0.75);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.35), rgba(15,23,42,0.98));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.badge-pack span.price {
  font-weight: 600;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-link {
  text-decoration: none;
  color: #9ca3af;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.footer-badge {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 4px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
}

/* Utility */

.text-center { text-align: center; }

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }