/* AIDA marketing site — Picca layout, teal AIDA palette */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: Inter, 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0b0c0f;
  color: #d4d8e0;
  line-height: 1.7;
  overflow-x: hidden;
  color-scheme: dark;
}
a { color: #3ee0c5; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid #3ee0c5; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: #3ee0c5; color: #0b0c0f; padding: 0.6rem 1rem;
  border-radius: 8px; z-index: 200; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(62,224,197,0.12); }
  50%      { box-shadow: 0 0 60px rgba(62,224,197,0.28); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.anim {
  opacity: 1;
  transform: none;
}
html.js .anim:not(.visible) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.anim.slide-left  { transform: translateX(-40px); }
.anim.slide-right { transform: translateX(40px); }
.anim.visible { opacity: 1; transform: none; }

/* ── Nav ──────────────────────────────────────── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,12,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
nav.site-nav .inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.25rem;
  gap: 0.8rem;
  position: relative;
}
nav.site-nav .brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 1.2rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
nav.site-nav .brand:hover { text-decoration: none; }
nav.site-nav .brand img { width: 36px; height: 36px; border-radius: 10px; }
nav.site-nav ul {
  list-style: none; display: flex; align-items: center;
  gap: 1.15rem; flex-wrap: wrap; justify-content: flex-end;
}
nav.site-nav ul a {
  color: #a0a8b8; font-size: 0.9rem; font-weight: 500;
  display: inline-flex; align-items: center; min-height: 44px;
}
nav.site-nav ul a:hover,
nav.site-nav ul a[aria-current="page"] { color: #fff; text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  padding: 10px; margin-left: auto;
}
.nav-toggle span {
  display: block; height: 2px; background: #e8eef8;
  margin: 6px 0; border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Home / marketing ─────────────────────────── */
.hero {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(62,224,197,0.09) 0%, transparent 60%);
  padding: 4.5rem 1.25rem 3.5rem;
}
.home-hero { min-height: calc(100svh - 64px); }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  text-align: left;
}
.hero-poster { align-self: center; }
.hero-poster img {
  display: block;
  width: 200px; height: auto;
  max-width: 200px; max-height: 300px;
  aspect-ratio: 720 / 1080;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 50px rgba(62,224,197,0.14);
  animation: float 4s ease-in-out infinite, fadeIn 1s ease-out both;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 800; color: #fff;
  letter-spacing: -0.02em; line-height: 1.15;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #3ee0c5, #67e8f9, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  max-width: 600px; margin: 1.2rem 0 0;
  font-size: 1.05rem; color: #94a0b8;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem;
}
.hero-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.8rem;
  background: linear-gradient(135deg, #14b8a6, #3ee0c5);
  color: #0b0c0f; font-weight: 700; font-size: 1rem;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(62,224,197,0.35);
  text-decoration: none;
}
.hero-cta.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #d4d8e0;
  font-weight: 600;
}
.hero p.hero-note { margin-top: 1rem; font-size: 0.95rem; color: #8894aa; }

.band { padding: 4.5rem 0; scroll-margin-top: 4.5rem; }
.band.alt { background: rgba(255,255,255,0.015); }
.section-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: #3ee0c5; margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.55rem, 3.5vw, 2.6rem);
  font-weight: 800; color: #fff; line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: #8894aa; max-width: 600px; margin-bottom: 2.2rem; }

.screenshot-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  animation: glowPulse 4s ease-in-out infinite;
  background: #12141a;
}
.screenshot-wrap img,
.split-img img { width: 100%; height: auto; display: block; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 1.5rem;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(62,224,197,0.14), rgba(103,232,249,0.10));
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.45rem; }
.feature-card p { font-size: 0.92rem; color: #8894aa; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #12141a;
}
.split-text ul { list-style: none; margin-top: 1rem; }
.split-text ul li {
  position: relative; padding-left: 1.6rem;
  margin-bottom: 0.6rem; color: #a0a8b8; font-size: 0.95rem;
}
.split-text ul li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #3ee0c5);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.format-card {
  margin: 0;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.15rem;
}
.format-card dt {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.format-card dd { margin: 0; line-height: 1.8; }
.format-ext {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  margin: 0.12rem 0.2rem 0.12rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c0c8d8;
}
.format-notes {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
}
.format-notes p {
  font-size: 0.92rem;
  color: #8894aa;
}
.format-notes strong { color: #c8ccd6; }

.stack-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.stack-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem; font-weight: 600; color: #c0c8d8;
}

.cta-banner {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(62,224,197,0.07) 0%, transparent 60%);
  padding: 4.5rem 1.25rem;
}
.cta-banner .section-title { margin-bottom: 1rem; }
.cta-banner p { color: #8894aa; max-width: 520px; margin: 0 auto 1.6rem; font-size: 1.05rem; }

footer.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.6rem 1.25rem calc(1.6rem + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.8rem; color: #555e70;
}
footer.site-footer nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.9rem;
  margin-top: 0.7rem;
}

