/* ===== RESET & VARS ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg2: #12121a;
  --bg3: #1a1a28;
  --surface: #16162280;
  --border: #ffffff0a;
  --text: #e4e4e7;
  --text2: #a1a1aa;
  --text3: #71717a;
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --purple-glow: #a855f740;
  --red: #ef4444;
  --red-dark: #dc2626;
  --green: #22c55e;
  --yellow: #eab308;
  --gradient: linear-gradient(135deg, var(--purple), var(--red));
  --gradient2: linear-gradient(135deg, var(--purple-dark), var(--red-dark));
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Orbitron', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, #a855f715 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* ===== PARTICLES ===== */
#particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 16px 0;
  transition: var(--transition); backdrop-filter: blur(0);
}

.navbar.scrolled {
  background: #0a0a0fcc; backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 12px 0;
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 8px; }

.logo-text { font-family: var(--font-display); font-size: 28px; font-weight: 900; letter-spacing: 2px; color: var(--text); }

.logo-7 { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; gap: 32px; }

.nav-links a { font-size: 14px; font-weight: 500; color: var(--text2); transition: var(--transition); position: relative; }

.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient); transition: var(--transition); }

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.cart-btn {
  position: relative; background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--text2); transition: var(--transition);
}
.cart-btn:hover { color: var(--purple); transform: scale(1.1); }
.cart-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: var(--transition);
}
.cart-count.show { transform: scale(1); }

.nav-cta {
  font-size: 14px; font-weight: 600; padding: 10px 24px;
  background: var(--gradient); border-radius: 100px; color: #fff; transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--purple-glow); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 14px 32px; border-radius: 100px; border: none; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--purple-glow); }
.btn-glow { animation: glow-pulse 2s ease-in-out infinite; }
@keyframes glow-pulse { 0%,100% { box-shadow: 0 0 20px var(--purple-glow); } 50% { box-shadow: 0 0 40px var(--purple-glow), 0 0 80px #a855f720; } }
.btn-outline { background: transparent; color: var(--text); border: 1px solid #ffffff20; }
.btn-outline:hover { border-color: var(--purple); background: #a855f710; }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn svg { width: 20px; height: 20px; }

/* ===== HERO ===== */
.hero {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  flex-direction: column;
}

.hero::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  border-radius: 50%; filter: blur(80px); pointer-events: none;
}

.hero-content { max-width: 700px; position: relative; }

.hero-badge {
  display: inline-block; font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--purple);
  padding: 8px 20px; border: 1px solid var(--purple); border-radius: 100px;
  margin-bottom: 32px; animation: pulse-border 2s ease-in-out infinite;
}
@keyframes pulse-border { 0%,100% { box-shadow: 0 0 0 0 var(--purple-glow); } 50% { box-shadow: 0 0 0 8px transparent; } }

.hero-title { font-family: var(--font-display); font-size: clamp(72px, 12vw, 140px); font-weight: 900; line-height: 1; margin-bottom: 24px; letter-spacing: 4px; }
.hero-pl { color: var(--text); }
.hero-7 { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 18px; color: var(--text2); max-width: 500px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 48px; justify-content: center; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { display: block; font-size: 13px; color: var(--text3); margin-top: 4px; }

.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-indicator {
  width: 24px; height: 40px; border: 2px solid var(--text3); border-radius: 12px;
  position: relative;
}
.scroll-indicator::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--purple); border-radius: 2px;
  animation: scroll-bounce 1.5s ease-in-out infinite;
}
@keyframes scroll-bounce { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; } 50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; } }

/* ===== MARQUEE ===== */
.marquee {
  position: relative; z-index: 1;
  overflow: hidden; padding: 20px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: #a855f708;
}
.marquee-track {
  display: flex; gap: 32px; align-items: center;
  animation: marquee 20s linear infinite; white-space: nowrap;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 3px; color: var(--text3);
}
.marquee-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 4px; color: var(--purple); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text2); max-width: 500px; margin: 0 auto; }

