:root {
  --bg: #020611;
  --bg-soft: #071225;
  --panel: rgba(9, 19, 39, 0.82);
  --panel-strong: rgba(12, 27, 56, 0.94);
  --text: #f7f9ff;
  --muted: #a8b4c7;
  --subtle: #738198;
  --line: rgba(142, 176, 255, 0.18);
  --line-strong: rgba(125, 179, 255, 0.34);
  --blue: #1d7cff;
  --blue-strong: #0b63ff;
  --cyan: #20d5ff;
  --green: #1fc56b;
  --green-strong: #119a50;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #020611 0%, #071225 48%, #020611 100%);
  color: var(--text);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(32, 213, 255, 0.86);
  outline-offset: 4px;
}

.is-hidden {
  display: none !important;
}

.shell {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 0 max(48px, env(safe-area-inset-bottom));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font-weight: 750;
  font-size: 0.92rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 26px rgba(29, 124, 255, 0.34);
}

.language {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 37, 0.78);
}

.lang-btn {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 760;
}

.lang-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0b55d9);
  box-shadow: 0 8px 18px rgba(11, 99, 255, 0.28);
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 10px 0 48px;
}

.hero-logo-card {
  display: grid;
  place-items: center;
  width: clamp(96px, 26vw, 148px);
  aspect-ratio: 1;
  margin-bottom: 24px;
  border: 1px solid rgba(77, 159, 255, 0.3);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(10, 26, 56, 0.88), rgba(5, 14, 31, 0.9));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34), 0 0 36px rgba(29, 124, 255, 0.2);
}

.hero-logo-card img {
  width: 88%;
  height: 88%;
  border-radius: 50%;
  object-fit: cover;
}

.kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.gradient-text {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #2fd0ff 48%, #1d7cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 690px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.62;
}

.primary-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(100%, 760px);
  margin: 30px auto 0;
}

.action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(12, 27, 56, 0.94), rgba(5, 14, 31, 0.94));
  color: var(--text);
  text-align: left;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.action-primary {
  min-height: 64px;
  border-color: rgba(81, 255, 166, 0.22);
  background: linear-gradient(145deg, var(--green), var(--green-strong));
  box-shadow: 0 20px 48px rgba(31, 197, 107, 0.22);
}

.action-secondary {
  border-color: rgba(58, 148, 255, 0.28);
  background:
    radial-gradient(circle at 90% 0%, rgba(32, 213, 255, 0.15), transparent 38%),
    linear-gradient(145deg, rgba(16, 47, 94, 0.98), rgba(7, 20, 43, 0.96));
}

.action-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.action-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.icon-stroke,
.service-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-icon svg.icon-stroke {
  fill: none;
}

.action-save,
.action-share {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

button.action {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.share-status {
  position: fixed;
  left: 50%;
  top: max(16px, env(safe-area-inset-top));
  z-index: 50;
  pointer-events: none;
  width: min(92vw, 420px);
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
  transform: translateX(-50%);
}

.share-status:empty {
  display: none;
}

.action-text {
  min-width: 0;
}

.action small {
  display: block;
  margin-bottom: 3px;
  color: rgba(236, 244, 255, 0.68);
  font-size: 0.75rem;
  line-height: 1.2;
}

.action b {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.arrow {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(10, 26, 56, 0.86), rgba(5, 14, 31, 0.9));
  box-shadow: var(--shadow);
}

.founder-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 30px rgba(29, 124, 255, 0.28);
}

.founder-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
}

.founder-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 760;
  font-size: 0.92rem;
}

.founder-save svg {
  display: block;
  width: 18px;
  height: 18px;
}

.founder-card h2,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.founder-title {
  margin: 6px 0 12px;
  color: var(--cyan);
  font-weight: 760;
}

.founder-card p:last-of-type {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

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

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.service-card {
  min-height: 164px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(10, 24, 50, 0.86), rgba(5, 14, 31, 0.9));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.service-icon,
.social-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 800;
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-card h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 820px);
  margin: 24px auto 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(8, 20, 43, 0.72);
  color: var(--text);
  font-weight: 760;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.final-cta {
  display: grid;
  gap: 22px;
  margin: 10px 0 34px;
  padding: 26px;
  border: 1px solid rgba(98, 174, 255, 0.42);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(13, 35, 76, 0.96), rgba(7, 18, 39, 0.96));
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 690px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.final-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-self: center;
}

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.mini-action.whatsapp {
  background: linear-gradient(135deg, var(--green), var(--green-strong));
}

footer {
  display: grid;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-brand {
  color: var(--text);
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  animation: reveal 420ms var(--ease) both;
}

.reveal:nth-child(2) {
  animation-delay: 50ms;
}

.reveal:nth-child(3) {
  animation-delay: 100ms;
}

.reveal:nth-child(4) {
  animation-delay: 150ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Splash: preserved from v1 so the approved intro behavior remains intact. */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, #0b2451 0, #030817 48%, #01040b 100%);
  transition: opacity 0.7s ease, visibility 0.7s;
  animation: splashFallback 4.8s ease forwards;
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-inner {
  text-align: center;
  padding: 24px;
}

.splash-logo-wrap {
  position: relative;
  width: min(62vw, 270px);
  height: min(62vw, 270px);
  margin: auto;
  animation: logoIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.splash-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(21, 119, 255, 0.33);
}

.splash-ring {
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(33, 200, 255, 0.48);
  border-radius: 50%;
  animation: orbit 6s linear infinite;
}

.splash-ring::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 25px #11d8ff;
  top: 14%;
  right: 15%;
}

.splash-title {
  margin: 28px 0 10px;
  font-size: clamp(1.5rem, 5vw, 2.7rem);
  font-weight: 800;
  animation: fadeUp 0.8s 0.45s both;
}

.splash p:not(.splash-title) {
  margin: 0;
  color: #88ccff;
  animation: fadeUp 0.8s 0.7s both;
}

.skip-intro {
  position: absolute;
  top: 20px;
  right: 20px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 16, 34, 0.55);
  color: var(--muted);
  padding: 8px 14px;
  cursor: pointer;
}

