:root {
  --bg: #071019;
  --bg-soft: #0d1825;
  --surface: rgba(10, 18, 28, 0.74);
  --surface-strong: rgba(10, 18, 28, 0.9);
  --surface-light: rgba(255, 255, 255, 0.05);
  --text: #eff5ff;
  --muted: #9cb0ca;
  --line: rgba(170, 194, 229, 0.14);
  --primary: #7ee0ff;
  --primary-strong: #59c3ff;
  --accent: #8a6cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 28px;
  --container: min(1240px, calc(100% - 2.5rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  font-family: Outfit, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(126, 224, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 40% at 80% 10%, rgba(138, 108, 255, 0.1), transparent 45%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(126, 224, 255, 0.06), transparent 40%),
    linear-gradient(180deg, #071019 0%, #09111c 100%);
  color: var(--text);
  line-height: 1.75;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 45%,
    rgba(126, 224, 255, 0.06) 50%,
    transparent 55%,
    transparent 100%
  );
  background-size: 100% 300%;
  animation: scan-line 6s linear infinite;
  pointer-events: none;
}

@keyframes scan-line {
  0% { background-position: 0 0; }
  100% { background-position: 0 300%; }
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
video {
  display: block;
  max-width: 100%;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 16, 25, 0.58), rgba(7, 16, 25, 0.92)),
    url("assets/bckgrd2.png") center / cover no-repeat;
  filter: saturate(0.95) contrast(1.02);
}

.page-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0, rgba(7, 16, 25, 0.3) 45%, rgba(7, 16, 25, 0.92) 100%),
    radial-gradient(circle at center, transparent 0, rgba(7, 16, 25, 0.2) 58%, rgba(7, 16, 25, 0.66) 100%);
  pointer-events: none;
}

.page-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 25, 0.62);
  border-bottom: 1px solid var(--line);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  box-shadow: 0 0 40px rgba(126, 224, 255, 0.03);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(126, 224, 255, 0.3),
    transparent
  );
  opacity: 0.6;
  animation: header-line 4s ease-in-out infinite;
}

@keyframes header-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: min(210px, 42vw);
  height: auto;
}

.site-header .brand-logo {
  width: min(120px, 28vw);
  padding: 0.65rem 1rem;
  filter: brightness(0) invert(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.primary-nav a:not(.button) {
  color: var(--muted);
}

.primary-nav a:not(.button):hover,
.primary-nav a:not(.button):focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #071019;
  font-weight: 700;
  box-shadow: 0 18px 50px rgba(89, 195, 255, 0.22);
  position: relative;
  overflow: hidden;
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.3s ease;
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
  opacity: 0.5;
  animation: btn-glow 2s ease-in-out infinite;
}

@keyframes btn-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.6; }
}

