/* ── Google Fonts ───────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300&display=swap');

/* ── BIC 2026 Design System ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #faf9f7;
  --card:    rgba(255,255,255,0.85);
  --border:  rgba(0,0,0,0.09);
  --bd-h:    rgba(0,0,0,0.18);
  --indigo:  #16a260;
  --cyan:    #20b684;
  --purple:  #0891b2;
  --green:   #16a260;
  --yellow:  #f59e0b;
  --red:     #ef4444;
  --text:    #0f172a;
  --muted:   #64748b;
  --muted-h: #475569;
  --radius:  14px;
  --shadow:  0 8px 40px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background-color: #faf9f7;
  background-image:
    radial-gradient(circle, rgba(22,162,96,0.45) 1.5px, transparent 1.5px),
    radial-gradient(ellipse 800px 600px at 90% -80px, rgba(22,162,96,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 700px 500px at -80px 100%, rgba(8,145,178,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 500px 400px at 50% 60%, rgba(32,182,132,0.07) 0%, transparent 65%);
  background-size: 28px 28px, auto, auto, auto;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Nav ────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 58px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.nav-brand {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.nav-logo {
  font-size: 1rem; font-weight: 800;
  background: linear-gradient(135deg, #16a260, #20b684);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-powered {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(8,145,178,0.72);
  white-space: nowrap; padding-left: 16px;
  border-left: 1px solid rgba(0,0,0,0.09);
}
@media (max-width: 640px) { .nav-powered { display: none; } }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link {
  color: var(--muted); font-size: 0.85rem; text-decoration: none;
  padding: 6px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.nav-link:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-link.active { color: var(--text); }
.btn-admin {
  font-size: 0.78rem; padding: 5px 13px; border-radius: 8px; margin-left: 6px;
  border: 1.5px solid rgba(8,145,178,0.45);
  background: rgba(8,145,178,0.07); color: var(--purple);
  cursor: pointer; font-family: inherit; text-decoration: none; font-weight: 600;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.08);
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-admin:hover  { background: rgba(8,145,178,0.15); transform: translate(1px,1px); box-shadow: 1px 1px 0 rgba(0,0,0,0.08); }
.btn-admin:active { transform: translate(2px,2px); box-shadow: 0 0 0; }

/* ── Cards ──────────────────────────────────────────────────────── */
.card, .glass {
  background: rgba(255,255,255,0.78);
  border: 1.5px solid rgba(0,0,0,0.20);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.10);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 10px;
  border: 1.5px solid #0b7a44;
  background: linear-gradient(135deg, #16a260, #0e8a50);
  color: #fff; font-size: 0.9rem; font-weight: 700; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.14);
  transition: transform 0.1s, box-shadow 0.1s; font-family: inherit;
  text-decoration: none;
}
.btn-primary:hover  { transform: translate(1px,1px); box-shadow: 2px 2px 0 rgba(0,0,0,0.14); }
.btn-primary:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(0,0,0,0.14); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 10px;
  border: 1.5px solid rgba(0,0,0,0.22); background: rgba(255,255,255,0.92); color: var(--muted-h);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.08);
  transition: transform 0.1s, box-shadow 0.1s; font-family: inherit; text-decoration: none;
}
.btn-outline:hover  { border-color: rgba(0,0,0,0.36); color: var(--text); transform: translate(1px,1px); box-shadow: 2px 2px 0 rgba(0,0,0,0.08); }
.btn-outline:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(0,0,0,0.08); }

.btn-green {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 10px;
  border: 1.5px solid #0b7a44;
  background: linear-gradient(135deg, #20b684, #16a260);
  color: #fff; font-size: 0.9rem; font-weight: 700; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.14);
  transition: transform 0.1s, box-shadow 0.1s; font-family: inherit; text-decoration: none;
}
.btn-green:hover  { transform: translate(1px,1px); box-shadow: 2px 2px 0 rgba(0,0,0,0.14); }
.btn-green:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(0,0,0,0.14); }

