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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #0f172a;
  background: radial-gradient(circle at top left, #e0f2fe, #f8fafc);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  display: block;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97316, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.brand-text-sub {
  font-size: 0.75rem;
  color: #64748b;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  padding: 0.25rem 0;
  position: relative;
  color: #475569;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #f97316, #ec4899);
  transition: width 0.18s ease-out;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.85rem;
  color: #0f172a;
  background: #ffffffaa;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta span {
  font-size: 1.1rem;
}

/* Hero (Home) */
.hero {
  flex: 1;
  padding: 3.5rem 0 3rem;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 1.1rem;
}

.eyebrow span.badge {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #0f172a;
  color: white;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-title span.gradient {
  background: linear-gradient(120deg, #f97316, #ec4899, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
  color: white;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.45);
  min-width: 160px;
}

.store-btn.light {
  background: white;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.5);
}

.store-icon {
  width: 26px;
  height: 26px;
  border-radius: 0.7rem;
  background: radial-gradient(circle at 30% 20%, #f97316, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-text span:first-child {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.store-text span:last-child {
  font-size: 0.95rem;
  font-weight: 600;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, #f97316, #ec4899);
}

.hero-right {
  justify-self: center;
}

.phone-shell {
  position: relative;
  width: 260px;
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 2.2rem;
  padding: 0.6rem;
  margin: 0 auto;
  background: radial-gradient(circle at 20% 0%, #f97316, #0f172a 55%);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.8);
}

.phone-inner {
  width: 100%;
  height: 100%;
  border-radius: 1.8rem;
  background: radial-gradient(circle at 0 0, #0f172a, #020617 55%);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  color: white;
}

.phone-notch {
  width: 38%;
  height: 13px;
  border-radius: 999px;
  background: #020617;
  margin: 0 auto 0.6rem;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.phone-card {
  border-radius: 1.1rem;
  padding: 0.9rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.2));
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 0.8rem;
}

.phone-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.phone-card p {
  font-size: 0.75rem;
  color: #cbd5f5;
}

.phone-features {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  font-size: 0.7rem;
}

.phone-pill {
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.phone-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97316, #ec4899);
}

/* Content pages (Privacy & Terms) */
.content-main {
  flex: 1;
  padding: 2.75rem 0 3rem;
}

.content-header {
  margin-bottom: 1.75rem;
}

.content-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.content-title {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.content-meta {
  font-size: 0.78rem;
  color: #94a3b8;
}

.content-card {
  background: rgba(248, 250, 252, 0.96);
  border-radius: 1.25rem;
  padding: 1.75rem 1.8rem;
  box-shadow: 0 18px 45px rgba(148, 163, 184, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.content-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.content-card h3 {
  font-size: 0.96rem;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

.content-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0.5rem;
}

.content-card ul {
  margin: 0.4rem 0 0.4rem 1.1rem;
}

.content-card li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0.3rem;
}

.content-highlight {
  padding: 0.6rem 0.75rem;
  border-left: 3px solid #f97316;
  background: #fff7ed;
  border-radius: 0.4rem;
  margin: 0.9rem 0;
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem 0 1.25rem;
  background: rgba(248, 250, 252, 0.9);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #64748b;
}

.footer-links a:hover {
  color: #0f172a;
}

/* Responsive */
@media (max-width: 800px) {
  .header-inner {
    gap: 1rem;
  }

  .nav {
    gap: 0.9rem;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

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

  .hero-right {
    order: -1;
  }

  .site-header {
    position: static;
  }

  .content-main {
    padding-top: 2rem;
  }

  .content-card {
    padding: 1.4rem 1.3rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .store-buttons {
    flex-direction: column;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }
}
