/* ================================================
   HK LIANYIXIN RC Bait Boat - Global Styles
   Version: 2.0 (UI Upgrade 2026-04-12)
   Colors: #1a3a5c (primary dark blue), #2563EB (primary blue)
           #F97316 (CTA orange), #F5F5F5 (light gray), #FFFFFF (white)
================================================ */

:root {
  --primary-dark: #1a3a5c;
  --primary-blue: #2563EB;
  --primary-blue-hover: #1d4ed8;
  --cta-orange: #F97316;
  --cta-orange-hover: #ea580c;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --text-body: #374151;
  --text-light: #6B7280;
  --border-color: #E5E7EB;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --transition: 0.3s ease;
  --nav-height: 70px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--primary-dark);
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ================================================
   TYPOGRAPHY
================================================ */
h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
}

.text-blue { color: var(--primary-blue); }

/* ================================================
   LAYOUT
================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================
   SECTION PADDING OPTIMIZATION (Phase 3.8)
   Tighter spacing for higher information density
================================================ */
.section {
  padding: 60px 0;
}

.section-gray {
  background: var(--light-gray);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
}

/* ================================================
   NAVIGATION
================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary-dark);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: background var(--transition);
}

.navbar.scrolled {
  background: rgba(30, 30, 30, 0.97);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
}

.navbar-brand .brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.navbar-brand .brand-tagline {
  font-size: 0.72rem;
  color: var(--primary-blue);
  letter-spacing: 0.3px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: var(--primary-blue);
}

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   BUTTONS
================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,136,229,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-outline-blue {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-blue:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* Orange CTA Button */
.btn-cta {
  background: var(--cta-orange);
  color: var(--white);
  border-color: var(--cta-orange);
}

.btn-cta:hover {
  background: var(--cta-orange-hover);
  border-color: var(--cta-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

.btn-cta-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-cta-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ================================================
   HERO / BANNER (Split Layout: Left Text + Right Image)
================================================ */
.hero {
  margin-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-height));
  min-height: 520px;
  max-height: 700px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

/* Split layout: left 50% text, right 50% image */
.slide-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

.slide-text-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px 60px calc((100vw - 1200px) / 2 + 24px);
  position: relative;
  z-index: 2;
  background: var(--primary-dark);
}

.slide-text-panel .slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.4);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
  letter-spacing: 0.3px;
}

.slide-text-panel h1 {
  font-size: 2.6rem;
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: none;
}

.slide-text-panel .slide-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}

.slide-text-panel .slide-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slide-image-panel {
  position: relative;
  overflow: hidden;
}

.slide-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--primary-dark) 0%, transparent 30%);
}

/* Full-width slide (gradient fallback for slide 3) */
.slide-full {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px calc((100vw - 1200px) / 2 + 24px);
}

.slide-full .slide-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.85) 0%, rgba(37,99,235,0.7) 100%);
}

/* Dot + Arrow controls */
.slider-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.slider-dot.active {
  background: var(--cta-orange);
  width: 28px;
  border-radius: 5px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--cta-orange);
  z-index: 10;
  transition: width 0.1s linear;
  width: 0%;
}

