@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #1e293b;
  background-color: #fafbfc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: #0a1628;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.4rem, 5vw + 0.5rem, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw + 0.3rem, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2vw + 0.3rem, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.5vw + 0.2rem, 1.35rem); }

p {
  font-size: clamp(0.95rem, 1.2vw + 0.1rem, 1.1rem);
  color: #334155;
  max-width: 72ch;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.lead-paragraph {
  font-size: clamp(1.1rem, 1.8vw + 0.2rem, 1.35rem);
  line-height: 1.65;
  color: #475569;
  max-width: 68ch;
}

.body-text {
  font-size: clamp(0.95rem, 1.2vw + 0.1rem, 1.06rem);
  line-height: 1.75;
  color: #475569;
}

/* ── Links ── */
a {
  color: #0967b3;
  transition: color 0.25s ease;
}

a:hover {
  color: #d63031;
}

/* ── Container ── */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.primary-button {
  background: linear-gradient(135deg, #0967b3, #00b4d8);
  color: #ffffff;
  border-color: #0967b3;
  box-shadow: 0 4px 14px rgba(9, 103, 179, 0.25);
}

.primary-button:hover {
  background: linear-gradient(135deg, #075aa0, #00a3c4);
  box-shadow: 0 6px 20px rgba(9, 103, 179, 0.35);
  transform: translateY(-1px);
  color: #ffffff;
}

.secondary-button {
  background: transparent;
  color: #0a1628;
  border-color: #cbd5e1;
}

.secondary-button:hover {
  border-color: #0967b3;
  color: #0967b3;
  background: #f0f7ff;
}

/* ── Eyebrow / Label ── */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0967b3;
  margin-bottom: 0.75rem;
  display: block;
}

.eyebrow.alert {
  color: #d63031;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
}

.header-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.45rem 0;
  font-size: 0.8rem;
  color: #64748b;
  gap: 1.5rem;
}

.header-topbar a {
  color: #64748b;
  transition: color 0.2s ease;
}

.header-topbar a:hover {
  color: #0967b3;
}

.header-topbar .contact-detail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0a1628;
  letter-spacing: -0.01em;
}

.site-logo-text span {
  color: #00b4d8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #334155;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #0967b3;
  background: #f0f7ff;
}

.nav-cta {
  margin-left: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0a1628;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── Hero ── */
.page-hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero-title em {
  font-style: italic;
  color: #0967b3;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw + 0.2rem, 1.35rem);
  line-height: 1.65;
  color: #475569;
  max-width: 65ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Sections ── */
.section-wrapper {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-wrapper.alt-bg {
  background: #f1f5f9;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-lead {
  font-size: clamp(1rem, 1.5vw + 0.15rem, 1.2rem);
  color: #475569;
  max-width: 60ch;
  margin-bottom: 3rem;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0967b3, #00b4d8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 30px rgba(10, 22, 40, 0.06);
  transform: translateY(-3px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #f0f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #0967b3;
  flex-shrink: 0;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 0.75rem;
}

.card-body {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
}

/* ── Images ── */
.hero-image,
.feature-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.hero-image {
  margin-top: 3rem;
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0a1628;
  line-height: 1.1;
}

.stat-number span {
  color: #00b4d8;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Divider ── */
.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #0967b3, #00b4d8);
  border: none;
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}

/* ── Footer ── */
.site-footer {
  background: #0a1628;
  color: #94a3b8;
  margin-top: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.footer-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand-text span {
  color: #00b4d8;
}

.footer-description {
  font-size: 0.9rem;
  color: #64748b;
  max-width: 30ch;
  line-height: 1.7;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #00b4d8;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #475569;
}

.footer-bottom a {
  color: #64748b;
}

.footer-bottom a:hover {
  color: #00b4d8;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ── Alert Badge ── */
.alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #d63031;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.alert-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: #d63031;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Two Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── Code Block ── */
.code-block {
  background: #0a1628;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.8;
  overflow-x: auto;
  border: 1px solid #1e293b;
}

.code-block .comment { color: #475569; }
.code-block .keyword { color: #00b4d8; }
.code-block .string { color: #a7f3d0; }
.code-block .number { color: #fbbf24; }

/* ── Mobile Responsive ── */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-topbar {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fafbfc;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .page-hero {
    text-align: center;
  }

  .hero-title {
    max-width: none;
  }

  .hero-subtitle {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
