/* =============================================
   QLast.com - Custom Website Stylesheet
   Modern SaaS Design | 2025
   ============================================= */

:root {
  --primary: #1E40AF;
  --primary-light: #3B82F6;
  --primary-dark: #1E3A8A;
  --accent: #F97316;
  --accent-light: #FB923C;
  --success: #10B981;
  --text-dark: #0F172A;
  --text-mid: #334155;
  --text-light: #64748B;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 32px rgba(30,64,175,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.25s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-mid); }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(30,64,175,0.25); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(249,115,22,0.25);
}
.btn-accent:hover { background: #EA6B0E; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-primary { background: #EFF6FF; color: var(--primary); }
.badge-accent  { background: #FFF7ED; color: var(--accent); }
.badge-success { background: #ECFDF5; color: var(--success); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.navbar-brand .brand-dot { color: var(--accent); }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: #EFF6FF; }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: 140px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 40%, #F0F9FF 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-tag { margin-bottom: 20px; }
.hero-title { margin-bottom: 20px; color: var(--text-dark); }
.hero-title span { color: var(--primary); }
.hero-desc { font-size: 1.1rem; margin-bottom: 36px; color: var(--text-mid); max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item h3 { color: var(--primary); font-size: 1.75rem; }
.stat-item p { font-size: 0.85rem; color: var(--text-light); }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.hero-main-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.hero-card-icon.blue { background: #EFF6FF; }
.hero-card-icon.orange { background: #FFF7ED; }
.hero-card-icon.green { background: #ECFDF5; }
.hero-card-icon.purple { background: #F5F3FF; }
.hero-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.hero-card-sub { font-size: 0.83rem; color: var(--text-light); }
.hero-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.mini-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.mini-card-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.mini-card-title { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); }
.mini-card-sub { font-size: 0.72rem; color: var(--text-light); }
.floating-badge {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(249,115,22,0.4);
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products { background: var(--bg-white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header .badge { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card:hover::before { opacity: 1; }
.product-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  color: #fff;
}
.product-card.featured::before { opacity: 1; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.product-card.featured p, .product-card.featured .product-meta { color: rgba(255,255,255,0.75); }
.product-card.featured .product-tag { background: rgba(255,255,255,0.15); color: #fff; }
.product-card.featured .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.product-card.featured .btn-outline:hover { background: rgba(255,255,255,0.15); }
.product-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.product-icon.blue { background: #EFF6FF; }
.product-icon.orange { background: #FFF7ED; }
.product-icon.green { background: #ECFDF5; }
.product-icon.purple { background: #F5F3FF; }
.product-icon.red { background: #FEF2F2; }
.product-icon.teal { background: #F0FDFA; }
.product-icon.white { background: rgba(255,255,255,0.15); }
.product-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #EFF6FF;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.product-card h3 { margin-bottom: 10px; }
.product-card p { font-size: 0.9rem; margin-bottom: 20px; flex: 1; }
.product-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.product-card.featured .product-feature { color: rgba(255,255,255,0.8); }
.product-feature::before {
  content: '✓';
  width: 18px; height: 18px;
  background: #ECFDF5;
  color: var(--success);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}
.product-card.featured .product-feature::before { background: rgba(255,255,255,0.2); color: #fff; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-meta { font-size: 0.82rem; color: var(--text-light); }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why { background: var(--bg-light); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content .badge { margin-bottom: 16px; }
.why-content h2 { margin-bottom: 16px; }
.why-content > p { margin-bottom: 36px; }
.why-items { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: #EFF6FF;
}
.why-item-body h4 { margin-bottom: 4px; font-size: 1rem; }
.why-item-body p { font-size: 0.88rem; }
.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.why-stat-card.accent-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
  color: #fff;
}
.why-stat-card.accent-card p { color: rgba(255,255,255,0.75); }
.why-stat-card h3 { font-size: 2rem; color: var(--primary); margin-bottom: 4px; }
.why-stat-card.accent-card h3 { color: #fff; }
.why-stat-card p { font-size: 0.82rem; color: var(--text-light); }
.why-stat-card.span-2 { grid-column: span 2; display: flex; align-items: center; gap: 20px; text-align: left; }
.why-stat-card.span-2 .stat-icon { font-size: 2.5rem; }
.why-stat-card.span-2 h3 { font-size: 1.5rem; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how { background: var(--bg-white); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  opacity: 0.25;
}
.how-step { text-align: center; position: relative; padding: 0 12px; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-blue);
}
.how-step h4 { margin-bottom: 8px; }
.how-step p { font-size: 0.88rem; }

/* ============================================
   CLIENTS / TESTIMONIALS
   ============================================ */
.clients { background: var(--bg-light); }
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 56px;
}
.client-logo {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testi-stars { color: #FBBF24; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 0.92rem; margin-bottom: 20px; font-style: italic; color: var(--text-mid); }
.testi-author { display: flex; gap: 12px; align-items: center; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.8rem; color: var(--text-light); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2563EB 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,0.78); font-size: 1.1rem; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; }
.footer-col h5 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-link:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.83rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.83rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-legal a:hover { color: #fff; }

/* ============================================
   PAGE HEADER (product pages)
   ============================================ */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 60%, #2563EB 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
}
.page-header-inner { max-width: 720px; position: relative; z-index: 1; }
.page-header .badge { margin-bottom: 16px; background: rgba(255,255,255,0.15); color: #fff; }
.page-header h1 { color: #fff; margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; }
.page-header-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-bottom: 16px; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: 0.4; }

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail { padding: 80px 0; }
.product-detail-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
.detail-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}
.detail-feature-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
}
.detail-feature-icon { font-size: 1.6rem; margin-bottom: 12px; }
.detail-feature-card h4 { margin-bottom: 6px; }
.detail-feature-card p { font-size: 0.875rem; }
.detail-screenshots { margin: 36px 0; }
.screenshot-placeholder {
  background: linear-gradient(135deg, var(--bg-light), #E0EDFF);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  gap: 12px;
}
.screenshot-placeholder .placeholder-icon { font-size: 2.5rem; opacity: 0.5; }

/* Sidebar / order card */
.product-sidebar {}
.order-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}
.order-card-header { margin-bottom: 20px; }
.order-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.order-card .sub { font-size: 0.85rem; color: var(--text-light); }
.price-display { margin: 20px 0; }
.price-label { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }
.price-main { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.price-note { font-size: 0.78rem; color: var(--text-light); }
.order-features { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.order-feature { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.order-feature-check { color: var(--success); font-size: 1rem; font-weight: 700; }
.order-cta { display: flex; flex-direction: column; gap: 10px; }
.order-contact { margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--text-light); }
.order-contact a { color: var(--primary); font-weight: 600; }

/* ============================================
   RELATED PRODUCTS
   ============================================ */
.related { background: var(--bg-light); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================
   SCREENSHOT GALLERY
   ============================================ */
.screenshot-gallery { margin: 36px 0; }
.screenshot-gallery h3 { margin-bottom: 16px; }
.gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.gallery-tab {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-mid);
  transition: all var(--transition);
}
.gallery-tab:hover { border-color: var(--primary); color: var(--primary); }
.gallery-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-panels { position: relative; }
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }
.gallery-panel svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.gallery-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Kartu fitur di halaman produk selalu terlihat (tidak perlu scroll trigger) */
.detail-feature-card {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 100px; padding-bottom: 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .navbar-nav, .navbar-actions { display: none; }
  .nav-toggle { display: flex; }
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg-white);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .product-detail-inner { grid-template-columns: 1fr; }
  .detail-features-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .why-visual { grid-template-columns: 1fr; }
  .why-stat-card.span-2 { grid-column: span 1; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .how-steps { grid-template-columns: 1fr; }
}
