/* ============================================
   RespiClear™ — Main Stylesheet
   Version: 2.0 | March 2026
   ============================================ */

/* === RESET & VARIABLES === */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --sky:#0EA5E9;--deep:#0369A1;--mint:#10B981;--white:#FFFFFF;--off:#F8FAFC;
  --slate:#1E293B;--body:#334155;--light:#94A3B8;--gold:#F59E0B;
  --grad:linear-gradient(135deg,#0EA5E9 0%,#10B981 100%);
  --glass:rgba(255,255,255,0.08);
  --radius:16px;--radius-sm:10px;--radius-full:50px;
  --shadow:0 4px 20px rgba(0,0,0,0.06);--shadow-lg:0 20px 60px rgba(0,0,0,0.08);
  --transition:all 0.3s ease;
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Outfit',sans-serif;color:var(--body);background:var(--white);line-height:1.7;overflow-x:hidden}
h1,h2,h3,h4,h5{font-family:'DM Serif Display',serif;color:var(--slate);line-height:1.3}
a{text-decoration:none;color:inherit;transition:color 0.3s}
img{max-width:100%;height:auto;display:block}
.container{max-width:1100px;margin:0 auto;padding:0 1.5rem}
section{padding:5rem 1.5rem}

/* === UTILITY === */
.section-label{font-size:0.8rem;font-weight:700;text-transform:uppercase;letter-spacing:0.15em;color:var(--sky);margin-bottom:0.5rem}
.section-title{font-size:2.2rem;margin-bottom:1rem}
.section-desc{font-size:1.05rem;color:var(--body);max-width:700px;margin-bottom:2.5rem}
.text-center{text-align:center}
.bg-off{background:var(--off)}

/* === NAV === */
nav{position:fixed;top:0;width:100%;z-index:1000;background:rgba(255,255,255,0.95);backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,0,0,0.06);padding:0.8rem 0;transition:var(--transition)}
nav.scrolled{box-shadow:0 4px 20px rgba(0,0,0,0.08)}
.nav-inner{max-width:1200px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between}
.logo{font-family:'DM Serif Display',serif;font-size:1.6rem;color:var(--deep)}
.logo span{color:var(--mint)}
.nav-links{display:flex;gap:1.6rem;align-items:center}
.nav-links a{font-size:0.85rem;font-weight:500;color:var(--body)}
.nav-links a:hover{color:var(--sky)}
.nav-cta{background:var(--grad);color:white!important;padding:0.6rem 1.4rem;border-radius:var(--radius-full);font-weight:600;font-size:0.85rem}
.nav-cta:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(14,165,233,0.4)}
.mobile-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--slate)}

/* === CTA BUTTONS === */
.cta-btn{display:inline-flex;align-items:center;gap:0.6rem;background:var(--grad);color:white;padding:1rem 2.2rem;border-radius:var(--radius-full);font-weight:700;font-size:1rem;transition:var(--transition);box-shadow:0 4px 20px rgba(14,165,233,0.3);border:none;cursor:pointer;text-transform:uppercase;letter-spacing:0.03em}
.cta-btn:hover{transform:translateY(-3px);box-shadow:0 8px 35px rgba(14,165,233,0.45);color:white}
.cta-btn svg{width:20px;height:20px;fill:white}
.cta-btn-white{background:white;color:var(--deep);box-shadow:0 4px 20px rgba(0,0,0,0.1)}
.cta-btn-white:hover{color:var(--deep)}

