/* ===========================
   TECNO STORE – styles.css
   =========================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500&display=swap');

:root {
  --cyan: #00e5ff;
  --cyan-dim: #00b8d9;
  --green: #39ff14;
  --dark: #080c10;
  --dark2: #0d1219;
  --dark3: #111820;
  --card-bg: #0e1520;
  --border: rgba(0,229,255,0.15);
  --text: #d0e8f0;
  --text-dim: #607d8b;
  --glow: 0 0 20px rgba(0,229,255,0.4);
  --glow-strong: 0 0 40px rgba(0,229,255,0.7), 0 0 80px rgba(0,229,255,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* CUSTOM CURSOR */
.cursor {
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
  box-shadow: 0 0 10px var(--cyan);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,229,255,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.2s, height 0.2s;
}
.cursor.hover { transform: translate(-50%,-50%) scale(2.5); background: var(--green); }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--green); opacity: 0.6; }

/* SCAN LINES */
body::after {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none; z-index: 9000;
}

/* PARTICLES */
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* HEADER */
header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: rgba(8,12,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; 
  align-items: center; 
  gap: 14px; 
  text-decoration: none; 
  padding: 6px;
}

.logo img {
  width: clamp(90px, 6vw, 50px);
  height: clamp(60px, 6vw, 50px);
  border: 2px solid var(--cyan);
  border-radius: 10px;
  object-fit: cover; /* 🔥 IMPORTANTE */
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.logo-icon {
  width: 42px; height: 42px; border: 2px solid var(--cyan);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow); position: relative; overflow: hidden;
}
.logo-icon::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), transparent);
}
.logo-icon svg { width: 24px; height: 24px; fill: var(--cyan); }
.logo-text { font-family: 'Orbitron', monospace; font-size: 1.1rem; font-weight: 900; color: #fff; letter-spacing: 3px; }
.logo-text span { color: var(--cyan); }

nav { display: flex; gap: 32px; }
nav a {
  font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; font-weight: 600;
  color: var(--text-dim); text-decoration: none; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color 0.2s; position: relative;
}
nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--cyan); transition: width 0.3s;
}
nav a:hover { color: var(--cyan); }
nav a:hover::after { width: 100%; }

.header-cta {
  background: transparent; border: 1px solid var(--cyan); color: var(--cyan);
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 2px;
  padding: 8px 22px; border-radius: 4px; cursor: pointer;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.header-cta:hover { background: var(--cyan); color: var(--dark); box-shadow: var(--glow); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 120px 40px 80px;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,229,255,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(57,255,20,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0,229,255,0.05) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black, transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(0,229,255,0.3); background: rgba(0,229,255,0.06);
  padding: 6px 18px; border-radius: 100px;
  font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 600;
  color: var(--cyan); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }

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

.hero h1 {
  font-family: 'Orbitron', monospace; font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1; color: #fff; letter-spacing: -1px;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero h1 .accent { color: var(--cyan); display: block; text-shadow: var(--glow-strong); }

.hero-sub {
  font-size: 1.05rem; color: var(--text-dim); line-height: 1.7;
  max-width: 500px; margin: 24px auto 48px;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
  background: var(--cyan); color: var(--dark);
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 0.8rem; letter-spacing: 2px;
  padding: 14px 36px; border-radius: 4px; border: none; cursor: pointer;
  text-transform: uppercase; text-decoration: none;
  box-shadow: var(--glow); transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-strong); }

.btn-secondary {
  background: transparent; color: var(--text);
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 2px;
  padding: 14px 36px; border-radius: 4px; border: 1px solid var(--border); cursor: pointer;
  text-transform: uppercase; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

.hero-stats {
  display: flex; justify-content: center; gap: 60px;
  margin-top: 80px; padding-top: 60px;
  border-top: 1px solid var(--border);
  opacity: 0; animation: fadeUp 0.8s 1s forwards;
}
.stat-item { text-align: center; }
.stat-num { font-family: 'Orbitron', monospace; font-size: 2rem; font-weight: 900; color: var(--cyan); display: block; }
.stat-label { font-size: 0.75rem; color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* FLOATING SHAPES */
.shape {
  position: absolute; pointer-events: none;
  border: 1px solid rgba(0,229,255,0.15);
  animation: floatShape linear infinite; z-index: 1;
}
@keyframes floatShape {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50%  { opacity: 0.6; }
  100% { transform: translateY(-120px) rotate(180deg); opacity: 0; }
}

/* PRODUCTS SECTION */
.section { padding: 100px 40px; position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  font-family: 'Rajdhani', sans-serif; font-size: 0.75rem; font-weight: 700;
  color: var(--cyan); letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 12px; display: block;
}
.section-title { font-family: 'Orbitron', monospace; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.section-title span { color: var(--cyan); }
.section-line { width: 60px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); margin: 20px auto 0; }

/* PRODUCT GRID */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }

.product-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; position: relative;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s, transform 0.6s, border-color 0.3s, box-shadow 0.3s;
}
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover {
  border-color: rgba(0,229,255,0.5);
  box-shadow: 0 0 30px rgba(0,229,255,0.15), inset 0 0 30px rgba(0,229,255,0.03);
  transform: translateY(-6px) !important;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover::before { opacity: 1; }

.product-img-wrap {
  position: relative; overflow: hidden; height: 200px;
  background: linear-gradient(135deg, #0a1520, #071018);
  display: flex; align-items: center; justify-content: center;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; filter: brightness(0.9); }
.product-card:hover .product-img-wrap img { transform: scale(1.07); filter: brightness(1); }
.product-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,21,32,0.95) 0%, transparent 60%); }
.product-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,229,255,0.15); border: 1px solid rgba(0,229,255,0.4); color: var(--cyan);
  font-family: 'Rajdhani', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
}

