/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:     #1A7A5E;
  --primary-dark:#145E48;
  --primary-light:#22A87D;
  --accent:      #F5A623;
  --bg:          #F9FAFB;
  --surface:     #FFFFFF;
  --fg:          #111827;
  --muted:       #6B7280;
  --border:      #E5E7EB;
  --success:     #10B981;
  --mint-soft:   #E6F7F1;
  --gradient:    linear-gradient(135deg, #1A7A5E 0%, #22A87D 50%, #2DD4BF 100%);
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --radius:      16px;
  --radius-lg:   24px;
  --font:        'Poppins', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, opacity .18s;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26,122,94,.35);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(26,122,94,.45); }

.btn-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.25); }

.btn-nav {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  font-size: .9rem;
}
.btn-nav:hover { background: var(--primary-dark); }

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }

/* ══════════════════════════════════════════
   DECORATIVE CIRCLES
══════════════════════════════════════════ */
.circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--fg);
  margin: 12px 0 16px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-header--light h2 { color: #fff; }
.section-header--light p  { color: rgba(255,255,255,.8); }

.section-tag {
  display: inline-block;
  background: var(--mint-soft);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.section-tag--light {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(249,250,251,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}
.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--primary); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: .2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.nav-mobile a {
  padding: 10px 0;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--gradient);
  padding: 140px 0 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-bg-circles { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-circles .c1 {
  width: 600px; height: 600px;
  background: rgba(255,255,255,.06);
  top: -200px; right: -150px;
}
.hero-bg-circles .c2 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,.04);
  bottom: 100px; left: -100px;
}
.hero-bg-circles .c3 {
  width: 200px; height: 200px;
  background: rgba(245,166,35,.15);
  top: 200px; left: 10%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  flex: 1;
}
.hero-text { color: #fff; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #A7F3D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.5rem; font-weight: 800; color: #fff; }
.stat span   { font-size: .8rem; color: rgba(255,255,255,.7); }
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.3);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0;
}
.phone-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.phone-img {
  width: 280px;
  border-radius: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1);
  position: relative;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-wave {
  margin-top: 60px;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
.features {
  padding: 100px 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
}
.feature-card--reverse { direction: rtl; }
.feature-card--reverse > * { direction: ltr; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}
.feature-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}
.feature-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: .9rem;
  color: var(--primary);
  font-weight: 500;
}
.feature-card-img img {
  width: 100%;
  max-width: 220px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   LIFESTYLE
══════════════════════════════════════════ */
.lifestyle {
  position: relative;
  background: var(--gradient);
  padding: 100px 0;
  overflow: hidden;
}
.lifestyle-bg .lc1 {
  width: 500px; height: 500px;
  background: rgba(255,255,255,.06);
  top: -150px; right: -100px;
}
.lifestyle-bg .lc2 {
  width: 300px; height: 300px;
  background: rgba(245,166,35,.12);
  bottom: -80px; left: 5%;
}

.lifestyle-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.lifestyle-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: #fff;
  position: relative;
  transition: transform .2s, background .2s;
}
.lifestyle-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.18);
}
.lifestyle-card--featured {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.4);
  transform: scale(1.03);
}
.lifestyle-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.lifestyle-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.lifestyle-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.lifestyle-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.lifestyle-card p {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.lifestyle-tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.lifestyle-challenge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 60px;
}
.challenge-text { color: #fff; }
.challenge-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin: 12px 0 16px;
}
.challenge-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin-bottom: 28px;
}
.challenge-img img {
  width: 100%;
  max-width: 240px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   SCREENSHOTS CAROUSEL
══════════════════════════════════════════ */
.screenshots {
  padding: 100px 0 80px;
  background: var(--bg);
  overflow: hidden;
}
.screenshots-track-wrap {
  overflow: hidden;
  margin-top: 20px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.screenshots-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-track 30s linear infinite;
}
.screenshots-track:hover { animation-play-state: paused; }
.ss-img {
  width: 180px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  transition: transform .2s;
}
.ss-img:hover { transform: scale(1.04); }
@keyframes scroll-track {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials {
  padding: 100px 0;
  background: var(--surface);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card--featured {
  background: var(--mint-soft);
  border-color: rgba(26,122,94,.2);
  transform: scale(1.03);
}
.testimonial-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .95rem; color: var(--fg); }
.testimonial-author span  { font-size: .8rem; color: var(--muted); }
.testimonial-result {
  position: absolute;
  top: 28px;
  right: 28px;
  background: var(--primary);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ══════════════════════════════════════════
   DOWNLOAD CTA
══════════════════════════════════════════ */
.download {
  position: relative;
  background: var(--gradient);
  padding: 100px 0;
  overflow: hidden;
}
.download-bg .dc1 {
  width: 500px; height: 500px;
  background: rgba(255,255,255,.07);
  top: -150px; left: -100px;
}
.download-bg .dc2 {
  width: 350px; height: 350px;
  background: rgba(245,166,35,.12);
  bottom: -100px; right: 5%;
}
.download-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.download-text { color: #fff; }
.download-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.download-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
}
.download-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 24px;
  border-radius: 16px;
  transition: background .2s, transform .2s;
}
.store-btn:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.store-btn-sub { display: block; font-size: .72rem; opacity: .8; }
.store-btn-main { display: block; font-size: 1.05rem; font-weight: 700; }
.download-phone img {
  width: 100%;
  max-width: 260px;
  border-radius: 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,.4);
  margin: 0 auto;
  animation: float 4s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: #0D1117;
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s, transform .2s;
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--primary);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding-top: 100px; min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-sub { margin: 0 auto 32px; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-phone { padding-bottom: 0; }
  .phone-img { width: 220px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .feature-card--reverse { direction: ltr; }

  .lifestyle-cards { grid-template-columns: 1fr; }
  .lifestyle-card--featured { transform: none; }
  .lifestyle-challenge {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 32px;
  }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card--featured { transform: none; }

  .download-inner { grid-template-columns: 1fr; text-align: center; }
  .download-btns { justify-content: center; }
  .download-phone { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .footer-links { grid-template-columns: 1fr; }
  .download-btns { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
