/* ============================================================
   Apps CAMPAIGNEX — Frontend Design System
   Premium Dark Theme | v1.0
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  /* Colors */
  --bg:           #040410;
  --bg2:          #07070f;
  --surface:      rgba(255,255,255,0.025);
  --surface2:     rgba(255,255,255,0.04);
  --border:       rgba(255,255,255,0.06);
  --border2:      rgba(255,255,255,0.1);

  /* Brand */
  --primary:      #6366f1;
  --primary-dark: #4f46e5;
  --violet:       #8b5cf6;
  --cyan:         #06b6d4;
  --gradient:     linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-text:linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);

  /* Text */
  --text:         #f1f5f9;
  --text-2:       #94a3b8;
  --text-3:       #64748b;
  --text-4:       #475569;

  /* Status */
  --success:      #10b981;
  --danger:       #ef4444;
  --warning:      #f59e0b;
  --info:         #06b6d4;

  /* WhatsApp */
  --whatsapp:     #25d366;
  --whatsapp-dark:#128c42;

  /* Spacing */
  --container:    1280px;
  --radius:       12px;
  --radius-lg:    16px;

  /* Transitions */
  --transition:   all .2s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background noise/texture */
.bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 20%, rgba(139,92,246,.06) 0%, transparent 50%);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-2); line-height: 1.7; }

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

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  position: relative; z-index: 1;
}
.content-narrow { max-width: 800px; }
.content-grid { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }

/* ---- Links ---- */
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--violet); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.25rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; border: none; font-family: inherit;
  text-decoration: none; transition: var(--transition);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: var(--transition);
}
.btn:hover::before { background: rgba(255,255,255,.06); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(99,102,241,.45);
  transform: translateY(-1px);
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border2);
}
.btn-outline:hover { background: var(--surface2); color: var(--text); border-color: var(--primary); }

.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--text); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(37,211,102,.25);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 6px 28px rgba(37,211,102,.4);
  transform: translateY(-1px); color: #fff;
}

.btn-sm { padding: .4rem .9rem; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: .85rem 1.75rem; font-size: 1rem; }
.btn-xl { padding: .95rem 1.5rem; font-size: .95rem; width: 100%; justify-content: center; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Navbar ---- */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(4,4,16,.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.4); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--text); flex-shrink: 0;
}
.logo-icon { font-size: 1.3rem; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: .95rem; letter-spacing: -.01em; }
.logo-text strong { color: var(--text); font-weight: 700; }

.nav-links {
  display: flex; align-items: center; gap: .25rem;
  list-style: none; margin: 0;
}
.nav-link {
  padding: .45rem .8rem; border-radius: 8px;
  font-size: .875rem; font-weight: 500;
  color: var(--text-2); transition: var(--transition);
  text-decoration: none; display: block;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-2); border-radius: 2px; transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(4,4,16,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu .nav-link { padding: .75rem 1rem; }
.mobile-menu .btn { margin-top: .5rem; width: 100%; justify-content: center; }

/* ---- Hero ---- */
.hero {
  padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.hero-bg-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; min-height: 480px;
}
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  color: #a78bfa; font-size: .8rem; font-weight: 500;
  padding: .35rem .9rem; border-radius: 999px; width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: .4; }
}
.hero-headline { font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.1; }
.hero-desc { font-size: 1.05rem; color: var(--text-2); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 1rem;
  padding-top: .5rem;
}
.trust-badges span {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: var(--text-3);
}
.trust-badges i { color: var(--success); }

/* Hero Mockup */
.hero-visual { display: flex; justify-content: center; }
.hero-mockup {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 420px; width: 100%;
  box-shadow: 0 0 60px rgba(99,102,241,.08), 0 0 120px rgba(139,92,246,.04);
}
.mockup-dots { display: flex; gap: .4rem; margin-bottom: 1rem; }
.mockup-dots::before, .mockup-dots::after,
.mockup-dots + .mockup-dots {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
}
.mockup-dots { position: relative; }
.mockup-dots::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.mockup-dots::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; }
.mockup-screen { display: flex; flex-direction: column; gap: 1rem; }
.mockup-stat {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface2); border-radius: 8px; padding: .75rem 1rem;
}
.stat-num { font-size: 1.4rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.mockup-stat span:last-child { font-size: .78rem; color: var(--text-3); }
.mockup-graph {
  height: 80px;
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(6,182,212,.1));
  border-radius: 8px;
  position: relative; overflow: hidden;
}
.mockup-graph::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to right, #6366f1, #8b5cf6, #06b6d4);
  clip-path: polygon(0 100%, 10% 60%, 25% 70%, 40% 30%, 55% 50%, 70% 10%, 85% 40%, 100% 20%, 100% 100%);
  opacity: .6;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.stat-item { text-align: center; }
