:root {
  --bg: #030b14;
  --bg-soft: #0a1726;
  --panel: rgba(11, 22, 36, 0.82);
  --panel-strong: rgba(15, 31, 49, 0.9);
  --line: rgba(110, 170, 230, 0.22);
  --line-strong: rgba(102, 177, 255, 0.52);
  --text: #ecf5ff;
  --muted: #b7c8dc;
  --silver: #dfe8f5;
  --blue: #2cc3ff;
  --blue-strong: #1187ff;
  --cyan: #61f4ff;
  --shadow: 0 22px 55px rgba(5, 17, 29, 0.5);
  --radius: 16px;
  --container: min(1200px, calc(100% - 32px));
  --transition: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(21, 89, 164, 0.28), transparent 32%),
    radial-gradient(circle at right center, rgba(36, 157, 255, 0.18), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 201, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 201, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-space {
  padding: 100px 0;
}

.section-space-top {
  padding-top: 110px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin-bottom: 0.7rem;
}

h3 {
  font-size: clamp(1.15rem, 1.4vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(5, 12, 19, 0.44);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 15, 23, 0.72);
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 160px;
}

.brand img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(82, 196, 255, 0.16));
}

.brand-name {
  font-size: clamp(1.2rem, 1.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1.1;
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--silver);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 999px;
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.92rem 1.4rem;
  border: 1px solid rgba(143, 206, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn:hover,
button.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  border-color: rgba(81, 180, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(129, 213, 255, 0.18), 0 18px 40px rgba(22, 117, 255, 0.38);
}

.btn-secondary {
  background: rgba(22, 43, 62, 0.8);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
}

.btn-small {
  padding: 0.8rem 1.05rem;
  font-size: 0.95rem;
}

.btn-wide {
  width: 100%;
}

.btn-light {
  border-color: rgba(115, 235, 255, 0.35);
  box-shadow: 0 0 20px rgba(97, 244, 255, 0.18);
}

.whatsapp-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(23, 160, 90, 0.18), rgba(27, 215, 115, 0.14));
  border: 1px solid rgba(72, 215, 141, 0.5);
  color: #86f7bc;
  box-shadow: 0 0 18px rgba(72, 215, 141, 0.14);
  transition: var(--transition);
}

.whatsapp-icon:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 9px 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: var(--transition);
}

.hero {
  padding-bottom: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

.justify-end {
  justify-content: flex-end;
}

.mini-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-trust span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(9, 18, 28, 0.55);
  border: 1px solid var(--line);
  color: var(--silver);
  font-size: 0.82rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-wrap {
  position: relative;
  width: min(100%, 560px);
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.laptop-screen {
  position: relative;
  width: 78%;
  height: 420px;
  background: linear-gradient(180deg, rgba(17, 31, 45, 0.96), rgba(10, 15, 22, 0.96));
  border: 1px solid rgba(124, 191, 255, 0.28);
  border-radius: 18px 18px 10px 10px;
  box-shadow: var(--shadow);
  padding: 18px 18px 12px;
  overflow: hidden;
}

.laptop-screen::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -28px;
  height: 26px;
  background: linear-gradient(180deg, rgba(101, 143, 181, 0.18), rgba(7, 10, 14, 0.28));
  border-radius: 0 0 30px 30px;
  filter: blur(1px);
}

.screen-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.screen-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  background: rgba(255, 255, 255, 0.22);
}

.screen-header span:first-child { background: #ff6f91; }
.screen-header span:nth-child(2) { background: #ffcd4d; }
.screen-header span:nth-child(3) { background: #54da87; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 14px;
  height: calc(100% - 40px);
}

.panel {
  background: rgba(17, 28, 40, 0.86);
  border: 1px solid rgba(93, 156, 220, 0.18);
  border-radius: 14px;
  padding: 16px;
}

.large-panel {
  grid-row: 1 / span 2;
}

.stats-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.blue { background: #3ec3ff; }
.dot.gray { background: rgba(255, 255, 255, 0.3); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
  padding-top: 12px;
}

.chart-bars span {
  display: block;
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(97, 244, 255, 0.9), rgba(44, 127, 255, 0.9));
  box-shadow: 0 0 16px rgba(97, 244, 255, 0.24);
}

.small-panel p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.small-panel strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(147, 179, 201, 0.12);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 92%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: inherit;
}

.sparkline {
  position: relative;
  height: 48px;
}

.sparkline span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  border-radius: 10px;
}

