/* ─── CareHaven · getCareHaven.app ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400;1,9..144,700&family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* ── LIGHT THEME (default) ── */
:root {
  --green:    #4A6741;
  --green-d:  #3A5231;
  --green-l:  #DCF0D4;
  --green-ll: #EEF7E9;
  --warm:     #B87840;
  --warm-l:   #F8EAD8;
  --bg:       #FDFAF6;
  --bgc:      #FFFFFF;
  --bge:      #F5F1EC;
  --t1:       #1E1B18;
  --t2:       #4A453F;
  --t3:       #857E76;
  --bd:       #DDD8D2;
  --bd-l:     #EDE9E4;
  --al:       #B54A38;
  --al-l:     #FAE5E1;
  --sk:       #3B7BAD;
  --sk-l:     #DFF0FA;
  --sn:       #A87E24;
  --sn-l:     #FAF0D0;
  --nav-bg:   rgba(253,250,246,.94);
  --hero-g:   linear-gradient(148deg,#FDFAF6 0%,#E8F5E0 48%,#F8EAD8 100%);
  --sci-g:    linear-gradient(148deg,#EBF5E3 0%,#F8EAD8 100%);
  --ai-g:     linear-gradient(148deg,#E8EEFF 0%,#FDFAF6 100%);
  --shadow:   rgba(30,27,24,.08);
  --shadow-m: rgba(30,27,24,.15);
  --r: 18px;
}

/* ── DARK THEME ── */
html[data-theme="dark"] {
  --green:    #72B364;
  --green-d:  #5A9250;
  --green-l:  rgba(114,179,100,.2);
  --green-ll: rgba(114,179,100,.1);
  --warm:     #D4976A;
  --warm-l:   rgba(212,151,106,.14);
  --bg:       #17150F;
  --bgc:      #211F18;
  --bge:      #1B1910;
  --t1:       #F0EAE1;
  --t2:       #C0B8AD;
  --t3:       #7A7268;
  --bd:       #38352C;
  --bd-l:     #2C2A22;
  --al:       #E06B55;
  --al-l:     rgba(224,107,85,.16);
  --sk:       #6AAAD8;
  --sk-l:     rgba(106,170,216,.14);
  --sn:       #D4A83C;
  --sn-l:     rgba(212,168,60,.14);
  --nav-bg:   rgba(27,25,16,.97);
  --hero-g:   linear-gradient(148deg,#17150F 0%,#1A2416 48%,#1E170E 100%);
  --sci-g:    linear-gradient(148deg,#1A2416 0%,#1E170E 100%);
  --ai-g:     linear-gradient(148deg,#141824 0%,#17150F 100%);
  --shadow:   rgba(0,0,0,.3);
  --shadow-m: rgba(0,0,0,.5);
}
html[data-theme="dark"] body { background: #17150F; color: var(--t1); }
html[data-theme="dark"] .who-bg  { background: var(--bgc); }
html[data-theme="dark"] .features-bg { background: linear-gradient(180deg,var(--bge) 0%,var(--bg) 100%); }
html[data-theme="dark"] .priv-bg { background: var(--bge); }
html[data-theme="dark"] .price-bg { background: var(--bge); }
html[data-theme="dark"] .test-bg  { background: var(--bgc); }
html[data-theme="dark"] .who-card { background: var(--bgc); }
html[data-theme="dark"] .feat-card { background: var(--bgc); }
html[data-theme="dark"] .priv-card { background: var(--bgc); }
html[data-theme="dark"] .test-card { background: var(--bge); }
html[data-theme="dark"] .price-card { background: var(--bgc); }
html[data-theme="dark"] .sci-card { background: rgba(33,31,24,.8); border-color: rgba(114,179,100,.14); }
html[data-theme="dark"] .sci-card:hover { background: rgba(43,40,30,.95); }
html[data-theme="dark"] .sci-card h3 { color: var(--green); }
html[data-theme="dark"] .ai-item { background: rgba(255,255,255,.04); border-color: rgba(106,170,216,.14); }
html[data-theme="dark"] .ai-prov { background: var(--bgc); }
html[data-theme="dark"] .who-quote { color: var(--green); background: var(--green-l); }
html[data-theme="dark"] .priv-banner { background: var(--green-l); border-color: rgba(114,179,100,.22); }
html[data-theme="dark"] .priv-banner-text strong { color: var(--green); }
html[data-theme="dark"] .priv-banner-text p { color: var(--t2); }
html[data-theme="dark"] .hero-text .badge { color: var(--green); }

/* ── RESET & BASE ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg); color: var(--t1);
  line-height: 1.7; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; transition: color .15s; }
h1,h2,h3,h4,h5 { font-family: 'Fraunces', serif; letter-spacing: -.03em; line-height: 1.13; color: var(--t1); }
p { color: var(--t2); }

/* Smooth transitions on theme-sensitive elements */
nav,section,footer,.who-card,.feat-card,.priv-card,.test-card,.price-card,.sci-card,.ai-item,
.who-bg,.features-bg,.priv-bg,.price-bg,.test-bg {
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 66px;
  background: var(--nav-bg); backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--bd); transition: background .3s, border-color .3s;
}
.nav-logo { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 800; color: var(--green); letter-spacing: -.04em; }
.nav-logo-dot { color: var(--warm); }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: .95rem; font-weight: 700; color: var(--t2); }
.nav-links a:hover { color: var(--green); }
.nav-cta { background: var(--green); color: #fff !important; padding: .5rem 1.3rem; border-radius: 100px; font-weight: 800 !important; box-shadow: 0 4px 14px rgba(74,103,65,.32); }
.nav-cta:hover { background: var(--green-d) !important; }

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--bd); background: var(--bge);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all .2s; color: var(--t1);
  flex-shrink: 0; line-height: 1;
}
.theme-toggle:hover { border-color: var(--green); background: var(--green-l); transform: scale(1.1) rotate(-10deg); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--t1); border-radius: 2px; transition: .2s; }
.nav-mobile-menu { display: none; position: fixed; inset: 66px 0 0; background: var(--bg); z-index: 899; padding: 2rem 6%; flex-direction: column; gap: 1.5rem; border-top: 1px solid var(--bd); }
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { font-size: 1.2rem; font-weight: 700; color: var(--t1); }
.nav-mobile-menu .theme-toggle { width: auto; padding: .6rem 1.2rem; border-radius: 100px; justify-content: flex-start; gap: .6rem; font-size: 1rem; }

/* ── HERO ── */
.hero { min-height: 100svh; padding: 120px 6% 80px; display: flex; align-items: center; background: var(--hero-g); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 18% 80%,rgba(74,103,65,.09) 0%,transparent 65%), radial-gradient(ellipse at 80% 14%,rgba(192,139,92,.07) 0%,transparent 60%); }
.hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; width: 100%; position: relative; }
.hero-text .badge { display: inline-flex; align-items: center; gap: .45rem; background: var(--green-l); color: var(--green-d); font-size: .75rem; font-weight: 800; padding: .35rem 1rem; border-radius: 100px; border: 1px solid rgba(74,103,65,.22); letter-spacing: .8px; text-transform: uppercase; margin-bottom: 1.6rem; }
.hero-text h1 { font-size: clamp(2.6rem,5vw,4rem); font-weight: 800; margin-bottom: 1.4rem; }
.hero-text h1 em { font-style: italic; color: var(--green); }
.hero-text>p { font-size: clamp(1.05rem,1.8vw,1.18rem); color: var(--t2); max-width: 520px; line-height: 1.82; margin-bottom: 2.2rem; font-weight: 500; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; }
.hero-badges { display: flex; gap: .85rem; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: .75rem; background: var(--t1); color: var(--bg); padding: .65rem 1.2rem; border-radius: 13px; font-size: .9rem; font-weight: 700; transition: all .2s; min-width: 172px; }
.store-btn:hover { background: var(--green); transform: translateY(-2px); color: #fff; }
html[data-theme="dark"] .store-btn { color: #fff; }
.sb-sub { font-size: .66rem; font-weight: 400; opacity: .65; display: block; }
.hero-social { display: flex; gap: 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--bd); }
.hero-stat strong { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 800; color: var(--green); display: block; }
.hero-stat small { font-size: .82rem; color: var(--t3); font-weight: 700; }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 560px; }
.phone-main { animation: floatY 5s ease-in-out infinite; z-index: 2; filter: drop-shadow(0 28px 56px var(--shadow-m)); }
.phone-back { position: absolute; right: 0; bottom: 20px; opacity: .72; transform: scale(.88) rotate(6deg); transform-origin: bottom right; animation: floatY 5s ease-in-out infinite .8s; filter: drop-shadow(0 16px 36px var(--shadow)); }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

/* ── GLOBAL SECTIONS ── */
section { padding: 90px 6%; }
.s-inner { max-width: 1180px; margin: 0 auto; }
.s-label { font-size: .75rem; font-weight: 900; color: var(--green); letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: .65rem; display: block; }
.s-title { font-size: clamp(2rem,4vw,2.9rem); font-weight: 800; margin-bottom: 1.1rem; }
.s-sub { font-size: 1.12rem; color: var(--t2); max-width: 640px; line-height: 1.82; margin-bottom: 3rem; font-weight: 500; }
.s-center { text-align: center; }
.s-center .s-sub { margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: linear-gradient(90deg,transparent,var(--bd),transparent); margin: 0 6%; }

/* ── WHO IT'S FOR ── */
.who-bg { background: var(--bgc); }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 1.5rem; }
.who-card { border: 1.5px solid var(--bd); border-radius: var(--r); padding: 2rem; background: var(--bg); transition: all .25s; position: relative; overflow: hidden; }
.who-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--green),var(--warm)); transform: scaleX(0); transform-origin: left; transition: transform .3s; border-radius: 20px 20px 0 0; }
.who-card:hover { border-color: var(--green); box-shadow: 0 12px 40px var(--shadow); transform: translateY(-4px); }
.who-card:hover::before { transform: scaleX(1); }
.who-icon { font-size: 2.4rem; margin-bottom: 1.1rem; display: block; }
.who-card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: .7rem; }
.who-card p { font-size: 1rem; color: var(--t2); line-height: 1.78; }
.who-quote { margin-top: 1.2rem; padding: .8rem 1rem; background: var(--green-l); border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; font-size: .93rem; font-style: italic; color: var(--green-d); font-weight: 600; line-height: 1.6; }

