/* ===================================================================
   Wellness Pause — shared styles
   A quiet room, not a hospital corridor.
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:        #0C2430;
  --surface:   #123240;
  --surface-2: #163B4B;
  --line:      #204C5F;
  --amber:     #00A7B5;
  --amber-dim: #00909C;
  --sage:      #00A7B5;
  --navy:      #0A3A5C;
  --text:      #EFF5F6;
  --text-muted:#8FAAB4;
  --radius:    18px;
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}

body{
  position:relative;
  overflow-x:hidden;
}

h1,h2,h3{
  font-family:'Fraunces',serif;
  font-weight:500;
  margin:0;
  letter-spacing:-0.01em;
}

p{ margin:0; }

a{ color:inherit; text-decoration:none; }

/* ---------- ambient breathing glow (signature element) ---------- */
.ambient-glow{
  position:fixed;
  top:50%;
  left:50%;
  width:70vmax;
  height:70vmax;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,167,181,0.16) 0%, rgba(0,167,181,0) 70%);
  animation:ambientBreathe 9s ease-in-out infinite;
  pointer-events:none;
  z-index:0;
}
@keyframes ambientBreathe{
  0%,100%{ transform:translate(-50%,-50%) scale(0.85); opacity:0.6; }
  50%{ transform:translate(-50%,-50%) scale(1.05); opacity:1; }
}

@media (prefers-reduced-motion: reduce){
  .ambient-glow{ animation:none; }
}

/* ---------- layout shell ---------- */
.wrap{
  position:relative;
  z-index:1;
  max-width:560px;
  margin:0 auto;
  min-height:100vh;
  padding:32px 20px 56px;
  display:flex;
  flex-direction:column;
}

.eyebrow{
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--sage);
  font-weight:600;
}

.header{
  text-align:center;
  padding:28px 0 8px;
}
.header h1{
  font-size:30px;
  line-height:1.15;
  margin-top:10px;
}
.header p.sub{
  color:var(--text-muted);
  font-size:15px;
  margin-top:10px;
  line-height:1.5;
}

/* ---------- option cards (landing menu) ---------- */
.menu{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:28px;
}

.option-card{
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
  cursor:pointer;
}
.option-card:hover, .option-card:focus-visible{
  transform:translateY(-2px);
  background:var(--surface-2);
  border-color:var(--sage);
  outline:none;
}
.option-card:active{ transform:translateY(0); }

.option-icon{
  flex:0 0 auto;
  width:46px;
  height:46px;
  border-radius:50%;
  background:var(--surface-2);
  display:flex;
  align-items:center;
  justify-content:center;
}
.option-icon svg{ width:22px; height:22px; }

.option-text h3{
  font-size:17px;
  font-weight:500;
  color:var(--text);
}
.option-text p{
  font-size:13.5px;
  color:var(--text-muted);
  margin-top:3px;
  line-height:1.4;
}

.option-time{
  margin-left:auto;
  flex:0 0 auto;
  font-size:12px;
  color:var(--text-muted);
  border:1px solid var(--line);
  padding:4px 9px;
  border-radius:100px;
  white-space:nowrap;
}

/* ---------- sub-pages ---------- */
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--text-muted);
  font-size:14px;
  padding:8px 0;
  width:fit-content;
}
.back-link svg{ width:16px; height:16px; }
.back-link:hover{ color:var(--text); }

.content-card{
  margin-top:24px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 22px;
  text-align:center;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:340px;
}

.page-title{
  font-size:24px;
  margin-bottom:8px;
}
.page-sub{
  color:var(--text-muted);
  font-size:14.5px;
  margin-bottom:26px;
  line-height:1.5;
}

/* ---------- audio / video placeholders ---------- */
.media-shell{
  width:100%;
  max-width:340px;
}
audio{ width:100%; }
video{
  width:100%;
  border-radius:12px;
  background:#111;
}

.placeholder-box{
  width:100%;
  aspect-ratio:16/10;
  border:1px dashed var(--line);
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--text-muted);
  font-size:13px;
  padding:20px;
  text-align:center;
}

/* ---------- breathing circle ---------- */
.breathe-stage{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
}
.breathe-circle-wrap{
  width:180px;
  height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.breathe-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:1px solid var(--line);
}
.breathe-circle{
  width:70px;
  height:70px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, var(--sage), var(--navy));
  box-shadow:0 0 40px rgba(0,167,181,0.35);
  transition:transform 4s cubic-bezier(.45,0,.55,1);
}
.breathe-label{
  font-family:'Fraunces',serif;
  font-size:20px;
  min-height:28px;
}
.breathe-count{
  color:var(--text-muted);
  font-size:14px;
}

/* ---------- affirmation ---------- */
.affirmation-text{
  font-family:'Fraunces',serif;
  font-size:24px;
  line-height:1.4;
  color:var(--text);
  max-width:340px;
}

/* ---------- buttons ---------- */
.btn{
  margin-top:24px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--amber);
  color:#ffffff;
  font-weight:600;
  font-size:14.5px;
  padding:12px 22px;
  border-radius:100px;
  border:none;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease;
}
.btn:hover{ background:var(--amber-dim); transform:translateY(-1px); }
.btn:active{ transform:translateY(0); }
.btn:disabled{ opacity:0.5; cursor:default; transform:none; }

.btn-ghost{
  background:transparent;
  border:1px solid var(--line);
  color:var(--text);
}
.btn-ghost:hover{ background:var(--surface-2); }

/* ---------- footer note ---------- */
.footer-note{
  text-align:center;
  color:var(--text-muted);
  font-size:12px;
  margin-top:32px;
  line-height:1.6;
}

@media (max-width:380px){
  .header h1{ font-size:25px; }
  .option-time{ display:none; }
}