/* ================================================
   PAGE HERO (inner pages)
================================================ */
.page-hero {
  margin-top: var(--nav-height);
  background: linear-gradient(135deg, #1a2a3a 0%, #1E3A5F 50%, var(--primary-blue) 100%);
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================
   CARDS
================================================ */
.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

/* ================================================
   PRODUCT CARD
================================================ */
.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-card .product-img {
  width: 100%;
  height: 220px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .product-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  gap: 8px;
}

.product-card .product-img-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.product-card .product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-card .product-params {
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card .product-params span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card .price-tag {
  display: inline-block;
  background: #e3f2fd;
  color: var(--primary-blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.product-card .product-footer {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

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

/* ================================================
   ADVANTAGE ICONS
================================================ */
.advantage-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.advantage-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item .icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary-blue);
  fill: var(--primary-blue);
}

.advantage-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ================================================
   WHY CHOOSE SPLIT SECTION (Left Image + Right Content)
================================================ */
.why-choose-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.why-choose-image {
  height: 480px;
  overflow: hidden;
  position: relative;
}

.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-choose-image .img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(26,58,92,0.9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.why-choose-content {
  padding: 56px 52px;
}

.why-choose-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dbeafe;
  color: var(--primary-blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.why-choose-content h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.25;
}

.why-choose-content p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.why-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.why-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.why-feature-text h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.why-feature-text p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Stats row in Why Choose */
.why-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--primary-dark);
  border-radius: 0 16px 16px 0;
  overflow: hidden;
}

.why-stat {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.why-stat:last-child { border-right: none; }

.why-stat .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cta-orange);
  display: block;
  margin-bottom: 4px;
}

.why-stat .stat-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ================================================
   COOKIE CONSENT POPUP (GDPR)
================================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--primary-dark);
  padding: 20px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

.cookie-consent.show {
  display: flex;
}

.cookie-consent-text {
  flex: 1;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.cookie-consent-text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-consent-text a:hover { color: #fff; }

.cookie-consent-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--cta-orange);
  color: var(--white);
  border-color: var(--cta-orange);
}

.cookie-btn-accept:hover {
  background: var(--cta-orange-hover);
  border-color: var(--cta-orange-hover);
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ================================================
   SOCIAL ICONS (Footer & About)
================================================ */
.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.social-icon-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-icon-link svg, .social-icon-link img {
  width: 20px;
  height: 20px;
}

.social-wa { background: #25D366; }
.social-wa:hover { background: #1ebe5a; }
.social-wa svg { fill: #fff; }

.social-email { background: var(--primary-blue); }
.social-email:hover { background: var(--primary-blue-hover); }
.social-email svg { fill: none; stroke: #fff; stroke-width: 2; }

.social-youtube { background: #FF0000; }
.social-youtube:hover { background: #cc0000; }

.social-linkedin { background: #0A66C2; }
.social-linkedin:hover { background: #084e96; }

.social-tiktok { background: #000; }
.social-tiktok:hover { background: #222; }

.social-facebook { background: #1877F2; }
.social-facebook:hover { background: #1466cc; }

/* ================================================
   NEWS CARD WITH COVER IMAGE
================================================ */
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e8edf2, #d0dde8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8fa3b3;
  font-size: 0.82rem;
}

.news-card-img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

/* ================================================
   ABOUT SECTION ENHANCEMENT
================================================ */
.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-photo-item {
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
  position: relative;
}

.about-photo-item:first-child {
  grid-row: span 2;
  height: 416px;
}

.about-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-photo-item:hover img {
  transform: scale(1.04);
}

.about-photo-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(26,58,92,0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ================================================
   CATEGORY CARDS WITH IMAGE (No Emoji)
================================================ */
.cat-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

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

.cat-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: var(--light-gray);
}

.cat-card-img-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #e8edf2, #d0dde8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8fa3b3;
  font-size: 0.78rem;
}

.cat-card-img-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.4;
}

.cat-card-body {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.cat-card-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  flex: 1;
}

.cat-card-body .cat-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--primary-blue);
  font-weight: 600;
}

/* ================================================
   CTA SECTION (Orange)
================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
}

/* ================================================
   STATS / DATA CARDS
================================================ */
.stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary-blue);
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* ================================================
   INQUIRY FORM
================================================ */
.inquiry-section {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 60px 24px;
  border-radius: 12px;
}

.inquiry-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--primary-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

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

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1.5px solid #66bb6a;
  border-radius: 8px;
  padding: 16px 20px;
  color: #2e7d32;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

/* ================================================
   FLOATING WHATSAPP
================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: whatsapp-bounce 2s infinite;
}

.whatsapp-float a:hover {
  background: #1ebe5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.whatsapp-float a svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.whatsapp-float .wa-tooltip {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  position: absolute;
  right: 64px;
  bottom: 50%;
  transform: translateY(50%);
}

.whatsapp-float a:hover + .wa-tooltip { opacity: 1; }

@keyframes whatsapp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ================================================
   FOOTER
================================================ */
.footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--primary-blue); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--primary-blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ================================================
   BREADCRUMB
================================================ */
.breadcrumb {
  background: var(--light-gray);
  padding: 12px 0;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb-inner a {
  color: var(--primary-blue);
  transition: color var(--transition);
}

.breadcrumb-inner a:hover { color: var(--primary-blue-hover); }

.breadcrumb-inner .sep { color: #bbb; }

/* ================================================
   TAGS
================================================ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: #e3f2fd;
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: default;
}

.tag:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* ================================================
   TABLES
================================================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-table th {
  background: var(--primary-dark);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  width: 35%;
}

.info-table td {
  padding: 13px 18px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
}

.info-table tr:last-child td { border-bottom: none; }
.info-table tr:nth-child(even) td { background: var(--light-gray); }

/* ================================================
   PROCESS FLOW
================================================ */
.process-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 100px;
  max-width: 140px;
}

.process-step .step-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-blue), #42a5f5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.process-step .step-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.process-step p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.4;
}

.process-arrow {
  color: var(--primary-blue);
  font-size: 1.6rem;
  margin: 0 8px;
  flex-shrink: 0;
  padding-bottom: 24px;
  opacity: 0.5;
}

/* ================================================
   CERT BADGES
================================================ */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 32px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  min-width: 120px;
}

.cert-badge:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.cert-badge .cert-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-blue);
}

.cert-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ================================================
   CATEGORY TABS
================================================ */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 24px;
  border: 2px solid var(--primary-blue);
  border-radius: 25px;
  background: transparent;
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-blue);
  color: var(--white);
}

/* (Old slider styles removed - see split layout above) */

/* ================================================
   GUIDE CARDS (Boat Selection)
================================================ */
.guide-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-top: 3px solid var(--primary-blue);
}

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

