﻿:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  --bg: #08111f;
  --surface: rgba(18, 25, 42, 0.85);
  --surface-strong: rgba(19, 29, 55, 0.96);
  --text: #f5f8ff;
  --muted: #abb7d1;
  --accent: #6f6cff;
  --accent-2: #ff6a9a;
  --gradient-1: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 40%, #f472b6 100%);
  --gradient-2: radial-gradient(circle at top right, rgba(97, 206, 255, 0.18), transparent 40%), radial-gradient(circle at bottom left, rgba(191, 90, 242, 0.16), transparent 30%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 20;
}

.scroll-progress__fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(111, 108, 255, 0.9), rgba(255, 106, 154, 0.9));
  transform-origin: left;
  transition: width 0.2s ease;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top left, rgba(78, 132, 255, 0.25), transparent 25%), radial-gradient(circle at bottom right, rgba(255, 113, 186, 0.18), transparent 22%), #08111f;
  color: var(--text);
}

body {
  overflow-x: hidden;
}

button, a {
  font: inherit;
}

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

.page-grid {
  position: relative;
  padding: 2rem clamp(1.5rem, 2vw, 4rem);
  max-width: 1300px;
  margin: 0 auto;
}

.glow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 25% 20%, rgba(111, 108, 255, 0.25), transparent 18%), radial-gradient(circle at 85% 10%, rgba(255, 106, 154, 0.22), transparent 16%), radial-gradient(circle at 50% 80%, rgba(70, 199, 255, 0.14), transparent 22%);
  filter: blur(60px);
  z-index: -1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -0.3rem;
  background: linear-gradient(135deg, #6f6cff, #ff6a9a);
  border-radius: 999px;
}

.nav-links a {
  position: relative;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #6f6cff, #ff6a9a);
  color: white;
  box-shadow: 0 20px 60px rgba(111, 108, 255, 0.18);
}

.button-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
}

.button-link {
  color: var(--accent);
  padding: 0.95rem 0;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 3rem);
  padding-top: 2rem;
}

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.18em;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 0.95;
  margin: 0;
}

.hero-copy p {
  margin: 1.5rem 0 2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-pill {
  display: inline-flex;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 0.95rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics div {
  padding: 1.25rem 1.35rem;
  border-radius: 26px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.hero-metrics span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.8;
}

.orb-1 {
  width: 180px;
  height: 180px;
  background: rgba(111, 108, 255, 0.26);
  top: 10%;
  left: 5%;
}

.orb-2 {
  width: 160px;
  height: 160px;
  background: rgba(255, 106, 154, 0.2);
  top: 25%;
  right: 0;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: rgba(70, 199, 255, 0.14);
  bottom: 10%;
  left: 30%;
}

.pulse-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,108,255,0.35) 0%, transparent 55%);
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.25); opacity: 0.4; }
}

.hero-card {
  position: relative;
  width: min(100%, 420px);
  padding: 2.25rem;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(18, 25, 42, 0.92), rgba(11, 17, 29, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(22px);
  box-shadow: 0 45px 130px rgba(0, 0, 0, 0.24);
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

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

.hero-card__badge {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(111, 108, 255, 0.12);
  color: #c4c8ff;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-card-footer {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.section {
  position: relative;
  margin-top: 6rem;
}

.section-heading span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
  margin: 0;
}

.clients-section .logos-grid,
.cards-grid,
.process-grid,
.work-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.clients-section .logos-grid {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 600;
}

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

.service-card,
.process-step,
.work-card,
.testimonial-card,
.contact-card,
.team-member,
.stat {
  padding: 2rem;
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card {
  transform-style: preserve-3d;
  overflow: hidden;
  cursor: pointer;
}

.service-card:hover,
.work-card:hover,
.process-step:hover,
.testimonial-card:hover,
.team-member:hover {
  transform: translateY(-8px);
  border-color: rgba(111, 108, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}

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

.service-card h3,
.work-card h3,
.process-step h3,
.testimonial-card strong,
.team-member strong {
  margin: 0 0 0.8rem;
}

.service-card p,
.work-card p,
.process-step p,
.testimonial-card p,
.about-copy p,
.contact-card p {
  color: var(--muted);
  line-height: 1.8;
}

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

.process-step {
  display: grid;
  gap: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(111, 108, 255, 0.18), rgba(255, 106, 154, 0.15));
  color: var(--text);
  font-weight: 800;
}

.work-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 1.5fr) 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.work-side-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.work-large-card,
.work-small-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 360px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.16);
  transition: transform 260ms ease, box-shadow 260ms ease;
  cursor: pointer;
  transform-style: preserve-3d;
}

