@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #09090b;
  color: #f4f4f5;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.narrow {
  width: min(800px, 92%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}

.bg-glow-1 {
  top: 120px;
  left: -120px;
  background: #2563eb;
}

.bg-glow-2 {
  right: -120px;
  top: 420px;
  background: #7c3aed;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffffff;
  white-space: nowrap;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu a {
  color: #c4c4cc;
  transition: 0.25s ease;
}

.menu a:hover {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.35);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.04);
}

.hero {
  position: relative;
  padding: 120px 0 90px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #8b9bb7;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-text {
  max-width: 680px;
  color: #b3b3bd;
  font-size: 18px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-text,
.section-subtitle {
  color: #acacb8;
  font-size: 18px;
  max-width: 760px;
}

.section-subtitle {
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 24px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.case,
.timeline-item,
.contact-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.card {
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.45);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
}

.card h3,
.case h3,
.timeline-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.card p,
.case p,
.timeline-item p {
  color: #b6b6c2;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 26px;
}

.timeline-item span {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(37,99,235,0.14);
  color: #a9c4ff;
  font-weight: 700;
  font-size: 20px;
}

.cases {
  display: grid;
  gap: 20px;
}

.case {
  padding: 28px;
}

.contact-form {
  margin-top: 30px;
  padding: 26px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
  border-radius: 14px;
  padding: 15px 16px;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(37, 99, 235, 0.8);
  background: rgba(255,255,255,0.06);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  margin-top: 14px;
  color: #8ec5a4;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0 38px;
  color: #8f8f99;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 90px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 4%;
    width: min(320px, 92vw);
    padding: 18px;
    border-radius: 18px;
    background: rgba(15, 15, 18, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    display: none;
  }

  .menu.open {
    display: flex;
  }
}

@media (max-width: 700px) {
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero-text,
  .section-text,
  .section-subtitle {
    font-size: 16px;
  }

  .section {
    padding: 78px 0;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer p,
.footer a {
  color: #8f8f99;
  margin-bottom: 8px;
}

.footer a:hover {
  color: #ffffff;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}