:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
  color: #edf2ff;
  background: #060814;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.14);
  --text-muted: #99a3bb;
  --accent: #6f8dff;
  --accent-strong: #84a5ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(111, 141, 255, 0.18), transparent 22%),
              radial-gradient(circle at bottom right, rgba(91, 219, 211, 0.12), transparent 18%),
              linear-gradient(180deg, #04060d 0%, #090e1f 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  margin-bottom: 2rem;
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #6f8dff, #5bdbd1);
  color: #020617;
}

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

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  min-height: 78vh;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #84a5ff;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 1.6rem 0 2.4rem;
  max-width: 38rem;
  line-height: 1.85;
  color: var(--text-muted);
}

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

.hero-visual {
  position: relative;
  min-height: 440px;
}

.visual-card {
  position: relative;
  width: 100%;
  min-height: 360px;
  padding: 2rem;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.signal {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(111, 141, 255, 0.4), transparent 55%);
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  filter: blur(12px);
}

.visual-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.2rem;
}

.visual-tag {
  display: inline-flex;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(111, 141, 255, 0.14);
  color: #c6d5ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.visual-content h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.visual-content p {
  margin: 0;
  color: var(--text-muted);
}

.floating-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(111, 141, 255, 0.18);
  filter: blur(1px);
  animation: drift 7s ease-in-out infinite;
}

.dot-1 {
  width: 76px;
  height: 76px;
  left: -28px;
  top: 24%;
}

.dot-2 {
  width: 54px;
  height: 54px;
  right: 14%;
  top: 68%;
  animation-delay: 1.4s;
}

.dot-3 {
  width: 96px;
  height: 96px;
  left: 34%;
  top: 82%;
  animation-delay: 0.8s;
}

.section {
  margin-top: 5rem;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.2rem;
}

.section-label {
  color: #84a5ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}

.section h2 {
  margin: 0.9rem 0 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.03;
}

.cards-grid,
.case-grid,
.team-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.case-card,
.profile-card {
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.case-card:hover,
.profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
}

.service-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  background: rgba(111, 141, 255, 0.14);
  border-radius: 16px;
}

.service-card h3,
.case-card h3,
.profile-card h3 {
  margin: 0 0 0.8rem;
}

.service-card p,
.case-card p,
.profile-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-type {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #84a5ff;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-photo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin-bottom: 1.2rem;
  background: linear-gradient(140deg, rgba(111, 141, 255, 0.35), rgba(91, 219, 209, 0.3));
}

.clients-strip {
  margin: 4rem 0 2rem;
  padding: 1.4rem 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.client-logo {
  padding: 1.2rem 1rem;
  border-radius: 18px;
  text-align: center;
  color: #d8e2ff;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.03);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.2rem;
  margin-top: 1rem;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
}

.cta-banner h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

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

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -18px) scale(1.02); }
}

@media (max-width: 1060px) {
  .hero-section,
  .cta-banner,
  .cards-grid,
  .case-grid,
  .team-grid,
  .clients-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100%, calc(100% - 1.5rem));
    padding: 1.4rem 0 3rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions,
  .clients-strip,
  .team-grid {
    gap: 1rem;
  }

  .service-card,
  .case-card,
  .profile-card {
    padding: 1.6rem;
  }

  .cta-banner {
    flex-direction: column;
    text-align: left;
  }
}