/* === HERO === */
.hero{padding:8rem 1.5rem 4rem;background:linear-gradient(180deg,#F0F9FF 0%,#FFFFFF 100%);position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;right:-20%;width:600px;height:600px;background:radial-gradient(circle,rgba(14,165,233,0.08) 0%,transparent 70%);border-radius:50%}
.hero-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.hero-text h1{font-size:2.8rem;margin-bottom:1rem;line-height:1.2}
.hero-text h1 span{background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-text .sub{font-size:1.1rem;color:var(--body);margin-bottom:1.5rem;max-width:520px}
.hero-badges{display:flex;gap:0.8rem;flex-wrap:wrap;margin-bottom:2rem}
.badge{display:flex;align-items:center;gap:0.4rem;background:white;padding:0.5rem 1rem;border-radius:var(--radius-full);font-size:0.8rem;font-weight:600;color:var(--deep);box-shadow:var(--shadow);border:1px solid rgba(14,165,233,0.1)}
.badge svg{width:16px;height:16px;fill:var(--mint)}
.hero-stats{display:flex;gap:2rem;margin-bottom:2rem}
.stat{text-align:center}
.stat .num{font-family:'DM Serif Display',serif;font-size:1.8rem;color:var(--deep);display:block}
.stat .label{font-size:0.75rem;color:var(--light);font-weight:500;text-transform:uppercase;letter-spacing:0.05em}
.hero-img{text-align:center;position:relative}
.hero-img img{max-height:420px;margin:0 auto;filter:drop-shadow(0 20px 40px rgba(0,0,0,0.1));animation:float 6s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-15px)}}

/* === TRUST BAR === */
.trust-bar{background:var(--slate);padding:2rem 1.5rem}
.trust-inner{max-width:1100px;margin:0 auto;display:flex;justify-content:center;gap:3rem;flex-wrap:wrap;align-items:center}
.trust-item{display:flex;align-items:center;gap:0.6rem}
.trust-item img{width:40px;height:40px;border-radius:8px}
.trust-item span{color:white;font-size:0.85rem;font-weight:600}

/* === ABOUT GRID === */
.about-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:3rem;align-items:center}
.about-img img{border-radius:20px;box-shadow:var(--shadow-lg)}

/* === MECHANISM CARDS === */
.mechanism-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.mech-card{background:white;border-radius:var(--radius);padding:2rem;border:1px solid rgba(0,0,0,0.06);transition:var(--transition);position:relative;overflow:hidden}
.mech-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px rgba(14,165,233,0.12);border-color:var(--sky)}
.mech-card .num{font-family:'DM Serif Display',serif;font-size:3rem;color:rgba(14,165,233,0.1);position:absolute;top:0.5rem;right:1rem}
.mech-card h3{font-size:1.05rem;margin-bottom:0.6rem;color:var(--deep)}
.mech-card p{font-size:0.88rem;color:var(--body);line-height:1.6}

/* === INGREDIENTS === */
.ing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.ing-card{background:white;border-radius:var(--radius);padding:1.8rem;border:1px solid rgba(0,0,0,0.05);transition:var(--transition)}
.ing-card:hover{box-shadow:0 10px 30px rgba(0,0,0,0.08)}
.ing-card h3{font-size:1.05rem;color:var(--deep);margin-bottom:0.4rem}
.ing-card .role{font-size:0.78rem;font-weight:600;color:var(--mint);text-transform:uppercase;letter-spacing:0.05em;margin-bottom:0.5rem}
.ing-card p{font-size:0.88rem;line-height:1.6}
.ing-card .ref{font-size:0.75rem;color:var(--sky);margin-top:0.5rem;display:block}
.ing-card .ref a{color:var(--sky);text-decoration:underline}

/* === BENEFITS === */
.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.ben-card{text-align:center;padding:2rem 1.5rem;border-radius:var(--radius);background:white;border:1px solid rgba(0,0,0,0.05);transition:var(--transition)}
.ben-card:hover{transform:translateY(-4px);box-shadow:0 12px 35px rgba(14,165,233,0.1)}
.ben-icon{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,rgba(14,165,233,0.1),rgba(16,185,129,0.1));display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:1.5rem}
.ben-card h3{font-size:1rem;margin-bottom:0.5rem}
.ben-card p{font-size:0.85rem;line-height:1.6}