@keyframes orbit {
  to {
    transform: rotate(342deg);
  }
}

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

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

@keyframes splashFallback {
  0%,
  82% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (min-width: 560px) {
  .primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-primary,
  .action-secondary {
    grid-column: span 2;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .shell {
    width: min(100% - 48px, 1120px);
  }

  .hero {
    padding-top: 22px;
    padding-bottom: 72px;
  }

  .primary-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 860px;
  }

  .action-primary,
  .action-secondary {
    grid-column: span 2;
  }

  .section {
    padding: 76px 0;
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .final-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 36px 38px;
  }
}

@media (min-width: 1120px) {
  .topbar {
    padding-top: 12px;
  }

  .service-card {
    min-height: 190px;
  }
}

@media (min-width: 1200px) {
  .shell {
    width: min(100% - 64px, 1180px);
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 70px;
  }

  .hero-logo-card {
    margin-bottom: 22px;
  }

  .hero h1 {
    max-width: 1060px;
    font-size: clamp(2rem, 5.2vw, 4.35rem);
    line-height: 1.03;
  }

  .hero-copy {
    margin-top: 20px;
  }

  .primary-actions {
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  .shell {
    width: min(100% - 24px, 1120px);
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(42px, env(safe-area-inset-bottom));
  }

  .topbar {
    gap: 12px;
    padding: 2px 0 18px;
  }

  .brand {
    min-height: 40px;
    gap: 8px;
    font-size: 0.86rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .language {
    padding: 3px;
  }

  .lang-btn {
    min-width: 42px;
    min-height: 44px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 0 0 36px;
  }

  .hero-logo-card {
    width: 112px;
    margin-bottom: 16px;
  }

  .kicker {
    margin-bottom: 8px;
    font-size: 0.75rem;
  }

  .hero h1 {
    max-width: 390px;
    font-size: 2.72rem;
    line-height: 1;
  }

  .hero-copy {
    max-width: 350px;
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .action-primary,
  .action-secondary {
    grid-column: 1 / -1;
  }

  .action {
    min-height: 76px;
    gap: 10px;
    padding: 12px;
    border-radius: 15px;
  }

  .action-primary {
    min-height: 82px;
  }

  .action-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .action-icon svg {
    width: 19px;
    height: 19px;
  }

  .action small {
    font-size: 0.75rem;
  }

  .action b {
    font-size: 0.88rem;
  }

  .section {
    padding: 38px 0;
  }

  .founder-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 16px;
    text-align: center;
    border-radius: 18px;
  }

  .founder-mark {
    width: 84px;
    height: 84px;
  }

  .founder-save {
    margin-top: 12px;
  }

  .founder-card h2,
  .section-heading h2,
  .final-cta h2 {
    font-size: 1.45rem;
    line-height: 1.15;
  }

  .founder-title {
    margin: 5px 0 8px;
  }

  .founder-card p:last-of-type,
  .section-heading p,
  .final-cta p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading p {
    margin-top: 8px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: auto;
    padding: 14px 15px;
    border-radius: 15px;
  }

  .service-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .service-card h3 {
    margin: 12px 0 6px;
    font-size: 0.96rem;
  }

  .service-card p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 440px);
    margin-top: 16px;
  }

  .social-link {
    justify-content: flex-start;
    min-height: 62px;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .social-link:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 220px);
  }

  .social-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .social-icon svg {
    width: 15px;
    height: 15px;
  }

  .final-cta {
    gap: 16px;
    margin: 0 0 24px;
    padding: 20px;
    border-radius: 18px;
  }

  .final-cta p {
    margin-top: 8px;
  }

  .mini-action {
    min-height: 50px;
    padding: 12px 14px;
    white-space: normal;
    text-align: center;
  }

  footer {
    gap: 8px;
    padding-top: 20px;
    font-size: 0.82rem;
  }

  .footer-links {
    gap: 12px;
  }
}

/* Three-column social grid: center a last item that sits alone on its row */
@media (min-width: 768px) {
  .social-link:last-child:nth-child(3n+1) {
    grid-column: 2;
  }
}

@media (hover: hover) and (pointer: fine) {
  .action:hover,
  .social-link:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
  }

  .social-link:hover {
    background: rgba(14, 37, 76, 0.9);
  }

  .service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(125, 179, 255, 0.38);
    background: linear-gradient(160deg, rgba(12, 29, 59, 0.9), rgba(6, 16, 34, 0.92));
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  }
}

@media (max-width: 430px) {
  .brand span {
    display: none;
  }

  .hero h1 {
    font-size: 2.64rem;
  }

}

@media (max-width: 359px) {
  .hero h1 {
    font-size: 2.32rem;
  }

  .primary-actions,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .action-primary,
  .action-secondary,
  .action-save,
  .social-link:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .splash {
    display: none;
  }
}
