:root {
  --bg: #04050a;
  --bg-soft: #101522;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --primary: #0c2ecd;
  --primary-soft: #182bff;
  --light: #f5f7ff;
  --dark: #090d18;
  --card: #121a2e;
  --shadow: rgba(12, 46, 205, 0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  background: var(--bg);
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.section-dark {
  background: var(--bg);
  color: var(--text);
}

.section-light {
  background: #f5f5f5;
  color: var(--dark);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: rgba(4, 5, 10, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 0;
  margin-left: 10px;
}

.brand-logo {
  display: block;
  width: clamp(110px, 12vw, 150px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(12, 46, 205, 0.12));
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: clamp(1.5rem, 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  text-transform: none;
  transform: translateY(-1px);
}

.brand-blue {
  color: #2d5bff;
}

.brand-white {
  color: #ffffff;
}

.brand-dot {
  color: #2d5bff;
  margin-left: 1px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

.footer-logo {
  width: clamp(90px, 9vw, 120px);
  max-height: 42px;
}

.footer-wordmark {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 22px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.button.primary {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  box-shadow: 0 18px 30px rgba(12, 46, 205, 0.25);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.cta-button,
.big-button,
.footer-button {
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(28, 81, 255, 0.22), transparent 26%),
    radial-gradient(circle at 80% 30%, rgba(66, 105, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #04050a 0%, #0b1120 45%, #0d1630 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.65;
}

.orb-one {
  width: 360px;
  height: 360px;
  right: 8%;
  top: 18%;
  background: rgba(35, 85, 255, 0.25);
}

.orb-two {
  width: 250px;
  height: 250px;
  left: 10%;
  bottom: 12%;
  background: rgba(130, 120, 255, 0.12);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

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

.hero-label {
  margin-bottom: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(166, 188, 255, 0.9);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-copy h1 span {
  color: #8aa6ff;
}

.hero-summary {
  margin-top: 22px;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.big-button {
  padding-inline: 26px;
  padding-block: 18px;
  font-size: 0.8rem;
}

.ghost-button {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.02);
}

.hero-list li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.2rem;
}

.hero-panel {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19, 25, 39, 0.96), rgba(15, 20, 31, 0.86));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 35px 70px rgba(5, 9, 18, 0.55);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(62, 98, 255, 0.18);
  border: 1px solid rgba(144, 165, 255, 0.28);
  color: #dfe8ff;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.mini-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ef0cc, #0c2ecd);
  box-shadow: 0 0 18px rgba(52, 224, 191, 0.8);
}

.panel-figure {
  padding: 10px 0 22px;
}

.big-metric {
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  color: #fff;
}

.metric-sub {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panel-grid div {
  padding: 14px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.panel-grid strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 8px;
}

.panel-grid span {
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

.panel-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 110px;
  margin-top: 24px;
  padding-top: 18px;
}

.panel-chart span {
  display: inline-block;
  width: 18%;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #8aa6ff 0%, #0c2ecd 100%);
}

.panel-chart span:nth-child(1) { height: 35%; }
.panel-chart span:nth-child(2) { height: 58%; }
.panel-chart span:nth-child(3) { height: 75%; }
.panel-chart span:nth-child(4) { height: 92%; }
.panel-chart span:nth-child(5) { height: 100%; }

.marquee-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(90deg, var(--primary) 0%, #1647ff 100%);
  padding: 18px 0;
}

.light-band {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  gap: 30px;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.marquee-track.reverse {
  animation-name: marqueeReverse;
  color: var(--dark);
}

.marquee-track span {
  font-size: clamp(0.95rem, 1.7vw, 1.8rem);
}

.marquee-track span::after {
  content: "*";
  margin-left: 18px;
  color: rgba(255,255,255,0.4);
}

.light-band .marquee-track span::after {
  content: "/";
  color: var(--primary);
}

.about,
.services,
.clients,
.instagram,
.site-footer {
  position: relative;
  overflow: hidden;
}

.about {
  padding: 110px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800;
}

.eyebrow.dark {
  color: rgba(0, 0, 0, 0.42);
}

.eyebrow.accent {
  color: var(--primary);
}

.about-copy h2,
.section-head h2,
.clients-copy h2,
.site-footer h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  font-weight: 900;
}

.about-copy h2 span,
.clients-copy h2 span,
.services-head h2 span {
  color: var(--primary);
}

.about-copy p:last-child {
  margin-top: 22px;
  max-width: 550px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.68);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 170px;
  padding: 24px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-card strong {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--primary);
}

.stat-card span {
  margin-top: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.work {
  padding: 100px 0;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
}

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

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  min-height: 300px;
  padding: 28px 26px;
  border: 4px solid #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

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

.case-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.case-primary {
  background: linear-gradient(135deg, #0c2ecd, #2549ff);
  color: #fff;
}

.case-dark {
  background: #0b0d15;
  color: #fff;
}

.case-accent {
  background: linear-gradient(135deg, #f5d1c9, #e7bfec);
  color: #111827;
}

.case-plain {
  background: #f0f4ff;
  color: #111827;
}

.case-meta {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.8;
}

.inline-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.inline-link.muted {
  opacity: 0.75;
}

.services {
  padding: 110px 0;
}

.services-head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.service-card {
  position: relative;
  min-height: 245px;
  padding: 24px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.service-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,46,205,0.18), rgba(12,46,205,1));
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.service-card:hover .overlay {
  transform: translateY(0);
}

.service-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-no {
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  font-weight: 900;
}

.service-arrow {
  color: rgba(255,255,255,0.38);
  font-size: 2rem;
}

.service-card:hover .service-no,
.service-card:hover .service-arrow,
.service-card:hover .service-title,
.service-card:hover .service-desc {
  color: #fff;
}

.service-title {
  margin-top: 30px;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.service-desc {
  margin-top: 14px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.54);
}

.instagram {
  padding: 100px 0;
  background: #f3f6ff;
}

.insta-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.insta-link {
  color: #0d1e73;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.instagram-post {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(135deg, #dfe7ff, #f7d9ff);
}

.instagram-post::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.18));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.instagram-post:hover::before {
  opacity: 1;
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clients {
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at left center, rgba(12,46,205,0.12), transparent 28%),
    linear-gradient(180deg, #050812 0%, #090d18 100%);
}

.clients-topline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.48);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.clients-topline .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
}

.clients-layout {
  display: flex;
  justify-content: space-between;
  gap: 52px;
  align-items: flex-start;
}

.clients-copy {
  flex: 0 0 38%;
  padding-top: 8px;
}

.clients-copy p {
  margin-top: 22px;
  max-width: 420px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.64);
}

.mini-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.mini-stats > div {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 10px;
}

.mini-label::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--primary);
  display: inline-block;
}

.mini-stats strong {
  font-size: clamp(2.4rem, 3vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
}

.mini-stats small {
  margin-top: 6px;
  color: rgba(255,255,255,0.36);
  font-size: 0.72rem;
}

.brand-columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 40px;
  padding-top: 16px;
}

.brand-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 90px;
  padding: 18px 16px 14px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s ease;
}

.brand-item:hover {
  border-color: rgba(140, 166, 255, 0.25);
  background: rgba(13, 29, 75, 0.36);
  transform: translateY(-2px);
}

.brand-item span {
  font-size: clamp(1rem, 1.8vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.36);
  transition: color 0.2s ease;
}

.brand-item:hover span {
  color: #fff;
}

.brand-item .rule {
  width: 26px;
  height: 2px;
  transition: width 0.25s ease;
  border-radius: 999px;
  opacity: 0.9;
}

.brand-item:hover .rule {
  width: 100%;
}

.site-footer {
  background: #03060d;
  padding-top: 80px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.footer-inner h2 {
  margin: 0;
}

.footer-inner h2 span {
  color: var(--primary);
}

.footer-button {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-top: 72px;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 34px;
  padding-bottom: 16px;
}

.brand-block p {
  margin: 16px 0 12px;
  color: rgba(255,255,255,0.42);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-block a {
  font-weight: 700;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.footer-links a {
  display: block;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 18px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.72);
  font-weight: 800;
}

.social-row a:hover,
.social-row a:focus-visible {
  border-color: var(--primary);
  background: rgba(12,46,205,0.18);
  color: #fff;
}

.footer-meta {
  padding-bottom: 18px;
}

.footer-meta a {
  color: rgba(255,255,255,0.35);
  font-size: 0.74rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.38);
  font-size: 0.75rem;
}

.scroll-top {
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 8px 14px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .clients-layout,
  .case-grid,
  .services-grid,
  .footer-content {
    grid-template-columns: 1fr;
    display: grid;
  }

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

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

  .topbar {
    padding: 14px 18px;
  }
}

@media (max-width: 640px) {
  .desktop-only {
    display: none;
  }

  .container {
    width: min(100% - 24px, 1220px);
  }

  .topbar {
    padding-inline: 14px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 18vw, 4.5rem);
  }

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

  .big-button,
  .button {
    width: auto;
  }

  .stats-grid,
  .services-grid,
  .brand-columns,
  .instagram-grid,
  .mini-stats,
  .footer-links,
  .case-grid {
    grid-template-columns: 1fr;
  }

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

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