/* =========================================================
   Arrow Clear — Neon Circuit Path Landing
   Distinct layout: floating pill nav + left path rail +
   zig-zag feature path + diagonal download slash
   ========================================================= */

:root {
  --ac-bg: #050d1f;
  --ac-bg-2: #0a1a36;
  --ac-surface: rgba(12, 28, 56, 0.72);
  --ac-cyan: #5ce1ff;
  --ac-cyan-deep: #1a8cff;
  --ac-gold: #ffb020;
  --ac-gold-hot: #ff8a00;
  --ac-text: #eef6ff;
  --ac-muted: #9bb0c9;
  --ac-line: rgba(92, 225, 255, 0.28);
  --ac-glow-cyan: 0 0 24px rgba(92, 225, 255, 0.45);
  --ac-glow-gold: 0 0 24px rgba(255, 176, 32, 0.4);
  --ac-font-display: "Exo 2", system-ui, sans-serif;
  --ac-font-body: "Nunito", system-ui, sans-serif;
  --ac-radius: 18px;
  --ac-nav-h: 72px;
  --ac-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ac-font-body);
  background: var(--ac-bg);
  color: var(--ac-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

.ac-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ac-cyan);
  color: #041018;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.ac-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Stage backdrop ---------- */
.ac-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ac-stage__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(58deg) scale(1.4);
  transform-origin: center top;
  opacity: 0.55;
}

.ac-stage__glow {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.ac-stage__glow--cyan {
  top: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(26, 140, 255, 0.7), transparent 70%);
}

.ac-stage__glow--gold {
  bottom: 5%;
  left: -12%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.45), transparent 70%);
}

.ac-stage__ring {
  position: absolute;
  top: 18%;
  left: 50%;
  width: min(720px, 80vw);
  height: min(720px, 80vw);
  transform: translateX(-50%);
  border: 1px solid rgba(92, 225, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(92, 225, 255, 0.06);
}

.ac-stage__arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.ac-float-arrow {
  animation: ac-drift 9s var(--ac-ease) infinite;
}

.ac-float-arrow--2 { animation-delay: -2s; animation-duration: 11s; }
.ac-float-arrow--3 { animation-delay: -4s; animation-duration: 10s; }
.ac-float-arrow--4 { animation-delay: -1s; animation-duration: 8s; }

@keyframes ac-drift {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-18px); opacity: 0.85; }
}

/* ---------- Floating pill nav ---------- */
.ac-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(960px, calc(100% - 1.5rem));
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  background: rgba(6, 16, 36, 0.78);
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), var(--ac-glow-cyan);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ac-nav.is-scrolled {
  border-color: rgba(255, 176, 32, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), var(--ac-glow-gold);
}

.ac-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ac-nav__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--ac-glow-cyan);
}

.ac-nav__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #041018;
  background: linear-gradient(135deg, var(--ac-cyan), var(--ac-cyan-deep));
  box-shadow: var(--ac-glow-cyan);
}

.ac-nav__name {
  font-family: var(--ac-font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.ac-nav__links {
  display: none;
  gap: 1.1rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ac-muted);
}

.ac-nav__links a {
  position: relative;
  transition: color 0.2s;
}

.ac-nav__links a:hover,
.ac-nav__links a:focus-visible {
  color: var(--ac-cyan);
}

.ac-nav__cta {
  display: none;
}

.ac-burger {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ac-line);
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 0;
}

.ac-burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ac-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.ac-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.ac-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.ac-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.ac-drawer {
  position: fixed;
  top: calc(1rem + 58px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  width: min(960px, calc(100% - 1.5rem));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(6, 16, 36, 0.95);
  border: 1px solid var(--ac-line);
  border-radius: 20px;
  backdrop-filter: blur(16px);
}

.ac-drawer[hidden] {
  display: none !important;
}

.ac-drawer a {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ac-muted);
  transition: background 0.2s, color 0.2s;
}

.ac-drawer a:hover {
  background: rgba(92, 225, 255, 0.08);
  color: var(--ac-cyan);
}

/* ---------- Left path rail (desktop) ---------- */
.ac-rail {
  display: none;
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.ac-rail__line {
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--ac-cyan), var(--ac-gold), transparent);
  opacity: 0.5;
  z-index: -1;
}

.ac-rail__node {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ac-line);
  background: rgba(5, 13, 31, 0.9);
  display: grid;
  place-items: center;
  font-family: var(--ac-font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ac-muted);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ac-rail__node.is-active,
.ac-rail__node:hover {
  color: #041018;
  border-color: var(--ac-cyan);
  background: var(--ac-cyan);
  box-shadow: var(--ac-glow-cyan);
}

