/* Zen Meditation for Deep Sleep — spoke theme
   Night navy hero, mint structural accent, lavender CTA */
:root {
  --hero-bg: #101A2E;
  --hero-bg-2: #16233C;
  --accent: #4ECDC4;        /* mint — structural */
  --cta: #8B7CF6;           /* lavender — CTA */
  --cta-dark: #7663F0;
  --text: #1C1C22;
  --text-secondary: #61616B;
  --paper: #FAF7F0;
  --white: #FFFFFF;
  --border: #E7E4DC;
  --hero-text: #F4F6FA;
  --hero-muted: #A9B4C8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; letter-spacing: -0.02em; }

a { color: var(--accent); }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 26, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--hero-text); text-decoration: none; font-weight: 700; font-size: 1.02rem;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  color: var(--hero-muted); text-decoration: none; font-size: 0.88rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--hero-text); }
.nav-links a.btn {
  background: var(--cta); color: #fff; padding: 0.5rem 1.15rem; border-radius: 9px;
}
.nav-links a.btn:hover { background: var(--cta-dark); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--hero-bg) 0%, var(--hero-bg-2) 100%);
  color: var(--hero-text);
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 4.5rem 1.5rem 0;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: end;
}
.hero-copy { padding-bottom: 4.5rem; }
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.3rem); line-height: 1.12; font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--accent); }
.hero-copy p {
  color: var(--hero-muted); font-size: 1.08rem; max-width: 34rem; margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--cta); color: #fff !important; text-decoration: none;
  padding: 0.85rem 1.6rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--cta-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--hero-text) !important; text-decoration: none;
  padding: 0.85rem 1.4rem; border-radius: 12px; font-weight: 500; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.25); transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.trust-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; color: var(--hero-muted); }
.trust-item i { color: var(--accent); font-size: 0.75rem; }

.hero-phone {
  width: min(310px, 100%); margin: 0 auto;
  border: 10px solid #060B16; border-bottom: none;
  border-radius: 38px 38px 0 0;
  transform: rotate(2.5deg);
  box-shadow: 0 -18px 60px rgba(0,0,0,0.45);
  overflow: hidden;
  background: #060B16;
}
.hero-phone img { display: block; width: 100%; height: auto; }

/* ── Sections ── */
section { padding: 4.5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
}
section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 0.8rem; }
.section-sub { color: var(--text-secondary); max-width: 40rem; margin-bottom: 2.5rem; }
.bg-paper { background: var(--paper); }

/* Screenshots row */
.screens-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.screen-card {
  border-radius: 20px; overflow: hidden; background: var(--paper);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.screen-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(16,26,46,0.12); }
.screen-card img { display: block; width: 100%; height: auto; }
.screen-card figcaption { padding: 0.9rem 1.1rem; font-size: 0.85rem; color: var(--text-secondary); }

/* In-action bands */
.band { position: relative; border-radius: 24px; overflow: hidden; margin-bottom: 1.5rem; }
.band img { display: block; width: 100%; height: 340px; object-fit: cover; }
.band-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(16,26,46,0) 30%, rgba(16,26,46,0.72) 100%);
}
.band-overlay div { padding: 1.8rem 2rem; color: #fff; }
.band-overlay h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.band-overlay p { font-size: 0.92rem; color: rgba(255,255,255,0.85); max-width: 34rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 1.8rem;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--text-secondary); }

/* Features grid */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(16,26,46,0.08); }
.feature i { color: var(--cta); font-size: 1.15rem; margin-bottom: 0.7rem; display: block; }
.feature h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.feature p { font-size: 0.82rem; color: var(--text-secondary); }

/* Guides list */
.guides-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.guide-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.1rem 1.3rem; text-decoration: none; color: var(--text);
  font-weight: 600; font-size: 0.93rem;
  transition: border-color 0.2s, transform 0.2s;
}
.guide-link:hover { border-color: var(--accent); transform: translateX(3px); }
.guide-link i { color: var(--accent); }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.1rem 1.3rem; margin-bottom: 0.9rem;
}
.faq summary { font-weight: 600; cursor: pointer; font-size: 0.97rem; }
.faq details p { margin-top: 0.8rem; color: var(--text-secondary); font-size: 0.92rem; }
.faq a { font-weight: 600; text-decoration: none; }

/* CTA band */
.cta-band {
  background: linear-gradient(150deg, var(--hero-bg), var(--hero-bg-2));
  color: var(--hero-text); text-align: center; border-radius: 26px;
  padding: 3.5rem 2rem; max-width: 1100px; margin: 0 auto;
}
.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band p { color: var(--hero-muted); margin-bottom: 1.8rem; }

/* Footer */
footer { background: var(--hero-bg); color: var(--hero-muted); padding: 3rem 1.5rem; margin-top: 4.5rem; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem;
}
footer h4 { color: var(--hero-text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.9rem; }
footer a { display: block; color: var(--hero-muted); text-decoration: none; font-size: 0.87rem; margin-bottom: 0.5rem; }
footer a:hover { color: var(--hero-text); }
.footer-brand { font-size: 0.87rem; line-height: 1.7; }

/* Guide article pages */
.article { max-width: 720px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.article h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.15; margin-bottom: 1rem; }
.article .meta { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 2rem; }
.article h2 { font-size: 1.35rem; margin: 2.2rem 0 0.7rem; }
.article p, .article li { color: #3A3A42; font-size: 1rem; margin-bottom: 1rem; }
.article ol, .article ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.article li { margin-bottom: 0.5rem; }
.app-cta {
  background: var(--paper); border: 1px solid var(--border); border-radius: 18px;
  padding: 1.6rem; margin: 2.4rem 0; display: flex; gap: 1.2rem; align-items: center;
}
.app-cta img { width: 62px; height: 62px; border-radius: 14px; }
.app-cta h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.app-cta p { font-size: 0.85rem; margin-bottom: 0.7rem; color: var(--text-secondary); }
.related { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.6rem; }
.related h2 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.related a { display: block; margin-bottom: 0.5rem; text-decoration: none; font-weight: 600; font-size: 0.93rem; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-phone { transform: rotate(0deg); width: min(260px, 80%); }
  .screens-row, .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