/* ── FEATURES ── */
.features-bg { background: linear-gradient(180deg,var(--bge) 0%,var(--bg) 100%); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 1.2rem; }
.feat-card { background: var(--bgc); border-radius: var(--r); padding: 1.7rem; border: 1px solid var(--bd); display: flex; gap: 1.1rem; align-items: flex-start; transition: all .2s; }
.feat-card:hover { box-shadow: 0 8px 28px var(--shadow); border-color: var(--green); transform: translateY(-2px); }
.feat-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.feat-body h4 { font-family: 'Fraunces', serif; font-size: 1.08rem; font-weight: 700; margin-bottom: .42rem; }
.feat-body p { font-size: .98rem; color: var(--t2); line-height: 1.72; }

/* ── SCREENSHOTS ── */
.screens-bg { background: #111009; }
.screens-bg .s-label { color: rgba(255,255,255,.38); }
.screens-bg .s-title { color: #F0EAE1; }
.screens-bg .s-sub { color: rgba(240,234,225,.62); font-weight: 400; }
.screen-scroll { display: flex; gap: 1.5rem; overflow-x: auto; padding: 1rem 0 2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.screen-scroll:active { cursor: grabbing; }
.screen-scroll::-webkit-scrollbar { display: none; }
.screen-item { flex-shrink: 0; }
.screen-item figcaption { color: rgba(240,234,225,.5); font-size: .85rem; font-weight: 700; text-align: center; margin-top: .85rem; }

/* ── SCIENCE ── */
.science-bg { background: var(--sci-g); }
.science-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 1.4rem; }
.sci-card { background: rgba(255,255,255,.78); backdrop-filter: blur(12px); border-radius: var(--r); padding: 1.8rem; border: 1px solid rgba(74,103,65,.14); transition: all .2s; }
.sci-card:hover { background: rgba(255,255,255,.96); box-shadow: 0 8px 32px rgba(74,103,65,.1); }
.sci-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--green-d); margin-bottom: .6rem; display: flex; align-items: center; gap: .55rem; }
.sci-card p { font-size: .98rem; color: var(--t2); line-height: 1.78; }
.sci-card .ref { font-size: .81rem; color: var(--t3); margin-top: .75rem; font-style: italic; }
.sci-card .tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: .22rem .7rem; border-radius: 100px; margin-bottom: .8rem; letter-spacing: .4px; text-transform: uppercase; }