/* ---------- Buttons ---------- */
.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s var(--ac-ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

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

.ac-btn:focus-visible {
  outline: 2px solid var(--ac-cyan);
  outline-offset: 3px;
}

.ac-btn--cyan {
  background: linear-gradient(135deg, var(--ac-cyan), var(--ac-cyan-deep));
  color: #041018;
  box-shadow: var(--ac-glow-cyan);
}

.ac-btn--cyan:hover {
  box-shadow: 0 0 32px rgba(92, 225, 255, 0.65);
}

.ac-btn--block {
  width: 100%;
  margin-top: 0.5rem;
}

.ac-btn--store {
  min-width: 168px;
  padding: 0.65rem 1.1rem;
  border-radius: 14px;
  background: rgba(8, 20, 42, 0.9);
  border: 1px solid var(--ac-cyan);
  box-shadow: var(--ac-glow-cyan);
  text-align: left;
  gap: 0.65rem;
}

.ac-btn--store span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--ac-font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.ac-btn--store small {
  font-family: var(--ac-font-body);
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.75;
}

.ac-btn--store:hover {
  background: rgba(26, 140, 255, 0.18);
}

.ac-btn--store-gold {
  border-color: var(--ac-gold);
  box-shadow: var(--ac-glow-gold);
}

.ac-btn--store-gold:hover {
  background: rgba(255, 176, 32, 0.14);
}

.ac-btn svg,
.ac-btn i {
  width: 20px;
  height: 20px;
}

/* ---------- Main ---------- */
main {
  position: relative;
  z-index: 1;
}

.ac-eyebrow {
  display: inline-block;
  font-family: var(--ac-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac-cyan);
  margin-bottom: 0.65rem;
}

.ac-section-head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.ac-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ac-section-head h2,
.ac-shots__copy h2,
.ac-download__inner h2 {
  font-family: var(--ac-font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ac-section-head__sub,
.ac-shots__copy > p,
.ac-download__inner > p {
  margin-top: 0.75rem;
  color: var(--ac-muted);
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.ac-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--ac-nav-h) + 1.5rem) 1.25rem 3.5rem;
}

.ac-hero__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.ac-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.ac-hero__visual {
  position: relative;
  z-index: 1;
  justify-self: stretch;
}

.ac-hero__banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(92, 225, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 176, 32, 0.12),
    0 0 36px rgba(92, 225, 255, 0.28),
    0 24px 48px rgba(0, 0, 0, 0.4);
  background: rgba(8, 18, 40, 0.6);
  transform: rotate(-1.5deg);
  transition: transform 0.3s var(--ac-ease), box-shadow 0.3s;
}

.ac-hero__banner:hover {
  transform: rotate(0deg);
  box-shadow:
    0 0 0 1px rgba(255, 176, 32, 0.2),
    0 0 48px rgba(92, 225, 255, 0.4),
    0 28px 56px rgba(0, 0, 0, 0.45);
}

.ac-hero__banner::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(92, 225, 255, 0.35), transparent 40%, rgba(255, 176, 32, 0.25));
  opacity: 0.6;
  mix-blend-mode: screen;
  z-index: 1;
}

.ac-hero__banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
  display: block;
}