/* ── Section utilities ──────────────────────────────────────────── */
.page-wrap {
  max-width: 1100px; margin: 0 auto; padding: 96px 24px 80px;
}
.label-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700;
  color: var(--indigo); background: rgba(22,162,96,0.10); border: 1.5px solid rgba(22,162,96,0.35);
  padding: 4px 12px; border-radius: 8px; margin-bottom: 18px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.07);
}
.sec-label {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.13em; color: var(--indigo); margin-bottom: 12px; font-weight: 700;
}
.sec-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800;
  margin-bottom: 16px; line-height: 1.12; letter-spacing: -0.025em;
}
.sec-desc { color: var(--muted-h); line-height: 1.78; max-width: 560px; margin-bottom: 48px; }
.grad-text {
  background: linear-gradient(135deg, #16a260, #20b684);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.grad-purple {
  background: linear-gradient(135deg, #0891b2, #16a260);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Sample-PPT download button (reused across pages) ──────────── */
.btn-sample-dl {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 8px; text-decoration: none;
  border: 1.5px solid rgba(245,158,11,0.50);
  background: rgba(245,158,11,0.08); color: #d97706;
  font-size: 0.78rem; font-weight: 700;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.08);
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-sample-dl:hover  { background: rgba(245,158,11,0.18); border-color: rgba(245,158,11,0.70); color: #b45309; transform: translate(1px,1px); box-shadow: 1px 1px 0 rgba(0,0,0,0.08); }
.btn-sample-dl:active { transform: translate(2px,2px); box-shadow: 0 0 0; }
.btn-sample-dl svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Report-an-issue strip ──────────────────────────────────────── */
.report-strip {
  width: calc(100% - 48px); max-width: 1100px;
  margin: 48px auto; padding: 36px 40px;
  border-radius: 32px;
  background: rgba(255,240,240,0.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(239,68,68,0.55);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.07),
    0 0 0 1px rgba(239,68,68,0.12),
    0 0 28px rgba(239,68,68,0.18),
    0 1px 0 rgba(255,255,255,1) inset;
  position: relative; overflow: hidden;
}
.report-strip::before {
  content: ''; position: absolute; top: 0; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.70), transparent);
  border-radius: 50%; pointer-events: none;
}
/* red glow spread across full bottom of box */
.report-strip::after {
  content: '';
  position: absolute; bottom: -30px; left: 0; right: 0;
  height: 180px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(239,68,68,0.35) 0%, rgba(239,68,68,0.12) 55%, transparent 78%);
  filter: blur(24px);
}
.report-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; position: relative; z-index: 1;
}
.report-left { flex: 1; min-width: 260px; }
.report-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.13em;
  font-weight: 700; color: var(--red); margin-bottom: 10px;
}
.report-badge svg { width: 14px; height: 14px; stroke-width: 2; }
.report-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.report-title span {
  background: linear-gradient(135deg, var(--red), #fb923c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.report-desc  { font-size: 0.84rem; color: var(--muted-h); line-height: 1.7; max-width: 520px; }
.report-cta {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 10px 22px; border-radius: 10px; text-decoration: none;
  border: 1.5px solid rgba(239,68,68,0.50);
  background: rgba(248,113,113,0.08); color: var(--red);
  font-size: 0.88rem; font-weight: 700; white-space: nowrap;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.10);
  transition: transform 0.1s, box-shadow 0.1s;
}
.report-cta svg { width: 15px; height: 15px; stroke-width: 2.2; transition: transform 0.2s; }
.report-cta:hover  { background: rgba(248,113,113,0.18); border-color: var(--red); transform: translate(1px,1px); box-shadow: 2px 2px 0 rgba(0,0,0,0.10); }
.report-cta:hover svg { transform: translateX(3px); }
.report-cta:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(0,0,0,0.10); }
@media (max-width: 640px) {
  .report-strip { padding: 28px 22px; width: calc(100% - 32px); border-radius: 22px; margin: 32px auto; }
  .report-cta   { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .report-strip { padding: 22px 18px; }
  .report-title { font-size: 1rem; }
  .report-desc  { font-size: 0.8rem; }
}

/* ── Toast ──────────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: 12px 24px; border-radius: 12px; font-size: 0.875rem; font-weight: 600;
  z-index: 999; transition: transform 0.35s ease; white-space: nowrap; pointer-events: none;
}
#toast.show    { transform: translateX(-50%) translateY(0); }
#toast.success { background: rgba(22,162,96,0.12); border: 1px solid rgba(22,162,96,0.35); color: #16a260; }
#toast.error   { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #dc2626; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  text-align: center; padding: 40px 24px;
  color: var(--muted); font-size: 0.8rem;
  border-top: 1px solid var(--border); position: relative; z-index: 1;
  background: rgba(255,255,255,0.5);
}
footer a { color: var(--muted-h); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--text); }

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-link { font-size: 0.8rem; padding: 5px 10px; }
  .page-wrap { padding: 80px 16px 60px; }
  body {
    background-image:
      radial-gradient(circle, rgba(22,162,96,0.17) 1.5px, transparent 1.5px),
      radial-gradient(ellipse 800px 600px at 90% -80px, rgba(22,162,96,0.14) 0%, transparent 65%),
      radial-gradient(ellipse 700px 500px at -80px 100%, rgba(8,145,178,0.10) 0%, transparent 65%),
      radial-gradient(ellipse 500px 400px at 50% 60%, rgba(32,182,132,0.07) 0%, transparent 65%);
  }
}
@media (max-width: 480px) {
  .nav-link[data-hide-mobile] { display: none; }
  nav { padding: 0 14px; }
  .page-wrap { padding: 72px 14px 48px; }
  .sec-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  #toast { max-width: calc(100vw - 32px); white-space: normal; text-align: center; padding: 10px 14px; }
  footer { line-height: 2.2; padding: 32px 16px; }
  .sec-desc { margin-bottom: 32px; font-size: 0.88rem; }
}
@media (max-width: 380px) {
  nav { padding: 0 10px; height: 52px; }
  .nav-link { padding: 4px 8px; font-size: 0.76rem; }
  .btn-admin { padding: 5px 9px; font-size: 0.71rem; }
  .btn-primary, .btn-outline, .btn-green { padding: 9px 18px; font-size: 0.84rem; }
  footer { font-size: 0.74rem; line-height: 2.4; }
}
@media (max-width: 340px) {
  nav { padding: 0 8px; height: 50px; }
  .nav-logo { font-size: 0.9rem; }
  .nav-link { padding: 3px 6px; font-size: 0.72rem; }
  .btn-admin { padding: 4px 7px; font-size: 0.68rem; margin-left: 3px; }
  .page-wrap { padding: 68px 12px 44px; }
  .btn-primary, .btn-outline, .btn-green { padding: 8px 14px; font-size: 0.8rem; }
}
