:root{
  --bg:#e9f4fb;
  --card: rgba(18,30,38,0.28);         /* darker translucent card for contrast */
  --panel-bg: rgba(220,240,255,0.38);
  --muted:#6b7780;
  --accent-1:#3aa0ff; /* brighter cyan-blue */
  --accent-2:#1f7fb3; /* deeper teal */
  --surface-shadow: 0 26px 60px rgba(6,18,30,0.20);
  --soft-shadow: 0 10px 30px rgba(6,14,22,0.12);
  --glass-border: rgba(255,255,255,0.18);
  --glass-stroke: rgba(255,255,255,0.08);
  --radius:16px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

/* Global */
*{box-sizing:border-box}
html,body,#app{height:100%}
body{
  margin:0;
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(58,160,255,0.06), transparent 10%),
    radial-gradient(700px 360px at 92% 88%, rgba(31,127,179,0.04), transparent 12%),
    linear-gradient(180deg,var(--bg),#dff1fb);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  color: #04272b;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* App shell */
#app{
  width:100%;
  max-width:920px;
  height:100%;
  display:flex;
  flex-direction:column;
  gap:16px;
  transform:translateZ(0);
  padding:10px;
}

/* HERO */
.hero{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:12px;
  background:transparent;
}
.brand{
  display:flex;
  gap:14px;
  align-items:center;
}
.logo{
  width:64px;
  height:64px;
  border-radius:14px;
  background:linear-gradient(145deg, rgba(255,255,255,0.85), rgba(245,250,255,0.6));
  box-shadow: 0 10px 30px rgba(12,24,34,0.12), inset 0 1px 0 rgba(255,255,255,0.25);
  object-fit:cover;
  flex-shrink:0;
  border:1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px) saturate(120%);
}
.title-wrap{flex:1}
.site-title{
  margin:0;
  font-size:20px;
  font-weight:700;
  line-height:1;
  color:#042e33;
  letter-spacing:0.2px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.tagline{
  margin:4px 0 0 0;
  color:var(--muted);
  font-size:13px;
}

/* CTA row (tabs) */
.cta-row{
  display:flex;
  gap:10px;
  margin-top:6px;
}
.tab-btn{
  flex:1;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--glass-stroke);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  font-weight:600;
  font-size:14px;
  color:#04272b;
  min-height:48px;
  transition:all 220ms cubic-bezier(.2,.9,.3,1);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(8px) saturate(120%);
}
.tab-btn:hover{transform:translateY(-4px); box-shadow: 0 16px 36px rgba(6,18,30,0.10)}
.tab-btn.active{
  background: linear-gradient(90deg,var(--accent-1),var(--accent-2));
  color:#fff;
  box-shadow: 0 22px 48px rgba(31,127,179,0.16), 0 2px 0 rgba(255,255,255,0.06) inset;
  border: none;
  transform:translateY(-2px) scale(1.01);
}

/* MAIN card */
.card{
  background: var(--card);
  border-radius:calc(var(--radius) + 6px);
  padding:18px;
  box-shadow:var(--surface-shadow);
  display:flex;
  flex-direction:column;
  gap:12px;
  overflow:hidden;
  flex:1;
  border: 1px solid rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  position:relative;
}

/* subtle glass highlight */
.card::before{
  content:'';
  position:absolute;
  left:-20%;
  top:-40%;
  width:140%;
  height:60%;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  transform:rotate(-12deg);
  pointer-events:none;
  filter: blur(18px);
  mix-blend-mode: overlay;
  opacity:0.9;
}

/* panels container layout */
.panels-inner{
  display:flex;
  gap:12px;
  flex-direction:column;
}

/* panels */
.panel{
  overflow:auto;
  padding-right:6px;
  transition:opacity 240ms ease, transform 240ms ease;
  background: linear-gradient(180deg, var(--panel-bg), rgba(225,245,255,0.35));
  border-radius:12px;
  padding:18px;
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 8px 24px rgba(6,18,28,0.06);
}
.panel.hidden{display:none}
h2{margin:0 0 8px 0; font-size:18px; font-weight:700; color:#032c2f}
h3{margin:12px 0 6px 0; font-size:15px; color:#0a5a66}
h4{margin:8px 0 4px 0; font-size:14px; color:#0d6b7a}
p{margin:8px 0; color:#04373a; font-size:15px; line-height:1.5}
.pull-quote{
  background: linear-gradient(90deg, rgba(255,255,255,0.7), rgba(245,255,255,0.6));
  border-left:5px solid rgba(58,160,255,0.95);
  padding:14px;
  border-radius:10px;
  color:#05373a;
  font-weight:600;
  box-shadow: 0 8px 30px rgba(6,18,28,0.06);
}

/* lists */
ul,ol{margin:8px 0 8px 20px; color:#04373a}

/* controls */
.button-row{display:flex; gap:10px; margin:12px 0; flex-wrap:wrap}
.primary{
  background:linear-gradient(180deg,var(--accent-1),var(--accent-2));
  color:#fff;
  border:none;
  padding:11px 14px;
  border-radius:12px;
  font-weight:700;
  min-height:48px;
  box-shadow: 0 14px 36px rgba(31,127,179,0.16);
  transition:transform 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(6px);
}
.primary:active{transform:translateY(1px) scale(0.997)}
.muted{
  background:transparent;
  border:1px solid rgba(255,255,255,0.06);
  padding:11px 14px;
  border-radius:12px;
  min-height:48px;
  color:var(--muted);
}
.contact-form label{display:block; margin:8px 0; font-size:14px; color:#07343a}
.contact-form input,.contact-form textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(10,20,30,0.06);
  font-size:14px;
  background: rgba(255,255,255,0.7);
  outline:none;
  transition:box-shadow 160ms ease, border-color 160ms ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.contact-form input:focus,.contact-form textarea:focus{
  box-shadow:0 12px 32px rgba(31,127,179,0.12);
  border-color:rgba(58,160,255,0.28);
}

/* helper text */
.small{font-size:13px}
.muted.small{color:var(--muted)}

/* footer */
.footer{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  padding:8px 0;
}

/* subtle dividers inside panels */
.panel > h2 + p{margin-top:6px}
.panel hr{border:none; height:1px; background:linear-gradient(90deg, transparent, rgba(10,10,10,0.02), transparent); margin:14px 0; border-radius:4px}

/* custom scrollbar for webkit for neatness (non-intrusive) */
.panel::-webkit-scrollbar{width:8px}
.panel::-webkit-scrollbar-thumb{background:linear-gradient(180deg, rgba(10,20,30,0.14), rgba(10,20,30,0.22)); border-radius:8px}

/* Responsive and touch comfort */
@media (max-height:700px){
  .panel{font-size:14px}
  .tab-btn{min-height:44px; padding:10px}
}

@media (max-width:520px){
  /* make the main app container slightly narrower than full-bleed for comfortable margins on mobile */
  #app{
    padding:12px;
    width:98%;
    max-width:98%;
  }
  .brand{gap:10px}
  .site-title{font-size:18px}
  .logo{width:56px; height:56px}
  .tab-btn{font-size:13px}
}