:root {
  --bg: #0b0f17;
  --bg-elevated: #141a24;
  --surface: #1c2430;
  --text: #e7e5e4;
  --text-muted: #a8a29e;
  --gold: #c9a45d;
  --gold-dim: #8b6f47;
  --border: rgba(201, 164, 93, 0.18);
  --radius: 16px;
  --max-width: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 23, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

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

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

@media (max-width: 720px) {
  .nav {
    gap: 0.75rem;
    font-size: 0.85rem;
  }
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-group {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 860px) {
  .lang-group {
    display: flex;
  }

  .lang-select {
    display: none;
  }
}

.lang-option {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 8px;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lang-option:hover {
  border-color: var(--gold);
}

.lang-option.is-active {
  border-color: var(--gold);
  background: rgba(201, 164, 93, 0.15);
  box-shadow: 0 0 0 1px rgba(201, 164, 93, 0.25);
}

.lang-select {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 164, 93, 0.12), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  /* Match .phone-mock padding so the eyebrow lines up with the screenshot image */
  .hero-grid > div:first-child {
    padding-top: 1rem;
  }
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(201, 164, 93, 0.08);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

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

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

.btn-primary {
  background: var(--gold);
  color: #1c1917;
}

.btn-primary:hover {
  background: #d4b06a;
}

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

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.phone-mock {
  background: linear-gradient(160deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.phone-mock img {
  display: block;
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: var(--bg-elevated);
}

.phone-placeholder {
  border-radius: 20px;
  aspect-ratio: 9 / 19.5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(201, 164, 93, 0.08), transparent),
    var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.9rem;
}

section {
  padding: 3.5rem 0;
}

section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

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

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

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

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--gold);
}

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

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

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

.screenshot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: var(--bg-elevated);
}

.screenshot figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: rgba(201, 164, 93, 0.06);
}

.about-copy {
  margin-bottom: 0;
  max-width: 48rem;
}

.hero .lead {
  max-width: 40rem;
}

.affiliate-privacy {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-disclosure {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 36rem;
}

/* Demo video — phone recording is portrait */
.demo-player {
  max-width: min(360px, 100%);
  margin-inline: auto;
}

.demo-placeholder {
  aspect-ratio: 9 / 19.5;
  border-radius: 1.25rem;
  border: 1px dashed var(--border);
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(201, 164, 93, 0.1), transparent),
    var(--bg-elevated);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

/* Author `display: grid` would otherwise override the hidden attribute. */
.demo-placeholder[hidden],
.demo-video[hidden] {
  display: none !important;
}

.demo-placeholder-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-left: 0.2rem;
}

.demo-placeholder-title {
  margin: 0 0 0.35rem;
  color: var(--text);
  font-weight: 600;
}

.demo-placeholder-hint {
  margin: 0;
  font-size: 0.85rem;
}

.demo-video {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  display: block;
}

.demo-embed {
  position: relative;
  aspect-ratio: 9 / 19.5;
  max-width: min(360px, 100%);
  margin-inline: auto;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.demo-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.store-badge strong {
  display: block;
  color: var(--text);
}

.disclosure {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(201, 164, 93, 0.05);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-links a:hover {
  color: var(--gold);
}

/* Privacy page */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  color: var(--gold);
}

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

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