.guide-card .guide-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.guide-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.6;
}

.guide-card .recommended {
  font-size: 0.8rem;
  color: var(--primary-blue);
  font-weight: 600;
  background: #e3f2fd;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
}

/* ================================================
   NEWS CARD
================================================ */
.news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.news-card .news-date {
  font-size: 0.82rem;
  color: var(--primary-blue);
  font-weight: 600;
  padding: 16px 20px 0;
}

.news-card .news-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 10px 20px;
  line-height: 1.4;
}

.news-card .news-excerpt {
  font-size: 0.87rem;
  color: var(--text-body);
  padding: 0 20px 16px;
  flex: 1;
  line-height: 1.6;
}

.news-card .news-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
}

/* ================================================
   PRODUCT DETAIL PAGE
================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-gallery .main-img {
  width: 100%;
  height: 360px;
  background: var(--light-gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery .thumb-list {
  display: flex;
  gap: 10px;
}

.product-gallery .thumb {
  width: 80px;
  height: 80px;
  background: var(--light-gray);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.product-gallery .thumb:hover,
.product-gallery .thumb.active {
  border-color: var(--primary-blue);
}

.product-gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================
   MOBILE RESPONSIVE
================================================ */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slide-split { grid-template-columns: 1fr; }
  .slide-image-panel { display: none; }
  .slide-text-panel { padding: 48px 32px; }
  .why-choose-split { grid-template-columns: 1fr; }
  .why-stats-row { grid-template-columns: repeat(2, 1fr); }
  .why-stats-row { border-radius: 0 0 16px 16px; }
  .why-choose-image { height: 280px; }
  .cookie-consent { flex-direction: column; }
  .about-split-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-grid { grid-template-columns: 1fr 1fr; }
  .about-photo-item.about-photo-tall { grid-row: span 1; height: 200px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }

  .section { padding: 56px 0; }

  .section-title { font-size: 1.5rem; }

  .navbar-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #1a1a1a;
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .navbar-nav.open { display: flex; }
  .navbar-nav a { padding: 12px 16px; width: 100%; border-radius: 6px; }

  .navbar-toggle { display: flex; }

  .slider-container { height: auto; min-height: 480px; max-height: none; }
  .slide-split { grid-template-columns: 1fr; }
  .slide-text-panel { padding: 40px 24px; }
  .slide-text-panel h1 { font-size: 1.8rem; }
  .slide-text-panel .slide-subtitle { font-size: 0.95rem; }
  .slide-image-panel { display: none; }
  .slide-full { padding: 40px 24px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5, .grid-6 { grid-template-columns: 1fr 1fr; }

  .why-choose-content { padding: 36px 24px; }
  .why-feature-list { gap: 12px; }

  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .page-hero h1 { font-size: 1.7rem; }

  .process-flow { flex-direction: column; gap: 16px; }
  .process-arrow { transform: rotate(90deg); padding: 0; }

  .slider-arrow { display: none; }

  .cta-section { padding: 56px 20px; }
  .cta-section h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .btn-lg { padding: 13px 28px; font-size: 0.95rem; }

  .product-gallery .thumb-list { flex-wrap: wrap; }

  .why-stats-row { grid-template-columns: repeat(2, 1fr); }
  .why-choose-image { height: 200px; }

  .cookie-consent { padding: 16px; }
  .cookie-consent-btns { flex-direction: column; width: 100%; }
  .cookie-btn { width: 100%; text-align: center; }

  .about-photo-grid { grid-template-columns: 1fr; }
  .about-photo-item:first-child { height: 200px; }
  .about-trust-badges { grid-template-columns: 1fr; }
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ================================================
   UTILITIES
================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.pt-0 { padding-top: 0 !important; }
.bg-white { background: var(--white); }
.bg-gray { background: var(--light-gray); }
.bg-dark { background: var(--primary-dark); }
.hidden { display: none; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-sm { font-size: 0.85rem; }
.divider {
  height: 1px;
  background: var(--border-color);
  margin: 40px 0;
}

/* Image placeholder styles */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8edf2 0%, #d0dde8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8fa3b3;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
}

.img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}
.slide-3 .slide-bg {
  background: linear-gradient(135deg, #1b2838 0%, #2d4a6b 40%, #1565c0 100%);
}

/* ================================================
   SECTION BACKGROUND VARIANTS (Page Rhythm)
================================================ */
.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--light-gray);
}

