:root {
  --bg: #07090d;
  --bg-elev: #0e131a;
  --bg-card: #121821;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6f8;
  --muted: #8b95a3;
  --accent: #3d8bfd;
  --accent-2: #6ee7c5;
  --wa: #25d366;
  --wa-dark: #1da851;
  --header: #ffffff;
  --header-text: #12151a;
  --radius: 14px;
  --pad: clamp(1.1rem, 3.5vw, 2.4rem);
  --font: "Outfit", system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 650; }

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 20% -10%, rgba(61, 139, 253, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 10%, rgba(110, 231, 197, 0.1), transparent 55%),
    var(--bg);
}

/* —— Header white —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 0.65rem var(--pad);
  background: var(--header);
  color: var(--header-text);
  border-bottom: 1px solid #e8eaee;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.brand img { height: 28px; width: auto; }

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 500;
  color: #5a6472;
}

.nav a:hover { color: var(--header-text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.48rem 0.9rem; font-size: 0.82rem; }
.btn-primary {
  background: linear-gradient(135deg, #4b94ff, #2f6fed);
  color: #fff;
  box-shadow: 0 10px 30px rgba(61, 139, 253, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(61, 139, 253, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-wa {
  background: var(--wa);
  color: #06240f;
}
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.site-header .btn-wa { color: #06240f; }
.site-header .btn-wa:hover { color: #fff; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: 8%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 139, 253, 0.28), transparent 68%);
  filter: blur(20px);
  animation: pulse 7s ease-in-out infinite;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 4.5rem) var(--pad);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(110, 231, 197, 0.15);
  animation: blink 2.2s ease-in-out infinite;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.gradient-text {
  background: linear-gradient(105deg, #7eb6ff 10%, #6ee7c5 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.lede strong { color: var(--text); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero stage / devices */
.hero-stage {
  position: relative;
  height: clamp(340px, 48vw, 460px);
  perspective: 1200px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 78%;
  height: 78%;
  animation: spin 28s linear infinite;
  border-style: dashed;
}

.orbit-2 {
  width: 100%;
  height: 100%;
  animation: spin 40s linear infinite reverse;
  opacity: 0.5;
}

.device {
  position: absolute;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0d12;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.device-bar {
  display: flex;
  gap: 5px;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

.device-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a4250;
}

.device-bar span:nth-child(1) { background: #ff5f57; }
.device-bar span:nth-child(2) { background: #febc2e; }
.device-bar span:nth-child(3) { background: #28c840; }

.device img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.device-main {
  width: 58%;
  right: 8%;
  top: 8%;
  z-index: 3;
  transform: rotateY(-8deg) rotateX(4deg);
}

.device-back {
  width: 42%;
  left: 4%;
  top: 18%;
  z-index: 1;
  opacity: 0.85;
  transform: rotateY(12deg) rotateX(6deg) scale(0.96);
}

.device-side {
  width: 34%;
  right: 2%;
  bottom: 0;
  z-index: 4;
  transform: rotateY(-14deg) rotateX(8deg);
}

.float-a { animation: floatY 5.5s ease-in-out infinite; }
.float-b { animation: floatY 6.5s ease-in-out infinite reverse; animation-delay: -1s; }
.float-c { animation: floatY 4.8s ease-in-out infinite; animation-delay: -2s; }

.badge-chip {
  position: absolute;
  z-index: 5;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.chip-1 {
  left: 12%;
  bottom: 18%;
  background: rgba(61, 139, 253, 0.2);
  color: #b9d7ff;
  animation: floatY 4s ease-in-out infinite;
}

.chip-2 {
  right: 18%;
  top: 4%;
  background: rgba(110, 231, 197, 0.15);
  color: #baf7e4;
  animation: floatY 5s ease-in-out infinite reverse;
}

/* Features strip */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1.5rem var(--pad);
  border-bottom: 1px solid var(--line);
}

.feature {
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.feature strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Catalog */
.catalog {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 3.25rem) var(--pad);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2,
.bundle-row h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.05rem;
}

.theme-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-card:hover {
  border-color: rgba(61, 139, 253, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.theme-card .mock {
  aspect-ratio: 4 / 4.5;
  background: #0a0e14;
  overflow: hidden;
}

.theme-card .mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.theme-card:hover .mock img { transform: scale(1.04); }

.theme-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem 1rem 1.05rem;
  flex: 1;
}

.theme-body h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.theme-price {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.theme-price span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.theme-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: auto;
}

.theme-actions .btn {
  padding: 0.58rem 0.4rem;
  font-size: 0.8rem;
  border-radius: 10px;
}

.theme-actions .btn-ghost {
  background: transparent;
}

/* Bundle lite — secondary */
.bundle-lite {
  width: min(1180px, 100%);
  margin: 0 auto 1rem;
  padding: 0 var(--pad) clamp(2rem, 4vh, 3rem);
}

.bundle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.bundle-row p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 36rem;
}

.bundle-row .btn-ghost {
  border-radius: 10px;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1.5rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer strong { color: var(--text); }
.site-footer p { margin: 0.2rem 0 0; }
.footer-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent-2); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

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

.device-main.float-a {
  animation: floatMain 5.5s ease-in-out infinite;
}
.device-back.float-b {
  animation: floatBack 6.5s ease-in-out infinite;
}
.device-side.float-c {
  animation: floatSide 4.8s ease-in-out infinite;
}

@keyframes floatMain {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-14px); }
}
@keyframes floatBack {
  0%, 100% { transform: rotateY(12deg) rotateX(6deg) scale(0.96) translateY(0); }
  50% { transform: rotateY(12deg) rotateX(6deg) scale(0.96) translateY(-10px); }
}
@keyframes floatSide {
  0%, 100% { transform: rotateY(-14deg) rotateX(8deg) translateY(0); }
  50% { transform: rotateY(-14deg) rotateX(8deg) translateY(-16px); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (max-width: 960px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-stage { height: 360px; max-width: 480px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .device-side { display: none; }
}

@media (max-width: 520px) {
  .brand span { display: none; }
  .theme-actions { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
}
