/* ── Page Loader ── */
#pageLoader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#pageLoader.loaded { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-logo {
  font-size: 2.5rem;
  animation: loaderPulse 1s ease-in-out infinite alternate;
}
@keyframes loaderPulse {
  from { transform: scale(1);    opacity: 0.6; }
  to   { transform: scale(1.15); opacity: 1;   }
}
.loader-bar {
  width: 160px; height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px; overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 99px;
  animation: loaderSlide 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loaderSlide {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Custom Cursor ── */
html, body { cursor: none !important; }
a, button, input, select, textarea, label, [role="button"] { cursor: none !important; }
#cursor {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 20px; height: 20px;
  transform: translate(0, 0);
  transition: transform 0.08s ease;
  filter: drop-shadow(0 0 6px rgba(167,139,250,0.8));
}
#cursor svg {
  width: 20px; height: 20px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
#cursor.cursor-grow svg {
  transform: scale(1.25);
  filter: drop-shadow(0 0 10px rgba(167,139,250,1));
}
#cursorDot {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 5px; height: 5px;
  background: var(--accent2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--accent2);
  transition: transform 0.1s ease;
}

/* ── Activity Popup ── */
.activity-popup {
  position: fixed; bottom: 24px; left: 24px; z-index: 500;
  display: flex; align-items: center; gap: 12px;
  background: rgba(16,16,30,0.95);
  border: 1px solid rgba(124,106,247,0.25);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
  max-width: 280px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.activity-popup.show { transform: translateY(0); opacity: 1; }
.activity-icon { font-size: 1.4rem; flex-shrink: 0; }
.activity-info { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.activity-name { font-weight: 700; color: var(--text); }
.activity-product { color: var(--accent2); font-weight: 600; }
.activity-time { display: block; font-size: 0.7rem; color: rgba(107,107,138,0.6); margin-top: 1px; }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080810;
  --surface: rgba(16, 16, 28, 0.85);
  --surface2: rgba(22, 22, 38, 0.9);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(124, 106, 247, 0.4);
  --text: #e8e8f4;
  --muted: #6b6b8a;
  --accent: #7c6af7;
  --accent2: #a78bfa;
  --cyan: #06b6d4;
  --green: #22c55e;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background Orbs ── */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; animation: orbDrift 20s infinite ease-in-out alternate; }
.orb1 { width: 600px; height: 600px; background: #7c6af7; top: -200px; left: -150px; animation-duration: 22s; }
.orb2 { width: 500px; height: 500px; background: #06b6d4; bottom: -150px; right: -100px; animation-duration: 18s; animation-delay: -6s; }
.orb3 { width: 400px; height: 400px; background: #a78bfa; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 26s; animation-delay: -12s; }
@keyframes orbDrift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(30px,-40px) scale(1.08); }
  100% { transform: translate(-20px,30px) scale(0.95); }
}

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 16, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon { font-size: 1.3rem; }
.logo-text { font-size: 1.1rem; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.logo-accent { color: var(--accent2); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  color: var(--muted); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; color: var(--green);
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
  padding: 4px 10px; border-radius: 99px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Hero ── */
.hero {
  position: relative; z-index: 1;
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 700px; margin: 0 auto;
}
.hero-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--accent2);
  background: rgba(124,106,247,0.1); border: 1px solid rgba(124,106,247,0.25);
  padding: 5px 14px; border-radius: 99px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { color: var(--muted); font-size: 1rem; margin-bottom: 36px; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), #5b4fcf);
  border: none; border-radius: 12px;
  color: #fff; font-size: 1rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(124,106,247,0.35);
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,106,247,0.5); }
.hero-btn:active { transform: translateY(0); }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: 52px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── Section Shared ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.section-sub { color: var(--muted); font-size: 0.9rem; }

/* ── Products ── */
.products-section {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 80px 24px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ── Product Card ── */
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: default;
  display: flex; flex-direction: column; gap: 8px;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(124,106,247,0.15);
}
.product-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 99px; border: 1px solid;
  text-transform: uppercase;
}
.product-icon { font-size: 2rem; margin-bottom: 4px; }
.product-category {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent2);
}
.product-name { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.product-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; flex: 1; }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
}
.product-price {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.product-btn {
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(124,106,247,0.2), rgba(6,182,212,0.15));
  border: 1px solid rgba(124,106,247,0.35);
  border-radius: 8px;
  color: var(--accent2); font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  animation: neonPulse 2.5s ease-in-out infinite;
}
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(124,106,247,0.3), 0 0 12px rgba(124,106,247,0.1); }
  50%       { box-shadow: 0 0 14px rgba(124,106,247,0.7), 0 0 28px rgba(124,106,247,0.3), 0 0 4px rgba(6,182,212,0.4); }
}
.product-btn:hover {
  background: linear-gradient(135deg, rgba(124,106,247,0.4), rgba(6,182,212,0.3));
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124,106,247,0.5), 0 0 30px rgba(124,106,247,0.2);
  animation: none;
}

