/* Water Intake Pro — Blue UI refresh (CSS-only; content preserved) */

/* ---------- Theme ---------- */
:root{
  --blue-950:#041a3a;
  --blue-900:#062b63;
  --blue-800:#0a3f8f;
  --blue-700:#1b5fd1;
  --blue-600:#1f74ff;
  --blue-500:#2185ff;
  --blue-300:#93c5fd;
  --blue-200:#bfdbfe;
  --blue-100:#dbeafe;
  --blue-50:#eff6ff;

  --cyan-400:#22d3ee;
  --cyan-200:#a5f3fc;

  --ink:#0b1220;
  --muted:#42556d;
  --muted-2:#64748b;

  --bg:#f7fbff;
  --panel:#ffffff;
  --panel-2:#f4f8ff;

  --border:rgba(2, 12, 27, .10);
  --shadow:0 10px 30px rgba(2, 8, 23, .10);
  --shadow-soft:0 6px 18px rgba(2, 8, 23, .08);

  --radius:16px;
  --radius-lg:22px;

  --focus:0 0 0 4px rgba(33,133,255,.22);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(33,133,255,.18), rgba(33,133,255,0) 60%),
    radial-gradient(900px 520px at 95% 10%, rgba(34,211,238,.14), rgba(34,211,238,0) 55%),
    linear-gradient(180deg, var(--bg), #ffffff);
  line-height:1.55;
}

img{max-width:100%;height:auto}
a{color:var(--blue-700)}
a:hover{color:var(--blue-600)}
a, button{ -webkit-tap-highlight-color: rgba(33,133,255,.22); }

/* ---------- Layout ---------- */
.container{
  max-width:1060px;
  margin:0 auto;
  padding:24px;
}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  color:#fff;
  background:
    linear-gradient(135deg, rgba(6,43,99,.96), rgba(27,95,209,.92));
  border-bottom:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 22px rgba(2, 8, 23, .18);
  backdrop-filter:saturate(140%) blur(10px);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-top:14px;
  padding-bottom:14px;
}
.site-header .brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
}
.site-header .brand::before{
  content:"";
  width:34px;height:34px;
  border-radius:999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,.12) 55%),
    linear-gradient(180deg, rgba(34,211,238,.55), rgba(33,133,255,.55));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.20), 0 10px 18px rgba(0,0,0,.18);
}
.site-header .nav{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  align-items:center;
}
.site-header .nav a{
  color:#fff;
  text-decoration:none;
  opacity:.95;
  font-weight:600;
  padding:8px 12px;
  border-radius:999px;
  position:relative;
  transition:transform .12s ease, background .12s ease, opacity .12s ease;
}
.site-header .nav a:hover{
  opacity:1;
  background:rgba(255,255,255,.10);
  transform:translateY(-1px);
}
.site-header .nav a:focus-visible{outline:none; box-shadow: var(--focus);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  padding:52px 0 44px;
  background:
    radial-gradient(800px 420px at 25% 0%, rgba(33,133,255,.20), rgba(33,133,255,0) 60%),
    radial-gradient(700px 420px at 85% 10%, rgba(34,211,238,.18), rgba(34,211,238,0) 55%),
    linear-gradient(180deg, rgba(239,246,255,.92), rgba(239,246,255,0));
}
.hero::after{
  content:"";
  position:absolute;
  left:-10%;
  right:-10%;
  bottom:-1px;
  height:80px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L80,90.7C160,85,320,75,480,69.3C640,64,800,64,960,80C1120,96,1280,128,1360,144L1440,160L1440,160L1360,160C1280,160,1120,160,960,160C800,160,640,160,480,160C320,160,160,160,80,160L0,160Z'/%3E%3C/svg%3E") center/cover no-repeat;
  opacity:1;
  pointer-events:none;
}
.hero h1{
  margin:0 0 10px;
  font-size:2.45rem;
  line-height:1.08;
  letter-spacing:-.4px;
  color:var(--blue-950);
}
.hero p{
  margin:0;
  color:var(--muted);
  max-width:72ch;
  font-size:1.05rem;
}

