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

:root {
  color-scheme: light;
  --ink: #1e3a5f;
  --ink-strong: #10264a;
  --muted: #52708e;
  --blue: #2e86ff;
  --blue-deep: #1f6fe0;
  --gold: #ffc83d;
  --gold-deep: #f5a623;
  --green: #28c081;
  --pink: #ff7aa2;
  --sky: #e8f4ff;
  --cream: #fff6e6;
  --surface: #ffffff;
  --line: #dceafa;
  --shadow: 0 24px 54px -34px rgba(30, 58, 95, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 200, 61, 0.2), transparent 18rem),
    radial-gradient(circle at 90% 18%, rgba(46, 134, 255, 0.14), transparent 20rem),
    linear-gradient(180deg, var(--sky) 0%, #f3f9ff 38%, var(--cream) 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "★";
  position: fixed;
  left: 7vw;
  top: 18vh;
  z-index: 0;
  color: rgba(255, 200, 61, 0.42);
  font-size: 28px;
  pointer-events: none;
  animation: float-star 6s ease-in-out infinite;
}

body::after {
  content: "★";
  position: fixed;
  right: 8vw;
  top: 34vh;
  z-index: 0;
  color: rgba(255, 122, 162, 0.32);
  font-size: 24px;
  pointer-events: none;
  animation: twinkle 5s ease-in-out infinite;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 2px solid rgba(46, 134, 255, 0.1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand img,
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  filter: drop-shadow(0 8px 14px rgba(245, 166, 35, 0.35));
  animation: wiggle 3.5s ease-in-out infinite;
  transform-origin: 50% 60%;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 12px;
  color: #3f5e7e;
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(46, 134, 255, 0.08);
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after {
  content: "★";
  position: absolute;
  left: 50%;
  bottom: -5px;
  color: var(--gold);
  font-size: 10px;
  transform: translateX(-50%);
}

.language-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: #eaf1f8;
}

.language-switch a {
  min-width: 43px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #5b7793;
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.language-switch a[aria-current="true"] {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 6px 14px -6px rgba(46, 134, 255, 0.7);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 24px;
  text-align: center;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 15px;
  border: 2px solid #ffe3a6;
  border-radius: 999px;
  background: #fff;
  color: #b8770e;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 22px -14px rgba(245, 166, 35, 0.6);
}

.eyebrow::before {
  content: "★";
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
}

.hero-blue {
  color: var(--blue);
}

.hero-gold {
  color: #ffb300;
}

.lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:active {
  transform: scale(0.96);
}

.button.primary {
  color: #fff;
  background: #16263b;
  box-shadow: 0 16px 30px -14px rgba(22, 38, 59, 0.7);
}

.button.secondary {
  border: 2.5px solid var(--gold);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 26px -16px rgba(245, 166, 35, 0.7);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3f5e7e;
  font-size: 13.5px;
  font-weight: 800;
}

.trust-badges span::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.showcase {
  position: relative;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 8px 0 52px;
}

.showcase::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 43%;
  width: 64%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 61, 0.3), rgba(46, 134, 255, 0.08) 60%, transparent 72%);
  transform: translate(-50%, -50%);
  animation: spin-slow 44s linear infinite;
}

.ipad-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 16px;
  border-radius: 38px;
  background: #16263b;
  box-shadow: 0 54px 90px -38px rgba(30, 58, 95, 0.62);
  animation: bob 7s ease-in-out infinite;
}

.ipad-frame::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 6px;
  height: 52px;
  border-radius: 6px;
  background: #2a3c54;
  transform: translateY(-50%);
}

.ipad-frame img {
  display: block;
  width: 100%;
  border-radius: 24px;
  background: #e7f2ff;
}

.features {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 30px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.doc-card {
  border: 2px solid #eaf1fa;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 30px 26px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 30px;
}

.feature-card:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #e6f2ff, #cfe6ff);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #fff3d6, #ffe6ae);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #e2f7ee, #c7f0dc);
}

.feature-card h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
}

.cta-band {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 70px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 54px 40px;
  border-radius: 34px;
  color: #fff;
  text-align: center;
  background: linear-gradient(125deg, var(--blue) 0%, var(--blue-deep) 55%, #1856b8 100%);
  box-shadow: 0 36px 60px -30px rgba(31, 111, 224, 0.7);
}

.cta-panel::before,
.cta-panel::after {
  position: absolute;
  content: "★";
  pointer-events: none;
}

.cta-panel::before {
  left: 8%;
  top: 18px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 34px;
  animation: float-star 6s ease-in-out infinite;
}

.cta-panel::after {
  right: 10%;
  bottom: 20px;
  color: rgba(255, 200, 61, 0.6);
  font-size: 48px;
  animation: twinkle 5s ease-in-out infinite;
}

.cta-star {
  display: inline-grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--gold);
  font-size: 70px;
  filter: drop-shadow(0 5px 0 rgba(255, 255, 255, 0.7));
  animation: bob 4s ease-in-out infinite;
}

.cta-panel h2 {
  position: relative;
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}

.cta-panel p {
  position: relative;
  margin: 12px 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17.5px;
  font-weight: 700;
}

.cta-panel .button {
  position: relative;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.4);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #cfe0f0;
  background: #16263b;
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #9fb4cc;
  font-size: 14px;
  font-weight: 700;
}

.footer-brand {
  color: #fff;
}

.legal-main {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 50px 0 34px;
}

.legal-main h1 {
  text-align: center;
  font-size: clamp(34px, 5vw, 52px);
}

.legal-main > .lead {
  display: table;
  margin: 14px auto 26px;
  padding: 7px 15px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #5b7793;
  font-size: 14px;
  font-weight: 800;
}

.doc-card {
  margin: 16px 0;
  padding: 26px 28px;
}

.doc-card h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
}

.doc-card h2::before {
  content: "★";
  margin-right: 9px;
  color: var(--gold);
  font-size: 16px;
}

.doc-card p {
  margin: 0;
  color: #46627e;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.burst-star {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  color: var(--gold);
  line-height: 1;
}

@keyframes float-star {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-22px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.15) rotate(20deg);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-7deg);
  }
  50% {
    transform: rotate(7deg);
  }
}

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

@keyframes spin-slow {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 12px 0;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    justify-content: center;
    padding-bottom: 2px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav,
  .hero,
  .showcase,
  .features,
  .cta-band,
  .legal-main,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 18px;
  }

  .brand img,
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .language-switch a {
    min-width: 38px;
    padding-inline: 10px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 44px;
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
    padding-inline: 18px;
  }

  .ipad-frame {
    padding: 9px;
    border-radius: 24px;
  }

  .ipad-frame img {
    border-radius: 16px;
  }

  .cta-panel {
    padding: 40px 20px;
    border-radius: 24px;
  }
}