/* ── Reviews ── */
.reviews-section {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px 80px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 18px;
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.25s, transform 0.25s;
}
.review-card:hover { border-color: rgba(124,106,247,0.25); transform: translateY(-2px); }
.review-header {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.review-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.review-stars { font-size: 0.72rem; color: #eab308; letter-spacing: 1px; }
.review-stars .star-empty { color: rgba(234,179,8,0.25); }
.review-product {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent2); background: rgba(124,106,247,0.1); border: 1px solid rgba(124,106,247,0.2);
  padding: 2px 8px; border-radius: 99px; white-space: nowrap;
}
.review-text { font-size: 0.85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.review-date { font-size: 0.72rem; color: rgba(107,107,138,0.6); }

.review-hidden { display: none; }
.review-hidden.visible {
  display: flex;
  animation: fadeInUp 0.35s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reviews-more { text-align: center; margin-top: 28px; }
.reviews-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px;
  background: rgba(124,106,247,0.08);
  border: 1px solid rgba(124,106,247,0.25);
  border-radius: 10px;
  color: var(--accent2); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.reviews-more-btn:hover { background: rgba(124,106,247,0.18); transform: translateY(-1px); }
.reviews-more-btn span { transition: transform 0.3s; display: inline-block; }
.reviews-more-btn.open span { transform: rotate(180deg); }

/* ── Write a Review ── */
.write-review-section {
  position: relative; z-index: 1;
  max-width: 600px; margin: 0 auto;
  padding: 0 24px 80px;
}
.write-review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  backdrop-filter: blur(16px);
}
.write-review-title {
  font-size: 1.2rem; font-weight: 800; margin-bottom: 6px;
}
.write-review-sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 24px; }
.wr-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wr-label { font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.wr-input, .wr-select, .wr-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.wr-input:focus, .wr-select:focus, .wr-textarea:focus {
  border-color: rgba(124,106,247,0.5);
  box-shadow: 0 0 0 3px rgba(124,106,247,0.1);
}
.wr-select option { background: #12121e; }
.wr-textarea { resize: vertical; min-height: 90px; }
.wr-stars { display: flex; gap: 6px; }
.wr-star {
  font-size: 1.4rem; cursor: pointer;
  color: rgba(234,179,8,0.2);
  transition: color 0.15s, transform 0.15s;
}
.wr-star:hover, .wr-star.active { color: #eab308; transform: scale(1.15); }
.wr-submit {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--accent), #5b4fcf);
  border: none; border-radius: 12px;
  color: #fff; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; margin-top: 8px;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(124,106,247,0.3);
}
.wr-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(124,106,247,0.45); }
.wr-success {
  display: none; text-align: center; padding: 20px 0 4px;
  color: var(--green); font-size: 0.95rem; font-weight: 600;
}

/* ── FAQ ── */
.faq-section {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
  padding: 0 24px 80px;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: rgba(124,106,247,0.3); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 0.92rem; font-weight: 600;
  text-align: left;
}
.faq-arrow { color: var(--muted); font-size: 1rem; transition: transform 0.3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent2); }
.faq-a {
  max-height: 0; overflow: hidden;
  padding: 0 20px;
  color: var(--muted); font-size: 0.85rem; line-height: 1.6;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 18px; }

/* ── Contact ── */
.contact-section {
  position: relative; z-index: 1;
  max-width: 500px; margin: 0 auto;
  padding: 0 24px 80px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  backdrop-filter: blur(16px);
}
.contact-icon { font-size: 2.5rem; margin-bottom: 16px; }
.contact-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.contact-sub { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 28px; }
.contact-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px;
  font-size: 0.88rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
  border: 1px solid;
}
.contact-btn.telegram {
  background: rgba(0,136,204,0.15); border-color: rgba(0,136,204,0.35); color: #29b6f6;
}
.contact-btn.telegram:hover { background: rgba(0,136,204,0.3); transform: translateY(-2px); }

/* ── Footer ── */
.footer {
  position: relative; z-index: 1;
  text-align: center; padding: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.footer strong { color: var(--accent2); }
.footer-dot { color: var(--border); }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: rgba(16, 16, 30, 0.98);
  border: 1px solid rgba(124,106,247,0.25);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 440px; width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,106,247,0.1);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 8px; color: var(--muted);
  width: 32px; height: 32px; cursor: pointer;
  font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { color: var(--text); background: rgba(255,255,255,0.1); }
.modal-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent2); background: rgba(124,106,247,0.1); border: 1px solid rgba(124,106,247,0.25);
  padding: 3px 10px; border-radius: 99px; margin-bottom: 14px;
}
.modal-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.modal-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 18px; }
.modal-price {
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px;
}
.modal-buy {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--accent), #5b4fcf);
  border: none; border-radius: 12px;
  color: #fff; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(124,106,247,0.3);
}
.modal-buy:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,106,247,0.45); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 70px 20px 60px; }
  .products-grid { grid-template-columns: 1fr; }
  .modal { padding: 28px 22px; }
  .contact-card { padding: 32px 22px; }
}
