:root {
  --adema-bg: #020817;
  --adema-bg-soft: #071426;
  --adema-panel: rgba(8, 20, 38, 0.82);
  --adema-panel-strong: rgba(11, 28, 50, 0.94);
  --adema-line: rgba(34, 211, 238, 0.28);
  --adema-line-soft: rgba(148, 163, 184, 0.16);
  --adema-cyan: #19d3e6;
  --adema-cyan-strong: #06b6d4;
  --adema-blue: #0b63f6;
  --adema-text: #f8fafc;
  --adema-muted: #b8c4d6;
  --adema-soft: #7d8da6;
  --adema-danger: #fb4d5d;
  --adema-success: #18d7a6;
}

html {
  scroll-behavior: smooth;
}

.public-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 10%, rgba(25, 211, 230, 0.14), transparent 26rem),
    radial-gradient(circle at 14% 36%, rgba(11, 99, 246, 0.12), transparent 24rem),
    linear-gradient(180deg, #020817 0%, #04101f 42%, #020817 100%);
  color: var(--adema-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.46;
  background-image:
    linear-gradient(115deg, transparent 0 60%, rgba(25, 211, 230, 0.07) 60.2%, transparent 60.7%),
    radial-gradient(circle, rgba(25, 211, 230, 0.26) 1px, transparent 1.4px);
  background-size: 100% 100%, 34px 34px;
  background-position: center, right top;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-pad-sm {
  padding-block: clamp(44px, 7vw, 84px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--adema-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--adema-cyan);
  box-shadow: 0 0 18px rgba(25, 211, 230, 0.5);
}

.brand-title {
  color: var(--adema-text);
  letter-spacing: 0;
  line-height: 0.98;
}

.brand-gradient-text,
.brand-accent {
  color: var(--adema-cyan);
}

.brand-muted {
  color: var(--adema-muted);
}

.brand-soft {
  color: var(--adema-soft);
}

.brand-panel,
.brand-card {
  border: 1px solid var(--adema-line-soft);
  background: linear-gradient(145deg, rgba(8, 20, 38, 0.88), rgba(3, 10, 24, 0.82));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand-card {
  border-radius: 8px;
}

.brand-panel {
  border-radius: 10px;
}

.brand-card:hover {
  border-color: rgba(25, 211, 230, 0.48);
}

.brand-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 211, 230, 0.42), transparent);
}

.brand-button-primary,
.brand-button-secondary,
.brand-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.brand-button-primary {
  color: #03111f;
  background: linear-gradient(135deg, #24e7f5, #0ea5e9);
  box-shadow: 0 0 24px rgba(25, 211, 230, 0.25);
}

.brand-button-secondary {
  color: var(--adema-text);
  border: 1px solid rgba(25, 211, 230, 0.45);
  background: rgba(25, 211, 230, 0.07);
}

.brand-button-ghost {
  color: var(--adema-muted);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.brand-button-primary:hover,
.brand-button-secondary:hover,
.brand-button-ghost:hover {
  transform: translateY(-1px);
}

.brand-button-secondary:hover,
.brand-button-ghost:hover {
  border-color: rgba(25, 211, 230, 0.72);
  color: var(--adema-text);
}

.tech-grid {
  position: relative;
  overflow: hidden;
}

.tech-grid::after {
  content: "";
  position: absolute;
  inset: auto -10% -24% 35%;
  height: 260px;
  opacity: 0.34;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(25, 211, 230, 0.22) 42.2% 42.7%, transparent 43%),
    linear-gradient(155deg, transparent 0 52%, rgba(14, 165, 233, 0.2) 52.2% 52.7%, transparent 53%);
}

.home-hero {
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 2.5rem;
}

.home-hero-title {
  max-width: 12.5ch;
  font-size: clamp(2.55rem, 6vw, 4.95rem);
  line-height: 0.95;
}

.home-hero-copy {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

.home-hero-actions .brand-button-primary,
.home-hero-actions .brand-button-secondary,
.home-hero-actions .brand-button-ghost {
  min-height: 44px;
  padding-block: 0.7rem;
}

.icon-line {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 211, 230, 0.38);
  border-radius: 999px;
  color: var(--adema-cyan);
  background: rgba(25, 211, 230, 0.05);
}

.line-list > li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--adema-muted);
}

.line-list > li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--adema-cyan);
  box-shadow: 0 0 16px rgba(25, 211, 230, 0.6);
  flex: 0 0 auto;
}

.app-card button {
  cursor: pointer;
}