.button-secondary,
.button-ghost,
.button-nav {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover,
.button-nav:hover,
.button-secondary:focus-visible,
.button-ghost:focus-visible,
.button-nav:focus-visible {
  border-color: rgba(126, 224, 255, 0.32);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.lang-switch {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  gap: 0.15rem;
}

.lang-option {
  padding: 0.4rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.lang-option:hover {
  color: var(--text);
}

.lang-option.is-active {
  background: rgba(126, 224, 255, 0.18);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--text);
}

.hero {
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-orbs {
  position: absolute;
  top: 0;
  right: 0;
  width: min(50%, 420px);
  height: auto;
  opacity: 0.9;
  transform: translate3d(calc(var(--hero-shift-x, 0) * 18px), calc(var(--hero-shift-y, 0) * -18px), 0);
  transition: transform 220ms ease-out;
}

.orb {
  filter: drop-shadow(0 0 6px currentColor);
  animation: orb-float 3s ease-in-out infinite;
}

.orb-1 { animation-delay: 0s; }
.orb-2 { animation-delay: 0.5s; }
.orb-3 { animation-delay: 1s; }
.orb-4 { animation-delay: 1.5s; }
.orb-5 { animation-delay: 2s; }
.orb-6 { animation-delay: 2.5s; }

@keyframes orb-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  33% {
    transform: translate(10px, -12px) scale(1.15);
    opacity: 1;
  }
  66% {
    transform: translate(-4px, -6px) scale(1.05);
    opacity: 0.9;
  }
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  transform: translate3d(calc(var(--hero-shift-x, 0) * -10px), calc(var(--hero-shift-y, 0) * 8px), 0);
  transition: transform 260ms ease-out;
}

.hero-lines .line {
  stroke-dasharray: 4 8;
  animation: line-dash 2.5s linear infinite;
}

.hero-lines .line-2 { animation-delay: 0.4s; }
.hero-lines .line-3 { animation-delay: 0.8s; }

@keyframes line-dash {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -24; }
}

.hero-grid-svg {
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 40%;
  height: auto;
  opacity: 0.6;
  animation: grid-pulse 4s ease-in-out infinite;
  transform: translate3d(calc(var(--hero-shift-x, 0) * 10px), calc(var(--hero-shift-y, 0) * 14px), 0);
  transition: transform 280ms ease-out;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-showcase {
  transform: translate3d(calc(var(--hero-shift-x, 0) * 8px), calc(var(--hero-shift-y, 0) * -10px), 0);
  transition: transform 260ms ease-out;
}

.eyebrow {
  position: relative;
  margin: 0 0 1.25rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
  animation: eyebrow-pulse 2.5s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
  0%, 100% { opacity: 0.5; width: 2rem; }
  50% { opacity: 1; width: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  body::before,
  .site-header::after,
  .orb,
  .hero-grid-svg,
  .hero-orbs,
  .hero-lines,
  .hero-showcase,
  .hero-lines .line,
  .wave-path,
  .wave-delay,
  .wave-invert,
  .eyebrow::after,
  .chip,
  .service-tag,
  .stat-card,
  .button-primary::before,
  .hero-location::before,
  .cta-panel {
    animation: none !important;
  }

  .quick-link-card:hover .quick-link-icon,
  .quick-link-card:focus-visible .quick-link-icon {
    transform: none;
  }
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.85rem, 6vw, 5.4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.hero-text,
.section-copy,
.footer-copy,
.service-card p,
.process-step p,
.faq-list p,
.quick-link-card span {
  color: var(--muted);
}

.process-step p {
  line-height: 1.75;
}

.hero-text {
  max-width: 68ch;
  margin: 1.75rem 0 0;
  font-size: 1.12rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0 1.25rem;
}

.hero-location {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-location::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  vertical-align: middle;
  box-shadow: 0 0 8px var(--primary);
  animation: location-pulse 2s ease-in-out infinite;
}

@keyframes location-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--primary); opacity: 1; }
  50% { box-shadow: 0 0 16px var(--primary); opacity: 0.9; }
}

.hero-points {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.stat-card,
.service-card,
.quick-link-card,
.ai-idea-card,
.portfolio-thumb,
.process-step,
.cta-panel,
.faq-list details,
.video-card,
.showcase-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fx-panel {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transform:
    perspective(1200px)
    rotateX(var(--fx-rotate-x, 0deg))
    rotateY(var(--fx-rotate-y, 0deg))
    translate3d(0, var(--fx-lift, 0px), 0);
  transition:
    transform 180ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.fx-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      220px circle at var(--fx-pointer-x, 50%) var(--fx-pointer-y, 50%),
      rgba(126, 224, 255, 0.14),
      transparent 58%
    );
  opacity: var(--fx-glow, 0);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.fx-panel > * {
  position: relative;
  z-index: 1;
}

.fx-panel:hover,
.fx-panel:focus-visible {
  --fx-lift: -6px;
  --fx-glow: 1;
}

.stat-card:hover,
.service-card:hover {
  border-color: rgba(126, 224, 255, 0.2);
  box-shadow: var(--shadow), 0 0 30px rgba(126, 224, 255, 0.06);
}

.stat-card {
  padding: 1.25rem 1.35rem;
  animation: stat-pulse 6s ease-in-out infinite;
}

.stat-card:nth-child(2) { animation-delay: 1s; }
.stat-card:nth-child(3) { animation-delay: 2s; }

@keyframes stat-pulse {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: var(--shadow), 0 0 24px rgba(126, 224, 255, 0.04); }
}

.stat-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  display: grid;
  gap: 1.25rem;
}