.ac-hero__brand {
  font-family: var(--ac-font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #7ee9ff 0%, #1a8cff 48%, #0d4f9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(92, 225, 255, 0.45));
  margin-bottom: 0.85rem;
}

.ac-hero__title {
  font-family: var(--ac-font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.ac-hero__title-accent {
  background: linear-gradient(90deg, var(--ac-gold), var(--ac-gold-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 176, 32, 0.35));
}

.ac-hero__sub {
  color: var(--ac-muted);
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.ac-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ac-hero__scroll {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ac-muted);
  animation: ac-bounce 2.2s ease-in-out infinite;
}

@keyframes ac-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- Features zig-zag ---------- */
.ac-features {
  padding: 5rem 1.25rem 4rem;
  max-width: 980px;
  margin: 0 auto;
}

.ac-zig {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ac-zig__path {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 80px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.ac-zig__step {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.ac-zig__num {
  font-family: var(--ac-font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(92, 225, 255, 0.18);
}

.ac-zig__body {
  padding: 1.35rem 1.4rem;
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transition: border-color 0.25s, box-shadow 0.25s;
}

.ac-zig__body:hover {
  border-color: rgba(92, 225, 255, 0.55);
  box-shadow: var(--ac-glow-cyan);
}

.ac-zig__step--right .ac-zig__body {
  border-color: rgba(255, 176, 32, 0.28);
}

.ac-zig__step--right .ac-zig__body:hover {
  border-color: rgba(255, 176, 32, 0.6);
  box-shadow: var(--ac-glow-gold);
}

.ac-zig__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  color: #041018;
  background: linear-gradient(135deg, var(--ac-cyan), var(--ac-cyan-deep));
  box-shadow: var(--ac-glow-cyan);
}

.ac-zig__icon--gold {
  background: linear-gradient(135deg, var(--ac-gold), var(--ac-gold-hot));
  box-shadow: var(--ac-glow-gold);
}

.ac-zig__icon svg {
  width: 22px;
  height: 22px;
}

.ac-zig__body h3 {
  font-family: var(--ac-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.ac-zig__body p {
  color: var(--ac-muted);
  font-size: 0.98rem;
}

/* ---------- Solving path stepper ---------- */
.ac-path {
  padding: 2rem 1.25rem 4rem;
}

.ac-path__panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 2rem;
  background: linear-gradient(160deg, rgba(14, 34, 68, 0.9), rgba(8, 18, 40, 0.95));
  border: 1px solid var(--ac-line);
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.08), var(--ac-glow-cyan);
}

.ac-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  margin: 0.5rem 0 1.5rem;
}

.ac-steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(5, 13, 31, 0.45);
  border: 1px solid transparent;
}

.ac-steps__dot {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ac-font-display);
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(92, 225, 255, 0.12);
  border: 1px solid var(--ac-line);
  color: var(--ac-muted);
}

.ac-steps__dot svg {
  width: 16px;
  height: 16px;
}

.ac-steps__item strong {
  font-family: var(--ac-font-display);
  font-size: 1rem;
}

.ac-steps__item > span:last-child {
  color: var(--ac-muted);
  font-size: 0.88rem;
}

.ac-steps__item.is-done .ac-steps__dot {
  background: var(--ac-cyan-deep);
  border-color: var(--ac-cyan);
  color: #fff;
}

.ac-steps__item.is-active {
  border-color: rgba(255, 176, 32, 0.55);
  box-shadow: var(--ac-glow-gold);
}

.ac-steps__item.is-active .ac-steps__dot {
  background: linear-gradient(135deg, var(--ac-gold), var(--ac-gold-hot));
  border-color: transparent;
  color: #1a1000;
  box-shadow: var(--ac-glow-gold);
}

.ac-path__note {
  text-align: center;
  color: var(--ac-muted);
  font-size: 0.98rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* ---------- Screenshots ---------- */
.ac-shots {
  padding: 4rem 1.25rem 5.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ac-shots__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.ac-shots__bullets {
  list-style: none;
  margin-top: 1.35rem;
  display: grid;
  gap: 0.7rem;
}

.ac-shots__bullets li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--ac-text);
}

.ac-shots__bullets svg {
  width: 18px;
  height: 18px;
  color: var(--ac-cyan);
  flex-shrink: 0;
}

.ac-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.ac-thumbs__btn {
  width: 52px;
  height: 88px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  background: #000;
}

.ac-thumbs__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-thumbs__btn:hover,
.ac-thumbs__btn:focus-visible {
  opacity: 0.9;
  outline: none;
}

.ac-thumbs__btn.is-active {
  opacity: 1;
  border-color: var(--ac-cyan);
  box-shadow: var(--ac-glow-cyan);
}

.ac-shots__phone {
  display: flex;
  justify-content: center;
}

.ac-phone {
  position: relative;
  width: min(280px, 72vw);
}

.ac-phone__frame {
  position: relative;
  z-index: 1;
  border-radius: 32px;
  overflow: hidden;
  border: 2px solid rgba(92, 225, 255, 0.55);
  box-shadow:
    0 0 0 6px rgba(5, 13, 31, 0.85),
    0 0 40px rgba(92, 225, 255, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.45);
  background: #000;
  aspect-ratio: 9 / 16;
}

.ac-phone__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.ac-phone__frame img.is-fading {
  opacity: 0.35;
}

.ac-phone__orbit {
  position: absolute;
  inset: -18%;
  border: 1px dashed rgba(255, 176, 32, 0.35);
  border-radius: 50%;
  animation: ac-spin 28s linear infinite;
}

.ac-phone__orbit::before,
.ac-phone__orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ac-cyan);
  box-shadow: var(--ac-glow-cyan);
}

.ac-phone__orbit::before { top: 12%; left: 50%; }
.ac-phone__orbit::after {
  bottom: 18%;
  right: 10%;
  background: var(--ac-gold);
  box-shadow: var(--ac-glow-gold);
}

.ac-phone__controls {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -1.1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}

.ac-phone__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 20, 42, 0.95);
  border: 1px solid var(--ac-line);
  color: var(--ac-cyan);
  box-shadow: var(--ac-glow-cyan);
  transition: background 0.2s, border-color 0.2s;
}

.ac-phone__nav:hover {
  background: rgba(26, 140, 255, 0.25);
  border-color: var(--ac-cyan);
}

.ac-phone__nav svg {
  width: 20px;
  height: 20px;
}

