/*
Theme Name: SmartSleep Therapy
Theme URI: https://smartsleeptherapy.com
Author: SmartSleep Therapy
Author URI: https://smartsleeptherapy.com
Description: Professional sleep diagnosis and therapy website theme. Clean, calming design for sleep health businesses.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smartsleep-theme
Tags: health, medical, business, clean, responsive
*/

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  background: #f7f9fc;
  color: #333;
}

/* NAV */
nav {
  background: #fff;
  border-bottom: 1px solid #e8eef4;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.logo { font-size: 1.3rem; font-weight: 700; color: #1a3a5c; }
.logo span { color: #4a9eda; }
.nav-links { display:flex; gap:2rem; list-style:none; }
.nav-links a { color: #555; text-decoration:none; font-size:0.9rem; transition:color 0.2s; }
.nav-links a:hover { color: #4a9eda; }
.nav-btn {
  background: #4a9eda; color: #fff;
  border: none; padding: 0.55rem 1.4rem;
  border-radius: 6px; font-size: 0.88rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer; transition: background 0.2s;
  text-decoration: none; display: inline-block;
}
.nav-btn:hover { background: #2d7fc0; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #2d6a9f 60%, #4a9eda 100%);
  color: #fff;
  padding: 6rem 2rem 5rem;
  text-align: center;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: italic; color: #aad4f5; }
.hero p {
  max-width: 580px; margin: 0 auto 2.5rem;
  font-size: 1.05rem; line-height: 1.8;
  color: rgba(255,255,255,0.85);
}
.hero-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }
.btn-white {
  background:#fff; color:#1a3a5c;
  padding:0.8rem 2rem; border-radius:6px;
  border:none; font-size:0.95rem; font-weight:600;
  font-family:'Nunito',sans-serif; cursor:pointer;
  transition: all 0.2s; text-decoration:none; display:inline-block;
}
.btn-white:hover { background:#e8f4ff; transform:translateY(-2px); }
.btn-ghost {
  background:transparent; color:#fff;
  border:2px solid rgba(255,255,255,0.5);
  padding:0.8rem 2rem; border-radius:6px;
  font-size:0.95rem; font-family:'Nunito',sans-serif;
  cursor:pointer; transition:all 0.2s;
  text-decoration:none; display:inline-block;
}
.btn-ghost:hover { border-color:#fff; background:rgba(255,255,255,0.1); }

/* QUOTE STRIP */
.quote-wrap { background:#f7f9fc; padding:2.5rem 2rem 0; }
.quote-strip {
  background: #fff;
  border-left: 4px solid #4a9eda;
  max-width: 860px; margin: 0 auto;
  padding: 1.8rem 2.5rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.quote-strip p {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1.1rem;
  color: #2d4a6a; line-height: 1.75;
}

/* SECTIONS */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: #4a9eda;
  margin-bottom: 0.5rem; font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #1a3a5c; margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: #4a9eda; }
.section-sub { color: #666; line-height: 1.8; max-width: 560px; margin-bottom: 3rem; font-size: 0.95rem; }

/* PILLARS */
.pillars-bg { background: #fff; }
.pillars-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1.5rem; }
.pillar-card {
  background: #f7f9fc; border: 1px solid #e0eaf5;
  border-radius: 12px; padding: 2rem 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(74,158,218,0.12); }
.pillar-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.pillar-card h3 { font-size: 1.1rem; color: #1a3a5c; margin-bottom: 0.6rem; font-weight: 700; }
.pillar-card p { font-size: 0.87rem; color: #666; line-height: 1.7; }
.pillar-tag {
  display:inline-block; margin-top:1rem;
  font-size:0.7rem; background:#e8f4ff; color:#2d7fc0;
  padding:0.3rem 0.8rem; border-radius:20px; font-weight:600;
}

/* DISORDERS */
.disorders-bg { background: #f7f9fc; }
.disorders-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.5rem; }
.disorder-card {
  background: #fff; border: 1px solid #e0eaf5;
  border-radius: 12px; padding: 2rem;
  transition: all 0.2s;
}
.disorder-card:hover { border-color:#4a9eda; box-shadow:0 6px 20px rgba(74,158,218,0.1); }
.disorder-vibe { font-size:0.72rem; text-transform:uppercase; letter-spacing:0.15em; color:#4a9eda; font-weight:600; margin-bottom:0.4rem; }
.disorder-card h3 { font-family:'Playfair Display',serif; font-size:1.3rem; color:#1a3a5c; margin-bottom:0.8rem; }
.disorder-sign { font-size:0.85rem; color:#888; line-height:1.6; margin-bottom:1rem; }
.disorder-quote {
  font-style:italic; font-size:0.9rem; color:#555;
  border-left:3px solid #e0eaf5; padding-left:0.9rem; line-height:1.6;
}
.disorder-icon { font-size:1.8rem; margin-bottom:0.8rem; }

/* OSA */
.osa-bg { background: #fff; }
.osa-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }
.osa-step {
  display:flex; gap:1rem; align-items:flex-start;
  padding: 1rem 0; border-bottom:1px solid #f0f4f8;
}
.osa-step:last-child { border-bottom:none; }
.step-num {
  width:32px; height:32px; border-radius:50%;
  background:#e8f4ff; color:#2d7fc0;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:0.85rem; flex-shrink:0;
}
.step-text h4 { color:#1a3a5c; font-size:0.95rem; margin-bottom:0.2rem; }
.step-text p { color:#888; font-size:0.83rem; line-height:1.6; }
.flags-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1.5rem; }
.flag-item {
  background:#f7f9fc; border:1px solid #e0eaf5;
  border-radius:8px; padding:1.2rem;
  font-size:0.85rem; color:#666; line-height:1.6;
}
.flag-item strong { color:#1a3a5c; display:block; margin-bottom:0.3rem; }

/* PRICING */
.pricing-bg { background: #f7f9fc; }
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.5rem; }
.price-card {
  background:#fff; border:1px solid #e0eaf5;
  border-radius:12px; padding:2rem;
  transition:all 0.2s; position:relative;
}
.price-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,0.08); }
.price-card.featured { border-color:#4a9eda; border-width:2px; }
.featured-badge {
  position:absolute; top:-1px; right:1.5rem;
  background:#4a9eda; color:#fff;
  font-size:0.65rem; font-weight:700; letter-spacing:0.1em;
  text-transform:uppercase; padding:0.25rem 0.8rem;
  border-radius:0 0 6px 6px;
}
.price-level { font-size:0.7rem; text-transform:uppercase; letter-spacing:0.15em; color:#4a9eda; font-weight:600; margin-bottom:0.4rem; }
.price-card h3 { font-size:1.1rem; color:#1a3a5c; font-weight:700; margin-bottom:0.5rem; }
.price-tech {
  display:inline-block; font-size:0.72rem;
  background:#f0faf8; color:#2a8a84;
  padding:0.2rem 0.7rem; border-radius:20px;
  margin-bottom:1rem; font-weight:600;
}
.price-desc { font-size:0.85rem; color:#888; line-height:1.7; margin-bottom:1.5rem; }
.price-enquire {
  width:100%; padding:0.7rem;
  background:transparent; border:1.5px solid #d0e4f5;
  color:#2d7fc0; border-radius:6px;
  font-size:0.85rem; font-weight:600; font-family:'Nunito',sans-serif;
  cursor:pointer; transition:all 0.2s;
  text-decoration:none; display:block; text-align:center;
}
.price-enquire:hover { background:#4a9eda; border-color:#4a9eda; color:#fff; }
.price-card.featured .price-enquire { background:#4a9eda; border-color:#4a9eda; color:#fff; }
.price-card.featured .price-enquire:hover { background:#2d7fc0; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #1a3a5c, #2d6a9f);
  color: #fff; text-align:center; padding: 5rem 2rem;
}
.cta-section h2 {
  font-family:'Playfair Display',serif;
  font-size:clamp(1.8rem,4vw,2.8rem); margin-bottom:1rem;
}
.cta-section p { color:rgba(255,255,255,0.8); max-width:480px; margin:0 auto 2.5rem; line-height:1.8; }

/* FOOTER */
.site-footer {
  background:#1a3a5c; color:rgba(255,255,255,0.6);
  text-align:center; padding:2rem;
  font-size:0.82rem; line-height:1.8;
}
.site-footer .f-logo { font-weight:700; color:#fff; font-size:1rem; margin-bottom:0.4rem; }
.site-footer .f-logo span { color:#4a9eda; }

@media(max-width:768px) {
  .nav-links { display:none; }
  .osa-grid { grid-template-columns:1fr; gap:2rem; }
  .flags-grid { grid-template-columns:1fr; }
  .section { padding:3.5rem 1.5rem; }
}
