* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #090f1d;
  --bg-soft: #101b35;
  --surface: #f5f7fb;
  --ink: #0f172a;
  --ink-soft: #3a4763;
  --line: #d3dbeb;
  --brand: #0ea5e9;
  --brand-2: #22d3ee;
  --warm: #fb7185;
  --success: #16a34a;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  --font-title: "Sora", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.4rem;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #031427;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #d4edff;
  border: 1px solid rgba(212, 237, 255, 0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 15, 29, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.78rem;
  color: #03223a;
  background: linear-gradient(135deg, var(--brand-2) 0%, #f0f9ff 100%);
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(203, 213, 225, 0.35);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e2e8f0;
  margin: 0 auto;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 12% 12%, #133f6b 0%, var(--bg) 52%);
  color: #e2e8f0;
  padding: 5.5rem 0 4.5rem;
}

.hero-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.light {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.25;
}

.light-a {
  width: 380px;
  height: 380px;
  background: #38bdf8;
  top: -140px;
  right: -130px;
}

.light-b {
  width: 280px;
  height: 280px;
  background: #f43f5e;
  bottom: -80px;
  left: -80px;
}

.light-c {
  width: 140px;
  height: 140px;
  background: #fef3c7;
  top: 46%;
  left: 52%;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  padding: 0.36rem 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 999px;
  color: #bae6fd;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-title {
  margin-top: 1rem;
  max-width: 820px;
  font-family: var(--font-title);
  font-size: clamp(2rem, 6vw, 3.9rem);
  line-height: 1.07;
}

.hero-title span {
  color: #67e8f9;
}

.hero-subtitle {
  margin-top: 1.1rem;
  max-width: 720px;
  color: #cbd5e1;
  font-size: clamp(1rem, 2.2vw, 1.17rem);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-metrics article {
  border: 1px solid rgba(203, 213, 225, 0.2);
  background: rgba(15, 23, 42, 0.55);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.hero-metrics h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #7dd3fc;
}

.hero-metrics p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.services,
.promos,
.repos,
.contact {
  padding: 5rem 0;
}

.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  color: #0b5f8d;
  font-weight: 700;
}

.section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3.6vw, 2.65rem);
  line-height: 1.15;
}

.service-grid,
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.promo-card,
.repo-item,
.contact-inner {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 1.35rem;
  display: grid;
  gap: 0.6rem;
}

.service-card h3,
.promo-card h3,
.repo-item h3 {
  font-family: var(--font-title);
  line-height: 1.25;
}

.service-card p,
.promo-card p,
.repo-item p,
.contact-copy {
  color: var(--ink-soft);
}

.service-card ul,
.promo-card ul {
  margin-left: 1.1rem;
  color: #1e293b;
  display: grid;
  gap: 0.25rem;
}

.service-card.feature {
  background: linear-gradient(145deg, #e0f2fe 0%, #ffffff 74%);
  border-color: #bfe5fd;
}

.promos {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.promo-card {
  padding: 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.promo-card.highlight {
  border-color: #22d3ee;
  background: linear-gradient(145deg, #e6fdff 0%, #ffffff 76%);
}

.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}

.repos {
  background: #ffffff;
}

.repo-list {
  display: grid;
  gap: 0.9rem;
}

.repo-item {
  padding: 1.05rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.repo-item span {
  white-space: nowrap;
  font-size: 0.83rem;
  font-weight: 700;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--success);
  border: 1px solid #bbf7d0;
  padding: 0.26rem 0.62rem;
}

.contact {
  background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
}

.contact-inner {
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 0.65rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  border: 1px solid #bfccdf;
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.82rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(14, 165, 233, 0.28);
  border-color: #38bdf8;
}

.form-success {
  grid-column: 1 / -1;
  color: #15803d;
  font-weight: 600;
}

.site-footer {
  background: #060b17;
  color: #94a3b8;
  padding: 1.2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .service-grid,
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 1.25rem;
    background: #0b1324;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    display: none;
    width: min(260px, 78vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 4.4rem 0 3.6rem;
  }

  .hero-metrics,
  .service-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .repo-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