/* ================================================
   ENHANCED PRODUCT CATEGORY CARD
================================================ */
.product-cat-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1.5px solid var(--border-color);
}

.product-cat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--primary-blue);
}

.product-cat-img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: var(--light-gray);
}

.product-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-cat-card:hover .product-cat-img {
  transform: scale(1.06);
}

.product-cat-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e8edf2, #d0dde8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8fa3b3;
  font-size: 0.78rem;
}

.product-cat-img-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.4;
}

.product-cat-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pcb-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(26,58,92,0.85);
  color: #fff;
  backdrop-filter: blur(4px);
}

.pcb-tag.pcb-gps {
  background: rgba(37,99,235,0.9);
}

.pcb-tag.pcb-sonar {
  background: rgba(249,115,22,0.9);
}

.product-cat-body {
  padding: 18px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat-model {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.product-cat-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.product-cat-body > p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.product-cat-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  flex: 1;
}

.product-cat-specs span {
  font-size: 0.78rem;
  color: var(--text-body);
}

.product-cat-count {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--primary-blue);
  font-weight: 600;
}

/* ================================================
   ABOUT SPLIT LAYOUT
================================================ */
.about-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text-col {}

.about-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.trust-badge-item strong {
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 700;
  display: block;
}

.trust-badge-item span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.about-photo-col {}

.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-photo-item {
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
  position: relative;
}

.about-photo-item.about-photo-tall {
  grid-row: span 2;
  height: 414px;
}

.about-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-photo-item:hover img {
  transform: scale(1.04);
}

.about-photo-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(26,58,92,0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ================================================
   ENHANCED CTA SECTION
================================================ */
.cta-section .cta-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cta-reply-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(249,115,22,0.2);
  border: 1px solid rgba(249,115,22,0.4);
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.btn-whatsapp-strong {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-weight: 700;
}

.btn-whatsapp-strong:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* ================================================
   INQUIRY MODAL POPUP (Phase 3.8)
================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.75);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.25s ease;
}

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

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-box {
  background: var(--white);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: modalSlideUp 0.3s ease;
  position: relative;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  border-radius: 16px 16px 0 0;
  padding: 28px 32px 24px;
  color: var(--white);
  position: relative;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.modal-close:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
  transform: rotate(90deg);
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  padding-right: 40px;
}

.modal-header p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.5;
}

.modal-body {
  padding: 28px 32px;
}

.modal-form-group {
  margin-bottom: 18px;
}

.modal-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.modal-form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}

.modal-form-group label .optional {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.8rem;
  margin-left: 4px;
}

.modal-form-group input,
.modal-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--primary-dark);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.modal-form-group input:focus,
.modal-form-group textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.1);
}

.modal-form-group textarea {
  min-height: 90px;
  resize: vertical;
}

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

