/*
  Replace placeholder assets in /website/assets and update links in /website/js/config.js.
  This stylesheet is intentionally standalone for Cloudflare Pages static deployment.
*/
:root {
  --bg-primary: #080811;
  --bg-secondary: #111227;
  --text-primary: #f4f6ff;
  --text-secondary: #b8bfdb;
  --text-muted: #8991b6;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.12);
  --accent-pink: #ff4fa8;
  --accent-purple: #8a5dff;
  --accent-blue: #3da5ff;
  --shadow-soft: 0 20px 50px rgba(1, 3, 20, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1160px, calc(100% - 2.5rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 79, 168, 0.22), transparent 30%),
    radial-gradient(circle at 88% 7%, rgba(61, 165, 255, 0.2), transparent 34%),
    radial-gradient(circle at 55% 62%, rgba(138, 93, 255, 0.2), transparent 42%),
    var(--bg-primary);
  line-height: 1.5;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #111;
  padding: 0.75rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(8, 8, 17, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  gap: 1.1rem;
}

.header-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.header-cta {
  display: inline-flex;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--accent-pink), var(--accent-purple) 50%, var(--accent-blue));
  box-shadow: 0 12px 30px rgba(139, 76, 255, 0.4);
}

main {
  overflow: clip;
}

section {
  padding: 5.5rem 0;
}

.hero {
  padding: 3.4rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  color: #d2d7f4;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero h1 {
  margin: 1.1rem 0 0.8rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  max-width: 60ch;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.store-button {
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(17, 18, 39, 0.75);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-button--badge {
  padding: 0.25rem;
  background: transparent;
  border-color: transparent;
  min-width: auto;
}

.store-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
}

.store-button--badge:hover {
  border-color: transparent;
}

.store-icon {
  width: 24px;
  height: 24px;
}

.store-badge-image {
  height: 52px;
  width: auto;
  display: block;
}

.store-buttons--compact .store-badge-image {
  height: 44px;
}

.store-copy small {
  display: block;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1;
}

.store-copy span {
  font-family: "Outfit", sans-serif;
  font-size: 0.96rem;
  line-height: 1.1;
}

.hero-phone-wrap {
  justify-self: center;
  width: min(390px, 88vw);
  position: relative;
}

.phone-glow {
  position: absolute;
  inset: 18% -4% -2%;
  border-radius: 46px;
  z-index: -1;
  filter: blur(24px);
  background: linear-gradient(130deg, rgba(255, 79, 168, 0.45), rgba(61, 165, 255, 0.2));
}

.phone-frame {
  padding: 0.72rem;
  border-radius: 46px;
  background: linear-gradient(190deg, #272842, #0e0f1f);
  box-shadow: var(--shadow-soft);
}

.phone-notch {
  width: 42%;
  height: 24px;
  margin: 0 auto 0.5rem;
  border-radius: 0 0 14px 14px;
  background: #0f1021;
}

.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 9 / 19.5;
  background: #0c0d1a;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.availability-strip {
  padding: 1.5rem 0;
}

.availability-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.availability-card strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
}

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

.section-head {
  margin-bottom: 1.85rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
}

.section-head p {
  margin: 0.6rem 0 0;
  color: var(--text-secondary);
  max-width: 64ch;
}

.features-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  padding: 1.2rem;
  box-shadow: 0 14px 30px rgba(4, 5, 22, 0.25);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
}

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

.screenshot-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.shot-card .phone-frame {
  border-radius: 32px;
}

.shot-card .phone-screen {
  border-radius: 24px;
}

.shot-caption {
  margin: 0.95rem 0 0.35rem;
  font-weight: 600;
  text-align: center;
  color: #eef1ff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
}

.step-number {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent-pink), var(--accent-blue));
}

.step-card h3 {
  margin: 0.9rem 0 0.4rem;
  font-family: "Outfit", sans-serif;
}

.step-card p {
  margin: 0;
  color: var(--text-secondary);
}

.use-cases-wrap {
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius-xl) + 8px);
  padding: 1.3rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 79, 168, 0.14), transparent 38%),
    radial-gradient(circle at 85% 5%, rgba(61, 165, 255, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.03);
}

.use-cases-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.use-case-tag {
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.12);
}

.use-case h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
}

.support-card {
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius-xl) + 4px);
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 86% 8%, rgba(138, 93, 255, 0.14), transparent 38%),
    radial-gradient(circle at 12% 88%, rgba(61, 165, 255, 0.11), transparent 34%),
    rgba(255, 255, 255, 0.03);
}

.support-card h2 {
  margin: 0 0 0.9rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
}

.support-card p {
  margin: 0 0 0.8rem;
  color: var(--text-secondary);
}

.support-email a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-points {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-point {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.support-point h3 {
  margin: 0 0 0.5rem;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.support-point p {
  margin: 0;
}

.delete-account-card {
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius-xl) + 4px);
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 79, 168, 0.12), transparent 42%),
    radial-gradient(circle at 90% 14%, rgba(61, 165, 255, 0.1), transparent 35%),
    rgba(255, 255, 255, 0.03);
}

.delete-account-card h2 {
  margin: 0 0 0.9rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
}

.delete-account-card p {
  margin: 0 0 0.8rem;
  color: var(--text-secondary);
}

.delete-account-email a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.delete-account-grid {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.delete-account-block {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.delete-account-block h3 {
  margin: 0 0 0.5rem;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.delete-account-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
}

.delete-account-block li {
  margin: 0 0 0.35rem;
}

.delete-account-block li:last-child {
  margin-bottom: 0;
}

.cta {
  padding-top: 1.8rem;
}

.cta-card {
  border-radius: calc(var(--radius-xl) + 8px);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(145deg, rgba(255, 79, 168, 0.2), rgba(138, 93, 255, 0.22), rgba(61, 165, 255, 0.18)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-card h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.cta-card p {
  margin: 0.55rem 0 0;
  color: #e6e9f9;
}

.site-footer {
  margin-top: 5rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 4, 12, 0.55);
}

.footer-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1.6fr 1fr 1fr;
}

.footer-description {
  margin-top: 0.65rem;
  color: var(--text-secondary);
  max-width: 40ch;
}

.footer-title {
  margin: 0 0 0.7rem;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-phone-wrap {
    width: min(360px, 85vw);
  }

  .features-grid,
  .screenshot-grid,
  .steps-grid,
  .use-cases-grid,
  .support-points,
  .delete-account-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(1160px, calc(100% - 1.4rem));
  }

  section {
    padding: 4.3rem 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .header-nav {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .header-cta {
    padding: 0.6rem 0.95rem;
    font-size: 0.92rem;
  }

  .store-buttons {
    gap: 0.6rem;
  }

  .store-button {
    min-width: 146px;
  }

  .store-badge-image {
    height: 46px;
  }

  .store-buttons--compact .store-badge-image {
    height: 40px;
  }

  .availability-card strong {
    font-size: 1rem;
  }

  .features-grid,
  .screenshot-grid,
  .steps-grid,
  .use-cases-grid,
  .support-points,
  .delete-account-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 4rem;
  }
}
