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

:root {
  --bg: #020617;
  --bg-elevated: #020617;
  --bg-soft: #050a1f;
  --border-subtle: rgba(148, 163, 184, 0.4);

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-strong: #0ea5e9;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-elevated: 0 24px 70px rgba(15, 23, 42, 0.9);
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
    sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.1) 0,
      transparent 55%
    ),
    rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 20px;
  background: radial-gradient(circle at 30% 0, #e0f2fe, #0369a1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.7);
}

.nav__logo-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.9);
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__name {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.nav__tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav__links a {
  position: relative;
  color: var(--text-muted);
}

.nav__links a.active {
  color: var(--accent);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #a855f7);
  border-radius: 999px;
  transition: width 0.18s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.82rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.btn--primary {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #020617;
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(56, 189, 248, 0.5);
}

/* ---------- Hero (Home) ---------- */

.hero {
  padding: 3.8rem 0 3.2rem;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.26) 0, transparent 55%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.34) 0, transparent 60%),
    radial-gradient(circle at bottom, rgba(30, 64, 175, 0.4) 0, transparent 55%);
}

.hero__grid {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.hero__label-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #bbf7d0 0, #22c55e 50%, transparent 70%);
}

.hero h1 {
  margin: 1.1rem 0 0.7rem;
  font-size: 2.8rem;
  max-width: 17ch;
}

.hero__body {
  max-width: 34ch;
  font-size: 0.97rem;
  color: var(--text-muted);
}

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

.hero__meta {
  margin-top: 1.2rem;
  display: flex;
  gap: 1.7rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero__meta span {
  display: block;
}

.hero__visual {
  border-radius: 28px;
  padding: 0.3rem;
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.7), #020617);
  box-shadow: var(--shadow-elevated);
}

.hero__visual-inner {
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero__visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Sections ---------- */

.section {
  padding: 3rem 0;
}

.section--soft {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.section__header {
  margin-bottom: 2rem;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.section__title {
  margin: 0.5rem 0 0.4rem;
  font-size: 1.4rem;
}

.section__copy {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 40ch;
}

/* ---------- Feature cards ---------- */

.grid-3 {
  display: grid;
  gap: 1.6rem;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.35rem;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid var(--border-subtle);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.feature-card__icon span {
  font-size: 1.2rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  gap: 1.6rem;
}

.plan {
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid var(--border-subtle);
}

.plan--accent {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: var(--shadow-elevated);
}

.plan__name {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.plan__price {
  margin: 0.6rem 0 0.3rem;
  font-size: 1.6rem;
}

.plan__desc {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
}

.plan li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.plan li::before {
  content: "•";
  color: var(--accent);
}

/* ---------- About ---------- */

.about-layout {
  display: grid;
  gap: 2rem;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.contact-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem;
  background: radial-gradient(circle at top left, #020617, #020617);
  border: 1px solid var(--border-subtle);
}

.form {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, #020617, #020617);
}

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

label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

input,
textarea {
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

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

.site-footer {
  padding: 1.6rem 1.5rem 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  }

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

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

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

@media (max-width: 767px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .nav__links {
    gap: 1rem;
    font-size: 0.82rem;
  }
}
