/*
Theme Name: Bermuda Beverages — Investor Brief
Author: ChatGPT
Description: Investor-ready landing page for bermudabeverages.com (portfolio + live ops dashboard + subscription terms).
Version: 4.1
*/

/* ---------------------------
   Design system
---------------------------- */
:root{
  --max: 1180px;
  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 12px;

  --bg-0:#060914;
  --bg-1:#0b1637;
  --panel: rgba(255,255,255,.04);
  --panel-2: rgba(255,255,255,.03);
  --border: rgba(164,190,255,.14);
  --border-2: rgba(164,190,255,.10);

  --text:#eaf1ff;
  --muted: rgba(234,241,255,.72);
  --muted-2: rgba(234,241,255,.52);

  --accent:#2dce89;
  --accent-2:#5fb2ff;
  --gold:#f6c97a;
  --danger:#ff5c7a;

  --shadow: 0 18px 70px rgba(0,0,0,.45);
  --shadow-soft: 0 10px 40px rgba(0,0,0,.30);

  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: Fraunces, ui-serif, Georgia, serif;

  --ring: 0 0 0 4px rgba(95,178,255,.22);
}

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

body{
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1100px 520px at 18% 10%, rgba(95,178,255,.18), transparent 62%),
    radial-gradient(900px 520px at 80% 22%, rgba(45,206,137,.16), transparent 60%),
    radial-gradient(750px 480px at 40% 95%, rgba(169,122,255,.10), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 55%, var(--bg-0) 100%);
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}

.container{max-width:var(--max);margin:0 auto;padding:0 18px}

.small{color:var(--muted);font-size:.95rem}
.tiny{color:var(--muted-2);font-size:.86rem;line-height:1.55}
.mono{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

/* Accessibility */
.skip{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:18px;top:14px;width:auto;height:auto;padding:10px 12px;border-radius:999px;background:#0e1a3a;border:1px solid var(--border);box-shadow:var(--shadow-soft);z-index:999}

/* Layout primitives */
.section{padding:42px 0}
.section + .section{border-top:1px solid rgba(164,190,255,.10)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  box-shadow:var(--shadow-soft);
  padding:16px;
}

.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}

/* ---------------------------
   Navigation
---------------------------- */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(6,9,20,.52);
  backdrop-filter: blur(12px) saturate(160%);
  border-bottom:1px solid rgba(164,190,255,.12);
}

.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}

.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:220px}
.brand img{width:44px;height:auto;filter: drop-shadow(0 10px 20px rgba(0,0,0,.35))}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-name{font-weight:800;letter-spacing:.2px}
.brand-sub{color:var(--muted);font-size:.92rem}

.nav-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.nav-links a{
  text-decoration:none;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  transition: all .18s ease;
}
.nav-links a:hover{color:var(--text);border-color:rgba(164,190,255,.14);background:rgba(255,255,255,.03)}

/* Buttons */
.btn,.btn-outline,.btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:999px;
  padding:10px 14px;
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn{
  background:linear-gradient(135deg, var(--accent), rgba(45,206,137,.72));
  color:#062215;
  border:1px solid rgba(45,206,137,.35);
  box-shadow:0 14px 35px rgba(45,206,137,.14);
}
.btn:hover{transform:translateY(-1px);box-shadow:0 16px 45px rgba(45,206,137,.18)}
.btn:active{transform:translateY(0)}
.btn:focus{outline:none;box-shadow:var(--ring)}

.btn-outline{background:rgba(255,255,255,.02);border:1px solid rgba(95,178,255,.35);color:var(--text)}
.btn-outline:hover{background:rgba(95,178,255,.08)}

.btn-ghost{background:transparent;border:1px solid rgba(164,190,255,.18);color:var(--muted)}
.btn-ghost:hover{background:rgba(255,255,255,.03);color:var(--text)}

.btn-sm{padding:8px 12px;font-size:.92rem}

/* ---------------------------
   Hero
---------------------------- */
.hero{padding:52px 0 22px}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:center}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(164,190,255,.14);
  color:var(--muted);
  width:max-content;
}

h1{
  margin:14px 0 10px;
  font-family:var(--font-display);
  letter-spacing:-.3px;
  font-weight:700;
  font-size:clamp(34px, 4.6vw, 56px);
  line-height:1.03;
}

.lead{margin:0;color:var(--muted);font-size:1.08rem;line-height:1.65}

.cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}

.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.kpi{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(164,190,255,.12);
  border-radius:var(--r-lg);
  padding:14px;
  box-shadow:var(--shadow-soft);
}
.kpi-value{display:block;font-variant-numeric:tabular-nums;letter-spacing:-.3px;font-size:1.35rem;font-weight:800}
.kpi-label{display:block;color:var(--muted);margin-top:6px;font-size:.92rem}

