/* ===========================
   VOLTIQ · STYLES
   =========================== */

:root {
  --bg: #050810;
  --bg-2: #080d1a;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(99,210,255,0.35);
  --accent: #00d4ff;
  --accent-2: #7c3aed;
  --accent-3: #22c55e;
  --gold: #f59e0b;
  --text: #f0f4ff;
  --text-2: #94a3c0;
  --text-3: #5a6888;
  --glass-bg: rgba(10,18,40,0.6);
  --glass-border: rgba(99,210,255,0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 60px rgba(0,212,255,0.08);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: 0.1s;
}

/* ===== NOISE OVERLAY ===== */
.bg-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* ===== GLASS ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

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

.navbar.scrolled {
  background: rgba(5,8,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-bolt {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.8));
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

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

.cart-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-nav {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cta-nav:hover {
  background: #33ddff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,212,255,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: #33ddff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,212,255,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

.hero-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: floatOrb1 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  bottom: -200px; right: -100px;
  animation: floatOrb2 10s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(50px, 30px); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-30px, -40px); }
}

.hero-content {
  flex: 1;
  max-width: 640px;
  animation: fadeInUp 0.8s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 500;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== RECEIPT CARD ===== */
.hero-visual {
  flex-shrink: 0;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.receipt-card {
  width: 320px;
  padding: 28px;
  border-radius: var(--radius);
  position: relative;
}

.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.receipt-label {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

.receipt-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.tag-dac {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.2);
}

.tag-save {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}

.receipt-amount {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.receipt-amount.before {
  font-size: 40px;
  color: #f87171;
  text-decoration: line-through;
  opacity: 0.7;
}

.receipt-amount.after {
  font-size: 52px;
  color: var(--accent-3);
}

.receipt-amount span {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.7;
}

.receipt-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.arrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(34,197,94,0.2), rgba(34,197,94,0.6));
  position: relative;
}

.arrow-line::after {
  content: '↓';
  position: absolute;
  right: 0;
  top: -10px;
  color: var(--accent-3);
  font-size: 14px;
}

.arrow-label {
  font-size: 12px;
  color: var(--accent-3);
  font-weight: 600;
  white-space: nowrap;
}

.receipt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.receipt-saving {
  font-size: 12px;
  color: var(--accent-3);
  font-weight: 600;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  background: rgba(255,255,255,0.02);
  position: relative;
  z-index: 2;
}

.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-inner > span {
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  opacity: 0.7;
  transition: var(--transition);
  cursor: default;
}

.trust-logo:hover { opacity: 1; color: var(--accent); }

/* ===== SECTIONS ===== */
.section {
  padding: 96px 32px;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(0,212,255,0.08);
  border-radius: 100px;
  border: 1px solid rgba(0,212,255,0.15);
}

.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-header p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step-card {
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.step-card:hover::before { opacity: 1; }

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,212,255,0.1);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  font-weight: 300;
}

.step-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 600;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, rgba(124,58,237,0.05) 100%);
  position: relative;
  overflow: hidden;
}

.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.1) 0%, transparent 70%);
}

.product-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-popular {
  background: rgba(245,158,11,0.2);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.3);
}

.badge-nuevo {
  background: rgba(0,212,255,0.15);
  color: var(--accent);
  border: 1px solid rgba(0,212,255,0.25);
}

.badge-esencial {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}

.product-body {
  padding: 24px;
}

.product-category {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.product-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 300;
}

.product-saving {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4ade80;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.price-note {
  font-size: 11px;
  color: var(--text-3);
}

.add-cart-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.add-cart-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.12);
}

.service-title-wrap h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.service-price-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.service-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  color: #4ade80;
}

