/* ─── Tokens ─────────────────────────────────────── */
:root {
  --dark:       #1c1b23;
  --light-dark: #292734;
  --teal:       #33b1bc;
  --violet:     #836af4;
  --gray:       #8e8e93;
  --white:      #f1f0f3;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
}

/* ─── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Utility ────────────────────────────────────── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--teal), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(90deg, var(--teal), var(--violet));
  color: #fff;
  box-shadow: 0 8px 24px rgba(51, 177, 188, 0.35);
}
.btn-secondary {
  background: var(--light-dark);
  color: var(--white);
  border: 1px solid rgba(131, 106, 244, 0.35);
}

/* ─── Animated Gradient BG ───────────────────────── */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: pulse 6s ease-in-out infinite alternate;
}
.bg-glow::before {
  width: 700px; height: 700px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(51,177,188,0.18) 0%, transparent 70%);
}
.bg-glow::after {
  width: 500px; height: 500px;
  bottom: 20%; right: -100px;
  background: radial-gradient(circle, rgba(131,106,244,0.14) 0%, transparent 70%);
  animation-delay: -3s;
}
@keyframes pulse {
  from { transform: translateX(-50%) scale(1); opacity: 0.8; }
  to   { transform: translateX(-50%) scale(1.2); opacity: 1; }
}
.bg-glow::after { animation-name: pulseRight; }
@keyframes pulseRight {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(1.25); opacity: 1; }
}

/* ─── NAV ────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 27, 35, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo svg.icon { width: 37px; height: 30px; color: var(--teal); }
.nav-logo svg.name { width: 82px; height: 22px; color: var(--teal); }
nav .nav-link {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
nav .nav-link:hover { color: var(--teal); }
nav .nav-links { display: flex; gap: 28px; align-items: center; }
nav .nav-cta {
  padding: 8px 20px;
  font-size: 0.875rem;
}

/* ─── HERO ───────────────────────────────────────── */
#hero {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
  text-align: center;
}
.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-logo .icon-wrap {
  position: relative;
  width: 110px; height: 90px;
}
.hero-logo .icon-wrap .glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51,177,188,0.5) 0%, transparent 70%);
  animation: iconPulse 3s ease-in-out infinite alternate;
}
@keyframes iconPulse {
  from { opacity: 0.4; transform: scale(0.95); }
  to   { opacity: 0.8; transform: scale(1.1); }
}
.hero-logo .icon-wrap svg { width: 110px; height: 90px; position: relative; z-index: 1; color: var(--teal); }
.hero-logo .name-img { width: 200px; height: 54px; color: var(--teal); }

#hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
#hero p.sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 44px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── APP STORE BADGE ────────────────────────────── */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--light-dark);
  border: 1px solid rgba(51,177,188,0.25);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s, transform 0.15s;
}
.appstore-badge:hover { border-color: var(--teal); transform: translateY(-1px); }
.appstore-badge svg { width: 24px; height: 24px; }
.appstore-badge .badge-text { text-align: left; }
.appstore-badge .badge-text span { display: block; }
.appstore-badge .badge-text .sub  { font-size: 0.7rem; color: var(--gray); margin: 0; }
.appstore-badge .badge-text .main { font-size: 1rem; font-weight: 600; }

/* ─── DIVIDER ─────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}

/* ─── SECTIONS ───────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
section .section-sub {
  color: var(--gray);
  margin-bottom: 52px;
  max-width: 540px;
}

/* ─── FEATURES GRID ──────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--light-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(51,177,188,0.3);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(51,177,188,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--teal); }
.feature-icon.violet { background: rgba(131,106,244,0.12); }
.feature-icon.violet svg { color: var(--violet); }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── HOW IT WORKS ───────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-body p { color: var(--gray); font-size: 0.9rem; }

/* ─── PRICING ────────────────────────────────────── */
#pricing {
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.pricing-card {
  background: var(--light-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 12px 40px rgba(51,177,188,0.2);
}
.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: 16px; right: -28px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 40px;
  transform: rotate(35deg);
}
.pricing-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price .currency {
  font-size: 1.1rem;
  font-weight: 600;
  vertical-align: super;
}
.pricing-note {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray);
}
.pricing-features li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--teal);
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ─── CONTACT ────────────────────────────────────── */
#contact {
  text-align: center;
}
.contact-box {
  background: var(--light-dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  max-width: 560px;
  margin: 0 auto;
}
.contact-box p {
  color: var(--gray);
  margin-bottom: 28px;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 32px 0;
  text-align: center;
}
footer .foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
footer .foot-logo svg.icon { width: 27px; height: 22px; color: var(--teal); }
footer .foot-logo svg.name { width: 52px; height: 14px; color: var(--teal); }
footer p {
  color: var(--gray);
  font-size: 0.8rem;
}
footer a { color: var(--teal); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 600px) {
  nav .nav-links .nav-link { display: none; }
  .hero-logo .name-img { height: 32px; }
  .contact-box { padding: 36px 24px; }
}
