/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  line-height: 1.25;
}

/* ===== Layout ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Button ===== */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  background: #6d28d9;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #5b21b6;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #f1f5f9;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}
.nav-desktop {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}
.nav-desktop a:hover {
  color: #6d28d9;
}
.btn-header {
  display: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #475569;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #475569;
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a:hover {
  color: #6d28d9;
}

@media (min-width: 768px) {
  .btn-header {
    display: inline-block;
  }
  .nav-toggle {
    display: none !important;
  }
  .nav-mobile {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }
  .btn-header {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  background: #fafbfc;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content h1 {
  font-size: 40px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 16px;
  font-size: 17px;
  color: #64748b;
  max-width: 480px;
}
.store-badges {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.store-badges img {
  height: 46px;
  width: auto;
}
.store-badges-sm img {
  height: 36px;
  width: auto;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 280px;
  border: 1px solid #e2e8f0;
  border-radius: 32px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.phone-screen {
  background: #f8fafc;
  border-radius: 22px;
  padding: 20px 16px;
}
.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.screen-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}
.screen-badge {
  font-size: 11px;
  font-weight: 500;
  background: #ecfdf5;
  color: #059669;
  padding: 2px 8px;
  border-radius: 100px;
}
.screen-balance-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.screen-balance {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}
.screen-balance small {
  font-size: 18px;
  color: #64748b;
}
.screen-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.screen-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font-size: 11px;
  font-weight: 500;
  color: #475569;
}
.screen-tx {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
}
.tx-name {
  font-size: 12px;
  font-weight: 500;
  color: #1e293b;
}
.tx-date {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 1px;
}
.tx-amount {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.tx-positive {
  color: #059669;
}
.tx-negative {
  color: #dc2626;
}

@media (max-width: 767px) {
  .hero {
    padding: 48px 0 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 30px;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .store-badges {
    justify-content: center;
  }
  .phone-frame {
    width: 260px;
  }
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: #fafbfc;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-top: 8px;
  font-size: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  padding: 28px 24px;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f3ff;
  border-radius: 12px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}
.card p {
  margin-top: 6px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .features-grid,
  .features-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.step-card {
  position: relative;
  padding: 32px 24px 24px;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  background: #fff;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6d28d9;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
}
.step-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}
.step-card p {
  margin-top: 6px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
}

/* ===== FAQ ===== */
.faq-list {
  margin-top: 40px;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.faq-item {
  border-bottom: 1px solid #f1f5f9;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #94a3b8;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.15s;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid #f1f5f9;
  padding: 48px 0 24px;
  background: #fafbfc;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-tagline {
  margin-top: 8px;
  font-size: 14px;
  color: #64748b;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #64748b;
}
.footer-links nav a:hover {
  color: #6d28d9;
}
.footer-download p {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 12px;
}
.footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}
.footer-bottom .footer-legal {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.footer-credit {
  margin-top: 8px;
  font-size: 12px;
  color: #b0b8c4;
}
.footer-credit a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover {
  color: #6d28d9;
}

/* ===== Prose (Privacy Policy, etc.) ===== */
.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.page-meta {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 40px;
}
.prose h2 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-top: 36px;
  margin-bottom: 12px;
}
.prose h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-top: 24px;
  margin-bottom: 8px;
}
.prose p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}
.prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.prose ul li {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 6px;
}
.prose strong {
  color: #1e293b;
  font-weight: 600;
}
.prose .contact-list {
  list-style: none;
  padding-left: 0;
}
.prose .contact-list li {
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links nav {
    align-items: center;
  }
  .store-badges-sm {
    justify-content: center;
  }
  .footer-download {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
