/* ============== CHOUSER Global Styles ============== */
:root {
  --primary: #4F5BC6;
  --primary-dark: #3A45A0;
  --primary-light: #6E78DB;
  --accent: #FF6B35;
  --accent-dark: #E5562A;
  --text: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-muted: #8a8a8a;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-section: #fafbfd;
  --border: #e6e8ef;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 2px 8px rgba(79,91,198,0.08);
  --shadow-md: 0 8px 24px rgba(79,91,198,0.12);
  --shadow-lg: 0 20px 50px rgba(79,91,198,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============== Top Bar ============== */
.topbar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.topbar a { text-decoration: underline; opacity: 0.95; }

/* ============== Header / Nav ============== */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.logo svg { flex-shrink: 0; }
.logo .name { color: #4F5BC6; }
.logo .name .logo-c { color: #FF6B35; }
footer .logo .name { color: #8088E0; }

nav.main-nav { display: flex; gap: 6px; align-items: center; }
nav.main-nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
nav.main-nav a:hover { background: var(--bg-soft); color: var(--primary); }
nav.main-nav a.active { color: var(--primary); font-weight: 600; }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  border-color: var(--text);
  color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: var(--bg-soft); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, #2A2D6B 0%, #4F5BC6 50%, #7B83E0 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,107,53,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 100px 32px;
}
.hero h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero .lead {
  font-size: 19px;
  opacity: 0.92;
  max-width: 700px;
  margin: 0 auto 36px;
  font-weight: 400;
}
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .trust {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.85;
}
.hero .trust-item { display: flex; align-items: center; gap: 6px; }
.hero .trust-item svg { color: var(--accent); }

/* ============== Sections ============== */
section { padding: 80px 32px; }
.section-soft { background: var(--bg-section); }
.section-dark {
  background: linear-gradient(135deg, #1a1d4a 0%, #2A2D6B 100%);
  color: #fff;
}
.container { max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-head p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,0.8); }
.section-dark .section-head .eyebrow { color: var(--accent); }

/* ============== Grids ============== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ============== Product Card ============== */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.product-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  overflow: hidden;
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.product-stock {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--success);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
}
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-meta {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.product-price .now {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.product-price .was {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-actions { display: flex; gap: 8px; }

/* ============== Filter Sidebar ============== */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.filter-sidebar {
  background: var(--bg-soft);
  padding: 28px 24px;
  border-radius: var(--radius);
  height: fit-content;
  position: sticky;
  top: 100px;
}
.filter-group { margin-bottom: 28px; }
.filter-group h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  justify-content: space-between;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  cursor: pointer;
}
.filter-group label:hover { color: var(--primary); }
.filter-group input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px; height: 16px;
}
.filter-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}
.filter-range-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ============== Inquiry Button (Floating) ============== */
.inquiry-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(255,107,53,0.4);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.inquiry-fab:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255,107,53,0.5);
}
.inquiry-fab .pulse {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ============== Inquiry Form Modal ============== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,15,30,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.modal.active { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.modal-close:hover { background: var(--bg-soft); }
.modal h3 {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--text);
}
.modal .modal-sub {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 14px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
  background: #fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,91,198,0.1);
}
.form-row textarea { resize: vertical; min-height: 80px; }

/* ============== Footer ============== */
footer {
  background: #1a1d4a;
  color: rgba(255,255,255,0.7);
  padding: 64px 32px 24px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 10px; font-size: 14px; }
footer a:hover { color: #fff; }
footer .brand-col p { font-size: 14px; line-height: 1.7; margin: 12px 0 20px; }
footer .social { display: flex; gap: 12px; }
footer .social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
footer .social a:hover { background: var(--primary); transform: translateY(-2px); }
footer .copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============== Page Header (inner pages) ============== */
.page-header {
  background: linear-gradient(135deg, #f7f8fb 0%, #e8ebf7 100%);
  padding: 80px 32px 60px;
  text-align: center;
}
.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.page-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--primary); }

/* ============== Why Choose / Features ============== */
.feature-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--text); }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ============== Product Detail Page ============== */
.detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.gallery-main {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gallery-thumbs img:hover { border-color: var(--primary); }
.detail-info h1 { font-size: 36px; margin-bottom: 8px; }
.detail-info .meta { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.detail-info .stars { color: var(--warning); margin-bottom: 16px; font-size: 14px; }
.detail-info .price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.detail-info .price-now { font-size: 36px; font-weight: 800; color: var(--primary); }
.detail-info .price-was { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.detail-info .price-note { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.detail-info ul.specs { list-style: none; padding: 0; }
.detail-info ul.specs li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.detail-info ul.specs li b { color: var(--text); font-weight: 600; }
.detail-info ul.specs li span { color: var(--text-secondary); }
.detail-cta-row { display: flex; gap: 12px; margin-top: 24px; }

/* ============== FAQ ============== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text);
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q .icon { font-size: 22px; color: var(--primary); transition: transform 0.2s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ============== Blog Cards ============== */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb { aspect-ratio: 16/9; background: var(--bg-soft); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.35; }
.blog-card .meta { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.blog-card p { font-size: 14px; color: var(--text-secondary); }

/* ============== Stats Strip ============== */
.stats-strip {
  background: var(--primary);
  color: #fff;
  padding: 48px 32px;
}
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num { font-size: 44px; font-weight: 800; margin-bottom: 4px; }
.stat-label { font-size: 14px; opacity: 0.85; }

/* ============== Contact ============== */
.contact-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info { padding: 32px; }
.contact-info h3 { font-size: 28px; margin-bottom: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-item .icon {
  width: 44px; height: 44px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item h5 { font-size: 14px; margin-bottom: 4px; color: var(--text); }
.contact-item p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ============== Responsive ============== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .detail-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 42px; }
  .section-head h2 { font-size: 32px; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
  .nav-cta { display: inline-flex !important; }
  section { padding: 56px 20px; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 34px; }
  .page-header h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-num { font-size: 32px; }
}

/* ============== Helpers ============== */
.text-center { text-align: center; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.flex-row { display: flex; align-items: center; gap: 12px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}
.badge-primary { background: rgba(79,91,198,0.1); color: var(--primary); }
.badge-accent { background: rgba(255,107,53,0.1); color: var(--accent); }