.sparkline span::before {
  content: "";
  position: absolute;
  inset: 18px 8px 6px 8px;
  background: linear-gradient(90deg, rgba(44, 195, 255, 0.2), rgba(44, 195, 255, 0.9), rgba(97, 244, 255, 0.6));
  clip-path: polygon(0% 68%, 15% 50%, 32% 64%, 50% 42%, 68% 58%, 82% 26%, 100% 40%, 100% 100%, 0% 100%);
}

.phone-screen {
  position: absolute;
  right: 24px;
  bottom: 12px;
  width: 172px;
  background: linear-gradient(180deg, rgba(9, 18, 28, 0.97), rgba(13, 25, 40, 0.95));
  border: 1px solid rgba(116, 184, 255, 0.35);
  border-radius: 22px;
  padding: 12px 12px 18px;
  box-shadow: var(--shadow);
}

.phone-top {
  height: 8px;
  width: 74px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  margin: 0 auto 18px;
}

.phone-body {
  padding: 12px 10px 8px;
}

.metric-card {
  border-radius: 12px;
  background: rgba(19, 37, 58, 0.9);
  border: 1px solid rgba(102, 177, 255, 0.22);
  padding: 16px 12px;
}

.metric-card small {
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.metric-card strong {
  font-size: 1.4rem;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 6px;
  margin-top: 16px;
  height: 54px;
}

.mini-bars span {
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(97, 244, 255, 1), rgba(36, 113, 255, 0.66));
}

.mini-bars span:nth-child(1) { height: 42%; }
.mini-bars span:nth-child(2) { height: 68%; }
.mini-bars span:nth-child(3) { height: 84%; }
.mini-bars span:nth-child(4) { height: 56%; }

