/* ========================
   Custom Properties
   ======================== */
:root {
  --teal: #5BBFB5;
  --teal-light: #8DD4CB;
  --teal-pale: #E8F6F4;
  --blue: #6B9BD2;
  --blue-dark: #4A7FB5;
  --gradient: linear-gradient(135deg, #5BBFB5, #6B9BD2);
  --text-dark: #2D3748;
  --text-medium: #5A6577;
  --text-light: #8896A6;
  --bg-white: #FFFFFF;
  --bg-off: #F9FAFB;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
  --transition: .3s ease;
}

/* ========================
   Reset & Base
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ========================
   Typography
   ======================== */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ========================
   Buttons
   ======================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91,191,181,.35);
}
.btn--sm {
  padding: 10px 24px;
  font-size: .9rem;
}

/* ========================
   Header
   ======================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  z-index: 101;
}
.header__logo img { border-radius: 8px; }
.nav {
  display: flex;
  gap: 32px;
}
.nav__link {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-medium);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--teal); }
.header__cta { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========================
   Hero
   ======================== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 60px;
  overflow: hidden;
}
.hero__orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: .12;
  filter: blur(80px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: breathe 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .12; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: .18; }
}
.hero__content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero__logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-lg);
}
.hero__title {
  font-family: 'Lilita One', cursive;
  font-size: 3.5rem;
  color: #82dbdf;
  margin-bottom: 12px;
  -webkit-text-stroke: 1px rgba(83,94,111,.2);
}
.hero__tagline {
  font-size: 1.35rem;
  color: var(--text-medium);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  transition: transform var(--transition), opacity var(--transition);
}
.badge img {
  display: block;
}
.badge--apple img {
  height: 60px;
  width: auto;
}
.badge--google img {
  height: 90px;
  width: auto;
  margin: -15px -12px;
}
.badge:hover {
  transform: translateY(-2px);
  opacity: .85;
}

/* ========================
   About
   ======================== */
.about {
  padding: 64px 0 80px;
  background: var(--bg-off);
}
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlight-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.highlight-card__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}
.highlight-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.highlight-card__text {
  font-size: .95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ========================
   Activities
   ======================== */
.activities {
  padding: 100px 0;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.activity-card {
  background: var(--bg-white);
  border: 1px solid #EDF2F7;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.activity-card__emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}
.activity-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.activity-card__desc {
  font-size: .9rem;
  color: var(--text-medium);
  line-height: 1.55;
}

/* ========================
   Features
   ======================== */
.features {
  padding: 100px 0;
  background: var(--bg-off);
}
.feature-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-item__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-pale);
  border-radius: 14px;
}
.feature-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-item__desc {
  font-size: .95rem;
  color: var(--text-medium);
  line-height: 1.55;
}

/* ========================
   Screenshots Carousel
   ======================== */
.screenshots {
  padding: 80px 0;
}
.carousel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.carousel__window {
  overflow: hidden;
  border-radius: 20px;
}
.carousel__track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.carousel__img {
  width: calc(100% / 3);
  flex-shrink: 0;
  display: block;
  padding: 0 8px;
  border-radius: 20px;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-md);
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.carousel__btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--teal-light);
  opacity: .4;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  padding: 0;
}
.carousel__dot.active {
  opacity: 1;
  transform: scale(1.25);
  background: var(--teal);
}

/* ========================
   Download CTA
   ======================== */
.download {
  padding: 100px 0;
  background: var(--gradient);
  text-align: center;
}
.download__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.download__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.download__badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================
   Contact
   ======================== */
.contact {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-off);
}
.contact__text {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ========================
   Footer
   ======================== */
.footer {
  padding: 48px 0;
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
}
.footer__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.footer__brand img { border-radius: 6px; }
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--teal-light); }
.footer__copy {
  font-size: .85rem;
}
.footer__crisis {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  max-width: 480px;
  line-height: 1.5;
}
.footer__crisis a {
  color: var(--teal-light);
  text-decoration: underline;
}

/* ========================
   Scroll Reveal Animation
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   Responsive — Tablet (768px+)
   ======================== */
@media (min-width: 768px) {
  .section-title { font-size: 2.4rem; }
  .hero__title { font-size: 4rem; }
  .hero__logo { width: 140px; height: 140px; }
  .activity-grid { grid-template-columns: repeat(3, 1fr); }
  .header__cta { display: inline-block; }
}

/* ========================
   Responsive — Desktop (1024px+)
   ======================== */
@media (min-width: 1024px) {
  .section-title { font-size: 2.6rem; }
  .hero__title { font-size: 4.5rem; }
  .activity-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__orb { width: 700px; height: 700px; }
}

/* ========================
   Responsive — Mobile (<768px)
   ======================== */
@media (max-width: 767px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .nav.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav__link {
    font-size: 1.2rem;
    font-weight: 700;
  }
  .hamburger { display: flex; }
  .header__cta { display: none !important; }
  .highlights { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.8rem; }
  .hero__logo { width: 100px; height: 100px; }
  .carousel { max-width: 280px; }
  .carousel__img { width: 100%; }
  .carousel__btn--prev { left: -16px; }
  .carousel__btn--next { right: -16px; }
  .download__title { font-size: 1.7rem; }
}