.ac-footer__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--ac-glow-cyan);
}

@keyframes ac-spin {
  to { transform: rotate(360deg); }
}

/* ---------- FAQ ---------- */
.ac-faq {
  padding: 3rem 1.25rem 4rem;
  max-width: 760px;
  margin: 0 auto;
}

.ac-faq__list {
  display: grid;
  gap: 0.75rem;
}

.ac-faq__item {
  background: var(--ac-surface);
  border: 1px solid var(--ac-line);
  border-radius: 16px;
  padding: 0.35rem 1.1rem;
  transition: border-color 0.2s;
}

.ac-faq__item[open] {
  border-color: rgba(92, 225, 255, 0.45);
}

.ac-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  font-family: var(--ac-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ac-faq__item summary::-webkit-details-marker {
  display: none;
}

.ac-faq__item summary::after {
  content: "+";
  color: var(--ac-cyan);
  font-size: 1.35rem;
  font-weight: 500;
}

.ac-faq__item[open] summary::after {
  content: "–";
}

.ac-faq__item p {
  color: var(--ac-muted);
  padding-bottom: 1rem;
  font-size: 0.98rem;
}

/* ---------- Download diagonal ---------- */
.ac-download {
  position: relative;
  padding: 5rem 1.25rem;
  overflow: hidden;
}

.ac-download__slash {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(26, 140, 255, 0.18) 0%, transparent 42%, rgba(255, 138, 0, 0.16) 100%);
  clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%);
}

.ac-download__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ac-download__inner .ac-hero__ctas {
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------- Footer ---------- */
.ac-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--ac-line);
  padding: 2rem 1.25rem 2.5rem;
  background: rgba(3, 8, 18, 0.85);
}

.ac-footer__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.ac-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ac-font-display);
  font-weight: 800;
}

.ac-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.35rem;
  font-weight: 600;
  color: var(--ac-muted);
}

.ac-footer__links a {
  transition: color 0.2s;
}

.ac-footer__links a:hover {
  color: var(--ac-cyan);
}

.ac-footer__copy {
  font-size: 0.85rem;
  color: rgba(155, 176, 201, 0.75);
}

/* ---------- Modal ---------- */
.ac-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.ac-modal[hidden] {
  display: none !important;
}

.ac-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 16, 0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.ac-modal__card {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(160deg, #0e2244, #081228);
  border: 1px solid var(--ac-line);
  border-radius: 22px;
  box-shadow: var(--ac-glow-cyan);
}

.ac-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ac-muted);
  transition: color 0.2s, background 0.2s;
}

.ac-modal__close:hover {
  color: var(--ac-text);
  background: rgba(255, 255, 255, 0.06);
}

.ac-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ac-cyan), var(--ac-cyan-deep));
  color: #041018;
  box-shadow: var(--ac-glow-cyan);
}

.ac-modal__icon svg {
  width: 26px;
  height: 26px;
}

.ac-modal__card h3 {
  font-family: var(--ac-font-display);
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.ac-modal__card p {
  color: var(--ac-muted);
  margin-bottom: 1.25rem;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .ac-nav__links {
    display: flex;
  }

  .ac-nav__cta {
    display: inline-flex;
  }

  .ac-burger {
    display: none;
  }

  .ac-hero {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .ac-hero__inner {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
  }

  .ac-hero__scroll {
    display: flex;
  }

  .ac-features {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .ac-zig__path {
    display: block;
  }

  .ac-zig__step {
    width: calc(50% - 2rem);
  }

  .ac-zig__step--left {
    align-self: flex-start;
    margin-right: auto;
  }

  .ac-zig__step--right {
    align-self: flex-end;
    margin-left: auto;
    text-align: right;
  }

  .ac-zig__step--right .ac-zig__body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .ac-zig__step--right .ac-zig__icon {
    margin-left: auto;
  }

  .ac-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }

  .ac-steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--ac-cyan), var(--ac-gold));
    opacity: 0.45;
    z-index: 0;
  }

  .ac-steps__item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    background: transparent;
    border: none;
    padding: 0.5rem;
    position: relative;
    z-index: 1;
  }

  .ac-steps__item.is-active {
    box-shadow: none;
  }

  .ac-steps__dot {
    grid-row: auto;
    margin-bottom: 0.5rem;
  }

  .ac-shots__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .ac-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
  }

  .ac-footer__links {
    justify-content: center;
  }

  .ac-footer__copy {
    text-align: right;
  }
}

@media (min-width: 1100px) {
  .ac-rail {
    display: flex;
  }

  .ac-hero,
  .ac-features,
  .ac-path,
  .ac-shots,
  .ac-faq,
  .ac-download {
    padding-left: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ac-float-arrow,
  .ac-phone__orbit,
  .ac-hero__scroll {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
