/* =============================================
   前台样式 - 企业官网
   SaaS风格蓝白现代设计
   ============================================= */

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

:root {
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* =============================================
   Header
   ============================================= */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

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

.main-nav a {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text-gray);
  transition: all 0.2s;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--primary);
  background: rgba(26, 86, 219, 0.06);
}

.main-nav a.active {
  color: var(--primary);
  background: rgba(26, 86, 219, 0.1);
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.2s;
}

/* =============================================
   Banner
   ============================================= */
.banner-section {
  position: relative;
  overflow: hidden;
  background: #000;
}
.banner-slider {
  position: relative;
  height: 460px;
}
.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.banner-slide.active {
  opacity: 1;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.2);
}

.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.2s;
}

.banner-prev:hover,
.banner-next:hover {
  background: #fff;
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Default Hero (when no banners) */
.hero-default {
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 50%, var(--hero-end) 100%);
  position: relative;
  overflow: hidden;
}
.hero-default::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.hero-default::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
  text-align: center;
  color: #fff;
}
.hero-overlay h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.hero-overlay p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* =============================================
   Sections
   ============================================= */
.section {
  padding: 60px 0;
}

.bg-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* =============================================
   Page Banner
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-banner p {
  font-size: 14px;
  opacity: 0.8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =============================================
   Intro Section
   ============================================= */
.intro-content {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
}

.intro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.feature-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--primary);
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-item p {
  font-size: 14px;
  color: var(--text-gray);
}

/* =============================================
   Product Grid
   ============================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
  border-color: var(--primary-light);
}

.product-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--bg-light);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-info {
  padding: 16px;
}

.product-category {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-card-info h3 {
  font-size: 16px;
  margin: 6px 0;
  color: var(--text-dark);
}

.product-card-info p {
  font-size: 13px;
  color: var(--text-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.cta-section p {
  margin-bottom: 24px;
  opacity: 0.9;
  font-size: 16px;
}

/* =============================================
   Product Detail
   ============================================= */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-gallery {
  position: sticky;
  top: 84px;
}

.product-main-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 12px;
}

.product-main-img img {
  width: 100%;
  height: auto;
  display: block;
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

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

.product-detail-info h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.product-category-badge {
  display: inline-block;
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.product-summary {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-actions {
  margin-bottom: 20px;
}

.product-description {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.product-description h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.rich-content {
  line-height: 1.8;
  color: var(--text-gray);
}

.rich-content p {
  margin-bottom: 12px;
}

.rich-content img {
  max-width: 100%;
  border-radius: var(--radius);
}

/* =============================================
   Category Filter
   ============================================= */
.category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  color: var(--text-gray);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: #fff;
  font-weight: 500;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px var(--btn-shadow);
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 12px var(--btn-shadow);
}

/* =============================================
   Contact
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 24px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-light);
  transition: all 0.2s;
}

.info-item:hover {
  background: rgba(26, 86, 219, 0.05);
}

.info-icon {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.info-item h4 {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 15px;
  color: var(--text-dark);
}

/* =============================================
   Forms
   ============================================= */
.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.contact-form .required {
  color: #ef4444;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

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

/* =============================================
   About Content
   ============================================= */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-gray);
  font-size: 16px;
}

.about-content h3 {
  color: var(--text-dark);
  font-size: 22px;
  margin: 24px 0 12px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-culture h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: 0 2px 8px var(--btn-shadow);
}

.btn-primary:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--btn-shadow);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}

/* =============================================
   Alerts
   ============================================= */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =============================================
   Pagination
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-gray);
  transition: all 0.2s;
  background: #fff;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =============================================
   Empty State
   ============================================= */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 16px;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: linear-gradient(180deg, var(--footer-start) 0%, var(--footer-end) 100%);
  color: #cbd5e1;
  padding-top: 56px;
}

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

.footer-col h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.8;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #cbd5e1;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.footer-links {
  border-top: 1px solid #334155;
  padding: 16px 0;
}
.footer-links-label {
  font-size: 13px;
  color: #64748b;
  margin-right: 8px;
}
.footer-links a {
  font-size: 13px;
  color: #94a3b8;
  padding: 4px 8px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

/* =============================================
   About Page
   ============================================= */

/* Hero */
.about-hero {
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 50%, var(--hero-end) 100%);
  position: relative;
  overflow: hidden;
  padding: 70px 0 60px;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.about-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 5%;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--stat-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}