.product-body { padding: 22px 24px 24px; }
.product-category { font-family: 'Rajdhani', sans-serif; font-size: 0.72rem; font-weight: 700; color: var(--cyan); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px; opacity: 0.8; }
.product-name { font-family: 'Orbitron', monospace; font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.product-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 18px; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.feature-tag {
  font-size: 0.72rem; font-family: 'Rajdhani', sans-serif; font-weight: 600;
  color: var(--text-dim); letter-spacing: 0.5px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 3px 10px; border-radius: 4px;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); }
.product-price { font-family: 'Orbitron', monospace; font-size: 1.4rem; font-weight: 900; color: var(--cyan); text-shadow: 0 0 15px rgba(0,229,255,0.5); }
.product-price span { font-size: 0.75rem; opacity: 0.7; }
.btn-order {
  background: transparent; border: 1px solid var(--cyan); color: var(--cyan);
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 2px;
  padding: 9px 20px; border-radius: 6px; cursor: pointer;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.btn-order:hover { background: var(--cyan); color: var(--dark); box-shadow: var(--glow); }

/* FEATURED CARD */
.product-card.featured { grid-column: span 2; border-color: rgba(0,229,255,0.25); }
.product-card.featured .product-img-wrap { height: 280px; }

/* MARQUEE */
.marquee-section {
  padding: 32px 0; background: rgba(0,229,255,0.04);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; z-index: 2; position: relative;
}
.marquee-track {
  display: flex; gap: 60px; align-items: center;
  animation: marquee 20s linear infinite; white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-family: 'Orbitron', monospace; font-size: 0.8rem; font-weight: 700;
  color: var(--text-dim); letter-spacing: 3px; text-transform: uppercase;
  display: flex; align-items: center; gap: 20px;
}
.marquee-item .sep { color: var(--cyan); font-size: 1.2rem; }

/* INSTAGRAM SECTION */
.instagram-section {
  padding: 100px 40px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 50%, var(--dark) 100%);
  z-index: 2; position: relative;
}
.ig-card {
  max-width: 600px; margin: 0 auto; text-align: center;
  border: 1px solid var(--border); background: var(--card-bg);
  border-radius: 20px; padding: 60px 48px;
  position: relative; overflow: hidden;
}
.ig-card::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,229,255,0.08), transparent 70%);
  pointer-events: none;
}
.ig-icon-wrap {
  width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 24px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; box-shadow: 0 8px 30px rgba(220,39,67,0.4);
}
.ig-handle { font-family: 'Orbitron', monospace; font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.ig-handle span { color: var(--cyan); }
.ig-desc { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 36px; }
.btn-ig {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366);
  color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 2px;
  padding: 14px 36px; border-radius: 50px; text-decoration: none; text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(220,39,67,0.4); transition: transform 0.2s, box-shadow 0.2s;
}
.btn-ig:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(220,39,67,0.5); }

/* CONTACT */
.contact-section { padding: 80px 40px; z-index: 2; position: relative; text-align: center; }
.phones { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.phone-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 20px 32px;
  font-family: 'Orbitron', monospace; font-size: 1rem; font-weight: 700; color: var(--cyan);
  transition: border-color 0.3s, box-shadow 0.3s; text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
.phone-card:hover { border-color: var(--cyan); box-shadow: var(--glow); }
.phone-card .ph-icon { font-size: 1.2rem; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border); padding: 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: var(--dark2); z-index: 2; position: relative;
}
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }

/* GLITCH EFFECT */
.glitch { position: relative; animation: glitch 6s infinite; }
@keyframes glitch {
  0%,94%,100% { transform: none; text-shadow: none; }
  95% { transform: translate(-2px,0); text-shadow: 2px 0 var(--green); }
  97% { transform: translate(2px,0); text-shadow: -2px 0 rgba(255,0,80,0.8); }
  99% { transform: none; }
}

/* SCROLL INDICATOR */
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.5s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.scroll-hint span { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 3px; text-transform: uppercase; }
.scroll-mouse { width: 24px; height: 38px; border: 1.5px solid var(--text-dim); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 4px; height: 8px; background: var(--cyan); border-radius: 2px; animation: scrollWheel 1.5s infinite; }
@keyframes scrollWheel { 0%,100% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* RESPONSIVE */
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hero-stats { gap: 30px; }
  .section { padding: 60px 20px; }
  .product-card.featured { grid-column: span 1; }
  .products-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .instagram-section { padding: 60px 20px; }
  .ig-card { padding: 40px 24px; }
}