:root {
  --primary: #22d3ee;
  --secondary: #6a5cff;
  --bg-deep: #070b14;
  --text-main: #e8eefc;
  --text-muted: color-mix(in srgb, var(--text-main) 55%, transparent);
  --border: color-mix(in srgb, var(--text-main) 10%, transparent);
  --card: color-mix(in srgb, var(--text-main) 4%, transparent);
  --glow: color-mix(in srgb, var(--primary) 35%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.5;
}
h1, h2, h3, .brand-name, .chip, .btn-primary, .btn-primary-lg, .btn-outline-lg, .btn-ghost, .btn-link, .promo-badge {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
}
a { color: inherit; text-decoration: none; }
img, svg, video, iframe { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; flex: none; }

.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-deep) 88%, transparent);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { max-height: 36px; width: auto; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--primary); color: #042026; font-weight: 800;
}
.brand-name { font-weight: 700; letter-spacing: .02em; }
.nav-desk { margin-left: auto; display: none; gap: 1.6rem; }
.nav-desk a { color: var(--text-muted); font-weight: 500; font-size: .9rem; }
.nav-desk a:hover { color: var(--text-main); }
.menu-btn {
  margin-left: auto;
  background: transparent; border: 1px solid var(--border); color: var(--text-main);
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
}
.nav-mobile {
  display: flex; flex-direction: column; padding: .5rem 1.25rem 1rem;
  border-top: 1px solid var(--border);
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile a { padding: .6rem 0; color: var(--text-muted); }

.btn-primary, .btn-primary-lg {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--primary); color: #042026; font-weight: 700;
  border-radius: 999px; border: 0;
}
.btn-primary { padding: .65rem 1rem; }
.btn-primary-lg, .btn-outline-lg {
  padding: .95rem 1.4rem; font-size: 1rem; border-radius: 16px; font-weight: 700;
}
.btn-outline-lg, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 55%, transparent);
  color: var(--primary); background: transparent; border-radius: 16px; font-weight: 600;
}
.btn-ghost { padding: .65rem 1rem; border-radius: 999px; }
.btn-link { color: var(--text-muted); font-weight: 600; font-size: .92rem; }
.btn-link:hover { color: var(--primary); }
.block { width: 100%; }

.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--primary) 14%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--primary) 14%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.hero-orb-a {
  width: 380px; height: 380px;
  left: 22%; top: 18%;
  background: color-mix(in srgb, var(--primary) 28%, transparent);
}
.hero-orb-b {
  width: 320px; height: 320px;
  right: 22%; top: 6%;
  background: color-mix(in srgb, var(--secondary) 32%, transparent);
}
.hero-layout {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  width: min(920px, 100%);
  margin-inline: auto;
  justify-items: start;
}
.hero-copy { max-width: 36rem; }
.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  color: var(--primary); padding: .5rem 1rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; margin: 0 0 1.5rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--primary) 18%, transparent);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.hero h1 { font-size: clamp(2.35rem, 6vw, 4.1rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 1.1rem; max-width: 14ch; }
.lead { max-width: 34rem; color: var(--text-muted); font-size: 1.08rem; margin: 0 0 2rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stats {
  list-style: none; padding: 0; margin: 2.2rem 0 0;
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem;
}
.hero-stats li { display: grid; gap: .15rem; }
.hero-stats strong { font-family: "Space Grotesk", sans-serif; font-size: 1rem; }
.hero-stats span { color: var(--text-muted); font-size: .85rem; }

.hero-visual { display: none; position: relative; width: 340px; }
.hero-stage {
  position: relative;
  padding: .4rem 0;
}
.hero-stage::before {
  content: "";
  position: absolute; inset: 8% 12% auto 18%;
  height: 70%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  filter: blur(8px);
}
.hero-screen {
  position: relative;
  background: linear-gradient(180deg, color-mix(in srgb, var(--text-main) 7%, transparent), #0b1220 40%);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  border-radius: 28px;
  padding: 1.1rem 1.1rem 1.3rem;
  box-shadow:
    0 30px 80px color-mix(in srgb, #000 45%, transparent),
    0 0 0 1px color-mix(in srgb, var(--text-main) 6%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--text-main) 8%, transparent);
  transform: none;
}
.hero-screen-bar { display: flex; gap: .35rem; margin-bottom: 1rem; }
.hero-screen-bar span { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--text-main) 18%, transparent); }
.hero-screen-bar span:first-child { background: var(--primary); }
.hero-apps { display: grid; gap: .7rem; }
.hero-app {
  display: grid; grid-template-columns: 48px 1fr; gap: .8rem; align-items: center;
  padding: .7rem; border-radius: 16px;
  background: color-mix(in srgb, var(--bg-deep) 65%, transparent);
  border: 1px solid var(--border);
}
.hero-app.is-main {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--primary) 16%, transparent);
}
.hero-app img, .hero-app-fallback {
  width: 48px; height: 48px; border-radius: 12px; object-fit: cover;
}
.hero-app-fallback {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #042026; font-weight: 800; font-family: "Space Grotesk", sans-serif;
}
.hero-app strong { display: block; font-size: .95rem; }
.hero-app small { color: var(--text-muted); }

