/* Sparings — shared site styles */

:root {
  --bg: #091A2C;
  --bg-alt: #0F2338;
  --card: #122A44;
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #F3F6FA;
  --text-secondary: #A9B7C9;
  --text-muted: #6D7E93;
  --gold: #D8B26B;
  --green: #3FA876;
  --radius: 14px;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav */
.nav {
  border-bottom: 1px solid var(--border);
  background: rgba(9, 26, 44, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.nav-brand img {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
}

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

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

/* Hero */
.hero {
  text-align: center;
  padding: 72px 20px 56px;
}

.hero img.logo {
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hero .accent {
  color: var(--gold);
}

.hero p.tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 30px;
}

.pill-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.pill {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-secondary);
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.pill .dot {
  color: var(--green);
  margin-inline-end: 6px;
}

/* Download buttons */
.download-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: not-allowed;
  user-select: none;
}

.btn-store .store-icon {
  font-size: 1.2rem;
}

.btn-store .soon {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 2px 8px;
  margin-inline-start: 4px;
}

/* Sections */
section.block {
  padding: 46px 20px;
  border-top: 1px solid var(--border);
}

section.block .wrap {
  padding: 0;
}

.section-title {
  font-size: 1.5rem;
  margin: 0 0 8px;
  text-align: center;
}

.section-sub {
  color: var(--text-secondary);
  text-align: center;
  margin: 0 auto 34px;
  max-width: 520px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-card .icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

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

/* Screenshot gallery ("See it in action") */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 18px;
}

@media (max-width: 640px) {
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }
}

@media (max-width: 400px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin: 0 auto;
  }
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.screenshot-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* FAQ (native <details>) */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 400;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

/* Privacy / Terms pages */
.policy-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-bottom: 24px;
}

.policy-block h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--gold);
}

.policy-block p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.policy-block p:last-child {
  margin-bottom: 0;
}

.policy-block.rtl {
  direction: rtl;
  text-align: right;
}

.updated-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 30px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 34px 20px 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

footer .footer-links {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

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