:root {
  --bg: #070b14;
  --bg2: #0b1020;
  --text: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);
  --glass: rgba(255,255,255,.08);
  --glass-strong: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 28px;
  --radius-lg: 36px;
  --accent: #8ad4ff;
  --accent2: #9b8cff;
  --accent3: #6fffb7;
  --scroll-y: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(138,212,255,.16), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(155,140,255,.14), transparent 20%),
    linear-gradient(180deg, #050810 0%, #090d17 48%, #06080f 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.bg-orb {
  position: fixed;
  inset: auto;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, calc(var(--scroll-y) * .08px), 0);
}

.orb-1 {
  top: -12rem;
  left: -10rem;
  background: rgba(138,212,255,.16);
}

.orb-2 {
  top: 10rem;
  right: -14rem;
  background: rgba(155,140,255,.14);
  transform: translate3d(0, calc(var(--scroll-y) * .12px), 0);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  z-index: 0;
}

.topbar,
main {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(138,212,255,.92), rgba(155,140,255,.88));
  color: #06101c;
  box-shadow: 0 12px 30px rgba(138,212,255,.22);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  transition: .25s ease;
}

.nav a:hover {
  color: var(--text);
}

.hero,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 24px 0;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 32px;
  padding-top: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.78);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.4), transparent);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: .92;
  letter-spacing: -.08em;
  max-width: 10ch;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -.03em;
}

p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.hero-copy > p {
  max-width: 52ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -.02em;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

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

.primary {
  color: #07111b;
  background: linear-gradient(135deg, rgba(138,212,255,1), rgba(155,140,255,1));
  box-shadow: 0 16px 40px rgba(138,212,255,.2);
}

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

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}

.stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  font-size: .92rem;
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 18px;
}

.mock-screen {
  border-radius: 28px;
  overflow: hidden;
  min-height: 540px;
  background:
    radial-gradient(circle at top, rgba(138,212,255,.22), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
}

.mock-top {
  display: flex;
  gap: 8px;
  padding: 18px;
}

.mock-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}

.mock-content {
  padding: 28px;
}

.mock-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .86rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 18px;
}

.mock-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.05em;
  margin-bottom: 18px;
}

.mock-line {
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  margin-bottom: 12px;
}

.mock-line.short {
  width: 54%;
}

.mock-line.long {
  width: 86%;
}

.mock-panel {
  margin-top: 28px;
  height: 310px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(138,212,255,.18), rgba(155,140,255,.12)),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.1);
}

.section {
  padding-top: 54px;
  margin-bottom: 10px;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.about-grid,
.service-grid,
.portfolio-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.card,
.service,
.project,
.contact-item {
  border-radius: var(--radius);
}

.card {
  padding: 24px;
}

.card p,
.service p,
.project p {
  margin-bottom: 0;
}

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

.service {
  padding: 24px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(138,212,255,.18), rgba(155,140,255,.16));
  border: 1px solid rgba(255,255,255,.08);
}

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

.project {
  overflow: hidden;
}

.shot {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.shot {
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.project:hover .shot img {
  transform: scale(1.06);
}

.shot-1 {
  background-image:
    linear-gradient(135deg, rgba(138,212,255,.36), rgba(255,255,255,.08)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.6), transparent 24%),
    linear-gradient(180deg, #12243d, #0d1220);
}

.shot-2 {
  background-image:
    linear-gradient(135deg, rgba(155,140,255,.36), rgba(255,255,255,.08)),
    radial-gradient(circle at 72% 24%, rgba(255,255,255,.6), transparent 24%),
    linear-gradient(180deg, #1b1732, #0d1220);
}

.shot-3 {
  background-image:
    linear-gradient(135deg, rgba(111,255,183,.26), rgba(255,255,255,.08)),
    radial-gradient(circle at 50% 24%, rgba(255,255,255,.6), transparent 24%),
    linear-gradient(180deg, #102a22, #0d1220);
}

.project-body {
  padding: 18px 18px 22px;
}

.cta {
  padding: 28px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 64px;
}

.contact-item {
  padding: 22px;
  display: grid;
  gap: 10px;
  transition: transform .25s ease, border-color .25s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.18);
}

.contact-label {
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .78rem;
}

.contact-item strong {
  font-size: 1.02rem;
  letter-spacing: -.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

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

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .service-grid,
  .portfolio-grid,
  .contact-grid,
  .mini-stats,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

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

  .nav {
    justify-content: flex-start;
  }

  .mock-screen {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .card,
  .service,
  .project-body,
  .cta {
    padding: 18px;
  }
}