.service-cta {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 11px 20px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.service-cta:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ===== CALCULATOR ===== */
.calc-wrapper {
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.calc-inputs {
  padding: 48px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-result {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-placeholder {
  text-align: center;
  color: var(--text-3);
}

.result-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.3;
}

.result-placeholder p {
  font-size: 15px;
  font-weight: 300;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.input-group input,
.input-group select,
.input-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--accent);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

.input-group select option {
  background: var(--bg-2);
  color: var(--text);
}

.input-group textarea {
  resize: vertical;
  min-height: 100px;
}

.calc-btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ===== CALC RESULTS ===== */
.calc-results-content {
  width: 100%;
  animation: fadeInUp 0.5s ease;
}

.calc-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.calc-saving-main {
  background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(0,212,255,0.05) 100%);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.saving-amount {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -2px;
  line-height: 1;
}

.saving-label {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
}

.calc-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.calc-metric:last-child { border: none; }
.metric-label { color: var(--text-2); }
.metric-value { font-weight: 600; color: var(--text); }
.metric-value.accent { color: var(--accent); }
.metric-value.green { color: #4ade80; }

.calc-cta {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ===== DIFERENCIADORES ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.diff-card {
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.diff-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 16px;
}

.diff-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.diff-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  font-weight: 300;
}

/* ===== CART MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.cart-modal {
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.close-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.3);
  color: #f87171;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  gap: 12px;
  color: var(--text-3);
}

.cart-empty span { font-size: 40px; opacity: 0.4; }
.cart-empty p { font-size: 14px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-emoji {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 10px;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: #f87171;
  background: rgba(239,68,68,0.1);
}

.cart-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.cart-total-price {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.cart-note {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 16px 0 20px;
  line-height: 1.1;
}

.contact-info > p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
}

.cf-item span {
  color: var(--accent-3);
  font-weight: 700;
  font-size: 16px;
}

.contact-form {
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
  background: rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
  margin: 16px 0 24px;
  line-height: 1.7;
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  text-decoration: none;
  font-size: 20px;
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 10px;
  transition: var(--transition);
  font-weight: 300;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-3);
}

.footer-note { font-style: italic; }
.footer-note strong { color: var(--accent); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-2);
  border: 1px solid var(--border-hover);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  z-index: 3000;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== PRODUCT HIDDEN ===== */
.product-card.hidden { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
    gap: 48px;
  }

  .hero-content { max-width: 100%; }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats { justify-content: center; }

  .calc-wrapper { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid var(--border); }
  .calc-result { min-height: 300px; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: rgba(5,8,16,0.97);
    backdrop-filter: blur(20px);
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    gap: 4px;
  }

  .hamburger { display: flex; }

  .cta-nav { display: none; }

  .section { padding: 64px 20px; }

  .hero { padding: 120px 20px 60px; }

  .receipt-card { width: 100%; max-width: 360px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .trust-inner { justify-content: center; text-align: center; }
  .trust-inner > span { display: none; }

  .modal-overlay { padding: 0; align-items: flex-end; }
  .cart-modal {
    max-width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 90vh;
  }
}

@media (max-width: 480px) {
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 22px; }
  .contact-form { padding: 24px; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(0,212,255,0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,0.4); }

/* ===== DASHBOARD CTA BANNER ===== */
.dash-cta-banner {
  background: linear-gradient(90deg, rgba(0,229,200,0.08) 0%, rgba(155,109,255,0.06) 100%);
  border-top: 1px solid rgba(0,229,200,0.12);
  border-bottom: 1px solid rgba(0,229,200,0.12);
  padding: 20px 32px;
  position: relative; z-index: 2;
}
.dash-cta-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.dash-cta-text {
  display: flex; align-items: center; gap: 16px; flex: 1;
}
.dash-cta-icon { font-size: 32px; flex-shrink: 0; }
.dash-cta-text strong {
  display: block; font-size: 16px; font-weight: 700; margin-bottom: 3px;
}
.dash-cta-text span { font-size: 14px; color: var(--text-2); }
.dash-cta-btn {
  background: var(--accent); color: #000; text-decoration: none;
  padding: 12px 24px; border-radius: 10px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
  white-space: nowrap; transition: all .25s; flex-shrink: 0;
}
.dash-cta-btn:hover { background: #33ddff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,212,255,0.3); }

/* nav dashboard link */
.nav-link-dashboard {
  color: var(--accent) !important;
  background: rgba(0,212,255,0.08) !important;
  border: 1px solid rgba(0,212,255,0.2) !important;
  border-radius: 8px !important;
}

/* ===== GADGETS SECTION ===== */
.gadgets-section { background: rgba(0,229,200,0.01); }
.gadgets-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.gadget-card {
  border-radius: 16px; padding: 22px; transition: all .3s;
  background: rgba(10,20,45,0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: default;
}
.gadget-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.25); }
.gadget-emoji { font-size: 36px; margin-bottom: 14px; display: block; }
.gadget-name { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.gadget-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.gadget-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gadget-price { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; color: var(--text); }
.gadget-saving { font-size: 11px; color: #4ade80; font-weight: 600; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); padding: 3px 10px; border-radius: 100px; }
.gadget-diff { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.diff-muy-facil { background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.diff-facil     { background: rgba(0,212,255,0.08); color: var(--accent); border: 1px solid rgba(0,212,255,0.15); }

/* ===== PROYECTOS SECTION ===== */
.proyectos-section { background: rgba(155,109,255,0.01); }
.proyectos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.proyecto-card {
  border-radius: 20px; overflow: hidden; transition: all .3s;
  background: rgba(10,20,45,0.5); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
}
.proyecto-card:hover { transform: translateY(-5px); border-color: rgba(155,109,255,0.3); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.proyecto-header {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, rgba(155,109,255,0.08) 0%, rgba(0,212,255,0.04) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.proyecto-icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.proyecto-emoji { font-size: 40px; }
.proyecto-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; }
.ptag-premium { background: rgba(245,166,35,0.15); color: #fbbf24; border: 1px solid rgba(245,166,35,0.2); }
.ptag-popular { background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid rgba(0,212,255,0.2); }
.ptag-total   { background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.proyecto-name { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.proyecto-subtitle { font-size: 13px; color: var(--text-2); }
.proyecto-body { padding: 24px 28px; }
.proyecto-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.proyecto-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pm-item { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 12px; }
.pm-label { font-size: 11px; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.pm-value { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; }
.pm-value.green { color: #4ade80; }
.pm-value.amber { color: #fbbf24; }
.proyecto-features { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.pf-item { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.pf-item::before { content: '✓'; color: #4ade80; font-weight: 700; }
.proyecto-cta { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text); padding: 12px; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s; }
.proyecto-cta:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* ===== IMPACTO SECTION ===== */
.impacto-wrapper {
  border-radius: 20px; display: grid; grid-template-columns: 340px 1fr;
  gap: 0; overflow: hidden; margin-bottom: 32px;
}
.impacto-controls {
  padding: 36px 32px; border-right: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; gap: 20px;
}
.ic-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; }
.ic-row { display: flex; flex-direction: column; gap: 8px; }
.ic-row label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.ic-input-wrap { display: flex; align-items: center; gap: 12px; }
.ic-input-wrap input[type=range] {
  flex: 1; accent-color: var(--accent); height: 4px; cursor: pointer;
  background: rgba(255,255,255,0.1); border-radius: 2px;
}
.ic-val { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--accent); min-width: 80px; text-align: right; }
.impacto-controls select {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 10px 12px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px; outline: none;
}
.ic-sol-title { font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.ic-checkboxes { display: flex; flex-direction: column; gap: 8px; }
.ic-check {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  background: rgba(255,255,255,0.03); border-radius: 8px; cursor: pointer;
  border: 1px solid transparent; transition: all .2s; font-size: 13px;
}
.ic-check:hover { border-color: rgba(0,212,255,0.2); }
.ic-check input { accent-color: var(--accent); cursor: pointer; }
.ic-check.checked { border-color: rgba(0,212,255,0.2); background: rgba(0,212,255,0.05); }

.impacto-results { padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; }
.impacto-chart-wrap { position: relative; flex: 1; min-height: 280px; }
.impacto-table { display: flex; flex-direction: column; gap: 8px; }
.it-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: rgba(255,255,255,0.025); border-radius: 8px;
  font-size: 13px; gap: 12px;
}
.it-name { flex: 1; font-weight: 500; }
.it-saving { color: #4ade80; font-weight: 700; min-width: 120px; text-align: right; }
.it-new    { color: var(--accent); font-weight: 600; min-width: 120px; text-align: right; }
.impacto-cta { text-align: center; }

@media (max-width: 900px) {
  .impacto-wrapper { grid-template-columns: 1fr; }
  .impacto-controls { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
}
@media (max-width: 600px) {
  .proyectos-grid { grid-template-columns: 1fr; }
  .dash-cta-inner { flex-direction: column; }
}

/* ===== CASOS DE ÉXITO ===== */
.casos-section { }
.casos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.caso-card {
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.caso-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.caso-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.caso-meta { flex: 1; min-width: 0; }
.caso-nombre { font-weight: 700; font-size: .95rem; }
.caso-zona { font-size: .78rem; color: var(--text-muted); margin-top: .1rem; }
.caso-pct { font-size: 1.5rem; font-weight: 800; font-family: var(--font-display); flex-shrink: 0; }
.caso-recibos {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: .75rem 1rem;
  flex-wrap: wrap;
}
.caso-recibo { display: flex; flex-direction: column; align-items: center; gap: .15rem; flex: 1; }
.cr-label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.cr-val { font-size: 1rem; font-weight: 700; }
.cr-val.red { color: #ff5252; }
.cr-val.green { color: #00e676; }
.caso-arrow { color: var(--text-muted); font-size: 1.2rem; }
.caso-texto {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}
.caso-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .25rem;
}
.caso-tag {
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.25);
  color: #f5c518;
  font-size: .72rem;
  padding: .25rem .65rem;
  border-radius: 99px;
}
.caso-tiempo {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: .72rem;
  padding: .25rem .65rem;
  border-radius: 99px;
}
@media (max-width: 600px) {
  .casos-grid { grid-template-columns: 1fr; }
  .caso-recibos { gap: .5rem; }
}
