@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&family=Sora:wght@500;600;700&display=swap");

:root {
  --blue-900: #16478e;
  --blue-700: #2265b9;
  --blue-500: #4f8fda;
  --sky: #eaf3ff;
  --yellow: #f6c949;
  --yellow-soft: #ffe08a;
  --red: #d73535;
  --green: #1f8c52;
  --ink: #1d2b44;
  --muted: #54627a;
  --paper: #f8fbff;
  --shadow: rgba(22, 50, 93, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(79, 143, 218, 0.25), transparent 45%),
    radial-gradient(circle at 90% 18%, rgba(246, 201, 73, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(234, 243, 255, 0.84)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Crect width='180' height='180' fill='none'/%3E%3Cg opacity='0.22'%3E%3Cpath d='M15 90h40' stroke='%232265b9' stroke-width='2'/%3E%3Cpath d='M125 48h32' stroke='%23d73535' stroke-width='2'/%3E%3Ccircle cx='48' cy='48' r='5' fill='%23f6c949'/%3E%3Ccircle cx='146' cy='128' r='5' fill='%231f8c52'/%3E%3Cpath d='M88 22l11 11-11 11-11-11z' fill='none' stroke='%232265b9' stroke-width='2'/%3E%3Cpath d='M88 132l11 11-11 11-11-11z' fill='none' stroke='%231f8c52' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%, 100% 100%, 100% 100%, 180px 180px;
}

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

h1,
h2,
h3,
.brand-mark {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  letter-spacing: 0.2px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(34, 101, 185, 0.16);
}

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

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-mark {
  font-size: 1.55rem;
  color: var(--blue-900);
}

.brand-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding-bottom: 0.3rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue-700);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--blue-700), var(--blue-500));
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(34, 101, 185, 0.28);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

.nav-toggle {
  display: none;
  border: 2px solid var(--blue-700);
  background: transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--blue-700);
}

.hero {
  padding: 4.6rem 0 3.2rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(79, 143, 218, 0.24), transparent 45%),
    radial-gradient(circle at 68% 78%, rgba(246, 201, 73, 0.26), transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='680' height='420' viewBox='0 0 680 420'%3E%3Crect width='680' height='420' fill='none'/%3E%3Cg opacity='0.16'%3E%3Ccircle cx='130' cy='150' r='54' fill='%232265b9'/%3E%3Crect x='100' y='204' width='60' height='96' rx='18' fill='%234f8fda'/%3E%3Ccircle cx='320' cy='130' r='60' fill='%232265b9'/%3E%3Crect x='288' y='188' width='64' height='102' rx='20' fill='%234f8fda'/%3E%3Ccircle cx='520' cy='160' r='52' fill='%232265b9'/%3E%3Crect x='490' y='212' width='62' height='94' rx='18' fill='%234f8fda'/%3E%3C/g%3E%3C/svg%3E") right bottom / 58% auto no-repeat;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 26px,
    #ffffff 26px 52px,
    var(--green) 52px 78px,
    var(--yellow) 78px 104px
  );
  opacity: 0.9;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--blue-900);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  color: var(--blue-900);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 1.6rem 0 1.4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.76rem 1.5rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--blue-700), var(--blue-500));
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(34, 101, 185, 0.25);
}

.btn.ghost {
  border: 2px solid var(--blue-700);
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.7);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.9rem;
}

.hero-proof div {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(34, 101, 185, 0.13);
  border-radius: 14px;
  padding: 0.85rem;
}