/* === COMPARISON TABLE === */
.comp-table{width:100%;border-collapse:collapse;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.comp-table th{background:var(--deep);color:white;padding:1rem;text-align:left;font-size:0.85rem;font-weight:600}
.comp-table td{padding:0.9rem 1rem;font-size:0.85rem;border-bottom:1px solid #f1f5f9}
.comp-table tr:nth-child(even){background:#f8fafc}
.comp-table .check{color:var(--mint);font-weight:700}
.comp-table .cross{color:#ef4444;font-weight:700}

/* === REVIEWS === */
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.review-card{background:white;border-radius:var(--radius);padding:2rem;border:1px solid rgba(0,0,0,0.05)}
.review-card img{width:60px;height:60px;border-radius:50%;margin-bottom:1rem;object-fit:cover}
.review-card .stars{color:var(--gold);font-size:1rem;margin-bottom:0.6rem}
.review-card p{font-size:0.9rem;line-height:1.6;font-style:italic;margin-bottom:0.8rem}
.review-card .name{font-weight:700;font-size:0.85rem;color:var(--deep)}
.review-card .loc{font-size:0.78rem;color:var(--light)}

/* === PRICING === */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;align-items:start}
.price-card{background:white;border-radius:20px;padding:2rem;text-align:center;border:2px solid rgba(0,0,0,0.06);transition:var(--transition);position:relative}
.price-card.popular{border-color:var(--sky);transform:scale(1.05);box-shadow:0 20px 50px rgba(14,165,233,0.15)}
.price-card.popular::before{content:'BEST VALUE';position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--grad);color:white;padding:0.3rem 1.2rem;border-radius:var(--radius-full);font-size:0.7rem;font-weight:700;letter-spacing:0.1em}
.price-card h3{font-size:1.1rem;margin-bottom:0.3rem}
.price-card .bottles{font-size:0.85rem;color:var(--light);margin-bottom:1rem}
.price-card .price{font-family:'DM Serif Display',serif;font-size:2.8rem;color:var(--deep)}
.price-card .price span{font-size:1rem;color:var(--light)}
.price-card .per{font-size:0.8rem;color:var(--body);margin-bottom:1rem}
.price-card ul{list-style:none;text-align:left;margin-bottom:1.5rem}
.price-card ul li{font-size:0.82rem;padding:0.3rem 0;color:var(--body)}
.price-card ul li::before{content:'✓';color:var(--mint);font-weight:700;margin-right:0.5rem}
.price-card img{max-height:180px;margin:0 auto 1rem}
.guarantee-badge{text-align:center;margin-top:2rem}
.guarantee-badge img{max-width:180px;margin:0 auto}

/* === FAQ === */
.faq-item{background:white;border-radius:var(--radius-sm);margin-bottom:0.8rem;overflow:hidden;border:1px solid rgba(0,0,0,0.05)}
.faq-q{padding:1.2rem 1.5rem;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:0.95rem;color:var(--slate);transition:background 0.3s}
.faq-q:hover{background:#f8fafc}
.faq-q::after{content:'+';font-size:1.4rem;color:var(--sky);transition:transform 0.3s}
.faq-item.open .faq-q::after{content:'−'}
.faq-a{max-height:0;overflow:hidden;transition:max-height 0.4s ease,padding 0.3s}
.faq-item.open .faq-a{max-height:500px;padding:0 1.5rem 1.2rem}
.faq-a p{font-size:0.9rem;line-height:1.7;color:var(--body)}

/* === SCIENCE LINKS === */
.science-links{display:grid;grid-template-columns:repeat(2,1fr);gap:0.8rem}
.sci-link{display:flex;align-items:start;gap:0.6rem;padding:0.8rem 1rem;background:white;border-radius:var(--radius-sm);border:1px solid rgba(0,0,0,0.05);font-size:0.82rem;transition:border-color 0.3s}
.sci-link:hover{border-color:var(--sky)}
.sci-link .num{font-weight:700;color:var(--sky);min-width:24px}
.sci-link a{color:var(--deep);line-height:1.4}
.sci-link a:hover{color:var(--sky)}

/* === BLOG GRID === */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.blog-card{background:white;border-radius:var(--radius);overflow:hidden;border:1px solid rgba(0,0,0,0.06);transition:var(--transition)}
.blog-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.blog-card .thumb{height:180px;background:linear-gradient(135deg,rgba(14,165,233,0.15),rgba(16,185,129,0.1));display:flex;align-items:center;justify-content:center;font-size:3rem}
.blog-card .blog-body{padding:1.5rem}
.blog-card .blog-cat{font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:var(--sky);margin-bottom:0.4rem}
.blog-card h3{font-size:1.05rem;margin-bottom:0.5rem;line-height:1.4}
.blog-card h3 a{color:var(--slate)}
.blog-card h3 a:hover{color:var(--sky)}
.blog-card .excerpt{font-size:0.85rem;color:var(--body);line-height:1.6;margin-bottom:1rem}
.blog-card .read-more{font-size:0.82rem;font-weight:600;color:var(--sky)}

/* === BLOG ARTICLE === */
.article-hero{padding:8rem 1.5rem 3rem;background:var(--off)}
.article-hero .breadcrumb{font-size:0.8rem;color:var(--light);margin-bottom:1rem}
.article-hero .breadcrumb a{color:var(--sky)}
.article-hero h1{font-size:2.4rem;max-width:800px}
.article-hero .meta{font-size:0.85rem;color:var(--light);margin-top:0.8rem}
.article-content{max-width:800px;margin:0 auto;padding:3rem 1.5rem}
.article-content h2{font-size:1.6rem;margin:2rem 0 1rem;color:var(--deep)}
.article-content h3{font-size:1.2rem;margin:1.5rem 0 0.8rem}
.article-content p{margin-bottom:1rem;font-size:1rem;line-height:1.8}
.article-content ul,.article-content ol{margin:1rem 0 1rem 1.5rem}
.article-content li{margin-bottom:0.5rem;font-size:0.95rem;line-height:1.7}
.article-content a{color:var(--sky);text-decoration:underline}
.article-content blockquote{border-left:4px solid var(--sky);padding:1rem 1.5rem;background:var(--off);margin:1.5rem 0;border-radius:0 var(--radius-sm) var(--radius-sm) 0;font-style:italic}
.article-sidebar{padding:2rem;background:white;border-radius:var(--radius);border:1px solid rgba(0,0,0,0.06)}
.article-cta{background:var(--off);border-radius:var(--radius);padding:2rem;text-align:center;margin:2rem 0}

/* === LEGAL PAGES === */
.legal-page{padding:8rem 1.5rem 4rem}
.legal-page .container{max-width:800px}
.legal-page h1{font-size:2rem;margin-bottom:1.5rem}
.legal-page h2{font-size:1.3rem;margin:2rem 0 0.8rem;color:var(--deep)}
.legal-page p{margin-bottom:1rem;font-size:0.95rem;line-height:1.8}
.legal-page ul{margin:1rem 0 1rem 1.5rem}
.legal-page li{margin-bottom:0.5rem;font-size:0.92rem}

/* === CTA BANNER === */
.cta-banner{background:linear-gradient(135deg,#0369A1,#10B981);padding:4rem 1.5rem;text-align:center}
.cta-banner h2{color:white;font-size:2rem;margin-bottom:1rem}
.cta-banner p{color:rgba(255,255,255,0.9);max-width:600px;margin:0 auto 2rem;font-size:1.05rem}

/* === FOOTER === */
footer{background:var(--slate);color:rgba(255,255,255,0.7);padding:3rem 1.5rem 2rem}
.footer-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:2rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,0.1)}
.footer-col h4{color:white;font-size:0.9rem;margin-bottom:0.8rem;font-family:'DM Serif Display',serif}
.footer-col a{display:block;font-size:0.82rem;margin-bottom:0.4rem;color:rgba(255,255,255,0.6)}
.footer-col a:hover{color:var(--sky)}
.footer-disclaimer{font-size:0.72rem;line-height:1.7;color:rgba(255,255,255,0.4);max-width:900px}

/* === RESPONSIVE === */
@media(max-width:900px){
  .hero-inner,.about-grid{grid-template-columns:1fr}
  .hero-img{order:-1}
  .mechanism-grid,.benefits-grid,.reviews-grid,.pricing-grid,.ing-grid,.science-links,.blog-grid{grid-template-columns:1fr}
  .price-card.popular{transform:none}
  .hero-text h1{font-size:2rem}
  .nav-links{display:none;position:absolute;top:100%;left:0;width:100%;background:white;flex-direction:column;padding:1rem;box-shadow:0 10px 30px rgba(0,0,0,0.1);gap:0.8rem}
  .nav-links.active{display:flex}
  .mobile-toggle{display:block}
  .hero-stats{gap:1rem}
  .trust-inner{gap:1.5rem}
  .section-title{font-size:1.8rem}
  .article-hero h1{font-size:1.8rem}
}
@media(min-width:901px) and (max-width:1100px){
  .mechanism-grid,.benefits-grid,.blog-grid{grid-template-columns:repeat(2,1fr)}
  .pricing-grid{grid-template-columns:repeat(3,1fr)}
}