.about-hero-text h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.about-hero-text p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.8;
}
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.hero-stat:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-2px);
}
.hero-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--stat-color);
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* Company Story */
.about-story {
  padding: 80px 0;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.about-story-visual {
  text-align: center;
  padding-top: 20px;
}
.story-icon-box {
  width: 100px; height: 100px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-icon {
  font-size: 36px;
  color: var(--primary);
}
.story-year {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.story-label {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}
.about-story-text .section-header-left {
  margin-bottom: 28px;
}
.about-story-text .section-header-left h2 {
  font-size: 32px;
}

.section-header-left {
  text-align: left;
}
.section-header-left .section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Stats Row */
.about-stats-section {
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  padding: 60px 0;
}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.about-stat-item {
  padding: 28px 16px;
}
.about-stat-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}
.about-stat-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.about-stat-desc {
  font-size: 14px;
  color: var(--text-gray);
}

/* Culture Section */
.about-culture-section {
  padding: 80px 0;
  background: #fff;
}
.about-culture-rich {
  max-width: 800px;
  margin: 0 auto;
}

/* Rich content for about */
.about-rich {
  line-height: 1.9;
  color: var(--text-gray);
  font-size: 15px;
}
.about-rich h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin: 20px 0 10px;
}
.about-rich p {
  margin-bottom: 14px;
}
.about-rich ul, .about-rich ol {
  margin: 12px 0;
  padding-left: 20px;
}
.about-rich li {
  margin-bottom: 6px;
}

/* Culture rich content styling */
.about-culture-rich h4 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-100);
  display: inline-block;
}
.about-culture-rich p {
  margin-bottom: 14px;
  line-height: 1.9;
  color: var(--text-gray);
}
.about-culture-rich strong {
  color: var(--primary);
  font-weight: 600;
}

/* About CTA */
.about-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--hero-start), var(--hero-mid));
}
.about-cta-inner {
  text-align: center;
  color: #fff;
}
.about-cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.about-cta-inner p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 28px;
}

/* =============================================
   Products Page
   ============================================= */
.products-hero {
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 50%, var(--hero-end) 100%);
  position: relative;
  overflow: hidden;
  padding: 70px 0 60px;
}
.products-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.products-hero-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.products-hero-text h1 { color: #fff; font-size: 44px; font-weight: 800; margin-bottom: 12px; }
.products-hero-text p { color: rgba(255,255,255,0.75); font-size: 16px; }
.products-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Filter buttons enhancement */
.filter-icon { font-size: 16px; }
.filter-count {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary);
  border-radius: 10px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}
.filter-btn.active .filter-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Empty state */
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 4px; }

/* Product card arrow */
.product-card-arrow {
  display: inline-block;
  margin-top: 8px;
  font-size: 18px;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   Contact Page
   ============================================= */
.contact-hero {
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 50%, var(--hero-end) 100%);
  position: relative;
  overflow: hidden;
  padding: 70px 0 60px;
  text-align: center;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.contact-hero-inner { position: relative; z-index: 1; }
.contact-hero-text h1 { color: #fff; font-size: 44px; font-weight: 800; margin-bottom: 12px; }
.contact-hero-text p { color: rgba(255,255,255,0.7); font-size: 17px; }

.contact-main { padding: 80px 0; }
.contact-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Contact info cards */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateX(4px);
}
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--primary-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-card-body h4 { font-size: 14px; color: var(--text-gray); margin-bottom: 4px; }
.contact-card-body p { font-size: 15px; color: var(--text-dark); font-weight: 500; }

/* Modern contact form */
.contact-form-modern .form-group { margin-bottom: 18px; }
.contact-form-modern label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.contact-form-modern .required { color: #ef4444; }
.contact-form-modern input,
.contact-form-modern textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
  background: #fff;
  outline: none;
}
.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-100);
}
.contact-form-modern textarea { resize: vertical; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

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

  .mobile-menu-btn {
    display: flex;
  }

  .banner-slider {
    height: 250px;
  }

  .intro-features {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .page-banner {
    padding: 40px 0;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  /* About responsive */
  .about-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-hero-text h1 { font-size: 32px; }
  .about-hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 16px 12px; }
  .hero-stat-number { font-size: 28px; }
  .about-story-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-story-visual { display: none; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .about-cta-inner h2 { font-size: 24px; }

  /* Products responsive */
  .products-hero-text h1 { font-size: 32px; }
  .products-hero { padding: 50px 0 30px; }
  .products-hero { padding: 50px 0 30px; }

  /* Contact responsive */
  .contact-grid-new { grid-template-columns: 1fr; gap: 40px; }
  .contact-hero-text h1 { font-size: 32px; }
  .contact-main { padding: 50px 0; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-hero-stats { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: 1fr; }
  .about-hero { padding: 50px 0 30px; }
  .products-hero { padding: 50px 0 30px; }
  .contact-hero { padding: 50px 0 30px; }
  .contact-card:hover { transform: none; }
}

/* =============================================
   Admin Toggle Switch
   ============================================= */
.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}
.toggle-track {
  width: 40px; height: 22px;
  background: #d1d5db;
  border-radius: 11px;
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}
.toggle-btn.on .toggle-track { background: var(--primary); }
.toggle-thumb {
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: transform 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-btn.on .toggle-thumb { transform: translateX(18px); }
.toggle-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}