/* ---------- Cards / Grids ---------- */
.grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
  align-items:start;
}
.card{
  background:linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  padding:22px;
  position:relative;
}
.card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(600px 220px at 20% 0%, rgba(33,133,255,.10), rgba(33,133,255,0) 60%);
}
.card:hover{
  box-shadow:var(--shadow);
  transform:translateY(-1px);
  transition:box-shadow .18s ease, transform .18s ease;
}
.card h2, .card h3{margin-top:0}

.kpis{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}
.kpi{
  border-radius:14px;
  padding:12px 12px;
  background:rgba(33,133,255,.08);
  border:1px solid rgba(33,133,255,.14);
}
.kpi strong{display:block;font-size:1.15rem;color:var(--blue-900)}
.kpi span{color:var(--muted-2);font-size:.92rem}

.muted{color:var(--muted)}
.note{
  background:rgba(34,211,238,.10);
  border:1px solid rgba(34,211,238,.18);
  border-radius:14px;
  padding:12px 14px;
  color:var(--muted);
}

/* ---------- Forms ---------- */
.field{margin:14px 0}
label{display:block;font-weight:650;margin:0 0 6px;color:var(--blue-950)}
input, select, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(2, 12, 27, .12);
  padding:12px 12px;
  font:inherit;
  background:#fff;
  color:var(--ink);
  outline:none;
  transition:box-shadow .12s ease, border-color .12s ease, transform .12s ease;
}
input:focus, select:focus, textarea:focus{
  border-color:rgba(33,133,255,.55);
  box-shadow:var(--focus);
}
textarea{min-height:110px;resize:vertical}

.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color:#fff;
  text-decoration:none;
  font-weight:750;
  box-shadow:0 12px 24px rgba(33,133,255,.22);
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover{transform:translateY(-1px); filter:saturate(110%); box-shadow:0 16px 32px rgba(33,133,255,.26)}
.btn:active{transform:translateY(0px)}
.btn:focus-visible{outline:none; box-shadow:var(--focus), 0 16px 32px rgba(33,133,255,.26)}
.btn-outline{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  box-shadow:none;
}
.card-btn{
  background:linear-gradient(135deg, rgba(33,133,255,.16), rgba(34,211,238,.14));
  border:1px solid rgba(33,133,255,.18);
  color:var(--blue-900);
  box-shadow:none;
}
.card-btn:hover{box-shadow:0 14px 26px rgba(2,8,23,.10)}

/* ---------- Content Blocks ---------- */
.page-value-block{
  border:1px solid rgba(2, 12, 27, .10);
  border-radius:var(--radius-lg);
  padding:22px;
  background:linear-gradient(180deg, #ffffff, rgba(239,246,255,.55));
  box-shadow:var(--shadow-soft);
  margin:18px 0;
  position:relative;
}
.page-value-block::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:6px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--cyan-400), var(--blue-600));
  opacity:.85;
}
.page-value-block h2{
  margin:0 0 10px;
  color:var(--blue-950);
  letter-spacing:-.2px;
  font-size:1.35rem;
}
.page-value-block h3{
  margin:14px 0 8px;
  color:var(--blue-900);
  font-size:1.07rem;
}
.page-value-block p{margin:10px 0;color:var(--muted)}

.page-value-block-secondary{
  background:linear-gradient(180deg, rgba(239,246,255,.75), rgba(255,255,255,.95));
  border-color:rgba(33,133,255,.16);
}
.page-value-block-fat{
  padding:24px;
}

/* ---------- Blog ---------- */
.breadcrumbs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:10px 0 6px;
}
.breadcrumbs a{
  text-decoration:none;
  color:var(--blue-800);
  background:rgba(33,133,255,.10);
  border:1px solid rgba(33,133,255,.14);
  padding:6px 10px;
  border-radius:999px;
  font-weight:650;
}
.subtitle{
  margin:0 0 14px;
  color:var(--muted);
}

