/* ===== Fonts ===== */
@font-face {
  font-family: 'Widock';
  src: url('assets/fonts/Widock-TRIAL-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Regular.woff') format('woff');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FindSansPro';
  src: url('assets/fonts/FindSansPro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Design tokens ===== */
:root {
  --blue-50: #eef6ff;
  --blue-100: #d9ecff;
  --blue-200: #b8dcff;
  --blue-300: #7ec8ff;
  --blue-400: #4bb2ff;
  --blue-500: #229cff;
  --blue-600: #1a8ae6;
  --blue-700: #0f6dc2;
  --blue-900: #0d1b3d;
  --sky-top: #a9d4f5;
  --sky-mid: #cfe6f8;
  --sky-bot: #eaf3fb;
  --ink: #0d1b3d;
  --ink-2: #26355e;
  --white: #ffffff;
  --pink: #ffbfd0;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(10, 26, 61, 0.08);
  --shadow-md: 0 12px 40px rgba(10, 26, 61, 0.12);
  --shadow-lg: 0 24px 80px rgba(10, 26, 61, 0.2);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'FindSansPro', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-bot) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

/* ===== Sky bg + clouds ===== */
.sky-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.cloud {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(80, 120, 180, 0.15));
  opacity: 1;
}
.cloud--1 { width: 520px; left: -80px;  top: 4%;   animation: drift 60s linear infinite; }
.cloud--2 { width: 380px; right: -60px; top: 14%;  opacity: .9;  animation: drift 80s linear infinite reverse; }
.cloud--3 { width: 600px; left: 8%;     top: 34%;  opacity: .8;  animation: drift 100s linear infinite; }
.cloud--4 { width: 440px; right: 6%;    top: 50%;  opacity: .88; animation: drift 70s linear infinite reverse; }
.cloud--5 { width: 680px; left: -120px; top: 68%;  opacity: .78; animation: drift 110s linear infinite; }
.cloud--6 { width: 460px; right: 4%;    top: 82%;  opacity: .85; animation: drift 75s linear infinite reverse; }
.cloud--7 { width: 560px; left: 30%;    bottom: -100px; opacity: .72; animation: drift 120s linear infinite; }

@keyframes drift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(60px); }
  100% { transform: translateX(0); }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.6);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.logo__img {
  height: 40px;
  width: auto;
  display: block;
  transition: filter .2s var(--ease);
}
.footer .logo__img {
  filter: brightness(0) invert(1);
  height: 38px;
}

.nav {
  display: flex;
  gap: 28px;
  margin: 0 auto;
  color: var(--blue-900);
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: 6px 0;
  opacity: .8;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
  transition: right .3s var(--ease);
}
.nav a:hover { opacity: 1; color: var(--blue-500); }
.nav a:hover::after { right: 0; }

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

/* Burger (mobile) */
.burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(13, 27, 61, 0.08);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s var(--ease);
}
.btn--pill { padding: 12px 22px; border-radius: var(--radius-pill); }
.btn--white { background: var(--white); color: var(--blue-900); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--blue {
  background: #26a4e6;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(38, 164, 230, 0.35);
}
.btn--blue:hover {
  transform: translateY(-2px);
  background: #1f95d4;
  box-shadow: 0 10px 24px rgba(38, 164, 230, 0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn--lg { padding: 16px 34px; font-size: 15px; }

.btn--hero {
  background: #26a4e6;
  color: var(--white);
  padding: 24px 64px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px rgba(38, 164, 230, 0.4);
  min-width: 320px;
}
.btn--hero:hover {
  transform: translateY(-3px);
  background: #1f95d4;
  box-shadow: 0 18px 42px rgba(38, 164, 230, 0.5);
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 120px;
  text-align: center;
  color: var(--blue-900);
  position: relative;
}
.hero__title {
  font-family: 'Widock', 'Archivo Black', sans-serif;
  font-size: clamp(48px, 9.5vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-shadow: 0 4px 24px rgba(255, 255, 255, 0.5);
}
.hero__title span {
  display: block;
  white-space: nowrap;
  animation: rise .8s var(--ease) both;
}
.hero__title span:nth-child(2) { animation-delay: .1s; }
.hero__title span:nth-child(3) { animation-delay: .2s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

.hero__sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ink-2);
  margin: 0 auto 44px;
  max-width: 620px;
  animation: rise .8s var(--ease) .3s both;
}
.btn--hero { animation: rise .8s var(--ease) .4s both; }

/* ===== Section base ===== */
.section {
  padding: 100px 0;
  position: relative;
}
.section__head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-700);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--white); background: rgba(255,255,255,0.15); }
.section__title {
  font-family: 'Widock', 'Archivo Black', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--blue-900);
  letter-spacing: -0.01em;
}
.section__title--light { color: var(--white); }
.section__lead {
  font-size: 18px;
  color: var(--ink-2);
  margin: 0;
}