.note{
  margin-top:14px;
  background:rgba(255,255,255,.02);
  border:1px dashed rgba(164,190,255,.18);
  padding:12px 14px;
  border-radius:var(--r-lg);
  color:var(--muted);
  line-height:1.55;
}

.hero-media{
  position:relative;
  min-height:420px;
  border-radius:var(--r-xl);
  background:
    radial-gradient(500px 320px at 70% 20%, rgba(95,178,255,.18), transparent 60%),
    radial-gradient(520px 360px at 20% 80%, rgba(45,206,137,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(164,190,255,.14);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hero-stack{position:absolute;inset:0}
.hero-stack img.stack{
  position:absolute;
  width:min(300px, 60%);
  filter: drop-shadow(0 30px 55px rgba(0,0,0,.55));
  transform-origin:center;
  opacity:.98;
}
.hero-stack img.stack.a{right:-22px;top:10px;transform:rotate(6deg)}
.hero-stack img.stack.b{left:-18px;top:70px;transform:rotate(-8deg)}
.hero-stack img.stack.c{right:18px;bottom:10px;transform:rotate(-3deg);width:min(260px, 52%)}

.hero-panel{
  position:absolute;
  left:16px;right:16px;bottom:14px;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(164,190,255,.18);
  border-radius:var(--r-lg);
  padding:12px 14px;
  backdrop-filter: blur(10px) saturate(140%);
  box-shadow:0 18px 55px rgba(0,0,0,.35);
}
.hero-panel-title{color:var(--muted-2);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase}
.hero-panel-metric{margin-top:6px;font-weight:800;letter-spacing:-.2px}
.hero-panel-sub{margin-top:4px;color:var(--muted);font-size:.92rem}

/* ---------------------------
   Section headings
---------------------------- */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.section-head h2{margin:0;font-size:clamp(22px, 2.6vw, 34px);letter-spacing:-.3px}
.section-head p{margin:0;color:var(--muted)}

.h3{margin:0 0 10px;font-size:1.08rem;letter-spacing:-.2px}

/* ---------------------------
   Portfolio
---------------------------- */
.filters{display:flex;gap:8px;flex-wrap:wrap}

button{font-family:inherit}

.filters .pill{
  appearance:none;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(164,190,255,.14);
  color:var(--muted);
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  font-weight:700;
  transition: all .18s ease;
}
.filters .pill:hover{color:var(--text);background:rgba(255,255,255,.03)}
.filters .pill.active{background:rgba(45,206,137,.14);border-color:rgba(45,206,137,.35);color:#dff8ee}

.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}

.product{
  padding:0;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product:hover{transform:translateY(-2px);box-shadow:0 22px 70px rgba(0,0,0,.45)}

.product-media{
  position:relative;
  padding:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-bottom:1px solid rgba(164,190,255,.10);
}

.product-media img{max-height:240px;object-fit:contain;filter: drop-shadow(0 26px 45px rgba(0,0,0,.55))}

.tag{
  position:absolute;
  left:12px;top:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(164,190,255,.18);
  color:rgba(234,241,255,.85);
  font-weight:700;
  font-size:.82rem;
  backdrop-filter: blur(8px);
}

.tag-accent{border-color:rgba(45,206,137,.35)}
.tag-warm{border-color:rgba(246,201,122,.35)}
.tag-gold{border-color:rgba(246,201,122,.45)}
.tag-muted{border-color:rgba(164,190,255,.12);color:rgba(234,241,255,.65)}

.product-body{padding:14px 16px 16px}
.product-body h3{margin:0 0 6px;font-size:1.02rem;letter-spacing:-.2px}
.product-body p{margin:0;color:var(--muted);line-height:1.55}

.bullets{margin:12px 0 0;padding-left:18px;color:var(--muted);display:grid;gap:6px;font-size:.92rem}
.bullets li{line-height:1.35}

.callout{
  margin-top:16px;
  border-radius:var(--r-xl);
  padding:14px 16px;
  background:linear-gradient(135deg, rgba(95,178,255,.10), rgba(45,206,137,.08));
  border:1px solid rgba(164,190,255,.16);
  box-shadow:var(--shadow-soft);
}
.callout-title{font-weight:900;letter-spacing:-.2px;margin-bottom:6px}

/* ---------------------------
   Live dashboard
---------------------------- */
.dash-meta{display:flex;align-items:center;gap:10px;justify-content:flex-end}
.dot-live{width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(45,206,137,.14)}

.dash-grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:12px;margin-top:8px}
.dash-card{padding:14px}
.dash-label{color:var(--muted);font-size:.9rem}
.dash-value{font-size:1.7rem;font-weight:900;margin-top:6px;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.dash-sub{color:var(--muted-2);margin-top:6px;font-size:.86rem}

.is-bad{color:var(--danger)!important}
.is-warn{color:var(--gold)!important}

.chart{width:100%;height:240px;border-radius:16px;background:rgba(0,0,0,.16);border:1px solid rgba(164,190,255,.10)}

.mini-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.mini{padding:10px;border-radius:14px;background:rgba(255,255,255,.02);border:1px solid rgba(164,190,255,.10)}
.mini-label{color:var(--muted-2);font-size:.84rem}
.mini-value{margin-top:6px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:-.2px}

.event-log{margin-top:12px;display:grid;gap:10px}
.event{display:grid;grid-template-columns:74px 78px 1fr;gap:10px;align-items:center;padding:10px;border-radius:14px;background:rgba(255,255,255,.02);border:1px solid rgba(164,190,255,.10)}
.event.empty{grid-template-columns:1fr;text-align:center;color:var(--muted-2)}
.event-time{color:rgba(234,241,255,.85)}
.event-type{justify-self:start;padding:4px 8px;border-radius:999px;background:rgba(95,178,255,.10);border:1px solid rgba(95,178,255,.24);font-size:.78rem;color:rgba(234,241,255,.85);font-weight:800}
.event-msg{color:var(--muted);line-height:1.35}

/* ---------------------------
   Financials + calculators
---------------------------- */
.chart-svg{width:100%;height:240px}
.calc-wrap{margin-top:18px}

.kpi-grid .big{font-size:clamp(22px, 3.8vw, 34px);font-weight:900;letter-spacing:-.4px;margin-top:6px;font-variant-numeric:tabular-nums}
.numbers{display:grid;gap:8px}
.numbers .row{display:flex;align-items:center;justify-content:space-between;gap:10px}

label{display:block;margin:10px 0 6px;color:rgba(234,241,255,.88)}
input,select,textarea{
  width:100%;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(164,190,255,.18);
  color:var(--text);
  border-radius:14px;
  padding:10px 12px;
}
input:focus,select:focus,textarea:focus{outline:none;box-shadow:var(--ring);border-color:rgba(95,178,255,.35)}

/* ---------------------------
   Route map + impact
---------------------------- */
.route-map{width:100%;height:auto;border-radius:18px;border:1px solid rgba(164,190,255,.14);background:rgba(0,0,0,.16);box-shadow:var(--shadow-soft)}

.route-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}

.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{
  background:rgba(255,255,255,.02);
  border:1px solid rgba(164,190,255,.14);
  border-radius:999px;
  padding:7px 10px;
  color:var(--muted);
  cursor:pointer;
  font-weight:800;
  transition: all .18s ease;
}
.chip:hover{transform:translateY(-1px);color:var(--text)}
.chip.active{background:rgba(95,178,255,.10);border-color:rgba(95,178,255,.28);color:var(--text)}

.legend{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.92rem}
.legend .dot{width:10px;height:10px;border-radius:50%}
.legend .p1{background:var(--accent)}
.legend .p2{background:var(--accent-2)}
.legend .p3{background:#a97aff}

.route-list{margin:6px 0 0 18px;color:var(--muted);line-height:1.55}

.impact-callout{display:flex;gap:12px;align-items:flex-start;margin-top:12px;padding:12px;border:1px solid rgba(164,190,255,.16);border-radius:16px;background:rgba(255,255,255,.02)}
.impact-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:999px;background:rgba(45,206,137,.18);border:1px solid rgba(45,206,137,.35)}
.impact-title{font-weight:900;margin-bottom:2px;color:rgba(234,241,255,.92)}

.divider{height:1px;background:rgba(164,190,255,.14);margin:12px 0}
.status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:8px}
.card-lite{padding:12px;border-radius:16px;background:rgba(255,255,255,.02);border:1px solid rgba(164,190,255,.14)}
.stat-big{font-size:clamp(24px, 4.5vw, 36px);font-weight:900;line-height:1}
.stat-label{color:rgba(234,241,255,.85);margin-top:6px;line-height:1.35}

/* ---------------------------
   Footer
---------------------------- */
.footer{padding:26px 0;border-top:1px solid rgba(164,190,255,.10)}
.footer-inner{display:grid;grid-template-columns:1fr 1.4fr;gap:14px;align-items:flex-start}
.footer-title{font-weight:900;margin-bottom:4px}
.footer-note{line-height:1.55}

/* ---------------------------
   Responsive
---------------------------- */
@media (max-width: 1080px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-media{min-height:360px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .dash-grid{grid-template-columns:repeat(2,1fr)}
  .grid-2{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .status-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
}

@media (max-width: 520px){
  .brand-sub{display:none}
  .kpi-row{grid-template-columns:1fr}
  .product-grid{grid-template-columns:1fr}
  .dash-grid{grid-template-columns:1fr}
  .event{grid-template-columns:1fr;gap:8px}
  .event-type{justify-self:start}
}
