/* StateFilings.AI — one dark page: header, tagline, one big screenshot,
   footer. Pink is the only accent (the app's light-theme CTA, #E6007E). */

:root {
  --bg: #080914;
  --text: #F1F1FF;
  --muted: rgba(241, 241, 255, 0.62);
  --faint: rgba(241, 241, 255, 0.4);
  --line: rgba(255, 255, 255, 0.1);
  --pink: #E6007E;
  --pink-glow: rgba(230, 0, 126, 0.55);
  --violet-glow: rgba(98, 104, 220, 0.45);
  --font: 'Avenir', 'Avenir Next', 'Nunito', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 20px; background: var(--pink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px var(--pink-glow); }
.btn-big { height: 48px; padding: 0 28px; border-radius: 24px; font-size: 14px; margin-top: 36px; }

/* Header */
.nav { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.logo b { font-weight: 300; color: var(--muted); }

/* Tagline */
.hero { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 72px 24px 0; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(42px, 7vw, 76px); line-height: 1.04; font-weight: 300; letter-spacing: -0.04em; }
.hero p { margin: 22px auto 0; max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--muted); }

/* The screenshot */
.stage { position: relative; margin: 80px auto 0; padding: 0 24px; max-width: 1180px; }
.glow { position: absolute; z-index: 0; inset: -14% -8% 4%; background:
    radial-gradient(40% 50% at 18% 30%, var(--pink-glow), transparent 70%),
    radial-gradient(40% 50% at 84% 60%, var(--violet-glow), transparent 70%),
    radial-gradient(30% 22% at 50% 0%, rgba(230, 0, 126, 0.35), transparent 70%);
  filter: blur(70px); pointer-events: none; }
body { overflow-x: hidden; }
.screen { position: relative; z-index: 1; border-radius: 18px; padding: 1px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 40%, rgba(230, 0, 126, 0.35));
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04); }
.screen img { border-radius: 17px; }

/* Carousel: one slide at a time, arrows either side of the screen */
.frame { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; }
.frame .screen { flex: 1; min-width: 0; }
.slide { margin: 0; }
.slide.on { animation: fade .35s ease; }
.slide figcaption { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.arrow { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.arrow:hover { background: var(--pink); border-color: var(--pink); box-shadow: 0 8px 28px var(--pink-glow); }
.arrow:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.caption { position: relative; z-index: 1; margin: 36px auto 0; max-width: 560px; min-height: 1.5em; text-align: center; font-size: 15px; color: var(--faint); }
@media (prefers-reduced-motion: reduce) { .slide.on { animation: none; } }

/* Get Access dialog */
button.btn { border: 0; font-family: inherit; cursor: pointer; }
.access { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 20px; background: #10121F; color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 80px rgba(230, 0, 126, 0.12); }
.access::backdrop { background: rgba(4, 5, 12, 0.72); backdrop-filter: blur(6px); }
.access[open] { animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.access-form, .access-done { position: relative; padding: 32px; }
.access h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.access-note { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.access-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.access-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.access-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.access-grid .wide { grid-column: 1 / -1; }
.access-grid .opt { font-weight: 400; color: var(--faint); }
.access-grid input, .access-grid textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: var(--text); font: 15px/1.4 var(--font); }
.access-grid textarea { resize: vertical; min-height: 104px; }
.access-grid input::placeholder, .access-grid textarea::placeholder { color: var(--faint); }
.access-grid input:focus, .access-grid textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.2); }
.phone { display: flex; }
.phone .cc { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-weight: 400; font-size: 15px; }
.phone input { border-radius: 0 10px 10px 0; }
.access-grid .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access-error { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(230, 0, 126, 0.12); color: #FF8AC6; font-size: 14px; }
.access-submit { margin-top: 24px; width: 100%; justify-content: center; }
.access-submit:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
@media (max-width: 640px) {
  .access-form, .access-done { padding: 24px 20px; }
  .access-grid { grid-template-columns: 1fr; }
}

/* Footer */
.foot { max-width: 1180px; margin: 120px auto 0; padding: 32px 24px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.foot-row { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.foot p { margin: 14px 0 0; font-size: 12px; font-style: italic; line-height: 1.6; }

@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .hero p { font-size: 17px; }
  .stage { margin-top: 48px; padding: 0 12px; }
  .screen { border-radius: 12px; }
  .frame { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .frame .screen { flex-basis: 100%; order: -1; }
  .arrow { width: 44px; height: 44px; }
  .screen img { border-radius: 11px; }
  .foot { margin-top: 72px; }
}
