/* Ambeent — simplified light theme */
:root {
  --bg: #ffffff;
  --bg-alt: #eef4fd;
  --border: #dbe5f3;
  --ink: #14173f;
  --muted: #55617f;
  --accent: #4a5cf0;
  --grad: linear-gradient(90deg, #e0369b, #8a4fe9, #4a5cf0);
  --shadow: 0 10px 30px rgba(20, 23, 63, 0.08);
  --radius: 16px;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo {
  font-size: 1.35rem; font-weight: 800; letter-spacing: 0.12em;
  text-decoration: none;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff; padding: 10px 24px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(138, 79, 233, 0.28);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-lg { padding: 14px 34px; font-size: 1.05rem; }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--ink); box-shadow: none;
}
.btn-invert { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.btn-link { color: var(--accent); font-weight: 600; text-decoration: none; margin-left: 18px; }
.btn-link:hover { text-decoration: underline; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 48px; align-items: center; position: relative; z-index: 2;
}
.kicker {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 14px;
}
h1 { font-size: 3rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.15rem; color: var(--muted); margin: 20px 0 30px; max-width: 34rem; }
.hero-actions { display: flex; align-items: center; margin-bottom: 60px; }
.hero-visual img { filter: drop-shadow(0 24px 40px rgba(20, 23, 63, 0.18)); }
.hero-waves {
  height: 170px;
  background: url('assets/lightwave.svg') center bottom / cover no-repeat;
}

/* Proof strip */
.proof { background: var(--bg-alt); border-block: 1px solid var(--border); }
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 34px 24px;
}
.proof-item { text-align: center; }
.proof-item strong {
  display: block; font-size: 1.9rem; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-item span { color: var(--muted); font-size: 0.92rem; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, #ffffff 0%, #eef4fd 60%, #f3eefe 100%); }
h2 { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.01em; text-align: center; }
.section-lead {
  color: var(--muted); text-align: center;
  max-width: 46rem; margin: 16px auto 48px;
}

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20, 23, 63, 0.14); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  color: var(--accent); background: var(--bg-alt);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Solution chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 760px; margin: 0 auto; }
.chip {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 22px; font-size: 0.92rem; font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow);
}

/* Awards & partners */
.awards-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 48px;
}
.awards-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.partners { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }
.partner-badge {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 12px 26px; font-weight: 600; font-size: 0.95rem; color: var(--muted);
  background: #fff; box-shadow: var(--shadow);
}

/* CTA band */
.cta-band {
  background: var(--grad); border-radius: 24px;
  padding: 64px 40px; text-align: center; color: #fff;
  box-shadow: 0 20px 50px rgba(138, 79, 233, 0.35);
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 12px auto 28px; max-width: 32rem; opacity: 0.92; }

/* Footer */
.site-footer {
  background: #e9effc; border-top: 1px solid var(--border);
  padding: 56px 0 24px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-about { color: var(--muted); font-size: 0.9rem; margin: 14px 0 18px; max-width: 20rem; }
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; }
.footer-grid a:not(.logo) {
  display: block; color: var(--muted); text-decoration: none;
  font-size: 0.92rem; margin-bottom: 10px;
}
.footer-grid a:not(.logo):hover { color: var(--accent); }
.social { display: flex; gap: 10px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border);
  color: var(--accent); text-decoration: none; font-weight: 700;
}
.copyright {
  text-align: center; color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid var(--border); margin-top: 44px; padding-top: 22px;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  h1 { font-size: 2.2rem; }
  .proof-grid, .cards-3 { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Inner pages --- */
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef4fd 70%, #f3eefe 100%);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 56px; text-align: center;
}
.page-hero h1 { font-size: 2.4rem; }
.page-hero .lead { margin: 14px auto 0; max-width: 42rem; }
.nav-links a.active { color: var(--accent); }

/* Feature rows (platform) */
.feature-row {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px;
  padding: 44px 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.feature-row:last-of-type { border-bottom: none; }
.feature-row h3 {
  font-size: 1.5rem; line-height: 1.3; font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature-row ul { list-style: none; }
.feature-row li {
  color: var(--muted); font-size: 0.97rem; margin-bottom: 12px;
  padding-left: 26px; position: relative;
}
.feature-row li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
.metrics { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 40px 0 8px; }
.metric {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 30px; text-align: center; min-width: 210px;
}
.metric strong {
  display: block; font-size: 1.7rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { color: var(--muted); font-size: 0.88rem; }

/* Solutions grid */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sol-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 28px;
}
.sol-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.sol-card p { color: var(--muted); font-size: 0.93rem; }

/* Team */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px; margin-top: 48px;
}
.member { text-align: center; }
.member img {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 14px; border: 3px solid #fff; box-shadow: var(--shadow);
  filter: grayscale(1);
}
.member strong { display: block; font-size: 0.98rem; }
.member span { color: var(--muted); font-size: 0.85rem; }

/* Resources */
.res-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.res-tabs a {
  border: 1px solid var(--border); border-radius: 999px; padding: 9px 22px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.92rem; background: #fff;
}
.res-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px; text-decoration: none;
  color: var(--muted); font-size: 0.92rem; line-height: 1.55; display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20,23,63,0.14); color: var(--ink); }
.wp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wp-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; text-decoration: none; display: block;
  transition: transform .15s ease;
}
.wp-card:hover { transform: translateY(-3px); }
.wp-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.wp-card span { display: block; padding: 14px 18px; color: var(--ink); font-size: 0.9rem; font-weight: 500; }
.patent-list { max-width: 820px; margin: 0 auto; padding-left: 0; list-style: none; counter-reset: pat; }
.patent-list li {
  counter-increment: pat; position: relative; padding: 14px 16px 14px 64px;
  border-bottom: 1px solid var(--border); color: var(--muted); font-size: 0.9rem;
}
.patent-list li::before {
  content: counter(pat, decimal-leading-zero); position: absolute; left: 10px; top: 12px;
  font-weight: 700; font-size: 1.05rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.patent-list a { color: var(--accent); text-decoration: none; }
.patent-list a:hover { text-decoration: underline; }

/* Contact */
.contact-wrap { max-width: 560px; margin: 0 auto; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px; text-align: center;
}
.contact-card p { color: var(--muted); margin-bottom: 26px; }
.contact-alt { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 22px; }
.contact-alt a { color: var(--accent); text-decoration: none; }

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 12px; }
  .sol-grid, .news-grid, .wp-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 1.8rem; }
}
