/* FinanceControl temporary landing — Netlify static */

:root {
  --bg: #07121f;
  --bg-elevated: #0c1b2c;
  --bg-card: rgba(14, 32, 52, 0.85);
  --bg-alt: #0a1828;
  --border: rgba(148, 180, 210, 0.14);
  --text: #e8f1f8;
  --text-muted: #93a9bc;
  --accent: #2fbfae;
  --accent-2: #1b7f8a;
  --accent-soft: rgba(47, 191, 174, 0.12);
  --danger-soft: rgba(248, 113, 113, 0.12);
  --up: #3ecfbc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(27, 127, 138, 0.28), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(47, 191, 174, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: #042018;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Banner */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  color: #cfe8e4;
  background: linear-gradient(90deg, rgba(27, 127, 138, 0.35), rgba(14, 79, 110, 0.45));
  border-bottom: 1px solid var(--border);
}

.banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 4px rgba(62, 207, 188, 0.2);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.55;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 18, 31, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 18, 31, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo__text {
  font-size: 1.05rem;
}

.nav {
  display: none;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.header__cta {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #34d0bc, #1b8f9a);
  color: #042018;
  box-shadow: 0 10px 30px rgba(47, 191, 174, 0.25);
}

.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: rgba(148, 180, 210, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: #b7d9d3;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero__stats li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(12, 27, 44, 0.55);
}

.hero__stats strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.hero__stats span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Dashboard visual */
.card-stack {
  position: relative;
  min-height: 360px;
}

.dash-card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, rgba(18, 40, 62, 0.95), rgba(10, 24, 40, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.dash-card--main {
  padding: 1.35rem 1.4rem 1.2rem;
}

.dash-card--side {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  width: min(220px, 58%);
  padding: 1rem 1.1rem;
  transform: translateY(0);
}

@media (min-width: 960px) {
  .dash-card--side {
    right: -0.5rem;
    bottom: 1rem;
  }
}

.dash-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.pill--up {
  color: #0d3d36;
  background: rgba(62, 207, 188, 0.9);
}

.dash-card__value {
  margin: 0.35rem 0 0.75rem;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.spark {
  height: 72px;
  margin-bottom: 1rem;
}

.spark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dash-card__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.dash-card__row .muted,
.dash-card--side .muted {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.dash-card__row strong {
  font-size: 0.88rem;
}

.bars {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.bar {
  display: grid;
  gap: 0.2rem;
}

.bar em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.bar span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.bar span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(10, 24, 40, 0.65), transparent);
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section__sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(12, 27, 44, 0.5);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: rgba(47, 191, 174, 0.35);
  transform: translateY(-2px);
}

.feature__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Security */
.security {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .security {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }
}

.checklist {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.security__card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.security__card h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.security__card dl {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.security__card dl > div {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.security__card dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.security__card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.security__card dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Waitlist */
.waitlist {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(47, 191, 174, 0.25);
  background:
    radial-gradient(500px 200px at 0% 0%, rgba(47, 191, 174, 0.12), transparent 60%),
    rgba(12, 27, 44, 0.75);
}

@media (min-width: 800px) {
  .waitlist {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 2.25rem 2.5rem;
  }
}

.waitlist__form {
  display: grid;
  gap: 0.65rem;
}

.waitlist__form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(7, 18, 31, 0.8);
  color: var(--text);
  font: inherit;
  outline: none;
}

.waitlist__form input:focus {
  border-color: rgba(47, 191, 174, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 191, 174, 0.15);
}

.waitlist__form .btn {
  width: 100%;
}

.form-note {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent);
}

.form-note.is-error {
  color: #fca5a5;
}

.form-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.footer__brand .logo__text {
  color: var(--text);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer__brand p {
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer__links a {
  color: var(--text-muted);
}

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

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
  max-width: 720px;
}

.legal h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
}

.legal a.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