.app-card-logo,
.app-modal-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(25, 211, 230, 0.26);
  border-radius: 8px;
  background: rgba(2, 8, 23, 0.74);
}

.app-card-logo {
  width: 58px;
  height: 58px;
  padding: 7px;
}

.app-modal-logo {
  width: 86px;
  height: 86px;
  padding: 9px;
}

.free-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 0 0.55rem;
  color: #022c22;
  background: linear-gradient(135deg, #5eead4, #22c55e);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.app-modal-panel {
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.app-carousel-stage {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(2, 8, 23, 0.68);
}

.app-slide {
  position: relative;
  height: 360px;
  margin: 0;
}

.app-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 23, 0.9) 20%);
  color: var(--adema-muted);
  font-size: 0.85rem;
}

.app-slide-caption strong {
  color: var(--adema-text);
}

.app-carousel-empty {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.public-nav {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 8, 23, 0.78);
  backdrop-filter: blur(18px);
}

.public-nav-link {
  color: var(--adema-muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.public-nav-link:hover {
  color: var(--adema-cyan);
}

.public-mobile-menu summary {
  list-style: none;
}

.public-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.resource-prose h2,
.resource-prose h3 {
  color: var(--adema-text);
  font-weight: 800;
  letter-spacing: 0;
}

.resource-prose h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}

.resource-prose h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.resource-prose p,
.resource-prose li {
  color: var(--adema-muted);
  line-height: 1.78;
}

.resource-prose ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-block: 1rem;
}

.resource-prose img {
  border-radius: 8px;
  border: 1px solid var(--adema-line-soft);
  margin-block: 1.5rem;
}

.fade-in {
  animation: publicFadeIn 0.28s ease-out forwards;
}

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

@media (max-width: 767px) {
  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand-title {
    line-height: 1.06;
  }

  .app-carousel-stage,
  .app-slide,
  .app-carousel-empty {
    min-height: 260px;
    height: 260px;
  }
}

@media (min-width: 1024px) {
  .home-hero-title {
    max-width: 10.8ch;
  }
}

@media (max-width: 1023px) {
  .home-hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: 8.5rem;
    padding-bottom: 2.25rem;
  }

  .home-hero-title {
    max-width: 18ch;
    font-size: clamp(2.2rem, 7.2vw, 3.9rem);
    line-height: 1;
  }

  .home-hero-copy {
    max-width: 46rem;
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (max-height: 760px) and (min-width: 1024px) {
  .home-hero {
    padding-top: 5.8rem;
    padding-bottom: 1.8rem;
  }

  .home-hero-title {
    font-size: clamp(3rem, 5.1vw, 4.25rem);
    line-height: 0.94;
  }

  .home-hero-copy {
    margin-top: 1.1rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .home-hero-actions {
    margin-top: 1.25rem;
  }
}

@media (max-height: 560px) {
  .home-hero {
    padding-top: 6.25rem;
    padding-bottom: 1.5rem;
  }

  .home-hero-eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
  }

  .home-hero-title {
    max-width: 24ch;
    font-size: clamp(2rem, 5.6vw, 2.9rem);
    line-height: 0.98;
  }

  .home-hero-copy {
    margin-top: 0.75rem;
    max-width: 58rem;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .home-hero-actions {
    margin-top: 0.85rem;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .home-hero-actions .brand-button-primary,
  .home-hero-actions .brand-button-secondary,
  .home-hero-actions .brand-button-ghost {
    min-height: 40px;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
  }
}

.hero-logo-stage {
  position: relative;
  min-height: clamp(360px, 54vh, 560px);
  align-items: center;
  isolation: isolate;
}

.hero-logo-stage::before {
  content: "";
  position: absolute;
  inset: 6% 0 0 12%;
  z-index: -1;
  opacity: 0.42;
  background:
    linear-gradient(135deg, transparent 0 34%, rgba(25, 211, 230, 0.22) 34.2% 34.8%, transparent 35%),
    linear-gradient(155deg, transparent 0 50%, rgba(14, 165, 233, 0.2) 50.2% 50.8%, transparent 51%),
    radial-gradient(circle, rgba(25, 211, 230, 0.34) 1px, transparent 2px);
  background-size: 100% 100%, 100% 100%, 34px 34px;
}

.hero-logo-float {
  width: min(88%, 520px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 52px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 28px rgba(25, 211, 230, 0.22));
  animation: heroLogoFloat 7s ease-in-out infinite;
}

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

@media (max-height: 760px) and (min-width: 1024px) {
  .hero-logo-stage {
    min-height: 430px;
  }

  .hero-logo-float {
    width: min(82%, 460px);
  }
}