/* ---- Global reset & base ---- */

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

:root {
  --bg: #020617;
  --bg-soft: rgba(15, 23, 42, 0.96);
  --bg-softer: rgba(15, 23, 42, 0.85);
  --border-subtle: rgba(148, 163, 184, 0.15);
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --accent-strong: #06b6d4;
  --text-main: #e5e7eb;
  --text-muted: #94a3b8;
  --danger: #fb7185;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.7);
  --shadow-subtle: 0 18px 40px rgba(15, 23, 42, 0.6);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.15), transparent 55%),
    var(--bg);
  color: var(--text-main);
  min-height: 100vh;
}

/* ---- Layout ---- */

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

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

main {
  flex: 1;
}

/* ---- Header / Nav ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.75)
  );
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 30% 0%, #22d3ee, #0f172a);
  box-shadow: 0 10px 25px rgba(8, 47, 73, 0.9);
}

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

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

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

.main-nav a {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 30% 0%, #22d3ee, #0ea5e9);
  color: #0b1220;
  box-shadow: 0 20px 35px rgba(56, 189, 248, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 45px rgba(56, 189, 248, 0.55);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.85);
}

/* ---- Hero ---- */

.hero {
  margin-top: 1.75rem;
  margin-bottom: 2.5rem;
}

.hero-inner {
  background: radial-gradient(circle at top left, #0ea5e9 0%, transparent 65%)
      border-box,
    var(--bg-soft) padding-box;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1.35fr);
  gap: 2.5rem;
  padding: 2.5rem 2.35rem;
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-heading {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-highlight {
  background: linear-gradient(90deg, #22d3ee, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 32rem;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-meta {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

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

.hero-card {
  position: relative;
  background: linear-gradient(
      to bottom right,
      rgba(15, 23, 42, 0.9),
      rgba(15, 23, 42, 0.98)
    );
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-subtle);
}

.hero-card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.hero-card-metric {
  margin-top: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.hero-card-metric span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-card-list {
  margin-top: 0.8rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-card-list li {
  margin-bottom: 0.3rem;
}

.hero-orbit {
  position: absolute;
  inset: -40%;
  opacity: 0.4;
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.5), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(94, 234, 212, 0.45), transparent 55%),
    radial-gradient(circle at 40% 100%, rgba(129, 140, 248, 0.4), transparent 60%);
  filter: blur(18px);
  z-index: -1;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.9rem 1.75rem;
  }
  .hero-aside {
    order: -1;
  }
}

/* ---- Generic sections ---- */

section {
  margin-bottom: 2.4rem;
  background: var(--bg-softer);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
}

section h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

section h3 {
  font-size: 1.05rem;
  margin-top: 1.1rem;
  margin-bottom: 0.35rem;
}

section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

section ul {
  padding-left: 1.1rem;
}

section li {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

/* Feature/services grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.service-card {
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 65%),
    rgba(15, 23, 42, 0.98);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 1rem;
}

.service-card h3 {
  margin-top: 0.4rem;
}

.service-card p {
  font-size: 0.9rem;
}

/* Testimonials */

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-main);
}

.testimonial-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.3rem;
  font-size: 2.2rem;
  color: var(--accent);
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(2, 6, 23, 0.95);
  padding: 1.3rem 1.25rem 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
