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

:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #0f172a;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: rgba(148, 163, 184, 0.3);
  --danger: #f97373;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.8);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1e293b 0, #020617 55%, #000 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.05), transparent 60%);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.8), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #38bdf8 0, #0ea5e9 30%, #1d4ed8 75%);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.75);
}

.logo-text span {
  color: var(--accent);
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3.3vw + 1.4rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text h1 span {
  font-size: 0.72em;
  font-weight: 500;
  color: var(--accent);
}

.hero-text p {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-tags span {
  font-size: 0.78rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.3));
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 55%), var(--card-bg);
  border-radius: 24px;
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(148, 163, 184, 0.45);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.1), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.hero-card ul {
  list-style: none;
  padding-left: 1.1rem;
  margin: 0 0 1.2rem;
}

.hero-card li {
  position: relative;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.hero-card li::before {
  content: "•";
  position: absolute;
  left: -1.1rem;
  color: var(--accent);
}

.hero-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-status {
  color: #22c55e;
}

/* Buttons */

.btn {
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-full {
  width: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #0b1120;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.45);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn.secondary:hover,
.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* Sections */

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.45rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

/* Grid */

.grid {
  display: grid;
  gap: 1.7rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.ref-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Cards */

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Pricing */

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-card .price {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0.2rem 0 0.4rem;
  color: var(--accent);
}

.price-card ul {
  padding-left: 1.1rem;
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.price-card .btn {
  margin-top: auto;
}

.price-card.featured {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.2), rgba(15, 23, 42, 0.98));
  border-color: rgba(56, 189, 248, 0.7);
}

.price-card .badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.6);
}

/* References */

.ref-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.ref-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.tag {
  display: inline-flex;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info p {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.25rem;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.9;
}

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.contact-form label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.65rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
  padding: 0.5rem 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.form-status {
  font-size: 0.82rem;
  margin-top: 0.6rem;
  min-height: 1.1rem;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.2rem 0 1.4rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.page-header {
  text-align: center;
  padding: 4rem 1rem;
  background: #121828;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.price-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-table tr td:last-child {
  text-align: right;
  color: #9dc3ff;
  font-weight: 600;
}


/* Responsive */

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

  .hero-card {
    order: -1;
  }

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

@media (max-width: 768px) {
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    transform: translateY(-200%);
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    background: radial-gradient(circle at top, #020617, #020617 50%, #000 100%);
    padding: 0.8rem 1.2rem 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .header-inner {
    padding-block: 0.65rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 4rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
