/* Base layout */

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

:root {
  --bg: #f5f6fa;
  --bg-light: #ffffff;
  --border: #e1e4ec;
  --text: #151726;
  --muted: #6c7285;
  --accent: #2563eb;
  --accent-soft: #e0edff;
  --accent-strong: #1d4ed8;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-card: 18px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #fdfdff 0, #f3f5fb 40%, #eef1f8 100%);
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 249, 255, 0.86);
  border-bottom: 1px solid rgba(219, 222, 235, 0.9);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 25% 0, #ffffff, #60a5fa);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
  color: #0f172a;
  font-weight: 700;
  font-size: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 15px;
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid #d1d5e4;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* HERO */

.hero {
  padding: 40px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero-title-main {
  font-weight: 700;
}

.hero-title-sub {
  font-weight: 700;
  background: linear-gradient(120deg, #2563eb, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.btn {
  border-radius: 999px;
  padding: 9px 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

.btn.ghost {
  background: #ffffff;
  border-color: #e0e3f0;
  color: var(--text);
}

.btn.ghost:hover {
  border-color: #c7ccdd;
}

.btn.secondary {
  background: #ffffff;
  border: 1px solid #e0e3f0;
  color: var(--text);
}

.btn.secondary:hover {
  border-color: #c7ccdd;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e0e3f0;
  color: var(--muted);
}

/* Phone mockup */

.hero-phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 290px;
  border-radius: 32px;
  padding: 12px;
  background: linear-gradient(145deg, #ffffff, #e5ecff);
  box-shadow: var(--shadow-soft);
}

.phone-notch {
  width: 110px;
  height: 16px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #e5e7f0;
}

.phone-screen {
  border-radius: 24px;
  padding: 14px;
  background: radial-gradient(circle at top, #f9fafb, #e5e7f0);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}

.phone-app-name {
  font-weight: 600;
}

.phone-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: #e0edff;
  color: #1d4ed8;
  font-size: 11px;
}

.phone-card {
  border-radius: 16px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e0e3f0;
  margin-bottom: 10px;
}

.phone-card-art {
  height: 140px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 0, #f97316, #ec4899, #6366f1);
  margin-bottom: 10px;
}

.phone-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 4px;
}

.phone-label {
  color: var(--muted);
}

.phone-value {
  font-weight: 600;
}

.phone-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
  font-size: 11px;
}

.phone-metric {
  border-radius: 10px;
  padding: 6px 7px;
  background: #f3f4ff;
}

.metric-label {
  display: block;
  color: var(--muted);
  margin-bottom: 2px;
}

.metric-value {
  font-weight: 600;
}

.phone-scan-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.scan-label {
  font-size: 11px;
  color: var(--muted);
}

.scan-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e0e3f0;
  overflow: hidden;
}

.scan-fill {
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  animation: scanFill 2.6s ease-in-out infinite alternate;
}

.phone-floating-pill {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

/* SECTION LAYOUTS */

.section {
  padding: 48px 0;
}

.section-light {
  background: #f8f9ff;
}

.section-subtitle {
  max-width: 540px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* Download section */

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #dde1f0;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.25);
}

.store-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #111827, #4b5563);
  color: #e5e7eb;
  font-size: 15px;
}

.store-small {
  font-size: 11px;
  color: var(--muted);
}

.store-name {
  font-size: 13px;
  font-weight: 600;
}

.download-note {
  font-size: 13px;
  color: var(--muted);
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.feature-card {
  border-radius: var(--radius-card);
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.18);
  font-size: 14px;
  color: var(--muted);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--text);
}

/* How it works */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.step-card {
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.18);
  font-size: 14px;
  color: var(--muted);
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #d1d5e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text);
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--text);
}

/* FAQ */

.faq-list {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.28);
  padding: 4px 8px;
  margin-top: 18px;
}

.faq-item + .faq-item {
  border-top: 1px solid #e5e7f0;
}

.faq-question {
  width: 100%;
  padding: 12px 10px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #c7ccd9;
  font-size: 13px;
  color: var(--muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  transition: max-height 0.24s ease, padding-bottom 0.24s ease;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding-bottom: 10px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* Legal */

.legal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 10px;
}

.legal-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 640px;
}

/* Contact */

.contact-card {
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.18);
  font-size: 14px;
  color: var(--muted);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid #e1e4ec;
  background: #ffffff;
  padding: 18px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-weight: 600;
  font-size: 14px;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

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

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

/* ANIMATIONS */

@keyframes scanFill {
  from {
    transform: translateX(-40%);
  }
  to {
    transform: translateX(40%);
  }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-phone {
    order: -1;
  }

  .download-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 56px;
    right: 16px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e1e4ec;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    flex-direction: column;
    gap: 10px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 28px;
  }

  .feature-card,
  .step-card,
  .contact-card {
    padding: 14px;
  }
}

