:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --ink: #0f2747;
  --muted: #64748b;
  --line: rgba(15, 39, 71, 0.12);
  --brand: #10529a;
  --brand-dark: #0a3870;
  --accent: #e53935;
  --hero: linear-gradient(135deg, #f8fbff 0%, #eef5fc 50%, #e6eef8 100%);
  --shadow: 0 24px 70px rgba(15, 39, 71, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
}

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.84rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.topbar p {
  margin: 0;
}

.site-shell {
  position: relative;
}

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

.brand img {
  width: clamp(135px, 16vw, 190px);
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.site-nav a:hover,
.nav-cta:hover,
.text-link:hover {
  color: var(--brand);
}

.hero {
  background: var(--hero);
  padding: 0.9rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.4rem;
  align-items: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.78);
}

.hero-copy h1 {
  margin: 0;
  max-width: 19ch;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.22;
  font-weight: 700;
}

.hero-text,
.overview-card p,
.section-copy p,
.stack-card p,
.service-card p,
.partner-copy p,
.contact-card p,
.check-list li {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

.hero-text {
  max-width: 40rem;
  margin: 0.75rem 0 1rem;
}

.icon-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.icon-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 39, 71, 0.08);
}

.icon-wrap {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(16, 82, 154, 0.1);
  color: var(--brand);
}

.icon-wrap svg {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.icon-card span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15, 39, 71, 0.18);
}

.button.secondary:hover {
  background: rgba(16, 82, 154, 0.06);
}

.button.secondary.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.button.secondary.light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-metrics article,
.overview-card,
.stack-card article,
.service-card,
.partner-card,
.featured-note {
  padding: 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 39, 71, 0.08);
  box-shadow: var(--shadow);
}

.metric-icon,
.trust-icon,
.mini-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--brand);
}

.metric-icon,
.mini-icon {
  background: rgba(16, 82, 154, 0.1);
}

.trust-icon {
  margin-bottom: 0.7rem;
  width: 3rem;
  height: 3rem;
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.14);
}

.metric-icon svg,
.trust-icon svg,
.mini-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.trust-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.hero-panel {
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #0d3f7a 0%, #11539d 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.panel-badge {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-panel h2 {
  margin: 0.85rem 0 0;
  font-size: 1.4rem;
  line-height: 1.32;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.check-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
}

.check-list li + li {
  margin-top: 0.85rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.check-list.dark li {
  color: var(--muted);
}

.overview {
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.featured-product {
  padding: 0 0 1rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.featured-copy h2 {
  margin: 0 0 0.9rem;
  max-width: 20ch;
}

.partner-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.partner-header .section-tag {
  margin-bottom: 0;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(16, 82, 154, 0.08);
  border: 1px solid rgba(16, 82, 154, 0.1);
  color: var(--brand);
  font-weight: 600;
  vertical-align: middle;
}

.partner-badge img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.partner-badge span {
  line-height: 1;
  font-size: 1rem;
}

.featured-copy p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

.featured-visual img {
  width: 100%;
  display: block;
  min-height: 320px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.ai-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 82, 154, 0.18), transparent 24%),
    radial-gradient(circle at 20% 20%, rgba(229, 57, 53, 0.12), transparent 20%),
    radial-gradient(circle at 80% 18%, rgba(16, 82, 154, 0.12), transparent 18%),
    linear-gradient(135deg, #edf5ff 0%, #dfeaf8 100%);
  border: 1px solid rgba(15, 39, 71, 0.08);
  box-shadow: var(--shadow);
}

.ai-orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(16, 82, 154, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 270px;
  height: 270px;
}

.orbit-two {
  width: 190px;
  height: 190px;
}

.ai-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #0d3f7a 0%, #11539d 100%);
  box-shadow: 0 20px 50px rgba(13, 63, 122, 0.28);
}

.ai-core span {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ai-node {
  position: absolute;
  width: 160px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 39, 71, 0.08);
  box-shadow: 0 18px 35px rgba(15, 39, 71, 0.08);
}

.ai-node strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.ai-node span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.school-node {
  top: 2rem;
  left: 2rem;
}

.institution-node {
  top: 2.6rem;
  right: 1.8rem;
}

.company-node {
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.featured-note {
  margin-top: 1rem;
}

.featured-note strong {
  display: block;
  margin-bottom: 0.7rem;
}

.overview-grid,
.section-grid,
.partner-grid,
.featured-grid {
  display: grid;
  gap: 1.5rem;
}

.overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-card h3,
.section-copy h2,
.section-heading h2,
.service-card h3,
.partner-copy h2,
.partner-card h3,
.contact-card h2,
.stack-card h3 {
  margin: 0 0 0.8rem;
}

.section {
  padding: 3.2rem 0;
}

.section-light {
  background: var(--surface-soft);
}

.section-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: stretch;
}

.stack-card {
  display: grid;
  gap: 0.4rem;
}

.mission-stack {
  align-self: stretch;
  grid-auto-rows: 1fr;
}

.mission-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.78rem 0.9rem;
  border-radius: 16px;
}

.mission-card h3 {
  margin: 0.3rem 0 0.35rem;
  font-size: 0.98rem;
}

.mission-card p {
  margin: 0;
  line-height: 1.48;
  font-size: 0.9rem;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card h3 {
  font-size: 1.08rem;
}

.partner-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--brand);
}

.trust-section {
  padding: 2.8rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.trust-card {
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 39, 71, 0.08);
  box-shadow: var(--shadow);
}

.trust-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.section-copy h2 {
  max-width: 15ch;
}

.section-copy p {
  max-width: 34rem;
}

.compact-list {
  margin-top: 0;
}

.contact-section {
  background: linear-gradient(180deg, #f0f5fb 0%, #e8f0f8 100%);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #0d3f7a 0%, #11539d 100%);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p {
  color: #fff;
}

@media (max-width: 760px) {
  .partner-header {
    gap: 0.45rem;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .featured-grid,
  .section-grid,
  .partner-grid,
  .overview-grid,
  .service-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .icon-strip {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
  }

  .hero-panel,
  .contact-card {
    padding: 1.5rem;
  }

  .ai-visual {
    min-height: 320px;
  }

  .school-node,
  .institution-node,
  .company-node {
    position: absolute;
    width: 135px;
  }

  .school-node {
    top: 1rem;
    left: 1rem;
  }

  .institution-node {
    top: 1.2rem;
    right: 1rem;
  }

  .company-node {
    bottom: 1rem;
  }
}
