/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:      #f0c040;
  --gold-dk:   #c9921a;
  --gold-dim:  #a07828;
  --bg:        #100e08;
  --card:      #1c1810;
  --card2:     #241f12;
  --text:      #f0e0b0;
  --muted:     #9a8060;
  --border:    #3a2e18;
  --radius:    14px;
  --shadow:    0 4px 28px rgba(0,0,0,.6);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  background: linear-gradient(160deg, #1e1a0a 0%, #0e0c06 100%);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: .4rem;
}

.logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.logo-text  {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--gold);
}
.tagline {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

/* ── App Store hero ── */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--gold);
  color: #0e0c06;
  font-weight: 700;
  font-size: .95rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .2s, transform .1s;
}
.appstore-btn:hover  { background: #ffd050; }
.appstore-btn:active { transform: scale(.97); }

.appstore-btn svg {
  width: 20px;
  height: 20px;
  fill: #0e0c06;
  flex-shrink: 0;
}

.price-tag {
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .03em;
}
.price-tag strong { color: var(--gold-dim); }

/* ── Main ── */
main {
  flex: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ── Section card ── */
.section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--gold);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Screenshots ── */
.screenshots {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshots::-webkit-scrollbar { height: 4px; }
.screenshots::-webkit-scrollbar-track { background: var(--card2); border-radius: 4px; }
.screenshots::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.screenshot-frame {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 180px;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.7);
}
.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  all: unset;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: .9rem 0;
  font-size: .97rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
}

.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .25s;
}

.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding-bottom: .9rem;
  color: var(--muted);
  font-size: .93rem;
}

.faq-a.open { display: block; }

/* ── Contact form ── */
.contact-intro {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}

.field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .65rem .85rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--card2);
  transition: border-color .2s;
  resize: vertical;
}

.field select option {
  background: var(--card2);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,192,64,.15);
}

.btn-submit {
  display: inline-block;
  background: var(--gold);
  color: #0e0c06;
  font-size: .975rem;
  font-weight: 700;
  padding: .75rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.btn-submit:hover  { background: #ffd050; }
.btn-submit:active { transform: scale(.98); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-status {
  margin-top: .9rem;
  font-size: .9rem;
  min-height: 1.2em;
}
.form-status.success { color: #5ec97a; }
.form-status.error   { color: #f87171; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .logo-text { font-size: 2rem; }
  .section { padding: 1.5rem; }
  .screenshot-frame { width: 150px; }
}