.stat-number {
  display: block; font-size: 2rem; font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: .85rem; color: var(--text-3); margin-top: .25rem; }

/* ---- Categories ---- */
.categories-section { padding: 4rem 0; }
.categories-grid {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center; margin-top: 2rem;
}
.category-card {
  display: flex; align-items: center; gap: .6rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: .6rem 1.25rem;
  color: var(--text-2); font-size: .875rem; font-weight: 500;
  transition: var(--transition); text-decoration: none;
}
.category-card:hover, .category-card.active {
  background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.3);
  color: #a78bfa; transform: translateY(-2px);
}
.category-card i { font-size: .9rem; }

/* ---- Section Helpers ---- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary); background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  padding: .25rem .75rem; border-radius: 999px; margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-2); max-width: 560px; margin-inline: auto; }
.section-cta { text-align: center; margin-top: 3rem; }

/* ---- Products Section ---- */
.products-section { padding: 4rem 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.featured-grid { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

/* ---- Product Card ---- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.04), rgba(6,182,212,.02));
  opacity: 0; transition: var(--transition); pointer-events: none;
}
.product-card:hover {
  border-color: rgba(99,102,241,.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 30px rgba(99,102,241,.08);
}
.product-card:hover::before { opacity: 1; }

.product-badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: .2rem .6rem; border-radius: 6px;
}
.badge-new, .badge-New { background: rgba(6,182,212,.15); color: var(--cyan); border: 1px solid rgba(6,182,212,.3); }
.badge-hot, .badge-Hot { background: rgba(245,158,11,.12); color: var(--warning); border: 1px solid rgba(245,158,11,.25); }
.badge-beta, .badge-Beta { background: rgba(139,92,246,.12); color: var(--violet); border: 1px solid rgba(139,92,246,.25); }
.badge-sale, .badge-Sale { background: rgba(239,68,68,.1); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }
.badge-featured, .badge-Featured { background: rgba(99,102,241,.1); color: var(--primary); border: 1px solid rgba(99,102,241,.2); }

.product-card-thumb {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: rgba(255,255,255,.03);
}
.product-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-card-thumb img { transform: scale(1.04); }

.product-card-body {
  padding: 1.25rem; display: flex; flex-direction: column;
  gap: .6rem; flex: 1;
}
.product-category {
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); text-decoration: none;
}
.product-category:hover { color: var(--violet); }

.product-card h3, .product-card-title {
  font-size: 1.05rem; font-weight: 700;
  line-height: 1.3; margin: 0;
}
.product-card h3 a, .product-card-title a {
  color: var(--text); text-decoration: none;
}
.product-card h3 a:hover, .product-card-title a:hover { color: #a78bfa; }

.product-tagline, .product-short-desc {
  font-size: .85rem; color: var(--text-2);
  line-height: 1.5; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem; padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.product-price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price-original { text-decoration: line-through; color: var(--text-4); font-size: .8rem; }
.price-current { font-size: 1.15rem; font-weight: 700; color: var(--text); font-family: 'Space Grotesk', sans-serif; }
.price-period { font-size: .75rem; color: var(--text-3); }

/* ---- How It Works ---- */
.how-section { padding: 5rem 0; }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  position: relative; transition: var(--transition);
}
.step-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-3px); }
.step-num {
  font-size: 3rem; font-weight: 900; color: rgba(99,102,241,.1);
  font-family: 'Space Grotesk', sans-serif; line-height: 1;
  position: absolute; top: 1rem; right: 1.25rem;
}
.step-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--primary); margin-bottom: 1.25rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.step-card p { font-size: .875rem; color: var(--text-2); }

