:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.095);
  --text: #f7f7f2;
  --muted: #a8aaa6;
  --soft: #d9ddd5;
  --line: rgba(255, 255, 255, 0.13);
  --aqua: #47c7d5;
  --aqua-soft: #8be6ed;
  --aqua-line: rgba(71, 199, 213, 0.34);
  --aqua-glow: rgba(71, 199, 213, 0.18);
  --accent: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --aqua-shadow: 0 18px 70px rgba(71, 199, 213, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(71, 199, 213, 0.16), transparent 30%),
    radial-gradient(circle at 12% 18%, rgba(139, 230, 237, 0.075), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 36%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(71, 199, 213, 0.14);
}

.brand,
.nav-links,
.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
}

.brand {
  width: 152px;
  min-width: 152px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.text-link,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--aqua-soft);
}

.nav-cta {
  border: 1px solid var(--aqua-line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  background: rgba(71, 199, 213, 0.08);
}

.section-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 60px 0 92px;
}

.eyebrow,
.section-kicker,
.project-category,
.package-label {
  margin: 0;
  color: var(--aqua-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #d9fbff 76%);
  color: #050505;
  box-shadow: 0 0 0 1px rgba(71, 199, 213, 0.18), var(--aqua-shadow);
}

.button-secondary {
  border: 1px solid var(--aqua-line);
  background: rgba(71, 199, 213, 0.07);
  color: var(--text);
}

.button-secondary:hover,
.nav-cta:hover {
  background: rgba(71, 199, 213, 0.12);
  border-color: rgba(139, 230, 237, 0.56);
}

.flicker-cta {
  position: relative;
  isolation: isolate;
  animation: cta-flicker 4.8s infinite;
}

.flicker-cta::after {
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  content: "";
  background: rgba(71, 199, 213, 0.28);
  filter: blur(12px);
  opacity: 0;
  animation: cta-glow-flicker 4.8s infinite;
}

.flicker-cta:hover {
  animation-play-state: paused;
}

.flicker-cta:hover::after {
  opacity: 0.48;
}

@keyframes cta-flicker {
  0%,
  62%,
  68%,
  72%,
  100% {
    box-shadow: 0 0 0 1px rgba(71, 199, 213, 0.18), var(--aqua-shadow);
  }

  64%,
  70% {
    box-shadow: 0 0 0 1px rgba(139, 230, 237, 0.54), 0 0 28px rgba(71, 199, 213, 0.28);
  }
}

@keyframes cta-glow-flicker {
  0%,
  61%,
  69%,
  73%,
  100% {
    opacity: 0;
  }

  64% {
    opacity: 0.38;
  }

  70% {
    opacity: 0.24;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flicker-cta,
  .flicker-cta::after {
    animation: none;
  }
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-metrics div {
  border-top: 1px solid var(--aqua-line);
  padding-top: 14px;
}

.hero-metrics dt {
  font-size: 22px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--aqua-line);
  border-radius: var(--radius);
  background: #0b0b0b;
  box-shadow: var(--shadow), 0 0 80px rgba(71, 199, 213, 0.08);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.76), transparent 38%),
    radial-gradient(circle at 72% 22%, rgba(71, 199, 213, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 55%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  z-index: 2;
  width: min(260px, calc(100% - 32px));
  border: 1px solid var(--aqua-line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(8, 18, 20, 0.72);
  box-shadow: var(--shadow), 0 0 34px rgba(71, 199, 213, 0.11);
  backdrop-filter: blur(16px);
}

.floating-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.floating-panel strong {
  font-size: 15px;
}

.panel-top {
  top: 20px;
  right: 20px;
}

.panel-bottom {
  bottom: 20px;
  left: 20px;
}

.problem,
.section-shell:not(.hero) {
  padding: 86px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 46px;
  align-items: end;
  margin-top: 18px;
}

.problem-grid p,
.section-heading + p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-top: 12px;
}

.split-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.services-grid,
.portfolio-grid,
.packages-grid {
  display: grid;
  gap: 16px;
}

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

.service-card,
.portfolio-card,
.package-card,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset;
}

.service-card:hover,
.portfolio-card:hover,
.faq details[open] {
  border-color: var(--aqua-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset, var(--aqua-shadow);
}

.service-card {
  min-height: 250px;
  padding: 22px;
}

.service-card-wide {
  grid-column: span 2;
}

.card-index {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--aqua-soft);
  font-size: 12px;
  font-weight: 800;
}

.service-card p,
.project-body p,
.package-card li,
.faq p {
  color: var(--muted);
  line-height: 1.6;
}

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

.portfolio-card {
  overflow: hidden;
}

.project-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(135deg, rgba(71, 199, 213, 0.34), rgba(255, 255, 255, 0.02)),
    #141414;
}

.project-thumb::before,
.project-thumb::after {
  position: absolute;
  content: "";
}

.project-thumb::before {
  inset: 18%;
  border: 1px solid rgba(139, 230, 237, 0.34);
  border-radius: var(--radius);
}

.project-thumb::after {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  right: 22px;
  bottom: 22px;
  background: linear-gradient(135deg, #ffffff, var(--aqua-soft));
  clip-path: polygon(35% 25%, 35% 75%, 78% 50%);
}

.video-thumb {
  cursor: pointer;
  color: var(--text);
  background: #090d0e;
}

.video-thumb::before {
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 54%),
    radial-gradient(circle at 72% 20%, rgba(71, 199, 213, 0.2), transparent 34%);
  z-index: 1;
}

.video-thumb::after {
  display: none;
}

