:root {
  --navy: #17365d;
  --navy-dark: #0f2440;
  --navy-light: #2a4d7a;
  --accent: #3fa796;
  --accent-dark: #2f8a7b;
  --bg: #f7f9fb;
  --white: #ffffff;
  --text: #1c2b3a;
  --text-muted: #5b6b7c;
  --border: #e3e8ee;
  --shadow: 0 10px 30px rgba(23, 54, 93, 0.08);
  --radius: 14px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: #071527; }

/* Intro splash */
html.splash-lock, body.splash-lock { overflow: hidden; height: 100%; }

#intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 50% 35%, rgba(63, 167, 150, 0.14), transparent 60%),
    linear-gradient(165deg, #0a1f38 0%, #071527 55%, #050f1c 100%);
  animation: splashOut 0.7s ease 6.35s forwards;
}

.splash-drop {
  position: absolute;
  top: -60px;
  left: 50%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border-radius: 50% 50% 50% 60%;
  background: radial-gradient(circle at 30% 30%, #ffe58a, #f2b705 55%, #d99a00);
  box-shadow: 0 0 34px rgba(242, 183, 5, 0.55);
  animation: dropFall 0.9s cubic-bezier(.55,0,.85,.35) forwards;
}

@keyframes dropFall {
  0%   { top: -60px; opacity: 1; transform: scaleX(1) scaleY(1); }
  82%  { top: calc(50% - 18px); opacity: 1; transform: scaleX(0.85) scaleY(1.3); }
  100% { top: calc(50% - 6px); opacity: 0; transform: scaleX(1.3) scaleY(0.35); }
}

.splash-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(242, 183, 5, 0.65);
  opacity: 0;
  animation: rippleOut 1.3s ease-out forwards;
}
.splash-ripple:nth-of-type(2) { animation-delay: 0.78s; }
.splash-ripple:nth-of-type(3) { animation-delay: 0.98s; }
.splash-ripple:nth-of-type(4) { animation-delay: 1.18s; }

@keyframes rippleOut {
  0%   { width: 18px; height: 18px; margin: -9px 0 0 -9px; opacity: 0.75; border-width: 2px; }
  100% { width: 280px; height: 280px; margin: -140px 0 0 -140px; opacity: 0; border-width: 1px; }
}

.splash-logo {
  position: relative;
  width: 510px;
  max-width: 85vw;
  opacity: 0;
  transform: scale(0.85);
  filter: brightness(0) invert(1);
  animation: logoIn 1s ease forwards;
  animation-delay: 1.35s;
}

@keyframes logoIn {
  to { opacity: 1; transform: scale(1); }
}

.splash-tagline {
  position: relative;
  margin: 22px 0 0;
  color: #f2b705;
  font-family: 'Allura', cursive;
  font-weight: 400;
  font-size: 2.6rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

@media (max-width: 680px) {
  .splash-tagline { font-size: 1.9rem; }
}
.splash-tagline.is-visible {
  opacity: 1;
  transform: translateY(0);
}


@keyframes splashOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  #intro-splash { animation: none !important; opacity: 0; visibility: hidden; pointer-events: none; }
  .splash-drop, .splash-ripple, .splash-logo { animation: none !important; }
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 42.5px; width: auto; filter: brightness(0) invert(1); }
.header-tagline {
  font-family: 'Allura', cursive;
  font-size: 1.5rem;
  color: #f2b705;
  padding-left: 12px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .header-tagline { display: none; }
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 1.15rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: #cfe4ff; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.social-links { display: flex; align-items: center; gap: 12px; }
.social-links a {
  display: flex;
  color: #f2b705;
  transition: opacity 0.15s ease;
}
.social-links a:hover { opacity: 0.75; }
.social-links svg { width: 20px; height: 20px; }

.lang-switch {
  display: flex;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  overflow: hidden;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button.active {
  background: var(--white);
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(63, 167, 150, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(63, 167, 150, 0.38); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-large { padding: 14px 30px; font-size: 1.02rem; }

.nav-toggle { display: none; }

/* Hero */
.hero {
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(63, 167, 150, 0.25), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(63, 167, 150, 0.12), transparent 55%),
    linear-gradient(165deg, #0a1f38 0%, #071527 55%, #050f1c 100%);
  color: var(--white);
  padding: 40px 0 90px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 75%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 48px;
}

.hero-copy {
  max-width: 640px;
  text-align: left;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1400px;
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 910px;
}

.hero-phone-img {
  position: absolute;
  bottom: -13.4%;
  left: 1.5%;
  width: 26.4%;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.5));
  z-index: 2;
  transform: rotateY(22deg);
  transform-style: preserve-3d;
}

.hero-portal-img {
  width: 79.1%;
  margin-left: 20.9%;
  border-radius: 16px;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.08);
  display: block;
}

.eyebrow {
  display: inline-block;
  color: #f2b705;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.22;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero p.lead {
  font-size: 1.05rem;
  color: #d7e3f2;
  max-width: 100%;
  margin: 0 0 18px;
}
.hero p.lead:last-of-type {
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 22px;
}
.hero-tags span {
  color: #cfe4ff;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-tags span:not(:last-child)::after {
  content: "•";
  margin-left: 8px;
  color: rgba(207,228,255,0.4);
}

.hero-iscc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 20px;
  border: 1px solid rgba(242, 183, 5, 0.35);
  background: rgba(242, 183, 5, 0.08);
  border-radius: 999px;
  color: #ffd76b;
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 720px;
  text-align: left;
}
.hero-iscc svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #ffd76b;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }

.hero .btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--navy); }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-tag {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-head h2 { font-size: 2.1rem; margin: 0 0 14px; color: var(--navy); font-weight: 800; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* Problem/solution */
.problem-solution {
  background: var(--white);
}
.ps-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  padding: 0 48px;
}
.ps-head.section-head {
  max-width: 100%;
  margin: 0 0 32px;
  text-align: left;
}
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ps-card {
  border-radius: var(--radius);
  padding: 28px;
}
.ps-card.problem { background: #fdf3f1; border: 1px solid #f4dcd6; }
.ps-card.solution { background: #eef8f5; border: 1px solid #d3ece4; }
.ps-card h3 { margin-top: 0; color: var(--navy); font-size: 1.2rem; }
.ps-card ul { padding-left: 20px; margin: 14px 0 0; color: var(--text-muted); }
.ps-card li { margin-bottom: 10px; }

.ps-visual {
  position: relative;
}
.ps-shot {
  display: block;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.ps-shot-2 {
  position: absolute;
  width: 62%;
  left: -8%;
  bottom: -12%;
  box-shadow: 0 24px 48px rgba(23, 54, 93, 0.2);
}

/* Features */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(23, 54, 93, 0.12); border-color: transparent; }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(63, 167, 150, 0.16), rgba(23, 54, 93, 0.10));
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--navy); }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* How it works */
.how { background: var(--white); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #0a1f38 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 10px 20px rgba(23, 54, 93, 0.25);
}
.step h3 { margin: 0 0 8px; font-size: 1.03rem; color: var(--navy); }
.step p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Value strip */
.value-strip {
  background: linear-gradient(165deg, #0a1f38 0%, #071527 100%);
  color: var(--white);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.value-item h3 { font-size: 1.6rem; margin: 0 0 6px; color: #7fd9c8; }
.value-item p { margin: 0; color: #cbdaea; font-size: 0.9rem; }

/* Partners */
.partners { background: var(--white); }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partner-logo { height: 56px; width: 56px; object-fit: contain; flex-shrink: 0; }
.partner-name { font-weight: 700; font-size: 1.1rem; color: var(--navy); }

/* CTA */
.cta-section {
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(63, 167, 150, 0.35), transparent 60%),
    linear-gradient(135deg, #0a1f38 0%, #071527 100%);
  color: var(--white);
  text-align: center;
  border-radius: 20px;
  margin: 0 24px;
  padding: 72px 24px;
  box-shadow: 0 30px 60px rgba(5, 15, 28, 0.35);
}
.cta-section h2 { font-size: 2rem; margin: 0 0 14px; }
.cta-section p { margin: 0 0 28px; color: #eafff9; font-size: 1.05rem; }
.cta-section .btn-primary { background: var(--white); color: var(--accent-dark); }
.cta-section .btn-primary:hover { background: #eafff9; }
.cta-section .btn-ghost { border-color: rgba(255,255,255,0.7); color: var(--white); }
.cta-section .btn-ghost:hover { background: var(--white); color: var(--accent-dark); }

/* Contact */
.contact { background: var(--bg); }
.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  box-shadow: var(--shadow);
}
.contact-info h3 { color: var(--navy); margin-top: 0; }
.contact-info p { color: var(--text-muted); }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-list li { margin-bottom: 12px; font-size: 0.95rem; }
.contact-list b { color: var(--navy); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note { font-size: 0.8rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #c8d6e5;
  padding: 48px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.footer-logo { height: 28px; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-tagline { max-width: 320px; font-size: 0.9rem; color: #9fb2c7; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin: 0 0 12px; }
.footer-col a {
  display: block;
  text-decoration: none;
  color: #9fb2c7;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #7d90a6;
}

/* Utility */
[data-i18n] { }
[lang-hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; text-align: left; }
  .hero-tags { justify-content: flex-start; }
  .hero-ctas { justify-content: flex-start; }
  .hero-visual { margin-top: 60px; }
  .hero-visual-frame { max-width: 480px; }
  .hero-portal-img { margin-left: 0; width: 100%; }
  .hero-phone-img { position: static; width: 40%; margin: -15% auto 0; display: block; transform: none; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5)); }
  .ps-layout { grid-template-columns: 1fr; padding: 0 24px; }
  .ps-head.section-head { text-align: center; }
  .ps-visual { margin-top: 48px; }
  .ps-shot-2 { position: static; width: 100%; margin-top: 16px; box-shadow: var(--shadow); }
  .ps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-box { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 680px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
  }
  .hero h1 { font-size: 2rem; }
  .hero-inner { padding: 0 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { margin: 0 12px; padding: 44px 20px; }
  section { padding: 60px 0; }
}
