:root {
  --bg: #05060a;
  --bg-elevated: #0c0e14;
  --bg-card: #11141c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #9aa3b2;
  --accent: #6ee7ff;
  --accent-2: #a78bfa;
  --gradient: linear-gradient(135deg, #6ee7ff 0%, #a78bfa 50%, #f472b6 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --container: min(1120px, 92vw);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 6, 10, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #05060a;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

.nav-cta {
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient);
  color: #05060a;
  box-shadow: 0 8px 32px rgba(110, 231, 255, 0.25);
}

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

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
}

.center-btn {
  display: flex;
  width: fit-content;
  margin: 2.5rem auto 0;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(110, 231, 255, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(167, 139, 250, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(244, 114, 182, 0.08), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-transform: capitalize;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: lowercase;
}

.hero-lead {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Marquee */
.marquee-section {
  padding: 2rem 0 3rem;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
}

.marquee-heading {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track span {
  font-weight: 600;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--bg-elevated);
}

.section-muted {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.cta-band {
  padding: 3rem 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.service-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(110, 231, 255, 0.35);
  transform: translateY(-2px);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

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

a.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.service-card-link:hover {
  text-decoration: none;
}

.service-spotlight {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.spotlight-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spotlight-tab {
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.spotlight-tab.active,
.spotlight-tab:hover {
  background: rgba(110, 231, 255, 0.08);
  color: var(--text);
  border-color: var(--border);
}

.spotlight-panel h3 {
  margin-top: 0;
}

.spotlight-panel h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.95rem;
}

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

.spotlight-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.pain-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.pain-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

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

.banner-cta {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(110, 231, 255, 0.1), rgba(167, 139, 250, 0.1));
  border: 1px solid var(--border);
}

.banner-cta p {
  margin: 0;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process-step {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin: 0.75rem 0;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.outcome-label {
  margin-top: 1.25rem !important;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2) !important;
}

.outcome {
  font-weight: 600;
  color: var(--text) !important;
}

/* Diff */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.diff-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.diff-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.diff-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Tech */
.tech-section {
  overflow: hidden;
}

.tech-orbit {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient);
  color: #05060a;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  z-index: 1;
  box-shadow: 0 0 60px rgba(110, 231, 255, 0.3);
}

.tech-tags {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-tags li {
  position: absolute;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

.tech-tags li:nth-child(1) { top: 8%; left: 15%; animation-delay: 0s; }
.tech-tags li:nth-child(2) { top: 5%; left: 42%; animation-delay: 0.4s; }
.tech-tags li:nth-child(3) { top: 12%; right: 18%; animation-delay: 0.8s; }
.tech-tags li:nth-child(4) { top: 38%; left: 5%; animation-delay: 1.2s; }
.tech-tags li:nth-child(5) { top: 35%; right: 8%; animation-delay: 1.6s; }
.tech-tags li:nth-child(6) { bottom: 35%; left: 12%; animation-delay: 2s; }
.tech-tags li:nth-child(7) { bottom: 38%; right: 14%; animation-delay: 2.4s; }
.tech-tags li:nth-child(8) { bottom: 12%; left: 25%; animation-delay: 2.8s; }
.tech-tags li:nth-child(9) { bottom: 8%; right: 28%; animation-delay: 3.2s; }
.tech-tags li:nth-child(10) { top: 55%; left: 22%; animation-delay: 3.6s; }
.tech-tags li:nth-child(11) { top: 52%; right: 22%; animation-delay: 4s; }
.tech-tags li:nth-child(12) { bottom: 22%; left: 45%; animation-delay: 4.4s; }
.tech-tags li:nth-child(13) { top: 22%; left: 68%; animation-delay: 4.8s; }
.tech-tags li:nth-child(14) { bottom: 45%; right: 35%; animation-delay: 5.2s; }
.tech-tags li:nth-child(15) { top: 68%; left: 8%; animation-delay: 5.6s; }
.tech-tags li:nth-child(16) { top: 70%; right: 5%; animation-delay: 6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.case-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.2s;
}

.case-card:hover {
  transform: translateY(-3px);
}

.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.case-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.case-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.impact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem !important;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.testimonial {
  margin: 0;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.testimonial p {
  font-size: 1rem;
  margin: 0 0 1.25rem;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.rating {
  color: #fbbf24;
  letter-spacing: 2px;
  margin-top: 0.35rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.blog-card time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card h3 {
  margin: 0.5rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-cat {
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
}

/* Contact */
.contact-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-copy h2 {
  margin-top: 0;
  font-size: 2rem;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(110, 231, 255, 0.4);
  border-color: transparent;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
  }

  .nav.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(var(--header-h) + 280px);
    left: 1.5rem;
    right: 1.5rem;
    justify-content: center;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .service-spotlight {
    grid-template-columns: 1fr;
  }

  .spotlight-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
