/* ========== GLOBAL RESET & BASICS ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5ff;
  --card: #ffffff;
  --accent: #6366f1;
  --accent-soft: #8b5cf6;
  --accent-strong: #2563eb;
  --text: #0f172a;
  --muted: #6b7280;
  --border-subtle: #e5e7eb;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.18);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.08);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ========== LAYOUT HELPERS ========== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.wrapper {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 18px 40px;
}

/* ========== HEADER & NAVBAR ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.97),
    rgba(255, 255, 255, 0.94),
    rgba(255, 255, 255, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.navbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* NAVIGATION LOGO (76x76 - will be scaled down) */
.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  object-fit: contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(88, 80, 236, 0.45);
  /* Optional background for transparent logos */
  background: radial-gradient(circle at 25% 20%, #e0f2fe, #6366f1 45%, #8b5cf6 80%);
  padding: 5px;
}

/* FOOTER LOGO (256x256 - will be scaled down) */
.footer-logo {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 6px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: #111827;
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.nav-link:hover {
  color: #111827;
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(239, 246, 255, 0.95);
}

.nav-link--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-soft));
  color: #f9fafb;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.nav-link--primary:hover {
  background: linear-gradient(120deg, var(--accent-soft), var(--accent-strong));
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  font-size: 22px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  background: #ffffff;
  color: #111827;
}

/* ========== HERO ========== */
.hero {
  padding-top: 28px;
  padding-bottom: 32px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 26px;
  align-items: center;
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(28px, 3.1vw, 36px);
  line-height: 1.1;
  margin: 0 0 10px;
  color: #020617;
}

.hero-highlight {
  background: linear-gradient(120deg, #6366f1, #8b5cf6, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 14px;
  color: #4b5563;
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-color: rgba(99, 102, 241, 0.6);
  color: #f9fafb;
  box-shadow: 0 16px 35px rgba(79, 70, 229, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.55);
}

.btn-ghost {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.8);
  color: #374151;
}

.btn-ghost:hover {
  border-color: rgba(79, 70, 229, 0.7);
  color: #111827;
}

/* ========== HERO SIDE CARD ========== */
.hero-card {
  background: radial-gradient(circle at top left, #e0e7ff 0, #ffffff 55%, #eef2ff 100%);
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(129, 140, 248, 0.55);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: rgba(238, 242, 255, 0.96);
  color: #3730a3;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-card h2 {
  margin: 12px 0 6px;
  font-size: 16px;
  color: #111827;
}

.hero-card p {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  font-size: 11px;
}

.meta-block {
  padding: 9px 9px 8px;
  border-radius: 14px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
}

.meta-label {
  color: #6b7280;
}

.meta-value {
  font-weight: 600;
  color: #111827;
}

/* ========== SECTIONS & CARDS ========== */
.split-section {
  margin-top: 10px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 18px;
  color: #111827;
}

.section-sub {
  font-size: 12px;
  color: var(--muted);
}

.section {
  padding: 24px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  padding: 16px 15px 15px;
  font-size: 13px;
}

.card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 3px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #111827;
}

.card p {
  color: #4b5563;
}

.card ul {
  margin: 6px 0 10px 18px;
  padding: 0;
  color: #4b5563;
}

.card li {
  margin-bottom: 4px;
}

.card-footer-link {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #4f46e5;
}

/* CONTACT LAYOUT */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
}

/* ========== BOTTOM CTA STRIP ========== */
.bottom-cta {
  margin-top: 32px;
  padding: 26px 0 30px;
  background: radial-gradient(circle at top left, #eef2ff 0, #e0ecff 40%, #ffffff 100%);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.bottom-cta-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.bottom-cta-text {
  margin-bottom: 10px;
}

.bottom-cta-text h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #111827;
}

.bottom-cta-text p {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
}

/* FOOTER */
.site-footer {
  margin-top: auto;
  padding: 18px 18px 22px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

/* RESPONSIVE */
@media (max-width: 840px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .navbar {
    padding-inline: 14px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    position: absolute;
    top: 52px;
    right: 14px;
    padding: 10px 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
  }

  .nav-links.nav-links--open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bottom-cta-text {
    margin-bottom: 15px;
  }
  
  /* Adjust logo sizes for mobile */
  .brand-logo-img {
    width: 34px;
    height: 34px;
  }
  
  .footer-logo {
    width: 18px;
    height: 18px;
  }
}