:root {
  --bg: #23211f;
  --panel: #1b1030;
  --panel-2: #120b24;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(183, 136, 255, 0.18);
  --line-strong: rgba(70, 233, 222, 0.28);
  --text: #f7f5f2;
  --muted: #9d95b2;
  --violet: #b190ff;
  --cyan: #33d8d0;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 80%, rgba(72, 213, 218, 0.2), transparent 20%),
    radial-gradient(circle at 90% 0%, rgba(109, 65, 198, 0.32), transparent 28%),
    linear-gradient(180deg, #292824 0%, #23211f 100%);
}

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

.page {
  width: min(1500px, calc(100% - 32px));
  margin: 8px auto 32px;
}

.hero-shell,
.content-card {
  width: min(1410px, 100%);
  margin: 0 auto 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 18, 51, 0.98), rgba(24, 15, 42, 0.98));
  box-shadow: var(--shadow);
}

.hero-shell {
  padding: 26px 36px 34px;
  overflow: hidden;
  position: relative;
}

.hero-shell::after {
  content: "";
  position: absolute;
  left: 72px;
  bottom: 34px;
  width: 360px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 211, 215, 0.22) 0%, rgba(59, 211, 215, 0) 68%);
  filter: blur(12px);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(177, 144, 255, 0.2), rgba(51, 216, 208, 0.2));
  border: 1px solid rgba(177, 144, 255, 0.3);
  font-size: 0.9rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
}

.brand small {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: #d7d0e6;
  font-size: 0.98rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
}

.hero-copy {
  max-width: 900px;
  padding: 36px 0 34px 40px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(128, 79, 236, 0.75);
  background: rgba(95, 57, 180, 0.2);
  color: #c6a9ff;
  font-size: 1.05rem;
  font-weight: 600;
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(194, 155, 255, 0.45);
  border: 2px solid #caaeff;
  box-shadow: 0 0 0 3px rgba(194, 155, 255, 0.12);
}

h1,
h2,
h3,
strong {
  letter-spacing: -0.04em;
}

h1 {
  margin: 34px 0 0;
  font-size: clamp(4rem, 8vw, 6.35rem);
  line-height: 0.9;
  font-weight: 800;
}

h1 span {
  display: block;
}

.gradient-text {
  background: linear-gradient(90deg, #b190ff 0%, #8db1ff 45%, #20e0c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.detail-card p,
.body-copy,
.stat-card span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 760px;
  margin: 34px 0 0;
  font-size: clamp(1.18rem, 2vw, 1.28rem);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #a7a0b9;
  font-size: 0.98rem;
  font-weight: 600;
}

.pill-active {
  border-color: rgba(51, 216, 208, 0.42);
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(51, 216, 208, 0.14);
}

.hero-panel {
  padding: 26px 0 0;
}

.hero-card,
.stat-card,
.detail-card,
.tech-box {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.hero-card {
  padding: 24px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.card-label,
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card h2,
.section-head h2,
.split-layout h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
}

.stats-grid,
.service-grid-detail,
.team-grid,
.internship-grid,
.proof-grid {
  display: grid;
  gap: 16px;
}

.stats-grid,
.internship-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  padding: 20px;
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  color: var(--text);
}

.content-card {
  padding: 30px 32px;
}

.section-head {
  margin-bottom: 22px;
}

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

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.detail-card {
  padding: 22px;
  background: var(--card-strong);
}

.detail-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

#about {
  grid-template-columns: 1.05fr 0.95fr;
}

.body-copy {
  max-width: 700px;
}

.tech-box {
  padding: 22px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8d0e9;
  font-size: 0.95rem;
}

.industry-list {
  margin-top: 8px;
}

.request-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(51, 216, 208, 0.08);
  border: 1px solid rgba(51, 216, 208, 0.28);
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 700;
}

.compact-card h3 {
  margin-bottom: 6px;
}

.work-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.gallery-block {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .hero-grid,
  .split-layout,
  .service-grid-detail,
  .team-grid,
  .proof-grid,
  .work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 16px, 100%);
  }

  .hero-shell,
  .content-card {
    padding: 20px;
    border-radius: 22px;
  }

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

  .nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .availability {
    min-height: 50px;
    padding: 0 18px;
    font-size: 0.95rem;
  }

  .service-pills,
  .stats-grid,
  .internship-grid,
  .work-gallery {
    grid-template-columns: 1fr;
  }

  .service-pills {
    display: grid;
  }
}