/* ---- CTA Section ---- */
.cta-section { padding: 5rem 0; }
.cta-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem; display: flex;
  align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(rgba(99,102,241,.12), transparent 70%);
  pointer-events: none;
}
.cta-content h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: .5rem; }
.cta-content p { color: var(--text-2); max-width: 500px; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding-bottom: 3rem;
}
.footer-logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; margin-bottom: 1rem;
}
.footer-brand p { font-size: .875rem; color: var(--text-3); line-height: 1.7; max-width: 280px; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: .6rem; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: .85rem; transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.footer-col h4 {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-2); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { color: var(--text-3); font-size: .875rem; }
.footer-col ul a:hover { color: var(--text); padding-left: .25rem; }

.footer-contact li { display: flex; align-items: center; gap: .6rem; color: var(--text-3); font-size: .875rem; }
.footer-contact li i { color: var(--primary); width: 16px; text-align: center; font-size: .85rem; }
.footer-contact li a { color: var(--text-3); }
.footer-contact li a:hover { color: var(--text); }

.btn-whatsapp.footer-whatsapp-btn { margin-top: 1rem; font-size: .85rem; padding: .6rem 1.1rem; width: auto; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
}
.footer-bottom p { font-size: .8rem; color: var(--text-4); }
.footer-bottom strong { color: var(--text-2); }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { font-size: .8rem; color: var(--text-4); }
.footer-bottom-links a:hover { color: var(--primary); }
.footer-admin-link { opacity: .4; }
.footer-admin-link:hover { opacity: 1 !important; }

/* ---- Page Hero ---- */
.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(99,102,241,.07) 0%, transparent 70%);
}
.small-hero { padding: 2.5rem 0 2rem; }
.page-hero-content { max-width: 700px; margin-inline: auto; }
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { color: var(--text-2); font-size: 1.05rem; }

/* ---- Breadcrumb ---- */
.breadcrumb, .breadcrumb ol {
  display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap; list-style: none;
}
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb li { font-size: .8rem; color: var(--text-3); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: .5rem; color: var(--text-4); }
.breadcrumb li a { color: var(--primary); }
.breadcrumb li a:hover { color: var(--violet); }
.breadcrumb-bar { padding: .75rem 0; border-bottom: 1px solid var(--border); background: var(--surface); }

/* ---- Filter Section ---- */
.filter-section { padding: 1.5rem 0; border-bottom: 1px solid var(--border); background: var(--surface); }
.filter-form { display: flex; flex-direction: column; gap: 1rem; }
.search-wrap {
  display: flex; align-items: center; gap: .5rem;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 12px; padding: .4rem .4rem .4rem 1rem;
  max-width: 520px;
}
.search-wrap i { color: var(--text-4); font-size: .9rem; }
.search-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-size: .9rem; font-family: inherit;
}
.search-input::placeholder { color: var(--text-4); }
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  padding: .35rem .9rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); font-size: .8rem; font-weight: 500;
  text-decoration: none; transition: var(--transition);
  display: flex; align-items: center; gap: .35rem;
}
.pill:hover, .pill.active {
  background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.3);
  color: #a78bfa;
}
.results-count { font-size: .875rem; color: var(--text-2); margin-bottom: 1.5rem; }
.empty-state {
  text-align: center; padding: 5rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.empty-state i { font-size: 3rem; color: var(--text-4); }
.empty-state h3 { color: var(--text-2); }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }

/* ---- Product Detail ---- */
.product-hero { padding: 2rem 0 3rem; }
.product-hero-grid {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 3rem; align-items: start;
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.gallery-swiper { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.gallery-swiper .swiper-slide img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--surface);
}
.gallery-thumbs { height: 72px; }
.thumb-slide { height: 72px; cursor: pointer; border-radius: 8px; overflow: hidden; border: 2px solid transparent; transition: var(--transition); }
.thumb-slide img { width: 100%; height: 100%; object-fit: cover; }
.thumb-slide.swiper-slide-thumb-active { border-color: var(--primary); }
.product-placeholder-img {
  aspect-ratio: 16/9; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.product-placeholder-img i { font-size: 4rem; color: var(--text-4); }

/* Video */
.product-video-wrap { margin-top: .5rem; }
.video-play-btn {
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 12px; padding: 1rem 1.5rem;
  color: var(--text-2); font-size: .875rem; font-weight: 500;
  cursor: pointer; font-family: inherit; width: 100%; transition: var(--transition);
}
.video-play-btn:hover { background: rgba(99,102,241,.1); color: var(--primary); border-color: rgba(99,102,241,.3); }
.video-play-btn i { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }

.video-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(8px); cursor: pointer; }
.video-modal-inner {
  position: relative; z-index: 1;
  width: 90vw; max-width: 900px; aspect-ratio: 16/9;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.8);
}
.video-modal-inner iframe { width: 100%; height: 100%; border: none; }
.video-close {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; color: #fff; font-size: 1.25rem;
  cursor: pointer; padding: .25rem; opacity: .8;
}
.video-close:hover { opacity: 1; }