.hero-proof strong {
  display: block;
  color: var(--blue-900);
  font-size: 1rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.bubble-stack {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.chat-banner,
.chat-bubble {
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(16, 52, 102, 0.25);
}

.chat-banner {
  background: linear-gradient(125deg, #1a4f99, #2f74c8);
  font-size: clamp(1rem, 2.8vw, 1.65rem);
  font-weight: 800;
  padding: 0.8rem 1.1rem;
}

.chat-bubble {
  background: linear-gradient(125deg, #2c67b5, #5295df);
  font-size: 1rem;
  padding: 0.95rem 1rem;
}

.chat-bubble.accent {
  background: linear-gradient(125deg, #f6c949, #ffd75f);
  color: #223552;
  font-weight: 800;
}

.flag-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0 56%, rgba(232, 243, 255, 0.96) 56% 100%);
  border: 1px solid rgba(34, 101, 185, 0.18);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.8rem;
  box-shadow: 0 24px 40px var(--shadow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.flag-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--red), #ffffff, var(--green));
}

.flag-panel h2 {
  margin: 0 0 0.7rem;
  color: var(--blue-900);
  font-size: clamp(1.4rem, 3vw, 2.05rem);
}

.flag-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.mini-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.mini-list li {
  position: relative;
  padding-left: 1.45rem;
  font-weight: 700;
  color: #2f415c;
}

.mini-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
}

.flag-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.flag-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.coin-orb {
  position: absolute;
  right: -22px;
  top: -30px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.86) 0 24%, transparent 24%),
    radial-gradient(circle at 65% 65%, rgba(255, 255, 255, 0.86) 0 24%, transparent 24%),
    radial-gradient(circle, #3a82d5, #1f5ca7);
  box-shadow: 0 14px 24px rgba(31, 92, 167, 0.32);
  animation: bob 6s ease-in-out infinite;
  pointer-events: none;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(230, 242, 255, 0.86), rgba(245, 250, 255, 0.88));
}

.section-header {
  margin-bottom: 2.1rem;
}

.section-header h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.text-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(34, 101, 185, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 14px 28px rgba(22, 50, 93, 0.1);
}

.text-panel p:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(34, 101, 185, 0.11);
  border-radius: var(--radius);
  box-shadow: 0 12px 22px rgba(22, 50, 93, 0.11);
  padding: 1.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card h3 {
  margin-top: 0;
  color: var(--blue-900);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(22, 50, 93, 0.16);
}

.card:active {
  transform: translateY(-1px) scale(0.99);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.step {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(34, 101, 185, 0.11);
  border-left: 4px solid var(--blue-700);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 20px rgba(22, 50, 93, 0.1);
}

.step span {
  color: var(--blue-700);
  font-weight: 800;
}

.step h3 {
  margin: 0.35rem 0 0.4rem;
  color: var(--blue-900);
}

.step p {
  margin: 0;
  color: var(--muted);
}

.career-cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-radius: var(--radius);
  border: 1px dashed rgba(34, 101, 185, 0.3);
  background: linear-gradient(125deg, rgba(239, 247, 255, 0.95), rgba(255, 245, 214, 0.88));
  padding: 1.2rem 1.4rem;
}

.career-cta p {
  margin: 0;
}

.inline-link {
  color: var(--blue-700);
  font-weight: 800;
  border-bottom: 1px solid rgba(34, 101, 185, 0.45);
}

.inline-link:hover {
  color: var(--blue-900);
  border-bottom-color: var(--blue-900);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  align-items: center;
}

.contact-card {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid rgba(34, 101, 185, 0.14);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 10px 20px rgba(22, 50, 93, 0.1);
  display: grid;
  gap: 0.9rem;
}

.contact-card strong {
  color: var(--blue-900);
}

.contact-card span {
  color: var(--muted);
}

.form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(34, 101, 185, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 30px rgba(22, 50, 93, 0.12);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(34, 101, 185, 0.24);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #ffffff;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(34, 101, 185, 0.25);
  border-color: var(--blue-700);
}

.site-footer {
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(34, 101, 185, 0.2);
  background: linear-gradient(180deg, rgba(238, 246, 255, 0.9), rgba(226, 240, 255, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.footer-grid strong {
  color: var(--blue-900);
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  color: var(--muted);
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 0.28rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal {
  padding: 3.4rem 0 4rem;
}

.legal h1 {
  margin-top: 0;
  color: var(--blue-900);
}

.legal h2 {
  color: var(--blue-700);
  margin-top: 1.9rem;
}

.legal p {
  color: #465b7a;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes bob {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nav {
    position: absolute;
    right: 4%;
    top: 74px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(34, 101, 185, 0.18);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(22, 50, 93, 0.16);
    padding: 0.9rem 1.1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

@media (max-width: 680px) {
  .hero {
    padding-top: 3.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .text-panel,
  .form,
  .flag-panel {
    padding: 1.2rem;
  }

  .chat-banner {
    font-size: 1.15rem;
  }

  .coin-orb {
    width: 95px;
    height: 95px;
    right: -12px;
    top: -18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .coin-orb {
    animation: none;
  }

  .btn,
  .card,
  .nav-cta {
    transition: none;
  }
}