/* ===== PRODUCTS ===== */
.products { position: relative; z-index: 1; padding: 100px 0; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

.product-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0; transition: var(--transition);
  backdrop-filter: blur(10px); overflow: hidden; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); border-color: #a855f730; box-shadow: 0 20px 60px -20px var(--purple-glow); }
.product-card.featured { border-color: var(--purple); background: linear-gradient(180deg, #a855f708 0%, var(--surface) 100%); }

.card-badge { position: absolute; top: 0; right: 24px; font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 2px; padding: 6px 16px; background: var(--gradient); color: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 2; }

.card-img { width: 100%; height: 180px; overflow: hidden; position: relative; background: var(--bg3); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .card-img img { transform: scale(1.05); }
.card-img-fallback { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.card-img-fallback svg { width: 48px; height: 48px; stroke: var(--purple); opacity: 0.3; }
.card-img img + .card-img-fallback { display: none; }

.card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }

.card-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; padding: 24px 24px 0; }
.card-desc { font-size: 14px; color: var(--text2); margin-bottom: 16px; padding: 0 24px; }
.card-features { margin-bottom: 20px; padding: 0 24px; }
.card-features li { font-size: 14px; color: var(--text2); padding: 5px 0; display: flex; align-items: center; gap: 10px; }
.card-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }
.card-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; padding: 0 24px; margin-top: auto; }
.price-old { font-size: 14px; color: var(--text3); text-decoration: line-through; }
.price-now { font-family: var(--font-display); font-size: 32px; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-period { font-size: 14px; color: var(--text3); }

.add-cart-btn { margin: 0 24px 24px; width: calc(100% - 48px); }
.add-cart-btn:active { transform: scale(0.95); }

/* ===== STATUS ===== */
.status { position: relative; z-index: 1; padding: 100px 0; }
.status-grid { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.status-item { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); backdrop-filter: blur(10px); transition: var(--transition); }
.status-item:hover { border-color: #ffffff15; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-dot.online { background: var(--green); box-shadow: 0 0 10px #22c55e80; animation: pulse-dot 2s ease-in-out infinite; }
.status-dot.offline { background: var(--red); box-shadow: 0 0 10px #ef444480; }
.status-dot.updating { background: var(--yellow); box-shadow: 0 0 10px #eab30880; animation: pulse-dot 1s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.status-name { flex: 1; font-weight: 500; font-size: 15px; }
.status-state { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.status-state.online { color: var(--green); }
.status-state.offline { color: var(--red); }
.status-state.updating { color: var(--yellow); }

/* ===== REVIEWS ===== */
.reviews { position: relative; z-index: 1; padding: 100px 0; overflow: hidden; }
.reviews-track { display: flex; gap: 24px; animation: scroll-reviews 25s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }

.review-card {
  min-width: 320px; max-width: 320px; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); backdrop-filter: blur(10px); flex-shrink: 0;
}
.review-stars { color: #eab308; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 8px; }
.review-author strong { font-size: 14px; color: var(--text); }
.review-author span { font-size: 12px; color: var(--purple); background: #a855f715; padding: 2px 10px; border-radius: 100px; }
@keyframes scroll-reviews { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== FAQ ===== */
.faq { position: relative; z-index: 1; padding: 100px 0; }
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; backdrop-filter: blur(10px); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: none; border: none; color: var(--text); font-family: var(--font); font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: left; }
.faq-question:hover { color: var(--purple); }
.faq-arrow { width: 20px; height: 20px; flex-shrink: 0; transition: var(--transition); stroke: var(--text3); }
.faq-item.open .faq-arrow { transform: rotate(180deg); stroke: var(--purple); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 24px 20px; font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact { position: relative; z-index: 1; padding: 100px 0; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; backdrop-filter: blur(10px); position: relative; overflow: hidden; }
.contact-box::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.contact-info { position: relative; }
.contact-info p { font-size: 15px; color: var(--text2); margin-bottom: 32px; }
.contact-features { position: relative; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.cf-item { display: flex; gap: 16px; align-items: flex-start; }
.cf-icon { font-size: 24px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #a855f710; border-radius: var(--radius-sm); flex-shrink: 0; }
.cf-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.cf-item p { font-size: 13px; color: var(--text3); }

/* ===== CART SIDEBAR ===== */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #00000080; z-index: 200; opacity: 0; pointer-events: none; transition: var(--transition); }
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: 0; width: 400px; max-width: 90vw; height: 100%;
  background: var(--bg2); border-left: 1px solid var(--border);
  z-index: 201; transform: translateX(100%); transition: transform 0.4s ease;
  display: flex; flex-direction: column;
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.cart-close { background: none; border: none; color: var(--text); font-size: 28px; cursor: pointer; padding: 4px; transition: var(--transition); }
.cart-close:hover { color: var(--red); }

.cart-items { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty { text-align: center; padding: 48px 0; color: var(--text3); }
.cart-empty svg { margin-bottom: 16px; stroke: var(--text3); }
.cart-empty p { font-size: 14px; }

.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.cart-item-price { font-size: 13px; color: var(--purple); font-weight: 700; }
.cart-item-remove { background: none; border: none; color: var(--text3); font-size: 18px; cursor: pointer; padding: 4px 8px; transition: var(--transition); }
.cart-item-remove:hover { color: var(--red); }

.cart-footer { padding: 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 16px; font-weight: 700; }
.cart-total span:last-child { font-family: var(--font-display); font-size: 20px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== CHECKOUT MODAL ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: #000000cc; z-index: 300; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: var(--transition); padding: 24px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; max-width: 500px; width: 100%; position: relative;
  transform: translateY(20px) scale(0.95); transition: var(--transition);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text3); font-size: 28px; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--red); }

.modal h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.modal-desc { font-size: 14px; color: var(--text2); margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.form-group input {
  width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-family: var(--font); font-size: 14px;
  transition: var(--transition); outline: none;
}
.form-group input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-glow); }
.form-group input::placeholder { color: var(--text3); }

.checkout-summary { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; margin: 20px 0; }
.checkout-summary h4 { font-size: 13px; font-weight: 700; color: var(--text2); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.checkout-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--text2); }
.checkout-total { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 8px; font-weight: 700; font-size: 16px; }
.checkout-total span:last-child { color: var(--purple); }

.pix-box { text-align: center; padding: 20px 0; }
.pix-qr { margin-bottom: 20px; }
.pix-placeholder { padding: 32px; background: var(--bg); border-radius: var(--radius-sm); border: 2px dashed var(--border); }
.pix-placeholder svg { margin-bottom: 12px; stroke: var(--text3); }
.pix-placeholder p { font-size: 14px; color: var(--text2); margin-bottom: 4px; }
.pix-placeholder small { font-size: 12px; color: var(--text3); }
.pix-copy { display: flex; gap: 8px; margin-bottom: 16px; }
.pix-copy input { flex: 1; padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 13px; outline: none; }
.pix-copy .btn { padding: 12px 20px; font-size: 13px; }
.pix-info { font-size: 13px; color: var(--text3); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: -60px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600; z-index: 500; transition: bottom 0.4s ease;
  box-shadow: 0 8px 30px #22c55e40;
}
.toast.show { bottom: 32px; }

/* ===== FOOTER ===== */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.footer-brand p { font-size: 13px; color: var(--text3); margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text3); transition: var(--transition); }
.footer-links a:hover { color: var(--purple); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 24px; gap: 20px; }
  .hero-stats { gap: 24px; }
  .hero-sub { font-size: 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; padding: 32px 24px; }
  .footer-content { flex-direction: column; gap: 24px; text-align: center; }
  .cart-sidebar { width: 100%; max-width: 100%; }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