.video-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover,
.video-card:focus-visible {
  border-color: rgba(126, 224, 255, 0.25);
  box-shadow: var(--shadow), 0 0 40px rgba(126, 224, 255, 0.08);
}

.video-card-copy {
  display: grid;
  gap: 0.5rem;
}

.video-card-copy strong {
  font-size: 1.05rem;
  color: #fff;
}

.video-logo {
  width: 140px;
  flex-shrink: 0;
}

.chip,
.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(126, 224, 255, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(126, 224, 255, 0.15);
  box-shadow: 0 0 20px rgba(126, 224, 255, 0.08);
  animation: chip-glow 4s ease-in-out infinite;
}

@keyframes chip-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(126, 224, 255, 0.08); }
  50% { box-shadow: 0 0 28px rgba(126, 224, 255, 0.15); }
}

.hero-showcase {
  position: relative;
  min-height: 560px;
}

.showcase-card {
  overflow: hidden;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card-main {
  height: 100%;
}

.showcase-card-main img {
  min-height: 560px;
}

.showcase-card-small {
  position: absolute;
  width: 220px;
  overflow: hidden;
}

.showcase-card-small span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 16, 25, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
}

.showcase-top {
  top: -1rem;
  right: -1rem;
  transform: rotate(3deg);
}

.showcase-bottom {
  left: -1rem;
  bottom: -1rem;
  transform: rotate(-4deg);
}