.modal-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--cta-orange) 0%, #f97316 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-submit-btn:hover {
  background: linear-gradient(135deg, var(--cta-orange-hover) 0%, #ea580c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

.modal-submit-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.modal-submit-btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.modal-submit-btn.loading .spinner { display: block; }
.modal-submit-btn.loading .btn-text { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-success {
  display: none;
  text-align: center;
  padding: 32px 24px;
}

.modal-success.show { display: block; }

.modal-success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
}

.modal-success h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.modal-success p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-footer-contact {
  border-top: 1px solid var(--border-color);
  padding: 16px 32px 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-footer-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
  transition: color 0.2s;
}

.modal-footer-contact a:hover {
  color: var(--primary-blue);
}

.modal-footer-contact a svg {
  width: 14px;
  height: 14px;
  fill: var(--text-light);
  flex-shrink: 0;
  transition: fill 0.2s;
}

.modal-footer-contact a:hover svg {
  fill: var(--primary-blue);
}

/* Modal form area */
#modalFormArea { transition: opacity 0.2s; }
#modalFormArea.hidden { display: none; }

/* ================================================
   BLOG ARTICLE PAGE ENHANCEMENT (Phase 3.8)
================================================ */
.blog-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-blue);
  display: inline-block;
}

.blog-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 24px 0 10px;
}

.blog-content p {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-content ul, .blog-content ol {
  margin: 0 0 16px 20px;
}

.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }

.blog-content li {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 6px;
}

.blog-content strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.blog-content a {
  color: var(--primary-blue);
  text-decoration: underline;
  text-decoration-color: rgba(37,99,235,0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}

.blog-content a:hover {
  text-decoration-color: var(--primary-blue);
}

.blog-content blockquote {
  border-left: 4px solid var(--primary-blue);
  background: #e3f2fd;
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-body);
}

.blog-content blockquote p {
  margin-bottom: 0;
}

/* Inline article images */
.blog-inline-img {
  width: 100%;
  max-width: 680px;
  margin: 24px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.blog-inline-img img {
  width: 100%;
  display: block;
}

.blog-inline-img .img-caption {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  padding: 8px 12px;
  background: var(--light-gray);
  font-style: italic;
}

/* Blog featured image */
.blog-featured-img {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 36px;
  position: relative;
  background: linear-gradient(135deg, #1a3a5c, #2563EB);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-img .featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  height: 50%;
  border-radius: 0 0 12px 12px;
}

.blog-featured-placeholder {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 36px;
  background: linear-gradient(135deg, #1a3a5c 0%, #2563EB 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.blog-featured-placeholder svg {
  width: 80px;
  height: 60px;
  opacity: 0.4;
  fill: white;
}

.blog-featured-placeholder p {
  color: rgba(255,255,255,0.6);
  font-size: 0.87rem;
  margin: 0;
  text-align: center;
  padding: 0 20px;
}

/* Article CTA box inside blog */
.blog-article-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 36px 0;
  color: var(--white);
  text-align: center;
}

.blog-article-cta h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.blog-article-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-article-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Related posts in blog */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.related-post-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

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

.related-post-card-img {
  height: 140px;
  background: linear-gradient(135deg, #e8edf2, #d0dde8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.related-post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-card-body {
  padding: 14px;
  flex: 1;
}

.related-post-card-body .rpc-date {
  font-size: 0.75rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 6px;
}

.related-post-card-body .rpc-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.4;
  margin: 0;
}

/* Application scenario cards */
.app-scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.app-scenario-card {
  background: var(--white);
  border-radius: 10px;
  padding: 22px;
  border: 1.5px solid var(--border-color);
  transition: all 0.3s;
}

.app-scenario-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.app-scenario-card .asc-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.app-scenario-card .asc-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.app-scenario-card h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.app-scenario-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* ================================================
   FAQ ACCORDION (Enhanced)
================================================ */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 16px 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  transition: background 0.2s;
}

.faq-item h3::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open h3::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  padding: 0 20px 16px;
  margin: 0;
  display: none;
}

.faq-item.open p {
  display: block;
}

/* ================================================
   PRODUCT CARD CTA FIX
================================================ */
.product-card .product-cta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

.product-card .product-cta .btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 0.82rem;
  text-align: center;
  justify-content: center;
}

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

/* ================================================
   FAQ PAGE CARD STYLES
================================================ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  flex: 1;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-blue);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-open .faq-icon {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: #f8f9fa;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-card:has(.faq-open) .faq-answer {
  max-height: 500px;
}