/* ── PRIVACY ── */
.priv-bg { background: var(--bgc); }
.priv-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 1.3rem; }
.priv-card { background: var(--bge); border-radius: var(--r); padding: 1.7rem; border: 1px solid var(--bd); }
.priv-card h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: .55rem; display: flex; align-items: center; gap: .5rem; }
.priv-card p { font-size: .98rem; color: var(--t2); line-height: 1.74; }
.priv-banner { margin-top: 2rem; background: var(--green-l); border: 1.5px solid rgba(74,103,65,.22); border-radius: 14px; padding: 1.5rem 1.8rem; display: flex; gap: 1rem; align-items: flex-start; }
.priv-banner-icon { font-size: 1.8rem; flex-shrink: 0; }
.priv-banner-text strong { font-weight: 800; color: var(--green-d); display: block; margin-bottom: .35rem; font-size: 1rem; }
.priv-banner-text p { font-size: .98rem; color: var(--green-d); opacity: .88; line-height: 1.72; }
.compliance-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.comp-badge { background: var(--green); color: #fff; font-size: .8rem; font-weight: 800; padding: .4rem 1rem; border-radius: 100px; letter-spacing: .4px; }

/* ── AI ── */
.ai-bg { background: var(--ai-g); }
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.ai-what { display: flex; flex-direction: column; gap: .85rem; }
.ai-item { display: flex; gap: .9rem; align-items: flex-start; background: rgba(255,255,255,.72); border-radius: 14px; padding: 1.1rem 1.2rem; border: 1px solid rgba(91,143,185,.15); }
.ai-item-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .05rem; }
.ai-item p { font-size: .98rem; color: var(--t2); line-height: 1.72; }
.ai-item p strong { color: var(--t1); }
.ai-warn { background: var(--al-l); border: 1.5px solid rgba(181,74,56,.22); border-radius: 14px; padding: 1.1rem 1.4rem; font-size: .98rem; color: var(--al); line-height: 1.65; margin-top: 1.5rem; }
.ai-providers { display: flex; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.ai-prov { background: var(--bgc); border: 1px solid var(--bd); border-radius: 10px; padding: .5rem 1rem; font-size: .85rem; font-weight: 700; color: var(--t2); }

/* ── PRICING ── */
.price-bg { background: var(--bge); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.price-card { background: var(--bgc); border: 1.5px solid var(--bd); border-radius: var(--r); padding: 2.2rem; transition: all .25s; position: relative; overflow: hidden; }
.price-card.featured { border-color: var(--green); box-shadow: 0 20px 60px rgba(74,103,65,.15); }
.price-card.featured::after { content: 'MOST POPULAR'; position: absolute; top: 20px; right: -32px; background: var(--green); color: #fff; font-size: .65rem; font-weight: 900; padding: .3rem 3rem; letter-spacing: 1px; transform: rotate(35deg); }
.price-tier { font-size: .75rem; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green); margin-bottom: .6rem; }
.price-name { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.price-amount { display: flex; align-items: flex-start; gap: .2rem; margin-bottom: .4rem; }
.price-dollar { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; color: var(--green); margin-top: .4rem; }
.price-num { font-family: 'Fraunces', serif; font-size: 3.2rem; font-weight: 800; color: var(--green); line-height: 1; }
.price-per { font-size: .92rem; color: var(--t3); align-self: flex-end; margin-bottom: .3rem; }
.price-annual { font-size: .9rem; color: var(--t3); margin-bottom: 1.8rem; }
.price-annual strong { color: var(--green); }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.price-feats li { font-size: .98rem; color: var(--t2); display: flex; gap: .6rem; align-items: flex-start; line-height: 1.58; }
.price-feats li::before { content: '✓'; color: var(--green); font-weight: 900; flex-shrink: 0; margin-top: .06rem; }
.price-feats li.dim { color: var(--t3); }
.price-feats li.dim::before { content: '–'; color: var(--t3); }
.btn-price { display: block; text-align: center; padding: .92rem; border-radius: 100px; font-weight: 800; font-size: 1rem; transition: all .2s; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(74,103,65,.3); }
.btn-green:hover { background: var(--green-d); color: #fff; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green-l); }
.price-trial { text-align: center; margin-top: 1.5rem; font-size: .95rem; color: var(--t3); }
.price-trial strong { color: var(--green); }

/* ── TESTIMONIALS ── */
.test-bg { background: var(--bgc); }
.test-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 1.4rem; }
.test-card { background: var(--bge); border-radius: var(--r); padding: 1.9rem; border: 1px solid var(--bd); }
.stars { color: var(--sn); font-size: .95rem; margin-bottom: .9rem; letter-spacing: 2px; }
.test-text { font-size: 1rem; color: var(--t1); line-height: 1.8; font-style: italic; margin-bottom: 1.3rem; }
.test-author { display: flex; align-items: center; gap: .85rem; }
.test-avatar { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; color: #fff; flex-shrink: 0; font-family: 'Fraunces', serif; }
.test-name { font-weight: 800; font-size: .95rem; }
.test-role { font-size: .83rem; color: var(--t3); margin-top: .15rem; }

/* ── CTA / EARLY ACCESS ── */
.cta-bg { background: linear-gradient(148deg,var(--green-d) 0%,var(--green) 100%); }
.cta-bg .s-label { color: rgba(255,255,255,.42); }
.cta-bg .s-title { color: #fff; }
.cta-bg .s-sub { color: rgba(255,255,255,.75); font-weight: 400; margin: 0 auto 2.5rem; }
.cta-form { max-width: 520px; margin: 0 auto; }
.cta-field-group { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-field { flex: 1; min-width: 200px; padding: .9rem 1.2rem; border-radius: 100px; border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.14); color: #fff; font-size: 1rem; font-family: inherit; outline: none; transition: .2s; }
.cta-field::placeholder { color: rgba(255,255,255,.52); }
.cta-field:focus { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.2); }
.cta-btn { background: #fff; color: var(--green-d); padding: .9rem 1.8rem; border-radius: 100px; border: none; font-size: 1rem; font-weight: 900; font-family: inherit; cursor: pointer; transition: all .2s; white-space: nowrap; }
.cta-btn:hover { transform: translateY(-2px); }
.cta-note { text-align: center; color: rgba(255,255,255,.46); font-size: .86rem; margin-top: 1.2rem; }
.cta-store-row { display: flex; gap: 1rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.store-btn-light { display: inline-flex; align-items: center; gap: .7rem; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3); color: #fff; padding: .65rem 1.4rem; border-radius: 13px; font-size: .9rem; font-weight: 700; transition: all .2s; }
.store-btn-light:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ── FOOTER ── */
footer { background: #0E0D0A; color: rgba(240,234,225,.5); padding: 70px 6% 36px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(240,234,225,.08); }
.footer-brand .logo { font-family: 'Fraunces', serif; font-size: 1.45rem; font-weight: 800; color: #F0EAE1; letter-spacing: -.03em; margin-bottom: .85rem; display: block; }
.footer-brand p { font-size: .93rem; line-height: 1.78; color: rgba(240,234,225,.44); max-width: 280px; }
.footer-col h5 { font-family: 'Fraunces', serif; font-size: .95rem; font-weight: 700; color: rgba(240,234,225,.8); margin-bottom: 1.2rem; }
.footer-col a { display: block; font-size: .9rem; color: rgba(240,234,225,.44); margin-bottom: .6rem; }
.footer-col a:hover { color: rgba(240,234,225,.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .86rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .86rem; color: rgba(240,234,225,.34); }
.footer-legal a:hover { color: rgba(240,234,225,.72); }

/* ── BILLING TOGGLE ── */
#toggle-track { position: absolute; inset: 0; background: var(--bd); border-radius: 13px; transition: .25s; }
#toggle-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: white; border-radius: 50%; transition: .25s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }

/* ── AI SECTION INNER CARDS (light-fixed) ── */
.ai-response-card { background: var(--bgc); border-radius: 20px; padding: 1.5rem; border: 1px solid var(--bd); }
.ai-cant-card { background: var(--green-l); border-radius: 20px; padding: 1.5rem; border: 1px solid rgba(74,103,65,.2); }
.ai-cant-card ul { padding-left: 1.2rem; }
.ai-cant-card li { font-size: .9rem; line-height: 1.72; color: var(--green-d); }
html[data-theme="dark"] .ai-cant-card li { color: var(--green); }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.fade-up.in { opacity: 1; transform: none; }
.fade-up:nth-child(2){transition-delay:.09s}
.fade-up:nth-child(3){transition-delay:.18s}
.fade-up:nth-child(4){transition-delay:.27s}
.fade-up:nth-child(5){transition-delay:.36s}
.fade-up:nth-child(6){transition-delay:.44s}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { padding-top: 90px; padding-bottom: 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero-text>p { margin: 0 auto 1.8rem; }
  .hero-badges { justify-content: center; }
  .hero-social { justify-content: center; margin-top: 1.5rem; padding-top: 1.5rem; }
  .hero-phones { height: auto; max-height: 260px; order: -1; margin-bottom: 2rem; overflow: hidden; }
  .phone-main { max-width: 160px; height: auto; }
  .phone-back { display: none; }
  .ai-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  html { font-size: 16px; }
  .hero-phones { max-height: 220px; }
  .phone-main { max-width: 140px; }
  .footer-top { grid-template-columns: 1fr; }
  .price-card.featured::after { display: none; }
  section { padding: 65px 5%; }
}

/* ── FEATURE GALLERY ── */
.screens-bg { background: #111009; }
.screens-bg .s-label { color: rgba(255,255,255,.38); }
.screens-bg .s-title { color: #F0EAE1; }
.screens-bg .s-sub { color: rgba(240,234,225,.6); font-weight: 400; }

/* Category tabs */
#gallery-tabs { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 1.2rem; gap: .6rem; }
.gtab {
  padding: .45rem 1.1rem; border-radius: 100px; border: 1.5px solid rgba(255,255,255,.15);
  background: transparent; color: rgba(240,234,225,.55); font-size: .88rem;
  font-weight: 700; font-family: 'Nunito', sans-serif; cursor: pointer; transition: all .2s;
}
.gtab:hover { border-color: rgba(255,255,255,.35); color: rgba(240,234,225,.85); }
.gtab.active { background: var(--green); border-color: var(--green); color: #fff; }

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem 1.5rem;
}
.gitem { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.gitem[style*="display: none"] { display: none !important; }
.gphone-wrap {
  position: relative; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
}
.gitem:hover .gphone-wrap { transform: translateY(-8px) scale(1.03); }
.gitem img { width: 100%; max-width: 220px; height: auto; border-radius: 28px; }
.gitem figcaption {
  margin-top: 1rem; text-align: center; max-width: 220px;
}
.gitem figcaption strong {
  display: block; color: rgba(240,234,225,.9); font-size: .95rem;
  font-weight: 800; margin-bottom: .3rem;
}
.gitem figcaption span {
  font-size: .82rem; color: rgba(240,234,225,.48); line-height: 1.55;
}

/* Lightbox */
#gallery-lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,5,3,.96); backdrop-filter: blur(20px);
  align-items: center; justify-content: center;
  padding: 60px 72px 20px;
  cursor: zoom-out;
}
#gallery-lightbox.open { display: flex; }
/* Image fills the available space with no text overlapping it */
#lightbox-img {
  max-height: calc(100svh - 80px);
  max-width: min(480px, calc(100vw - 144px));
  width: auto; height: auto;
  border-radius: 32px;
  object-fit: contain;
  filter: drop-shadow(0 32px 72px rgba(0,0,0,.8));
  animation: lbIn .22s cubic-bezier(.34,1.56,.64,1);
  cursor: default;
  display: block;
}
@keyframes lbIn { from { transform: scale(.86); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* Caption sits completely outside the image — in a fixed strip at the bottom */
#lightbox-caption {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: .75rem 1.5rem;
  background: rgba(6,5,3,.85);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  pointer-events: none;
}
#lightbox-caption strong { color: #F0EAE1; font-size: .95rem; font-weight: 800; }
#lightbox-caption span { color: rgba(240,234,225,.5); font-size: .82rem; }
/* Close button — top right, always above image */
.lightbox-close {
  position: fixed; top: 1rem; right: 1.2rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.2rem; width: 38px; height: 38px;
  border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,.26); }
/* Nav arrows — sides, vertically centered on viewport, never on image */
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.6rem; width: 48px; height: 48px;
  border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,.24); }
#lightbox-prev { left: 1rem; }
#lightbox-next { right: 1rem; }

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.5rem 1rem; }
  .gitem img { border-radius: 20px; }
  #gallery-lightbox { padding: 48px 0 56px; }
  #lightbox-img { max-width: 100vw; max-height: calc(100svh - 104px); border-radius: 24px; }
  .lightbox-nav { display: none; }
}

/* ── COMING SOON BADGE ── */
.coming-soon-notice {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(201,162,60,.15); border: 1.5px solid rgba(201,162,60,.4);
  color: var(--sn); font-size: .82rem; font-weight: 800;
  padding: .4rem 1rem; border-radius: 100px;
  letter-spacing: .3px; margin-top: .85rem;
}
.coming-soon-notice .cs-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sn); display: inline-block;
  animation: csPulse 2s ease-in-out infinite;
}
@keyframes csPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.store-btn.disabled, .store-btn-light.disabled {
  opacity: .55; cursor: default; pointer-events: none;
  position: relative;
}
.store-coming-wrap { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.store-coming-label {
  font-size: .72rem; font-weight: 800; color: var(--sn);
  letter-spacing: .4px; text-transform: uppercase;
  background: rgba(201,162,60,.12); padding: .2rem .65rem;
  border-radius: 100px; border: 1px solid rgba(201,162,60,.3);
}
.store-coming-wrap-light .store-coming-label { color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