.section { padding: 4rem 0; }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .5rem; }
.section-head p { color: var(--text-muted); margin: 0; max-width: 46ch; }

.about-section {
  padding-top: 3rem;
}
.about-inner {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  padding: 2.4rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
}
.about-kicker {
  margin: 0 0 .6rem;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .75rem;
}
.about-inner h2 { margin: 0 0 .8rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-inner p:last-child { margin: 0; color: var(--text-muted); line-height: 1.7; }

.feature-grid, .apps-grid {
  display: grid; gap: 1rem;
}
.feature-card, .app-card, .legal-box, .price-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.feature-card { padding: 1.4rem; }
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  margin-bottom: .9rem;
}
.feature-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: .92rem; }

.app-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.app-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 35%, transparent); box-shadow: 0 16px 40px var(--glow); }
.app-cover {
  position: relative;
  aspect-ratio: 16/10;
  background: #0b0f16;
  padding: .7rem;
}
.app-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}
.cover-fallback {
  height: 100%; min-height: 160px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--secondary), #111827 60%);
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
}
.cover-fallback.tall { min-height: 280px; }
.promo-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: linear-gradient(135deg, #ff6b2b, #ff4d6a);
  color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .6rem; border-radius: 8px;
}
.app-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.app-body h3 { margin: 0; font-size: 1.2rem; }
.app-body p { margin: 0; color: var(--text-muted); font-size: .92rem; }
.app-body ul { list-style: none; padding: 0; margin: .3rem 0; }
.app-body li, .feature-list li {
  display: flex; gap: .45rem; align-items: flex-start;
  color: var(--text-muted); font-size: .88rem; margin-bottom: .3rem;
}
.app-body li svg, .feature-list li svg { color: var(--primary); margin-top: 2px; }
.more { opacity: .8; }
.app-price { margin-top: auto; display: flex; flex-direction: column; }
.app-price strong, .price-box strong { font-size: 1.5rem; }
.app-price .old, .price-box .old { color: var(--text-muted); text-decoration: line-through; font-size: .9rem; }
.app-price small, .price-box small { color: var(--text-muted); }
.app-actions { display: grid; gap: .5rem; }

.legal-box { padding: 1.5rem 1.6rem; }
.legal-box h3 { margin: 0 0 .5rem; }
.legal-box p { color: var(--text-muted); }
.legal-box ul { color: var(--text-muted); padding-left: 1.1rem; }

.site-footer { border-top: 1px solid var(--border); padding: 1.4rem 0 5rem; color: var(--text-muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: center; text-align: center; }

.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #042026;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px var(--glow);
}
.wa-fab svg { width: 26px; height: 26px; }

.product { padding: 2.5rem 0 3rem; }
.product-grid { display: grid; gap: 2rem; }
.product-col { display: grid; gap: 1.1rem; align-content: start; }
.product-media {
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #0c1018;
  aspect-ratio: 16/10;
  padding: .75rem;
}
.product-media img {
  width: 100%; height: 100%; object-fit: contain; object-position: center; border: 0; border-radius: 10px;
}
.product-media video, .product-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.product-about h2 {
  margin: 0 0 .45rem; font-size: 1.15rem; color: var(--text-main);
}
.product-about p { margin: 0; color: var(--text-muted); line-height: 1.55; }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; margin: 0 0 .6rem; }
.price-box { padding: 1.1rem 1.2rem; margin: 1.2rem 0 1rem; display: flex; flex-direction: column; gap: .2rem; }
.inclui { margin: 1.6rem 0 .7rem; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--text-muted); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.prose { color: var(--text-muted); max-width: 70ch; }
.prose h2 { color: var(--text-main); }

.empty, .empty-page { color: var(--text-muted); text-align: center; padding: 3rem 1rem; }
.empty-page h1 { max-width: none; }

@media (min-width: 768px) {
  .nav-desk { display: flex; }
  .menu-btn, .nav-mobile { display: none !important; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
}
@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
  }
  .hero-visual { display: block; }
}
@media (min-width: 1100px) {
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
}
