:root {
  --primary: #0f172a;
  --accent: #2563eb;
  --bg: #eef4ff;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img,
svg {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: #fff;
  color: var(--primary);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0.5rem;
}

/* Header */
header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  padding: 1.8rem 1.5rem;
  text-align: center;
}
.particle-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.header-inner {
  position: relative;
  z-index: 1;
}
header h1 {
  font-size: clamp(1.9rem, 1.1rem + 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
header p {
  max-width: 680px;
  margin: 0 auto;
  opacity: 0.95;
}
.header-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* Eyebrow labels */
.eyebrow {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.eyebrow--on-dark {
  color: #fff;
  opacity: 0.85;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.cta-button--ghost {
  background: transparent;
  color: #fff;
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.cta-button--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.5rem;
}
.nav-brand {
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.nav-brand:hover {
  text-decoration: none;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  list-style: none;
}
@media (max-width: 640px) {
  nav ul {
    gap: 0.5rem 1.1rem;
  }
}
nav a {
  color: var(--text);
  font-weight: 500;
}
nav a:hover {
  color: var(--accent);
}
.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
  text-decoration: none;
}
@media (max-width: 640px) {
  .nav-inner {
    justify-content: center;
  }
  .nav-brand {
    display: none;
  }
  .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* Sections */
section {
  max-width: 1200px;
  margin: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 0 1.5rem;
  scroll-margin-top: 80px;
}
@media (max-width: 640px) {
  section {
    padding: 0 1rem;
  }
}
h2 {
  text-align: center;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 0.6rem;
  position: relative;
}
section > h2 {
  margin-bottom: 1.2rem;
}

/* Scroll reveal (progressively enhanced; see main.js) */
.reveal.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.js-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.vision-mission {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .vision-mission {
    grid-template-columns: 1fr;
  }
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  padding: 1.8rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.card h3 {
  margin-bottom: 0.8rem;
  color: var(--accent);
}
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  color: #fff;
}
.icon-badge svg {
  width: 24px;
  height: 24px;
}

.values ul {
  list-style: none;
  padding-left: 0;
}
.values li {
  margin-bottom: 0.6rem;
}

/* Full-bleed tinted band */
.band {
  width: 100%;
  background: #eef4ff;
  padding: 1.5rem 0;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 14px;
  padding: 1.8rem;
  padding-top: calc(1.8rem + 4px);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.product-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.product-card em {
  color: var(--muted);
  font-size: 0.9rem;
}
.product-card ul {
  padding-left: 1.2rem;
  margin-top: 0.6rem;
  list-style: none;
}
.product-card li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.2em;
}
.product-card li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.product-card li ul {
  padding-left: 1.5em;
  margin-top: 0.3em;
}
.product-card li ul li::before {
  content: "–";
  color: var(--muted);
}
.product-card .cta-button {
  display: block;
  width: 100%;
  margin-top: auto;
  border-radius: 8px;
  text-align: center;
}
.product-card > ul {
  margin-bottom: 1.2rem;
}
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}
.learn-more span {
  transition: transform 0.2s ease;
}
.learn-more:hover span {
  transform: translateX(4px);
}

/* Clients */
.clients {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.client-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--card);
  border-radius: 999px;
  padding: 0.7rem 1.5rem 0.7rem 0.7rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.client-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.client-name {
  font-weight: 600;
  color: var(--primary);
}

/* Contact */
.contact {
  margin: auto;
  text-align: center;
  background: var(--card);
  padding: 1.8rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.contact p {
  margin-bottom: 0.6rem;
}

/* Closing CTA banner */
.cta-banner {
  text-align: center;
  color: #150a6a;
  padding: 3.5rem 1.5rem;
}
.cta-banner h2 {
  color: #150a6a;
}
.cta-banner p {
  max-width: 500px;
  margin: 0 auto 1.6rem;
  opacity: 0.9;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.6rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}
footer a {
  color: #fff;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
