:root {
  --blue-900: #0f172a;
  --blue-800: #1e3a8a;
  --blue-700: #2563eb;
  --blue-500: #3b82f6;
  --blue-300: #93c5fd;
  --sky-400: #38bdf8;
  --orange-500: #fb923c;
  --red-500: #ef4444;
  --green-500: #25d366;
  --green-600: #1eb95a;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--blue-900);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.accent { color: var(--blue-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 11px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--sky-400));
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45); }

.btn-ghost {
  background: #fff;
  color: var(--blue-700);
  border: 2px solid var(--blue-300);
}

.btn-ghost:hover { background: var(--slate-100); }

.btn-whatsapp {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45); }

.btn-lg { padding: 14px 30px; font-size: 1.05rem; }

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--blue-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img { border-radius: 10px; }

.brand-text {
  display: flex;
  align-items: baseline;
  font-size: 1.25rem;
  line-height: 1;
}

.brand-text small { color: var(--slate-400); font-weight: 600; }

.main-nav { display: flex; gap: 28px; }

.main-nav a { font-weight: 500; color: var(--slate-700); transition: color 0.15s; }

.main-nav a:hover { color: var(--blue-700); }

.header-actions { display: flex; align-items: center; gap: 12px; }

#menuToggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(37, 99, 235, 0.18), transparent 60%),
    linear-gradient(180deg, #f8fafc, #ffffff);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 72px 0 64px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-700);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.grad-text {
  background: linear-gradient(135deg, var(--blue-700), var(--sky-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 18px;
  max-width: 540px;
  color: var(--slate-500);
  font-size: 1.08rem;
}

.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 32px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.hero-trust li { font-weight: 600; color: var(--slate-700); font-size: 0.92rem; }

.hero-trust li::before {
  content: "✓";
  color: var(--blue-700);
  font-weight: 800;
  margin-right: 8px;
}

.hero-visual { position: relative; }

.hero-laptop {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.price-chip {
  position: absolute;
  right: -14px;
  bottom: 26px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: grid;
  justify-items: end;
  line-height: 1.2;
  animation: float 5s ease-in-out infinite 0.5s;
}

.price-chip-old {
  color: var(--slate-400);
  text-decoration: line-through;
  font-size: 0.8rem;
}

.price-chip-new { color: var(--blue-700); font-weight: 800; font-size: 1.2rem; }

.price-chip-badge {
  background: var(--red-500);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 4px;
}

/* ---------- Strip ---------- */
.strip { background: var(--blue-900); padding: 14px 0; }

.strip-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }

.section-alt { background: var(--slate-100); }

.section-head { margin-bottom: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

.section-eyebrow {
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }

.chip {
  border: 1.5px solid var(--slate-200);
  background: #fff;
  color: var(--slate-700);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.chip:hover { border-color: var(--blue-300); color: var(--blue-700); }

.chip.active {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}

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

.product-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-media { position: relative; }

.product-media img { width: 100%; aspect-ratio: 600 / 420; object-fit: cover; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red-500);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.product-cat { color: var(--blue-700); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

.product-title { font-size: 1.02rem; font-weight: 700; }

.product-specs { list-style: none; display: grid; gap: 4px; }

.product-specs li { font-size: 0.85rem; color: var(--slate-500); }

.product-specs li::before { content: "•"; color: var(--sky-400); margin-right: 6px; }

.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }

.price-old { color: var(--slate-400); text-decoration: line-through; font-size: 0.82rem; display: block; }

.price-new { color: var(--blue-700); font-weight: 800; font-size: 1.15rem; }

.btn-add {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--green-500);
  background: var(--green-500);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-add:hover { background: var(--green-600); border-color: var(--green-600); transform: translateY(-1px); }

/* ---------- Skeleton Loading ---------- */
.skeleton { pointer-events: none; }
.skeleton-media { background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; aspect-ratio: 600 / 420; border-radius: var(--radius) var(--radius) 0 0; }
.skeleton-body { padding: 18px; display: grid; gap: 10px; }
.skeleton-line { height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--slate-200) 25%, var(--slate-100) 50%, var(--slate-200) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-line.short { width: 60%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Features ---------- */
.features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 { margin-bottom: 8px; font-size: 1.08rem; }

.feature-card p { color: var(--slate-500); font-size: 0.92rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps li {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-700), var(--sky-400));
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.steps h3 { margin-bottom: 6px; }

.steps p { color: var(--slate-500); font-size: 0.92rem; }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 72px; }

.cta-box {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700) 60%, var(--sky-400));
  border-radius: 24px;
  padding: 52px 32px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }

.cta-box p { margin: 12px 0 24px; opacity: 0.9; }

.newsletter {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: none;
  font: inherit;
  outline: none;
}

.newsletter input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #cbd5e1; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 40px;
}

.footer-brand .brand { margin-bottom: 16px; }

.footer-brand .brand-text { color: #fff; }

.footer-brand p { font-size: 0.92rem; }

.footer-col h4 { color: #fff; margin-bottom: 14px; }

.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 9px;
  color: #cbd5e1;
  transition: color 0.15s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.85rem;
  text-align: center;
  color: #94a3b8;
}

.admin-link { margin-top: 6px; }

.admin-link a {
  color: #475569;
  font-size: 0.8rem;
  border-bottom: 1px dashed #475569;
}

.admin-link a:hover { color: var(--sky-400); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--green-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}

.wa-float:hover { background: var(--green-600); transform: translateY(-3px) scale(1.05); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--blue-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 4%;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--slate-200);
  }

  .main-nav.open { display: flex; }

  #menuToggle { display: inline-flex; }

  .hero-inner { grid-template-columns: 1fr; padding: 48px 0; }

  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }

  .steps { grid-template-columns: 1fr; }

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

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  #headerPhone { display: none; }
}