/* ── Pricing ──────────────────────────────────── */
.pricing-hero .hero-inner { grid-template-columns: auto 1fr; }
.name-expand {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3ee0c5;
  margin-bottom: 0.85rem;
  max-width: 36rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: #3ee0c5; margin-bottom: 0.9rem;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ee0c5; box-shadow: 0 0 10px #3ee0c5;
}
.lede { font-size: 1.05rem; color: #94a0b8; max-width: 36rem; }
.price-card {
  margin-top: 1.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}
.price-row { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.amount { font-size: clamp(2.4rem, 8vw, 4.2rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.currency { font-size: 1rem; color: #8894aa; font-weight: 600; }
.one-time { margin-top: 0.4rem; font-size: 0.95rem; color: #c0c8d8; font-weight: 600; }
.trial-pill {
  display: inline-block; margin-top: 1rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: linear-gradient(135deg, rgba(20,184,166,0.18), rgba(62,224,197,0.18));
  border: 1px solid rgba(62,224,197,0.35);
  color: #d5fff6; font-size: 0.88rem; font-weight: 600;
}
.store-note { margin-top: 1.1rem; font-size: 0.95rem; color: #8894aa; }
.cta-soon {
  display: inline-block; margin-top: 1.3rem;
  padding: 0.75rem 1.6rem;
  background: rgba(255,255,255,0.06);
  color: #c8ccd6; font-weight: 600;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.12);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.2rem;
}
.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px; padding: 1.4rem;
}
.card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.card p { font-size: 0.92rem; color: #8894aa; }
.included { list-style: none; }
.included li {
  position: relative; padding-left: 1.6rem;
  margin-bottom: 0.65rem; color: #a0a8b8; font-size: 0.98rem;
}
.included li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #3ee0c5);
}

/* ── Document / support pages ─────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 2.2rem 1.25rem 4rem; }
.doc.narrow { max-width: 640px; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 0.3rem; }
.doc .effective, .doc .lede { font-size: 0.9rem; color: #6b7280; margin-bottom: 1.4rem; }
.doc .lede { color: #8894aa; font-size: 1rem; }
.doc h2 {
  font-size: 1.2rem; font-weight: 700; color: #e0e4ec;
  margin-top: 2rem; margin-bottom: 0.55rem;
  padding-bottom: 0.3rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.doc h3 { font-size: 1.05rem; font-weight: 600; color: #c0c8d8; margin-top: 1.3rem; margin-bottom: 0.35rem; }
.doc p, .doc li { font-size: 0.95rem; color: #a0a8b8; }
.doc p { margin-bottom: 0.75rem; }
.doc ul, .doc ol { margin-left: 1.3rem; margin-bottom: 0.75rem; }
.doc li { margin-bottom: 0.3rem; }
.doc strong { color: #c8ccd6; }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.88rem; }
.doc th, .doc td { text-align: left; padding: 0.5rem 0.65rem; border: 1px solid rgba(255,255,255,0.07); }
.doc th { background: rgba(255,255,255,0.03); color: #c8ccd6; }
.doc td { color: #94a0b8; }
.doc code {
  background: #171d2a;
  border: 1px solid #293245;
  border-radius: 5px;
  padding: 0.08rem 0.35rem;
  font-size: 0.9em;
  color: #d7e6ff;
}
.draft, .tip-box {
  border-left: 3px solid #3ee0c5;
  background: rgba(62, 224, 197, 0.10);
  padding: 0.75rem 0.9rem; border-radius: 8px;
  color: #b8f5ea; margin-bottom: 1.3rem;
}
.direct {
  margin-bottom: 1.4rem; padding: 0.85rem 1rem; border-radius: 10px;
  background: rgba(62, 224, 197, 0.08);
  border: 1px solid rgba(62, 224, 197, 0.18);
}
label { display: block; font-size: 0.85rem; font-weight: 600; color: #c8ccd6; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; margin-bottom: 1rem; padding: 0.75rem 0.8rem;
  border-radius: 8px; border: 1px solid #2a3447;
  background: #111723; color: #e8eef8; font: inherit; font-size: 16px;
}
textarea { min-height: 10rem; resize: vertical; }
button[type="submit"] {
  border: none; border-radius: 999px; min-height: 48px;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, #14b8a6, #3ee0c5);
  color: #0b0c0f; font-weight: 700; cursor: pointer; font-size: 1rem;
}
.hp { position: absolute; left: -9999px; opacity: 0; }
.banner { padding: 0.75rem 0.9rem; border-radius: 8px; margin-bottom: 1.2rem; }
.banner.ok { background: rgba(52, 211, 153, 0.15); color: #a7f3d0; }
.note { font-size: 0.85rem; color: #6b7280; margin-top: 1rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav.site-nav ul {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.4rem 0 0.8rem;
    background: rgba(11,12,15,0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  nav.site-nav ul.open { display: flex; }
  nav.site-nav ul a { padding: 0 1.25rem; min-height: 48px; }
  body.nav-open { overflow: hidden; }
  .hero-inner,
  .pricing-hero .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.6rem;
  }
  .hero-poster { margin: 0 auto; }
  .pricing-hero .hero-poster { order: -1; }
  .hero p, .lede, .name-expand { margin-left: auto; margin-right: auto; }
  .hero-actions, .price-row { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 1.4rem; }
  .split.reverse { direction: ltr; }
  .home-hero { min-height: 0; padding-top: 2.2rem; }
  .hero-poster img { width: 160px; max-width: 160px; max-height: 240px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-cta { width: 100%; }
  .doc table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .hero-poster img, .screenshot-wrap { animation: none !important; transition: none !important; opacity: 1; transform: none; }
}