.thumbnail-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.play-button {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(139, 230, 237, 0.62);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, var(--aqua-soft));
  box-shadow: 0 0 34px rgba(71, 199, 213, 0.26);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.play-button::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-block: 10px solid transparent;
  border-left: 15px solid #050505;
  content: "";
}

.video-thumb:hover .play-button,
.video-thumb:focus-visible .play-button {
  transform: scale(1.05);
  box-shadow: 0 0 44px rgba(71, 199, 213, 0.38);
}

.video-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  border: 1px solid var(--aqua-line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(5, 12, 14, 0.72);
  color: var(--aqua-soft);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.thumb-one { background-color: #101315; }
.thumb-two { background-color: #161616; background-image: linear-gradient(145deg, rgba(71, 199, 213, 0.22), transparent 62%); }
.thumb-three { background-color: #11100e; background-image: linear-gradient(45deg, rgba(139, 230, 237, 0.18), transparent 56%); }
.thumb-four { background-color: #151719; background-image: radial-gradient(circle at 25% 30%, rgba(71, 199, 213, 0.24), transparent 22%); }
.thumb-five { background-color: #101010; background-image: linear-gradient(120deg, rgba(139, 230, 237, 0.17), transparent 42%); }
.thumb-six { background-color: #141516; background-image: radial-gradient(circle at 68% 35%, rgba(71, 199, 213, 0.2), transparent 24%); }
.thumb-seven { background-color: #0f1718; background-image: linear-gradient(145deg, rgba(71, 199, 213, 0.22), transparent 58%); }
.thumb-eight { background-color: #121212; background-image: radial-gradient(circle at 24% 26%, rgba(139, 230, 237, 0.2), transparent 25%); }

.project-body {
  padding: 20px;
}

.project-category {
  margin-bottom: 10px;
  color: var(--muted);
}

.project-body a,
.project-link {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--aqua-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

.video-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  overflow: hidden;
  border: 1px solid var(--aqua-line);
  border-radius: var(--radius);
  background: #070909;
  box-shadow: var(--shadow), 0 0 80px rgba(71, 199, 213, 0.16);
}

.video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.video-frame {
  background: #000;
}

.video-frame video {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.video-meta h2 {
  margin: 0;
  font-size: 20px;
}

.video-meta a {
  color: var(--aqua-soft);
  font-size: 14px;
  font-weight: 800;
}

.packages-grid {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
}

.package-card {
  position: relative;
  padding: 28px;
}

.package-featured {
  border-color: var(--aqua-line);
  background:
    radial-gradient(circle at 88% 0%, rgba(71, 199, 213, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(71, 199, 213, 0.065)),
    var(--panel);
  box-shadow: var(--aqua-shadow);
}

.featured-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--aqua-line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--aqua-soft);
  font-size: 12px;
  font-weight: 800;
}

.price {
  max-width: 78%;
  margin: 12px 0 24px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.02;
}

.trial-price {
  display: grid;
  gap: 6px;
  margin: 12px 0 24px;
}

.was-price {
  width: fit-content;
  color: var(--muted);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-color: var(--aqua-soft);
  text-decoration-thickness: 2px;
}

.free-price {
  color: var(--text);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.02;
}

.package-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.package-note {
  max-width: 420px;
  margin: -10px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.package-card li {
  position: relative;
  padding-left: 24px;
}

.package-card li::before {
  position: absolute;
  left: 0;
  content: "\2713";
  color: var(--aqua-soft);
  font-weight: 800;
}

.workflow {
  border-block: 1px solid rgba(71, 199, 213, 0.18);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--aqua-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.workflow-steps div {
  min-height: 152px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(71, 199, 213, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
}

.workflow-steps div + div {
  border-left: 1px solid var(--line);
}

.workflow-steps span {
  display: block;
  margin-bottom: 50px;
  color: var(--aqua-soft);
  font-size: 12px;
  font-weight: 800;
}

.workflow-steps strong {
  font-size: 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 800;
}

.faq summary::marker {
  color: var(--aqua);
}

.faq p {
  margin-bottom: 22px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(71, 199, 213, 0.18);
}

.final-cta h2 {
  max-width: 760px;
  margin-top: 12px;
}

.final-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer img {
  width: 132px;
  height: auto;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .problem-grid,
  .packages-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 460px;
  }

  .hero-visual img {
    min-height: 460px;
  }

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

  .workflow-steps div + div {
    border-left: 0;
  }

  .workflow-steps div:nth-child(2),
  .workflow-steps div:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .workflow-steps div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    padding: 12px 0;
  }

  .brand {
    width: 118px;
    min-width: 118px;
  }

  .hero {
    gap: 28px;
    padding: 36px 0 58px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-subhead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .services-grid,
  .portfolio-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 390px;
  }

  .floating-panel {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 24px);
    margin: -88px auto 12px;
  }

  .panel-bottom {
    display: none;
  }

  .problem,
  .section-shell:not(.hero) {
    padding: 58px 0;
  }

  .service-card,
  .service-card-wide {
    grid-column: auto;
    min-height: auto;
  }

  .card-index {
    margin-bottom: 36px;
  }

  .split-heading {
    display: block;
  }

  .split-heading .text-link {
    display: inline-block;
    margin-top: 16px;
  }

  .featured-tag {
    position: static;
    display: inline-block;
    margin-bottom: 18px;
  }

  .price {
    max-width: 100%;
  }

  .workflow-steps div,
  .workflow-steps div:nth-child(2),
  .workflow-steps div:nth-child(4),
  .workflow-steps div:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .workflow-steps div:first-child {
    border-top: 0;
  }

  .site-footer {
    display: grid;
    gap: 10px;
  }
}
