/* ===== ITHELIX Store ===== */
:root {
  --bg: #05080f;
  --bg-2: #0b1530;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eef3ff;
  --muted: #9fb6e6;
  --blue: #2f80ff;
  --cyan: #22d3ee;
  --hot: #ff5d73;
  --radius: 22px;
  --font: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.container--narrow { width: min(820px, 92%); }
.center { text-align: center; margin-top: 40px; }
.muted { color: var(--muted); font-size: 0.85rem; }
.grad {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: #fff; font-weight: 700; font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(47, 128, 255, 0.35);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(34, 211, 238, 0.45); }
.btn--small { padding: 10px 20px; font-size: 0.9rem; }
.btn--ghost {
  background: transparent;
  border: 2px solid var(--border);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--cyan); box-shadow: none; }

/* ----- Header ----- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 15, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 30px; height: 72px; }
.logo { font-weight: 900; font-size: 1.6rem; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.logo > span { display: flex; align-items: baseline; }
.logo__img { width: 48px; height: 48px; border-radius: 12px; }
.logo__i { color: var(--cyan); }
.logo__store { font-size: 0.7rem; letter-spacing: 4px; color: var(--muted); margin-left: 8px; font-weight: 600; }
.logo--small { font-size: 1.3rem; justify-content: center; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; transition: color .2s; }
.nav a:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background:
    radial-gradient(circle at 75% 30%, rgba(47, 128, 255, 0.28), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(34, 211, 238, 0.15), transparent 40%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.pill {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan); font-weight: 600; font-size: 0.9rem; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.05; font-weight: 900; margin-bottom: 22px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__ctas.center { justify-content: center; }
.hero__stats { list-style: none; display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 1.5rem; }
.hero__stats span { color: var(--muted); font-size: 0.9rem; }
.hero__media { position: relative; display: flex; justify-content: center; }
.hero__glow {
  position: absolute; width: 80%; height: 80%; top: 10%;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  filter: blur(60px); opacity: .55;
}
.hero__video {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 34px;
  border: 6px solid #1b2540;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }

/* ----- Trust bar ----- */
.trust { border-block: 1px solid var(--border); background: #070c18; }
.trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 22px 0; text-align: center; font-weight: 600; color: var(--muted);
}
.trust .ico { color: var(--cyan); margin-right: 6px; }

/* ----- Sections ----- */
.section { padding: 100px 0; }
.section--alt { background: linear-gradient(180deg, #070c18, var(--bg)); }
.section__head { text-align: center; margin-bottom: 50px; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 10px; }
.section__head p { color: var(--muted); font-size: 1.1rem; }

/* ----- Filters ----- */
.filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.chip {
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); font: 600 0.95rem var(--font); transition: .2s;
}
.chip:hover { color: #fff; }
.chip.is-active { background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #fff; border-color: transparent; }

/* ----- Product grid ----- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .5); box-shadow: 0 20px 50px rgba(47, 128, 255, .2); }
.card.is-hidden { display: none; }
.card__img { background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 20px; }
.card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.92rem; flex: 1; margin-bottom: 18px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 1.6rem; font-weight: 900; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
}
.badge--hot { background: linear-gradient(90deg, #ff7a45, var(--hot)); }

/* ----- Features ----- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  padding: 34px 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); text-align: center;
}
.feature__ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(47,128,255,.25), rgba(34,211,238,.25));
  border: 1px solid rgba(34, 211, 238, .35);
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ----- Video ----- */
.video-wrap {
  max-width: 960px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.video-wrap video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ----- FAQ ----- */
details {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 16px; margin-bottom: 14px; overflow: hidden;
}
summary {
  cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; color: var(--cyan); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--muted); }

/* ----- CTA ----- */
.cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(47,128,255,.35), transparent 60%),
    var(--bg);
}
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
.cta p { color: var(--muted); font-size: 1.15rem; margin: 10px 0 34px; }
.socials { margin-top: 44px; }
.socials__title { color: var(--muted); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; margin-bottom: 16px !important; }
.socials__row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.social {
  width: 56px; height: 56px; border-radius: 16px; padding: 8px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.social svg { width: 100%; height: 100%; }
.social:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 10px 30px rgba(34, 211, 238, .25); }

.cta__logo {
  width: 120px; height: 120px; margin: 0 auto 24px; border-radius: 28px;
  box-shadow: 0 0 60px rgba(47, 128, 255, .45);
}
.contact { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.contact__card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 26px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--border);
  font-weight: 700; font-size: 1.05rem; transition: border-color .2s, transform .2s;
}
.contact__card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.contact__card small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.contact__ico {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

/* ----- Footer ----- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; }
.footer p { color: var(--muted); margin-top: 6px; }
.footer__logo { width: 90px; height: 90px; margin: 0 auto 8px; border-radius: 20px; }
.footer__contact a:hover { color: var(--cyan); }

/* ----- Reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero__ctas, .hero__stats { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 760px) {
  .header .btn--small { display: none; }
  .logo { font-size: 1.35rem; }
  .logo__img { width: 40px; height: 40px; }
  .contact__card { width: 100%; justify-content: flex-start; }
  .contact__card span:last-child { word-break: break-all; }
  .menu-btn { display: block; margin-left: auto; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(5, 8, 15, 0.97);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.is-open { max-height: 400px; }
  .nav a { padding: 16px 6%; border-top: 1px solid var(--border); }
  .section { padding: 70px 0; }
  .hero { padding: 50px 0 40px; }
  .hero__stats { gap: 24px; }
  .features { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