/* Sidebar */
.product-sidebar { position: sticky; top: 88px; }
.product-badge-lg {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  padding: .25rem .7rem; border-radius: 6px; margin-bottom: .75rem;
}
.product-category-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .5rem;
}
.product-name { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .5rem; line-height: 1.2; }
.product-tagline-lg { color: var(--text-2); font-size: .95rem; margin-bottom: 1.25rem; }

.product-price-block {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.25rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.price-original-lg { text-decoration: line-through; color: var(--text-4); font-size: .9rem; }
.price-save-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  color: var(--success); background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2); border-radius: 6px;
  padding: .15rem .45rem;
}
.price-main { display: flex; align-items: baseline; gap: .4rem; }
.price-amount { font-size: 2rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.price-billing { color: var(--text-3); font-size: .85rem; }

/* Plan Selector */
.plan-selector { margin-bottom: 1.25rem; }
.plan-selector-label { font-size: .8rem; font-weight: 600; color: var(--text-2); margin-bottom: .6rem; }
.plan-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.plan-pill {
  padding: .4rem .9rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); font-size: .82rem; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: var(--transition);
  position: relative;
}
.plan-pill.active, .plan-pill:hover { background: rgba(99,102,241,.1); border-color: var(--primary); color: var(--primary); }
.plan-popular-dot {
  display: inline-block; font-size: .58rem; font-weight: 700;
  background: var(--warning); color: #000; border-radius: 4px;
  padding: .05rem .3rem; margin-left: .3rem; vertical-align: middle;
}
.selected-plan-info { font-size: .78rem; color: var(--text-3); }

/* Promo */
.promo-section { margin-bottom: 1.25rem; }
.promo-input-row { display: flex; gap: .5rem; }
.promo-input {
  flex: 1; background: var(--surface); border: 1px solid var(--border2);
  border-radius: 8px; color: var(--text); padding: .55rem .85rem;
  font-size: .875rem; font-family: inherit; text-transform: uppercase;
  transition: var(--transition);
}
.promo-input:focus { outline: none; border-color: var(--primary); }
.promo-msg { display: flex; align-items: center; gap: .4rem; font-size: .8rem; padding: .5rem .75rem; border-radius: 8px; margin-top: .5rem; }
.promo-success { background: rgba(16,185,129,.1); color: var(--success); border: 1px solid rgba(16,185,129,.2); }
.promo-error { background: rgba(239,68,68,.1); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }
[x-cloak] { display: none !important; }

/* Product Actions */
.product-actions { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }
.btn-check-product { background: var(--gradient); color: #fff !important; box-shadow: 0 4px 20px rgba(99,102,241,.3); }
.btn-check-product:hover { box-shadow: 0 6px 30px rgba(99,102,241,.5); transform: translateY(-2px); }

/* Quick Info */
.product-quick-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding-top: 1rem; border-top: 1px solid var(--border);
}
.qi-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: var(--text-3);
}
.qi-item i { color: var(--primary); width: 14px; text-align: center; font-size: .8rem; }

/* Detail Tabs */
.product-detail-section { padding: 2.5rem 0 4rem; }
.tab-nav {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.tab-btn {
  background: none; border: none; cursor: pointer; font-family: inherit;
  padding: 1rem 1.5rem; font-size: .875rem; font-weight: 600;
  color: var(--text-3); transition: var(--transition);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text-2); }
.tab-btn.active, [x-data] .tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); background: rgba(99,102,241,.05); }
.tab-panel { padding: 2rem; border-top: 1px solid var(--border); }

/* Features Grid */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: var(--transition);
}
.feature-card:hover { border-color: rgba(99,102,241,.25); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
}
.feature-text h4 { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.feature-text p { font-size: .82rem; color: var(--text-2); line-height: 1.5; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.pricing-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; position: relative;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: var(--transition);
}
.pricing-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-3px); }
.pricing-popular {
  border-color: var(--primary);
  background: rgba(99,102,241,.06);
  box-shadow: 0 0 40px rgba(99,102,241,.08);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .25rem .9rem; border-radius: 999px;
  white-space: nowrap;
}
.pricing-header h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.pricing-header p { font-size: .82rem; color: var(--text-2); }
.pricing-amount { font-size: 2rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.pricing-period { font-size: .85rem; color: var(--text-3); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--text-2); }
.pricing-features li i { color: var(--success); font-size: .8rem; flex-shrink: 0; }