.section-wave {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.section-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.wave-path {
  animation: wave-pulse 4s ease-in-out infinite;
}

.wave-delay {
  animation-delay: -2s;
}

.wave-invert {
  animation: wave-pulse 3.5s ease-in-out infinite reverse;
}

@keyframes wave-pulse {
  0%, 100% { opacity: 0.85; filter: brightness(0.95); }
  50% { opacity: 1; filter: brightness(1.05); }
}

.section-wave-alt {
  margin-top: -1px;
}

.section-wave-alt svg {
  height: 60px;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.quick-links {
  padding-top: 0;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.quick-link-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.25rem 0.75rem;
  padding: 1.4rem 1.5rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.quick-link-icon {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: start;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.quick-link-icon svg {
  width: 100%;
  height: 100%;
}

.quick-link-card:hover .quick-link-icon,
.quick-link-card:focus-visible .quick-link-icon {
  transform: translateX(4px);
  opacity: 1;
}

.quick-link-card:hover,
.quick-link-card:focus-visible {
  border-color: rgba(126, 224, 255, 0.3);
  box-shadow: var(--shadow), 0 0 28px rgba(126, 224, 255, 0.08);
}

.quick-link-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.1rem;
}

.section-heading {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.section-heading-wide {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem 1.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--surface);
}

.service-card h3 {
  margin-top: 1.15rem;
}

.service-card p {
  margin: 1rem 0 0;
  line-height: 1.75;
}

.ai-ideas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.ai-idea-card {
  padding: 1.75rem 1.85rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--surface);
}

.ai-idea-card .chip {
  margin-bottom: 0.9rem;
}

.ai-idea-card h3 {
  margin: 0 0 0.75rem;
}

.ai-idea-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.ai-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ai-cta p {
  margin: 0;
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  grid-auto-rows: minmax(160px, 1fr);
}

.portfolio-thumb {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.portfolio-thumb:hover,
.portfolio-thumb:focus-visible,
.portfolio-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(126, 224, 255, 0.34);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  flex: 1;
}

.portfolio-thumb-copy {
  padding: 1.1rem 1.2rem 1.2rem;
  color: #fff;
}

.portfolio-thumb-copy .chip {
  color: #fff;
}

.portfolio-thumb-copy strong {
  display: block;
  margin-top: 0.4rem;
  color: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.5rem;
  align-items: start;
}

.section-copy {
  max-width: 68ch;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.process-steps {
  display: grid;
  gap: 1.25rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(126, 224, 255, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem 2.5rem;
  border-color: rgba(126, 224, 255, 0.12);
  box-shadow: var(--shadow), 0 0 50px rgba(126, 224, 255, 0.04);
  animation: cta-glow 8s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: var(--shadow), 0 0 50px rgba(126, 224, 255, 0.04); }
  50% { box-shadow: var(--shadow), 0 0 70px rgba(126, 224, 255, 0.08); }
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.faq-list {
  display: grid;
  gap: 1.25rem;
}

.faq-list details {
  padding: 1.5rem 1.75rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 1rem 0 0;
  line-height: 1.75;
}

.site-footer {
  padding: 3rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(7, 16, 25, 0.54);
}

.footer-shell,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  width: min(210px, 46vw);
}

.footer-copy {
  max-width: 48ch;
  margin: 1.25rem 0 0;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.footer-meta {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  background: rgba(2, 8, 15, 0.84);
  backdrop-filter: blur(16px);
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(100%, 1080px);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.modal-video {
  max-width: 920px;
}

.modal-image {
  max-width: 1100px;
  position: relative;
}

.modal-image img {
  display: block;
  width: 100%;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 16, 25, 0.74);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.modal-prev {
  left: 0.75rem;
}

.modal-next {
  right: 0.75rem;
}

.modal-nav:hover,
.modal-nav:focus-visible {
  background: rgba(126, 224, 255, 0.15);
  border-color: rgba(126, 224, 255, 0.4);
}

.modal-dialog video,
.modal-dialog img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #040a12;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 16, 25, 0.74);
  color: var(--text);
  cursor: pointer;
}

.modal-aux {
  max-width: 540px;
  padding: 2.5rem 2.75rem 2.75rem;
  overflow: visible;
  background: linear-gradient(165deg, rgba(7, 16, 25, 0.98) 0%, rgba(10, 22, 38, 0.96) 100%);
  border: 1px solid rgba(126, 224, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3) inset,
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(126, 224, 255, 0.08),
    0 0 120px rgba(138, 108, 255, 0.12);
  animation: aux-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes aux-pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.aux-content {
  padding: 0.5rem 0 0;
}

.aux-badge {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.75rem;
  line-height: 4rem;
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(126, 224, 255, 0.12), rgba(138, 108, 255, 0.12));
  border: 1px solid rgba(126, 224, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(126, 224, 255, 0.15);
  animation: aux-glow 2s ease-in-out infinite alternate;
}

@keyframes aux-glow {
  from {
    box-shadow: 0 0 24px rgba(126, 224, 255, 0.15);
  }
  to {
    box-shadow: 0 0 36px rgba(126, 224, 255, 0.25);
  }
}

.aux-title {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aux-text {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.aux-phrase-wrap {
  margin: 0;
}

.aux-phrase {
  display: block;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(126, 224, 255, 0.06), rgba(138, 108, 255, 0.06));
  border: 1px solid rgba(126, 224, 255, 0.25);
  border-radius: 12px;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  word-break: break-all;
  text-align: center;
  color: var(--primary);
  box-shadow: 0 0 20px rgba(126, 224, 255, 0.06);
}

@media (max-width: 980px) {
  .hero-orbs {
    width: 40%;
    opacity: 0.6;
  }

  .hero-grid-svg {
    width: 50%;
  }

  .hero-grid,
  .process-grid,
  .services-grid,
  .ai-ideas-grid,
  .quick-links-grid,
  .cta-panel,
  .ai-cta,
  .footer-shell,
  .footer-meta,
  .section-heading-wide {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 16, 25, 0.96);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .showcase-card-small {
    position: static;
    width: auto;
    transform: none;
  }

  .hero-showcase {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .showcase-card-main img {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 5rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  h1,
  h2 {
    max-width: none;
  }

  .brand-logo,
  .footer-logo {
    width: min(180px, 48vw);
  }

  .site-header .brand-logo {
    width: min(105px, 30vw);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .nav-actions {
    flex: 1;
    justify-content: flex-end;
  }

  .video-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-logo {
    width: min(160px, 50vw);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-nav {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.25rem;
  }

  .modal-aux {
    padding: 2rem 1.75rem 2rem;
  }

  .aux-badge {
    width: 3.25rem;
    height: 3.25rem;
    line-height: 3.25rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .aux-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .aux-text {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .aux-phrase {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
  }

  .section-heading-wide {
    gap: 1.25rem;
  }

  .section-heading-wide .button {
    width: 100%;
  }

  .cta-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .ai-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
