/* =============================================
   Mindful Moments — Website stylesheet
   Colour palette mirrors the app's teal/blue
   gradient and SF Rounded aesthetic.
   ============================================= */

/* ── SF Pro Rounded font faces ── */
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('Fonts/SF-Pro-Rounded-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('Fonts/SF-Pro-Rounded-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('Fonts/SF-Pro-Rounded-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('Fonts/SF-Pro-Rounded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('Fonts/SF-Pro-Rounded-Heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('Fonts/SF-Pro-Rounded-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal:        #00c8b3;
  --teal-dark:   #00a090;
  --blue:        #4a90e2;
  --grad-start:  #5ba4e6;
  --grad-end:    #38c8b3;
  --dark-bg:     #0d1b2a;
  --card-bg:     rgba(255,255,255,0.10);
  --card-border: rgba(255,255,255,0.22);
  --text-light:  #ffffff;
  --text-muted:  rgba(255,255,255,0.75);
  --text-dark:   #0f2027;
  --radius:      20px;
  --radius-sm:   12px;
  --shadow:      0 12px 40px rgba(0,0,0,0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'SF Pro Rounded', system-ui, sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout helpers ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,200,179,.35); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
}
.btn-ghost {
  background: var(--card-bg);
  color: #fff;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}
.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 28px; font-size: .92rem; font-weight: 500; }
.nav-links a { color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,179,.22) 0%, transparent 70%),
              linear-gradient(180deg, rgba(90,164,230,.14) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,200,179,.15);
  border: 1px solid rgba(0,200,179,.35);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* app store badge placeholder */
.badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: default;
}
.badge-wrap .badge-icon { font-size: 1.4rem; }

/* mockup phones */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  margin-top: 72px;
  padding: 16px 40px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero-phones::-webkit-scrollbar { display: none; }
.phone-card {
  width: 155px;
  height: 305px;
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,.15);
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: .78rem;
  text-align: center;
  padding: 16px;
  transition: transform .3s ease;
}
.phone-card.phone-screenshot {
  width: 480px;
  flex-shrink: 0;
  scroll-snap-align: center;
  height: auto;
  padding: 0;
  overflow: visible;
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
}
.phone-card.phone-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,.45));
}
.phone-card:hover { transform: translateY(-8px); }
.phone-card.center { transform: translateY(-36px); z-index: 2; }
.phone-card.center:hover { transform: translateY(-46px); }
.phone-card.phone-screenshot {
  transition: transform .45s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter .45s ease;
}
.phone-card.phone-screenshot:hover {
  transform: translateY(-18px);
  filter: drop-shadow(0 32px 56px rgba(0,0,0,.55));
}
.phone-card.phone-screenshot.center { transform: none; }
.phone-card.phone-screenshot.center:hover { transform: translateY(-18px); }
.phone-card .screen-icon { font-size: 2.6rem; }
.phone-card .screen-label { font-weight: 600; color: #fff; font-size: .86rem; }

/* ── Themes grid ── */
.themes-section { background: rgba(255,255,255,.025); }
.themes-section h2 { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.themes-section .sub { text-align: center; color: var(--text-muted); margin-bottom: 52px; font-size: 1rem; }
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.theme-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 16px 22px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform .2s, box-shadow .2s;
}
.theme-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.theme-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.theme-card h3 { font-size: .98rem; font-weight: 700; margin-bottom: 6px; }
.theme-card p  { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
/* per-theme accent colours */
.t-calm        .theme-icon { background: rgba(0,200,179,.22);  }
.t-sleep       .theme-icon { background: rgba(97,85,245,.22);  }
.t-focus       .theme-icon { background: rgba(0,136,255,.22);  }
.t-stress      .theme-icon { background: rgba(255,45,85,.22);  }
.t-energy      .theme-icon { background: rgba(255,141,40,.22); }
.t-gratitude   .theme-icon { background: rgba(255,204,0,.22);  }

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: transform .2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.section-sub   { text-align: center; color: var(--text-muted); margin-bottom: 52px; font-size: 1rem; }

/* ── Privacy highlight ── */
.privacy-banner {
  background: linear-gradient(135deg, rgba(0,200,179,.12), rgba(74,144,226,.12));
  border: 1px solid rgba(0,200,179,.25);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.privacy-banner .lock { font-size: 3rem; margin-bottom: 16px; }
.privacy-banner h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; }
.privacy-banner p  { color: var(--text-muted); max-width: 540px; margin: 0 auto 24px; }
.privacy-points {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.privacy-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--teal);
  font-weight: 600;
}

/* ── Support ── */
.support-section { text-align: center; }
.support-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.support-section p  { color: var(--text-muted); margin-bottom: 32px; }
.support-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.support-email:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,200,179,.4); }
.faq { max-width: 640px; margin: 52px auto 0; text-align: left; }
.faq h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; text-align: center; }
.faq-item { margin-bottom: 18px; }
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--teal); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 14px 20px 16px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--card-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* ── Footer ── */
footer {
  background: rgba(0,0,0,.35);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 40px 0;
  text-align: center;
  font-size: .84rem;
  color: var(--text-muted);
}
footer .footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
footer .footer-links a { transition: color .2s; }
footer .footer-links a:hover { color: var(--teal); }

/* ── Lightbox ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .3s ease;
}
#lightbox.open {
  display: flex;
  opacity: 1;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  transform: scale(0.92);
  transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}
#lightbox.open #lightbox-img {
  transform: scale(1);
}
#lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 1001;
}
#lightbox-close:hover { background: rgba(255,255,255,.25); }
.phone-card.phone-screenshot { cursor: zoom-in; }

/* ── Responsive ── */
@media (max-width: 640px) {
  nav .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .hero-phones { height: auto; flex-direction: column; align-items: center; }
  .phone-card.center { transform: none; }
  section { padding: 56px 0; }
  .privacy-banner { padding: 32px 20px; }
}