.post-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  margin:16px 0 6px;
}
.post-list .card{
  padding:18px;
}
.article{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,255,.42));
  border:1px solid rgba(2,12,27,.10);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  padding:22px;
}
.article h1{
  margin:0 0 10px;
  color:var(--blue-950);
  letter-spacing:-.3px;
  line-height:1.12;
}
.article p{color:var(--muted)}

/* ---------- Footer ---------- */
.site-footer{
  margin-top:28px;
  background:
    radial-gradient(800px 260px at 30% 0%, rgba(34,211,238,.18), rgba(34,211,238,0) 60%),
    linear-gradient(135deg, rgba(6,43,99,.96), rgba(27,95,209,.92));
  color:rgba(255,255,255,.92);
  border-top:1px solid rgba(255,255,255,.14);
}
.site-footer a{color:#fff;opacity:.95;text-decoration:none}
.site-footer a:hover{text-decoration:underline;opacity:1}
.site-footer .legal{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  font-size:.95rem;
}
.fine-print{color:rgba(255,255,255,.85);font-size:.92rem}

/* ---------- Consent Banner ---------- */
.consent-banner{
  display:none;
  position:fixed;
  left:14px;
  right:14px;
  bottom:14px;
  z-index:80;
}
.consent-inner{
  max-width:980px;
  margin:0 auto;
  border-radius:18px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(2,12,27,.14);
  box-shadow:0 20px 60px rgba(2,8,23,.20);
  padding:14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  backdrop-filter: blur(10px);
}
.consent-inner p{margin:0;color:var(--muted)}
.consent-inner .actions .btn{box-shadow:none}

/* ---------- Small utilities ---------- */
.center{text-align:center}
.big{font-size:1.08rem}
.copy-block{
  background:rgba(33,133,255,.08);
  border:1px solid rgba(33,133,255,.14);
  border-radius:14px;
  padding:14px 14px;
}
.timeline{
  border-left:3px solid rgba(33,133,255,.25);
  padding-left:14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
  .kpis{grid-template-columns:1fr}
  .post-list{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .container{padding:18px}
  .hero{padding:44px 0 36px}
  .hero h1{font-size:2.0rem}
  .page-value-block{padding:18px}
  .card{padding:18px}
  .site-header .container{padding-top:12px;padding-bottom:12px}
}

/* --- Image additions (hero, blog headers, icon cards) --- */
.hero-illustration{
  object-fit:cover;
  width:100%;
  max-width:980px;
  margin:18px auto 0;
  display:block;
  border-radius:22px;
  border:1px solid rgba(2,12,27,.10);
  box-shadow:0 14px 40px rgba(2,8,23,.10);
}
.post-hero{
  margin:14px 0 18px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(2,12,27,.10);
  box-shadow:0 14px 40px rgba(2,8,23,.10);
}
.post-hero img{
  width:100%;
  height:auto;
  display:block;
}
.icon-cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}
.icon-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border-radius:16px;
  background:rgba(33,133,255,.06);
  border:1px solid rgba(33,133,255,.14);
}
.icon-card img{
  width:54px;
  height:54px;
  flex:0 0 54px;
}
.icon-card strong{
  display:block;
  color:var(--blue-950);
  margin-bottom:2px;
}
.icon-card span{
  color:var(--muted);
  font-size:.95rem;
}
@media (max-width: 980px){
  .icon-cards{grid-template-columns:1fr;}
}

/* Blog card thumbnails */
.post-list .card img{
  width:100%;
  height:auto;
  display:block;
}

/* Sources & Further Reading */
.sources{
  margin-top: 26px;
  padding: 18px 18px 8px;
  border-radius: 18px;
  background: rgba(33,133,255,.06);
  border: 1px solid rgba(33,133,255,.14);
}
.sources h2{
  margin: 0 0 8px;
}
.sources .muted{
  margin: 0 0 12px;
}
.sources-list{
  margin: 0;
  padding-left: 20px;
}
.sources-list li{
  margin: 8px 0;
}
.sources-list a{
  text-decoration: underline;
  text-underline-offset: 3px;
}