.work-large-card {
  min-height: 560px;
}

.work-large-card:hover,
.work-small-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.22);
}

.work-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.work-small-card:hover .work-thumb,
.work-large-card:hover .work-thumb {
  transform: scale(1.05);
}

.work-thumb-1 {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1200&q=80');
}

.work-thumb-2 {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%), url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=900&q=80');
}

.work-thumb-3 {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%), url('https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?auto=format&fit=crop&w=900&q=80');
}

.work-thumb-4 {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80');
}

.work-thumb-1 {
  background-image: linear-gradient(135deg, rgba(111, 108, 255, 0.72), rgba(255, 106, 154, 0.45)), url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=80');
}

.work-thumb-2 {
  background-image: linear-gradient(135deg, rgba(90, 219, 255, 0.72), rgba(137, 117, 255, 0.44)), url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=900&q=80');
}

.work-thumb-3 {
  background-image: linear-gradient(135deg, rgba(255, 171, 80, 0.72), rgba(110, 95, 255, 0.4)), url('https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?auto=format&fit=crop&w=900&q=80');
}

.work-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 14, 25, 0.96) 92%);
  color: white;
  display: grid;
  gap: 0.75rem;
  transform: translateY(24px);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
}

.work-overlay h3 {
  margin: 0;
  font-size: 1.7rem;
}

.work-overlay p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
}

.work-large-card:hover .work-overlay,
.work-small-card:hover .work-overlay {
  transform: translateY(0);
  opacity: 1;
}

.work-card-copy {
  padding: 1.5rem;
}

.work-tag {
  display: inline-flex;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(111, 108, 255, 0.18);
  color: #c4c8ff;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.testimonial-slider {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.testimonial-dot:hover,
.testimonial-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

.testimonial-card {
  opacity: 0.5;
  transform: scale(0.98);
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(111, 108, 255, 0.25);
}

.testimonial-card p {
  margin: 0 0 1.5rem;
}

.testimonial-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.testimonial-card span {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-copy {
  max-width: 44rem;
}

.about-copy span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.about-copy h2 {
  margin-top: 0.7rem;
  font-size: 2.2rem;
}

.about-copy p {
  margin-top: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.about-highlights {
  display: grid;
  gap: 1.5rem;
}

.highlight-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 260ms ease;
}

.highlight-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

.highlight-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00d9ff, #00ffaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.highlight-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.team-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.team-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 260ms ease;
}

.team-member-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-6px);
}

.member-avatar {
  width: 100%;
  height: 200px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.member-info {
  display: grid;
  gap: 0.5rem;
}

.member-info strong {
  font-size: 1rem;
  display: block;
}

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

.team-card {
  position: relative;
  min-height: 360px;
  border-radius: 32px;
  overflow: hidden;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  transition: transform 260ms ease, box-shadow 260ms ease;
  cursor: pointer;
}

.team-card:hover {
  transform: scale(1.06);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.25);
}

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  color: white;
  display: grid;
  gap: 0.75rem;
  z-index: 2;
}

.team-card-overlay span {
  display: inline-flex;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
}

.team-card-overlay strong {
  font-size: 1.7rem;
  line-height: 1.1;
}

.team-card-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.team-tags span {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
}

.team-heading {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.team-heading span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.team-heading h2 {
  margin-top: 0.7rem;
  font-size: 2rem;
}

.contact-section {
  margin-top: 6rem;
}

.contact-card {
  padding: 2.5rem;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(16, 25, 43, 0.95), rgba(7, 13, 24, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 1.5rem;
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 3rem);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer {
  margin: 4rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
}

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

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

@media (max-width: 960px) {
  .hero-section,
  .about-section {
    grid-template-columns: 1fr;
  }

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

  .team-showcase {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .cards-grid,
  .process-grid,
  .hero-metrics,
  .team-highlights,
  .team-gallery,
  .clients-section .logos-grid,
  .work-showcase,
  .work-side-grid {
    grid-template-columns: 1fr;
  }

  .work-showcase {
    display: grid;
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .page-grid {
    padding: 1.2rem;
  }

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

  .hero-copy h1 {
    font-size: 2.75rem;
  }

  .hero-card {
    padding: 1.75rem;
  }

  .hero-metrics,
  .hero-highlights {
    grid-template-columns: 1fr;
  }

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

  .team-member-card {
    padding: 1rem;
  }

  .member-avatar {
    height: 150px;
    margin-bottom: 0.75rem;
  }

  .member-info strong {
    font-size: 0.9rem;
  }

  .member-info span {
    font-size: 0.75rem;
  }
}