:root {
  --color-bg: #050816;
  --color-bg-alt: #0b1020;
  --color-accent: #4fd1c5;
  --color-accent-soft: rgba(79, 209, 197, 0.1);
  --color-text: #f7fafc;
  --color-muted: #a0aec0;
  --color-border: #2d3748;
  --color-danger: #f56565;

  --radius-lg: 18px;logo
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.35);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Layout */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.94),
    rgba(5, 8, 22, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(45, 55, 72, 0.8);
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-wrap img {
  height: 110px;
  width: auto;
  border-radius: 999px;
}

.logo-text-main {
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.6rem;
}

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

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

.nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color var(--transition-fast);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}

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

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

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

/* Mobile nav */

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at top left, #1a202c, #050816);
  color: var(--color-text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  font-size: 1.2rem;
}

/* Main wrapper */

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

/* Hero (home) */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  padding: 3.2rem 0 2.8rem;
  align-items: center;
}

.hero-left {
  position: relative;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(15, 23, 42, 0.95);
  color: var(--color-muted);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

.hero-gradient {
  background: linear-gradient(120deg, #4fd1c5, #63b3ed, #9f7aea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 32rem;
  margin-bottom: 1.3rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  border: 1px solid rgba(79, 209, 197, 0.45);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #4fd1c5, #63b3ed);
  color: #0b1120;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.75);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

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

/* Hero right card */

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-xl);
  padding: 1.15rem 1.25rem 1.3rem;
  background: radial-gradient(circle at top, #1f2933, #050816);
  border: 1px solid rgba(79, 209, 197, 0.32);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-card-chip {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(99, 179, 237, 0.5);
  color: var(--color-muted);
}

.hero-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.5rem 0 0.9rem;
}

.hero-card-metric {
  background: rgba(10, 14, 32, 0.9);
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(45, 55, 72, 0.9);
}

.hero-card-metric-label {
  font-size: 0.65rem;
  color: var(--color-muted);
}

.hero-card-metric-value {
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-card-timeline {
  margin-top: 0.4rem;
}

.timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 0.3rem 0;
}

.timeline-label {
  color: var(--color-muted);
}

.timeline-value {
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.timeline-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(79, 209, 197, 0.12);
  border: 1px solid rgba(79, 209, 197, 0.55);
}

/* Sections */

.section {
  margin-top: 2.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

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

.section-title {
  margin: 0.2rem 0 0.3rem;
  font-size: 1.4rem;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: 32rem;
}

/* Cards/grids */

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

.card {
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: radial-gradient(circle at top left, #111827, #050816);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.card-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}

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

.card-body {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.chip {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}

/* Table-ish blocks */

.table-like {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at top left, #111827, #050816);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-top: 1px solid rgba(45, 55, 72, 0.7);
}

.table-row:first-child {
  border-top: none;
}

.table-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.table-value {
  font-size: 0.85rem;
}

/* Testimonials */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial {
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at top, #111827, #050816);
}

.testimonial-quote {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* About / content page */

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  margin-top: 1.3rem;
}

.content-block {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at top left, #111827, #050816);
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

.content-block h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.content-block p {
  margin: 0.1rem 0 0.5rem;
}

.content-block ul {
  margin: 0.2rem 0 0.6rem 1.1rem;
  padding: 0;
}

.content-block li {
  margin-bottom: 0.15rem;
}

/* Services page extras */

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

.service-card {
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at top left, #111827, #050816);
  box-shadow: var(--shadow-subtle);
}

.service-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.service-title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.service-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.service-card ul {
  margin: 0.2rem 0 0.5rem 1.1rem;
  padding: 0;
  font-size: 0.86rem;
}

/* Contact form */

.form-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1.4rem;
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at top left, #111827, #050816);
  box-shadow: var(--shadow-subtle);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label span {
  color: var(--color-muted);
  font-size: 0.78rem;
  margin-left: 0.25rem;
}

input[type="text"],
input[type="email"],
textarea {
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.9rem;
  background: rgba(5, 10, 25, 0.95);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

textarea {
  border-radius: 16px;
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(160, 174, 192, 0.7);
}

input:focus,
textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(79, 209, 197, 0.6);
  background: rgba(5, 10, 25, 1);
}

/* Footer */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 1.5rem 1.8rem;
  margin-top: 2rem;
  background: radial-gradient(circle at bottom, #111827, #050816);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--color-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

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

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

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

/* Utilities */

.text-muted {
  color: var(--color-muted);
}

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

/* Responsive */

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

  .hero-right {
    order: -1;
    margin-bottom: 1rem;
  }

  .card-grid,
  .service-grid,
  .testimonial-grid,
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    padding-inline: 1rem;
  }

  main {
    padding-inline: 1rem;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 60px 0 auto;
    padding: 0.7rem 1rem 0.9rem;
    background: radial-gradient(circle at top, #0b1020, #050816);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 2.2rem;
  }

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

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

/* Small screens */

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

  .hero-card {
    max-width: 100%;
  }
}
