/* ── Curix shared stylesheet ── */
:root {
  --bg: #07070d;
  --bg2: #0f0f1a;
  --card: #13131f;
  --card2: #1a1a2a;
  --border: rgba(255,255,255,0.07);
  --accent: #4f8cff;
  --accent2: #7aa8ff;
  --text: #ffffff;
  --text2: #a8a8c4;
  --text3: #5e5e80;
  --success: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

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

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

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(7,7,13,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 14px;
}
.nav-links a { color: var(--text2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: opacity .2s !important;
}
.nav-cta:hover { opacity: .85; color: #fff !important; }

/* ── SECTIONS ── */
section { padding: 80px 24px; }
.container { max-width: 960px; margin: 0 auto; }
.container-narrow { max-width: 680px; margin: 0 auto; }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
  background: radial-gradient(ellipse 900px 400px at 50% 0%, rgba(79,140,255,0.08) 0%, transparent 70%);
}
.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 26px;
  margin: 0 auto 24px;
  display: block;
  box-shadow: 0 8px 40px rgba(79,140,255,0.3);
}
.hero-badge {
  display: inline-block;
  background: rgba(79,140,255,0.12);
  border: 1px solid rgba(79,140,255,0.25);
  color: var(--accent2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── STORE BADGES ── */
.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.badge-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
}
.badge-btn:hover {
  background: var(--card2);
  border-color: rgba(79,140,255,0.3);
  color: var(--text);
  transform: translateY(-1px);
}
.badge-btn svg { flex-shrink: 0; }

/* ── SHARE ROW ── */
.share-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.share-label { font-size: 12px; color: var(--text3); margin-right: 4px; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text2);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.share-btn:hover { background: var(--card2); color: var(--text); border-color: rgba(255,255,255,0.15); }
.share-btn.wa { color: #25d366; border-color: rgba(37,211,102,0.25); }
.share-btn.wa:hover { background: rgba(37,211,102,0.08); }
.share-btn.x { color: #fff; }
.share-btn.copy { color: var(--text2); }
#copy-msg { font-size: 12px; color: var(--success); display: none; }

/* ── SCREENSHOTS ── */
.screenshots-section { padding: 60px 24px; }
.screenshots-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 16px 0 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-frame {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform .3s;
}
.screenshot-frame:hover { transform: translateY(-6px) scale(1.02); }
.screenshot-frame img { width: 100%; display: block; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(79,140,255,0.2); }
.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── CURRENCIES TICKER ── */
.ticker-section {
  padding: 40px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}
.ticker-item span { color: var(--text3); font-weight: 400; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION HEADINGS ── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 560px;
}

/* ── FAQ ── */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}
.faq-q .arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--card2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s;
  font-size: 10px;
  color: var(--accent);
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 22px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(79,140,255,0.12) 0%, rgba(79,140,255,0.04) 100%);
  border: 1px solid rgba(79,140,255,0.18);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 14px; }
.cta-banner p { color: var(--text2); margin-bottom: 30px; font-size: 16px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
  color: var(--text3);
  font-size: 13px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--text3); transition: color .2s; }
.footer-links a:hover { color: var(--text2); }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 64px 24px 48px;
  text-align: center;
  background: radial-gradient(ellipse 700px 300px at 50% 0%, rgba(79,140,255,0.07) 0%, transparent 70%);
}
.page-header h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 12px; }
.page-header p { font-size: 16px; color: var(--text2); }

/* ── PROSE (support / privacy) ── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.4px;
  margin: 44px 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.prose h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; color: var(--text); }
.prose p { font-size: 15px; color: var(--text2); margin-bottom: 14px; line-height: 1.75; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { font-size: 15px; color: var(--text2); margin-bottom: 8px; line-height: 1.65; }
.prose a { color: var(--accent); }
.prose .highlight {
  background: rgba(79,140,255,0.08);
  border: 1px solid rgba(79,140,255,0.18);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  color: var(--text2);
}
.prose .highlight strong { color: var(--accent2); }

/* ── CONTACT CARD ── */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 40px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-card .icon { font-size: 32px; }
.contact-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--text2); margin: 0; }
.contact-card a { display: inline-block; margin-top: 12px; background: var(--accent); color: #fff; padding: 9px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; }
.contact-card a:hover { opacity: .85; color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 14px 18px; }
  .nav-links { display: none; }
  section { padding: 60px 16px; }
  .hero { padding: 72px 16px 60px; }
  .screenshot-frame { width: 160px; }
  .contact-card { flex-direction: column; }
}
