:root {
  --bg: #06070d;
  --bg-alt: #0b0d18;
  --surface: #10131f;
  --surface-2: #151928;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f2f3f8;
  --text-dim: #9aa0b4;
  --text-dimmer: #6b7186;
  --accent-1: #7c5cff;
  --accent-2: #23d5ff;
  --accent-3: #ff5cc4;
  --gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  --gradient-2: linear-gradient(120deg, var(--accent-3), var(--accent-1));
  --radius: 18px;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-dim); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ---------- Background FX ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}
.orb-1 { width: 480px; height: 480px; background: var(--accent-1); top: -140px; left: -120px; }
.orb-2 { width: 420px; height: 420px; background: var(--accent-2); top: 20%; right: -160px; opacity: 0.3; }
.orb-3 { width: 360px; height: 360px; background: var(--accent-3); bottom: -120px; left: 30%; opacity: 0.25; }
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 13, 0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #06070d;
  font-weight: 700;
  font-size: 14px;
}
.brand-name { font-size: 16px; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--gradient);
  color: #06070d !important;
  font-weight: 600;
}

.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);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #06070d;
  box-shadow: 0 10px 30px -8px rgba(124, 92, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -6px rgba(124, 92, 255, 0.65); }
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 0; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: 68vh;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34e58f;
  box-shadow: 0 0 0 3px rgba(52,229,143,0.18);
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--text);
}
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17.5px;
  max-width: 520px;
  color: var(--text-dim);
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}
.hero-socials {
  display: flex;
  gap: 12px;
}
.hero-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.hero-socials a:hover {
  border-color: var(--accent-1);
  color: var(--accent-2);
  transform: translateY(-2px);
}

.hero-visual { display: flex; justify-content: center; position: relative; }
.avatar-ring {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  display: grid;
  place-items: center;
  padding: 6px;
  animation: spin 14s linear infinite;
}
.avatar-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--bg);
}
.avatar {
  position: relative;
  z-index: 1;
  width: calc(100% - 34px);
  height: calc(100% - 34px);
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: var(--text);
  animation: spin-reverse 14s linear infinite;
  border: 1px solid var(--border);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

.badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.6);
}
.badge-1 { top: 6%; left: -8%; }
.badge-2 { bottom: 14%; right: -12%; }
.badge-3 { bottom: -4%; left: 12%; }

/* ---------- Marquee ---------- */
.marquee {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 22px 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015));
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll-left 22s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--text-dimmer);
  font-weight: 600;
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats { padding: 70px 0 20px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.stat-num, .stat-suffix {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
}
.stat-num { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-suffix { color: var(--accent-2); }
.stat-card p { margin-top: 8px; font-size: 14px; color: var(--text-dim); }

/* ---------- Section helpers ---------- */
section { padding: 100px 0; }
.section-eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.center { text-align: center; }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
}
.about-card-glow {
  position: absolute;
  width: 220px; height: 220px;
  background: var(--gradient-2);
  filter: blur(80px);
  opacity: 0.35;
  top: -60px; right: -60px;
}
.about-card h3 { position: relative; font-size: 18px; }
.about-card ul { list-style: none; padding: 0; margin: 0; position: relative; }
.about-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text-dim);
}
.about-card li:first-child { border-top: none; }
.about-card li span { color: var(--accent-2); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.about-tags span {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ---------- Expertise ---------- */
.expertise-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.expertise-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.expertise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.4);
}
.expertise-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  color: #06070d;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.expertise-card h3 { font-size: 17px; color: var(--text); }
.expertise-card p { font-size: 14.5px; margin: 0; }

/* ---------- Timeline ---------- */
.timeline {
  margin-top: 50px;
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--border);
}
.timeline-date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.timeline-content h3 { margin: 8px 0 8px; font-size: 18px; color: var(--text); }
.timeline-content p { max-width: 640px; font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-card p {
  font-size: 15.5px;
  color: var(--text);
  font-style: italic;
}
.testimonial-card footer {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-dimmer);
  font-weight: 600;
  font-style: normal;
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.contact-links { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contact-links > a {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-2);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14.5px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent-1); }
.form-note { font-size: 13.5px; color: var(--accent-2); min-height: 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-inner p { margin: 0; font-size: 13.5px; color: var(--text-dimmer); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-socials { justify-content: center; }
  .hero-visual { order: -1; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .expertise-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .expertise-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .avatar-ring { width: 240px; height: 240px; }
  .avatar { font-size: 54px; }
  .badge { font-size: 11px; padding: 6px 10px; }
}