.floating-card {
  position: absolute;
  background: rgba(11, 20, 32, 0.94);
  border: 1px solid rgba(96, 178, 255, 0.24);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.floating-card span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.floating-card strong {
  font-size: 1.1rem;
}

.card-a { top: 42px; left: 12px; }
.card-b { top: 120px; right: 16px; animation-delay: 1s; }
.card-c { bottom: 82px; left: 54px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.service-grid,
.feature-grid,
.project-grid,
.service-detail-grid,
.portfolio-grid {
  display: grid;
  gap: 24px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-card,
.project-card,
.detail-card,
.case-study,
.contact-panel,
.contact-form,
.cta-box,
.team-panel,
.founder-portrait,
.founder-info {
  background: rgba(10, 19, 30, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 1.6rem 1.3rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.feature-card:hover,
.project-card:hover,
.detail-card:hover,
.case-study:hover {
  transform: translateY(-8px);
  border-color: rgba(116, 188, 255, 0.6);
  box-shadow: 0 26px 58px rgba(15, 34, 52, 0.7);
}

.service-icon,
.feature-icon,
.detail-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(49, 109, 194, 0.26), rgba(97, 244, 255, 0.12));
  border: 1px solid rgba(116, 188, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 18px;
}

.service-card p,
.feature-card p,
.project-card p,
.detail-card p,
.case-study p,
.story-copy p,
.contact-panel p,
.contact-form label,
.team-content p {
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 1.5rem;
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #eaf6ff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 30px;
  height: 2px;
  background: linear-gradient(90deg, rgba(97, 244, 255, 0.28), rgba(44, 195, 255, 0.75), rgba(97, 244, 255, 0.28));
}

.timeline-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.step-number {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(44, 195, 255, 0.22), rgba(17, 135, 255, 0.18));
  border: 1px solid rgba(125, 197, 255, 0.5);
  color: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 25px rgba(64, 168, 255, 0.22);
}

.timeline-content {
  background: rgba(9, 17, 25, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  width: 100%;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
}

.project-visual,
.case-preview {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(12, 28, 44, 0.88), rgba(12, 20, 30, 0.68));
  border-bottom: 1px solid var(--line);
}

.project-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
}

.project-visual::before,
.case-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(110, 190, 255, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(9,17,26,0.38), rgba(9,17,26,0.52));
  z-index: 1;
}

.project-visual--gym,
.case-preview--gym {
  background:
    linear-gradient(135deg, rgba(15, 36, 58, 0.82), rgba(10, 18, 27, 0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='500' viewBox='0 0 800 500'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Crect width='800' height='500' fill='%23071018'/%3E%3Cg fill='%2317365d'%3E%3Crect x='80' y='80' width='220' height='120' rx='10'/%3E%3Crect x='330' y='130' width='250' height='18' rx='9'/%3E%3Crect x='330' y='170' width='190' height='18' rx='9'/%3E%3Crect x='330' y='210' width='210' height='18' rx='9'/%3E%3Crect x='80' y='250' width='180' height='110' rx='12'/%3E%3Crect x='290' y='250' width='220' height='110' rx='12'/%3E%3Crect x='540' y='250' width='150' height='110' rx='12'/%3E%3C/g%3E%3Cg fill='%2357d2ff' opacity='.8'%3E%3Crect x='120' y='110' width='120' height='30' rx='15'/%3E%3Crect x='370' y='145' width='110' height='10' rx='5'/%3E%3Crect x='400' y='185' width='80' height='10' rx='5'/%3E%3Crect x='120' y='310' width='80' height='12' rx='6'/%3E%3Crect x='330' y='300' width='100' height='12' rx='6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
}

.project-visual--zarai,
.case-preview--zarai {
  background:
    linear-gradient(135deg, rgba(14, 36, 57, 0.82), rgba(11, 18, 26, 0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='500' viewBox='0 0 800 500'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Crect width='800' height='500' fill='%230a1320'/%3E%3Cg fill='%231b3f5a'%3E%3Crect x='110' y='70' width='560' height='160' rx='16'/%3E%3Crect x='140' y='250' width='180' height='120' rx='12'/%3E%3Crect x='350' y='250' width='180' height='120' rx='12'/%3E%3Crect x='560' y='250' width='90' height='120' rx='12'/%3E%3C/g%3E%3Cg fill='%2366d9ff' opacity='.75'%3E%3Crect x='180' y='110' width='310' height='20' rx='10'/%3E%3Crect x='180' y='145' width='260' height='20' rx='10'/%3E%3Crect x='180' y='180' width='220' height='20' rx='10'/%3E%3Crect x='180' y='290' width='120' height='14' rx='7'/%3E%3Crect x='370' y='290' width='90' height='14' rx='7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
}

.project-tag,
.case-preview span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(6, 14, 20, 0.72);
  border: 1px solid rgba(111, 179, 255, 0.38);
  font-weight: 600;
  color: var(--text);
}

.project-card-body,
.case-content {
  padding: 1.4rem 1.2rem 1.6rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem 0 1.2rem;
}

.project-meta span {
  display: inline-flex;
  background: rgba(15, 30, 44, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  color: var(--silver);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 2.2rem 2rem;
  background: linear-gradient(135deg, rgba(16, 34, 50, 0.94), rgba(9, 16, 24, 0.92));
}

.cta-box p {
  margin: 0;
}

.inner-hero {
  padding-bottom: 20px;
}

.narrow {
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  align-items: end;
}

.about-intro {
  text-align: center;
}

.about-intro h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.portrait-card {
  background: linear-gradient(135deg, rgba(11, 22, 36, 0.9), rgba(17, 34, 54, 0.85));
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 300px;
  max-width: 360px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 0 auto;
}

.founder-image-card {
  background: linear-gradient(135deg, rgba(10, 21, 33, 0.92), rgba(17, 33, 48, 0.88));
}

.founder-photo {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.95) contrast(1.06);
  display: block;
}

.founder-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-info h2 {
  margin-bottom: 0.2rem;
}

.founder-role {
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 1.9rem;
}

.story-copy {
  display: grid;
  gap: 1rem;
}

.story-copy p {
  margin: 0;
}

.portrait-plate {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(44,196,255,0.2), rgba(17,135,255,0.1));
  border: 1px solid rgba(111, 179, 255, 0.4);
  color: var(--text);
  box-shadow: inset 0 0 35px rgba(99, 228, 255, 0.08), 0 0 26px rgba(66, 164, 255, 0.12);
}

.founder-role {
  color: var(--cyan);
  font-weight: 600;
}

.team-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 28px;
  padding: 2rem;
}

.team-visual {
  position: relative;
  width: min(100%, 360px);
  height: 220px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.team-orbit {
  position: absolute;
  border: 1px solid rgba(122, 189, 255, 0.26);
  border-radius: 50%;
}

.orbit-one {
  width: 100%;
  height: 100%;
  animation: spin 15s linear infinite;
}

.orbit-two {
  width: 72%;
  height: 72%;
  animation: spin 12s linear infinite reverse;
}

.team-core {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(44,196,255,0.18), rgba(17,135,255,0.18));
  border: 1px solid rgba(111, 179, 255, 0.4);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 0 30px rgba(44,195,255,0.12);
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.values-grid span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(9, 17, 25, 0.8);
  border: 1px solid var(--line);
  color: var(--silver);
}

.service-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card {
  padding: 1.7rem 1.3rem;
}

.detail-card ul {
  margin: 1rem 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.detail-card li + li {
  margin-top: 0.5rem;
}

.contact-hero {
  display: flex;
  justify-content: center;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.contact-panel,
.contact-form {
  padding: 1.6rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 20px;
}

.contact-details li {
  display: grid;
  gap: 8px;
}

.contact-details span {
  color: var(--silver);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--silver);
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(111, 179, 255, 0.24);
  border-radius: 12px;
  background: rgba(9, 17, 25, 0.78);
  color: var(--text);
  padding: 0.9rem 1rem;
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(97, 244, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(97, 244, 255, 0.14);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.portfolio-card {
  background: rgba(11, 22, 36, 0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(116, 188, 255, 0.6);
  box-shadow: 0 26px 58px rgba(15, 34, 52, 0.7);
}

.portfolio-card-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(12, 28, 44, 0.88), rgba(12, 20, 30, 0.68));
}

.portfolio-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-image {
  transform: scale(1.04);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 22, 0.1), rgba(5, 12, 20, 0.7));
  z-index: 1;
}

.portfolio-card-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(6, 14, 20, 0.72);
  border: 1px solid rgba(111, 179, 255, 0.38);
  font-weight: 600;
  color: var(--text);
}

.portfolio-card-body {
  padding: 1.4rem 1.2rem 1.6rem;
}

.portfolio-card-body h3 {
  margin-bottom: 0.65rem;
}

.portfolio-card-body p {
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 1rem;
}

.portfolio-tags span,
.modal-meta span {
  display: inline-flex;
  background: rgba(15, 30, 44, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  color: var(--silver);
}

.case-study {
  overflow: hidden;
}

.case-content p {
  margin-bottom: 0.75rem;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 200;
}

.portfolio-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 12, 0.72);
  backdrop-filter: blur(10px);
}