/* Screenshots */
.screenshots-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.screenshot-item {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); position: relative;
  display: block; aspect-ratio: 16/9;
}
.screenshot-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.screenshot-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition); color: #fff; font-size: 1.2rem;
}
.screenshot-item:hover .screenshot-overlay { opacity: 1; }
.screenshot-item:hover img { transform: scale(1.04); }

/* Product CTA Bar */
.product-cta-bar {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 2.5rem 0; position: sticky; bottom: 0; z-index: 50;
}
.product-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.product-cta-inner h2 { font-size: 1.1rem; margin-bottom: .25rem; }
.product-cta-inner p { font-size: .85rem; color: var(--text-2); }
.product-cta-buttons { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

/* ---- Content Sections (About/Privacy/Terms) ---- */
.content-section { padding: 4rem 0; }
.prose {
  color: var(--text-2); font-size: .95rem; line-height: 1.8;
  max-width: 800px;
}
.prose h2 { font-size: 1.5rem; color: var(--text); margin: 2rem 0 .75rem; font-family: 'Space Grotesk', sans-serif; }
.prose h3 { font-size: 1.1rem; color: var(--text); margin: 1.5rem 0 .5rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }

/* About Card */
.about-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem;
}
.about-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-stat { text-align: center; }
.about-stat span { display: block; font-size: 1.75rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-stat p { font-size: .78rem; color: var(--text-3); margin-top: .25rem; }

.about-links-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.about-links-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: .75rem; }
.about-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem .75rem; border-radius: 8px;
  color: var(--text-2); font-size: .875rem;
  transition: var(--transition);
}
.about-link:hover { background: var(--surface2); color: var(--primary); }
.about-link i { font-size: .85rem; }
.about-link .fa-arrow-right { font-size: .75rem; color: var(--text-4); }

/* Values */
.values-section { padding: 4rem 0; border-top: 1px solid var(--border); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  transition: var(--transition);
}
.value-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-3px); }
.value-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.15rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.value-card p { font-size: .85rem; color: var(--text-2); }

/* Contact */
.contact-section { padding: 4rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info h2 { margin-bottom: .75rem; }
.contact-info > p { color: var(--text-2); margin-bottom: 1.5rem; }
.contact-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  margin-bottom: .75rem; transition: var(--transition);
}
.contact-card:hover { border-color: rgba(99,102,241,.25); }
.contact-card > i { font-size: 1.25rem; color: var(--primary); margin-top: .1rem; flex-shrink: 0; }
.contact-card h4 { font-size: .85rem; font-weight: 600; margin-bottom: .2rem; }
.contact-card a { font-size: .875rem; color: var(--text-2); }
.contact-card a:hover { color: var(--primary); }

/* Form */
.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 500; color: var(--text-2); }
.form-group input, .form-group textarea {
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: 8px; color: var(--text); padding: .65rem .9rem;
  font-size: .9rem; font-family: inherit; transition: var(--transition); width: 100%;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* Alerts */
.alert { display: flex; align-items: center; gap: .5rem; padding: .85rem 1rem; border-radius: 8px; font-size: .875rem; margin-bottom: 1rem; }
.alert-success { background: rgba(16,185,129,.1); color: var(--success); border: 1px solid rgba(16,185,129,.2); }
.alert-error { background: rgba(239,68,68,.1); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }

/* 404 */
.error-section { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.error-inner { text-align: center; padding: 3rem; }
.error-code { font-size: 8rem; font-weight: 900; font-family: 'Space Grotesk', sans-serif; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 1rem; }
.error-inner h1 { font-size: 2rem; margin-bottom: .75rem; }
.error-inner p { color: var(--text-2); margin-bottom: 2rem; }
.error-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* Swiper customization */
.swiper-button-prev, .swiper-button-next {
  width: 36px !important; height: 36px !important;
  background: rgba(0,0,0,.7); border: 1px solid var(--border2);
  border-radius: 50%; color: #fff !important;
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: .8rem !important; }
.swiper-pagination-bullet { background: rgba(255,255,255,.3) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-inner { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-cta-bar { position: static; }
  .product-cta-inner { flex-direction: column; }
  .product-hero-grid { gap: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; width: 100%; }
  .hero-actions { flex-direction: column; }
  .product-actions .btn-xl { padding: .8rem; }
  .product-quick-info { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.hidden { display: none !important; }

/* AOS base */
[data-aos] { transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s ease; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
