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

:root {
  /* Brand palette from image */
  --brand-strong: #6c00fa;  /* vivid purple */
  --brand-main:   #6d23cf;  /* primary */
  --brand-soft:   #6737a5;
  --brand-deep:   #583d7a;
  --brand-dark:   #413550;
  --bg-dark:      #2e2b33;
  --bg-page:      #06050b;
  --bg-card:      #14111e;
  --text-main:    #f4f4f6;
  --text-soft:    #c2c1ce;
  --text-muted:   #8b8a96;
  --border-soft:  rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 20px 40px rgba(5, 0, 15, 0.85);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(108, 0, 250, 0.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(103, 55, 165, 0.5), #06050b 70%);
  color: var(--text-main);
  min-height: 100vh;
}

/* Layout helpers */

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(6, 5, 11, 0.98),
    rgba(6, 5, 11, 0.92),
    rgba(6, 5, 11, 0.9)
  );
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.logo {
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo span {
  color: var(--brand-strong);
}

/* Navigation */

.nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-main);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--text-main);
  border-radius: 999px;
}

/* Hero */

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

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.hero-text p {
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.1rem;
}

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

.hero-tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(108, 0, 250, 0.5), rgba(65, 53, 80, 0.9));
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top, #2e2b33, #14111e);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(108, 0, 250, 0.15);
  border: 1px solid rgba(108, 0, 250, 0.9);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-strong);
  box-shadow: 0 0 8px rgba(108, 0, 250, 0.9);
}

.hero-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(139, 138, 150, 0.7);
}

.hero-metrics li:last-child {
  border-bottom: none;
}

.hero-metrics .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-metrics .value {
  font-size: 0.9rem;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  border-radius: var(--radius-lg);
  padding: 0.65rem 0.8rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(108, 0, 250, 0.22),
    rgba(103, 55, 165, 0.16),
    rgba(65, 53, 80, 0.9)
  );
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section.muted {
  background: radial-gradient(circle at top, rgba(65, 53, 80, 0.25), transparent 55%);
}

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

.section-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.section-header p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Services */

.services-layout {
  display: grid;
  gap: 1.6rem;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.service-tab {
  flex: 1 1 180px;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: rgba(20, 17, 30, 0.9);
  border: 1px solid var(--border-soft);
  color: var(--text-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease;
}

.service-tab:hover {
  transform: translateY(-1px);
}

.service-tab.active {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand-main));
  color: white;
  border-color: transparent;
}

.service-panels {
  position: relative;
}

.service-panel {
  display: none;
  background: rgba(20, 17, 30, 0.98);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 36px rgba(5, 0, 15, 0.9);
}

.service-panel.active {
  display: block;
}

.service-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.service-panel .lead {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.2rem;
  padding: 0;
}

.pill-list li {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(108, 0, 250, 0.45), rgba(61, 43, 92, 0.95));
}

/* Generic grids & cards */

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

.grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  background: radial-gradient(circle at top, #2e2b33, #14111e 70%);
  border-radius: var(--radius-lg);
  padding: 0.9rem 0.9rem 0.9rem;
  border: 1px solid var(--border-soft);
}

.card h4,
.card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.card.small {
  padding: 1rem;
}

/* Approach */

.approach-grid .step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand-soft));
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Contact */

.contact {
  padding-bottom: 3.4rem;
}

.contact-inner {
  display: grid;
  gap: 1.8rem;
}

.contact-text h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 30rem;
}

.contact-card {
  background: radial-gradient(circle at top, #2e2b33, #14111e);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.contact-note {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

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

.contact-list li {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.contact-list .label {
  color: var(--text-muted);
  min-width: 68px;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  margin-top: 0.7rem;
  padding-top: 0.6rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0 1.3rem;
  background: #06050b;
}

.footer-inner {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive */

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

  .contact-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

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

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 115%;
    flex-direction: column;
    background: #14111e;
    border-radius: var(--radius-lg);
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    min-width: 200px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 2.3rem;
  }
}
