/* ── RESET & ROOT ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-50:  #e8f4ff;
  --blue-100: #c8e4ff;
  --blue-200: #93c9ff;
  --blue-300: #5aaeff;
  --blue-400: #4aa0f5;
  --blue-600: #1a72d4;
  --blue-800: #0c44a0;
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --green:    #22c55e;
  --red:      #ef4444;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-card:  0 4px 24px rgba(30,90,180,0.08);
  --shadow-hover: 0 12px 40px rgba(30,90,180,0.16);
  --transition:   all 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--blue-50); }
::-webkit-scrollbar-thumb { background: var(--blue-400); border-radius: 999px; }

/* ── SELECTION ── */
::selection { background: var(--blue-200); color: var(--blue-800); }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; color: var(--gray-800); }
p { color: var(--gray-600); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
section { padding: 6rem 5%; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  background: var(--blue-50); color: var(--blue-600);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 999px;
  padding: 0.3rem 1rem; margin-bottom: 0.8rem;
  border: 1px solid var(--blue-100);
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; margin-bottom: 0.8rem;
}
.section-header p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TICKER ── */
.ticker-wrap {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  padding: 0.9rem 0; overflow: hidden;
}
.ticker { display: flex; gap: 3rem; animation: ticker 28s linear infinite; white-space: nowrap; }
.ticker-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: white; font-size: 0.85rem; font-weight: 500;
  opacity: 0.9; flex-shrink: 0;
}
.ticker-item span { color: var(--blue-200); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gray-800); color: white;
  padding: 0.7rem 1.5rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 500; z-index: 999;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 99;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  border: none; color: white; cursor: pointer; font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(74,160,245,0.4);
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { transform: translateY(-4px); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(160deg, var(--blue-50) 0%, #f0f8ff 50%, var(--white) 100%);
  padding: 140px 5% 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.6rem; }
.page-hero p  { font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--gray-400);
  justify-content: center; margin-top: 1rem;
}
.breadcrumb a { color: var(--blue-400); }
.breadcrumb a:hover { color: var(--blue-600); }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.empty-state p  { color: var(--gray-400); margin-bottom: 1.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 4rem 4%; }
  .page-hero { padding: 120px 4% 50px; }
}