/* ===== Cards (Why) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(34, 156, 255, 0.35);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--blue-900);
  font-weight: 700;
}
.card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--blue-900);
  font-weight: 500;
  border-bottom: 1px solid rgba(10, 26, 61, 0.08);
}
.about__list li:last-child { border-bottom: 0; }
.about__list span {
  width: 26px; height: 26px;
  background: var(--blue-500);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.about__visual {
  display: grid;
  place-items: center;
  position: relative;
}
.orb {
  position: relative;
  width: 380px;
  height: 380px;
  max-width: 100%;
  display: grid;
  place-items: center;
}
.orb__ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(34, 156, 255, 0.5);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.orb__ring--2 {
  inset: 40px;
  border-color: rgba(34, 156, 255, 0.35);
  animation-duration: 20s;
  animation-direction: reverse;
}
.orb__core {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--white), var(--blue-100));
  box-shadow: 0 30px 60px rgba(34, 156, 255, 0.3), inset 0 -20px 40px rgba(34, 156, 255, 0.15);
  display: grid;
  place-items: center;
  animation: float 6s ease-in-out infinite;
}
.orb__logo {
  width: 65%;
  height: auto;
  display: block;
}
.dot {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--blue-500);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(34, 156, 255, 0.8);
}
.dot--1 { top: 8%; left: 50%; animation: pulse 3s ease-in-out infinite; }
.dot--2 { top: 50%; right: 3%; animation: pulse 3s ease-in-out .5s infinite; }
.dot--3 { bottom: 12%; left: 12%; animation: pulse 3s ease-in-out 1s infinite; }
.dot--4 { top: 28%; left: 5%; animation: pulse 3s ease-in-out 1.5s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

/* ===== Dark section (How) ===== */
.section--dark {
  background: linear-gradient(180deg, var(--blue-900) 0%, #12245a 100%);
  color: var(--white);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 156, 255, 0.35), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(126, 163, 255, 0.25), transparent 40%);
  pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }

/* ===== OS tabs ===== */
.os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  max-width: 720px;
  margin: 0 auto 40px;
  justify-content: center;
}
.os-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color .25s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
.os-tab:hover { color: var(--white); }
.os-tab.is-active {
  background: var(--white);
  color: var(--blue-900);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.os-panel {
  display: none;
  animation: fadeUp .5s var(--ease) both;
}
.os-panel.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps--vertical {
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}
.step {
  padding: 32px 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), background .3s var(--ease);
  position: relative;
}
.step:hover {
  background: rgba(255,255,255,0.1);
}
.steps--vertical .step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px 28px;
  align-items: start;
}
.steps--vertical .step h3 { grid-column: 2; }
.steps--vertical .step > p,
.steps--vertical .step > ul { grid-column: 2; }
.step__num {
  font-family: 'Widock', 'Archivo Black', sans-serif;
  font-size: 56px;
  background: linear-gradient(180deg, var(--white), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.steps--vertical .step__num {
  grid-row: span 3;
  margin-bottom: 0;
  font-size: 64px;
}
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0 0 10px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.step p:last-child { margin-bottom: 0; }

.step__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.step__links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-weight: 500;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.step__links a:hover {
  background: rgba(34, 156, 255, 0.25);
  border-color: rgba(255,255,255,0.35);
  transform: translateX(4px);
}
.step__links a svg { margin-left: auto; opacity: 0.7; }
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  padding: 2px 8px;
  background: var(--blue-500);
  color: var(--white);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.section__lead--light { color: rgba(255,255,255,0.8); }

/* ===== FAQ ===== */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  padding: 4px 8px;
  transition: box-shadow .3s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  color: var(--blue-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  color: var(--blue-500);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ===== CTA ===== */
.section--cta { padding: 60px 0 120px; }
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 30px 80px rgba(34, 156, 255, 0.35);
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  filter: blur(40px);
}
.cta::before { width: 320px; height: 320px; top: -80px; left: -80px; }
.cta::after { width: 260px; height: 260px; bottom: -60px; right: -60px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 {
  font-family: 'Widock', 'Archivo Black', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.cta p { font-size: 18px; opacity: 0.9; margin: 0 0 32px; }
.cta__actions { display: inline-flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ===== Footer ===== */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p { margin-top: 16px; line-height: 1.6; max-width: 260px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__cols h4 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer__cols a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer__cols a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--blue-500); color: var(--white); transform: translateY(-2px); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .about { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about__list li { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .steps--vertical .step { grid-template-columns: 1fr; gap: 4px; }
  .steps--vertical .step__num { grid-row: auto; font-size: 48px; margin-bottom: 8px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 14px; }
  .hero { padding: 40px 0 80px; }
  .section { padding: 70px 0; }
  .btn--hero { min-width: 260px; padding: 18px 40px; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(10, 26, 61, 0.95);
    backdrop-filter: blur(20px);
  }
}

@media (max-width: 520px) {
  .cta { padding: 60px 24px; }
  .footer__cols { grid-template-columns: 1fr; }
  .btn--pill { padding: 10px 16px; font-size: 13px; }
  .logo__text { font-size: 20px; }
  .logo__text span { font-size: 16px; padding: 1px 6px 0; }
}