.portfolio-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: rgba(9, 17, 25, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(11, 20, 31, 0.7);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.modal-visual-wrap,
.modal-visual {
  display: none !important;
}

.modal-content-wrap {
  padding: 2rem 1.7rem 1.7rem;
}

.modal-purpose {
  margin-bottom: 1rem;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.1rem;
}

.modal-description p {
  margin-bottom: 1.2rem;
}

.feature-block,
.video-block {
  margin-top: 1.3rem;
}

.modal-features {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.video-block {
  margin-top: 1.4rem;
}

.video-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(111, 179, 255, 0.28);
  background: rgba(7, 15, 22, 0.75);
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #030b14;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.modal-actions {
  margin-top: 1.5rem;
}

body.modal-open {
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 16, 0.9);
  padding-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
}

.brand-footer {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.tagline {
  margin: 0;
  font-weight: 500;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-list a,
.contact-list a {
  transition: color var(--transition);
}

.footer-list a:hover,
.contact-list a:hover {
  color: var(--cyan);
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: var(--silver);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .justify-end {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: var(--transition);
    pointer-events: none;
    background: rgba(10, 17, 25, 0.92);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 20px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-grid,
  .story-layout,
  .founder-grid,
  .team-panel,
  .contact-grid,
  .service-detail-grid,
  .field-row,
  .portfolio-modal-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .device-wrap {
    width: 100%;
    height: 440px;
  }

  .laptop-screen {
    width: 88%;
    height: 360px;
  }

  .project-grid,
  .service-grid,
  .feature-grid,
  .footer-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .section-space {
    padding: 74px 0;
  }

  .section-space-top {
    padding-top: 90px;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    height: 40px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn,
  .project-actions .btn {
    width: 100%;
  }

  .device-wrap {
    height: 380px;
  }

  .laptop-screen {
    width: 100%;
    height: 310px;
  }

  .phone-screen {
    right: 8px;
    width: 148px;
  }

  .floating-card {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
