@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Outfit:wght@400;600;700;800&display=swap");

:root {
  --bg: #e6edf6;
  --text: #0b1b2b;
  --muted: #5a6b7b;
  --primary: #0ea5e9;
  --accent: #10b981;
  --card: #ffffff;
  --border: #e3e8ef;
  --shadow: 0 10px 30px rgba(9, 28, 54, 0.08);
  --glow: rgba(14, 165, 233, 0.2);
  --hero-ink: #071726;
}

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

body {
  font-family: "Outfit", "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #e8eef7 0%, #dde6f2 45%, #e7edf6 100%);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -10% -10% auto -10%;
  height: 55vh;
  background: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.22), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.2), transparent 60%);
  z-index: -2;
  animation: drift 16s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
  color: var(--text);
}

.logo img {
  width: 36px;
  height: 36px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(14, 165, 233, 0.12);
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 64px 0 30px;
  position: relative;
}

.hero-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(16, 185, 129, 0.12) 100%), var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px;
  position: relative;
  overflow: hidden;
  --glow-x: 50%;
  --glow-y: 40%;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(14, 165, 233, 0.22), transparent 55%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 27, 43, 0.06);
  font-weight: 600;
  color: var(--hero-ink);
  margin-bottom: 14px;
}

.status-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse 2s ease-out infinite;
}

.hero h1 {
  font-family: "DM Serif Display", "Outfit", serif;
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.btn.appstore {
  background: linear-gradient(135deg, #0b111b 0%, #1a2536 55%, #0b111b 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 14px 30px rgba(7, 17, 29, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  gap: 12px;
  padding: 12px 18px;
  min-width: 220px;
  justify-content: flex-start;
}

.btn.appstore-badge {
  min-height: 52px;
  border-radius: 14px;
  text-transform: none;
  letter-spacing: 0.2px;
  filter: drop-shadow(0 12px 24px rgba(7, 17, 29, 0.25));
}

.btn.appstore-badge .appstore-overline {
  font-size: 0.62rem;
}

.btn.appstore-badge .appstore-title {
  font-size: 1.1rem;
}

.appstore-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.appstore-icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

.appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.appstore-overline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  opacity: 0.75;
}

.appstore-title {
  font-size: 1.05rem;
  font-weight: 800;
}

.btn.appstore::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 40%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn.appstore:hover::after {
  transform: translateX(120%);
}

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

.btn:hover {
  transform: translateY(-1px) scale(1.01);
}

.contact-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(14, 165, 233, 0.35);
  padding: 12px 16px;
  border-radius: 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.grid {
  padding: 10px 0 60px;
}

.grid-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(9, 28, 54, 0.12);
}

.card h2 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 700;
}

.page-hero {
  padding: 44px 0 20px;
}

.content {
  padding: 10px 0 60px;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  background: #f9fbff;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0 40px;
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 12px;
  color: var(--muted);
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
  animation: float 3.6s ease-in-out infinite;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-2px);
}

.hero-orb {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.4), rgba(14, 165, 233, 0));
  filter: blur(0.5px);
  z-index: 0;
  animation: float 7s ease-in-out infinite;
}

.hero-orb.orb-1 {
  top: 10px;
  right: 12%;
}

.hero-orb.orb-2 {
  bottom: 20px;
  left: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.35), rgba(16, 185, 129, 0));
  animation-delay: -2s;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(10px, -12px, 0) scale(1.03);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: 64px;
    right: 4%;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
    display: none;
    width: 180px;
  }

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

  .nav-toggle {
    display: inline-block;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-card {
    padding: 24px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-orb {
    opacity: 0.5;
  }
}
