:root {
  color-scheme: light;
  --bg: #0a0420;
  --surface: #1a0b38;
  --surface-light: #24104a;
  --accent: #22d3ee;
  --accent-2: #f472b6;
  --accent-3: #f9a8d4;
  --text: #f8fafc;
  --muted: #cbd5f5;
  --card: #0b1833;
  --shadow: 0 20px 60px rgba(3, 8, 20, 0.35);
  --radius: 18px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  background: radial-gradient(circle at top left, #2a0c52, var(--bg));
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 16, 40, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041019;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.brand-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-link {
  font-weight: 600;
  color: var(--muted);
}

.nav-cta {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #02111f;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.75rem;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin: 12px 0 16px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #041019;
  box-shadow: 0 16px 40px rgba(244, 114, 182, 0.35);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  border: 1px solid rgba(244, 114, 182, 0.35);
  font-size: 0.85rem;
}

.hero-media {
  position: relative;
}

.hero-image {
  box-shadow: var(--shadow);
  animation: float 8s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(15, 31, 61, 0.92);
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: pulse 6s ease-in-out infinite;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 12px 0 18px;
}

.section-header p {
  color: var(--muted);
  line-height: 1.6;
}

.services .card,
.timeline-item,
.contact-card,
.about-media img {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}

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

.process {
  background: linear-gradient(180deg, rgba(15, 31, 61, 0.4), transparent);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px;
  border-radius: var(--radius);
}

.timeline-step {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(130deg, var(--accent-2), var(--accent));
  color: #02111f;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.about-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.about-stats div {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  border-radius: 12px;
}

.about-stats strong {
  display: block;
  font-size: 1.4rem;
}

.contact {
  padding-bottom: 100px;
}

.contact-card {
  border-radius: 22px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.25),
    rgba(244, 114, 182, 0.25)
  );
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 28px 0;
}

.site-footer {
  text-align: center;
  padding: 30px 16px 40px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions {
    width: 100%;
    margin-top: 14px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(7, 16, 40, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .nav-link {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 60px;
  }
  .contact-card {
    padding: 28px;
  }
}
