/* ============ RESET & BASE ============ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0b10;
  --bg-2: #0f1118;
  --bg-3: #141724;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e7eaf2;
  --muted: #8a91a4;
  --accent: #6c8cff;
  --accent-2: #00d2ff;
  --accent-soft: rgba(108, 140, 255, 0.12);
  --green: #1ed186;
  --gradient: linear-gradient(135deg, #6c8cff 0%, #00d2ff 50%, #1ed186 100%);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 16, 0.75);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #0a0b10;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.brand__text { font-size: 15px; }
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.nav__links a {
  color: var(--muted);
  transition: color 0.2s;
  font-weight: 500;
}
.nav__links a:hover { color: var(--text); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--small { padding: 9px 16px; font-size: 13px; }
.btn--primary {
  background: var(--gradient);
  color: #0a0b10;
  box-shadow: 0 8px 24px rgba(108, 140, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108, 140, 255, 0.35); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(30, 209, 134, 0.18);
}
.hero__title {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 540px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: var(--muted); font-size: 13px; }

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(108, 140, 255, 0.22), transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
  position: relative;
}
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section__sub { color: var(--muted); font-size: 16px; }

/* ============ CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 140, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.card--featured {
  border-color: rgba(108, 140, 255, 0.35);
  background: linear-gradient(180deg, rgba(108, 140, 255, 0.08), var(--bg-2));
}
.card__badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--gradient);
  color: #0a0b10;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card__tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.card__list {
  margin-bottom: 24px;
  font-size: 13.5px;
}
.card__list li {
  padding: 6px 0 6px 22px;
  color: var(--muted);
  position: relative;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.card__price {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.price__range {
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.price__label { color: var(--muted); font-size: 12.5px; }

/* ============ NOTE ============ */
.note {
  margin-top: 40px;
  background: rgba(108, 140, 255, 0.06);
  border: 1px solid rgba(108, 140, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.note svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.note p { color: var(--muted); font-size: 14px; }
.note strong { color: var(--text); }

/* ============ PROJECTS ============ */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.project {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.project::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 140, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.project:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 140, 255, 0.35);
  background: linear-gradient(180deg, rgba(108, 140, 255, 0.04), var(--bg-3));
}
.project:hover::before { opacity: 1; }
.project:hover .project__arrow {
  transform: translate(3px, -3px);
  color: var(--accent);
  border-color: rgba(108, 140, 255, 0.4);
  background: rgba(108, 140, 255, 0.1);
}
.project:hover h4 { color: var(--text); }

.project__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.project__cat {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.project__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.project h4 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: color 0.2s ease;
}
.project p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ============ PRICING TABLE ============ */
.table-wrap {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
}
.ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}
.ptable thead th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}
.ptable tbody td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: middle;
}
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable tbody tr:hover { background: rgba(255,255,255,0.02); }
.ptable td strong { color: var(--text); font-weight: 600; }
.pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(108, 140, 255, 0.25);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.disclaimer {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ============ CTA ============ */
.section--cta {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.cta { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.cta p { color: var(--muted); font-size: 16px; margin-bottom: 30px; }
.cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}
.footer p { color: var(--muted); font-size: 13.5px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .hero { padding: 64px 0 60px; }
  .section { padding: 70px 0; }
  .section__head { margin-bottom: 44px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat span { font-size: 11.5px; }
  .card { padding: 26px 22px; }
}
