/* Base */
:root {
  --bg: #0f172a;
  --surface: #111827;
  --card: #0b1224;
  --primary: #4f46e5;
  --primary-alt: #6366f1;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22d3ee;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

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

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.18), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.16), transparent 22%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  color: #f8fafc;
}

section {
  position: relative;
}

/* Layout helpers */
.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section__header {
  max-width: 640px;
  margin-bottom: 2rem;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: sticky;
  top: 0;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  box-shadow: var(--shadow);
  z-index: 10;
}

.logo img {
  height: clamp(56px, 8vw, 72px);
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  font-weight: 600;
  color: #cbd5f5;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.hero__content {
  max-width: 720px;
  margin-top: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent);
}

.lede {
  font-size: 1.05rem;
  max-width: 640px;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-alt));
  color: #fff;
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
}

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

/* About */
.about__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.about__pillars {
  display: grid;
  gap: 1rem;
}

.pillar {
  padding: 1rem 1.25rem;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.pillar h3 {
  margin-bottom: 0.35rem;
}

/* Services */
.services {
  padding-top: 3rem;
}

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

.service-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.service-card__image {
  height: 180px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body h3 {
  margin-bottom: 0.35rem;
}

.service-card__body p {
  margin-bottom: 0;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contact__card {
  padding: 1.25rem;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.contact__card h3 {
  margin-bottom: 0.35rem;
}

.contact__card a {
  color: #dbeafe;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 2rem 1.5rem 3rem;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2rem;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 700;
}

.footer__brand img {
  height: 36px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero__nav {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
