/* ============================================
   广东星华晨韵 - 智能家居门户
   Design System: Minimalist · Modern · Tech
   ============================================ */

:root {
  /* Colors */
  --color-primary: #0F2A43;
  --color-primary-dark: #08192B;
  --color-accent: #10B981;
  --color-accent-dark: #059669;
  --color-accent-light: #D1FAE5;
  --color-blue: #3B82F6;
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F8FAFC;
  --color-bg-muted: #F1F5F9;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", Menlo, Consolas, monospace;

  /* Spacing (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 42, 67, 0.04), 0 1px 3px rgba(15, 42, 67, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 42, 67, 0.06), 0 2px 4px -2px rgba(15, 42, 67, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 42, 67, 0.08), 0 4px 6px -4px rgba(15, 42, 67, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 42, 67, 0.1), 0 8px 10px -6px rgba(15, 42, 67, 0.05);

  /* Layout */
  --container: 1200px;
  --nav-height: 72px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: var(--space-9) 0;
}

.section-sm {
  padding: var(--space-8) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 620px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: 10px 16px;
}

.btn-ghost:hover {
  color: var(--color-accent);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all var(--dur) var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-blue));
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: var(--color-bg-muted);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.nav-toggle:hover {
  background: var(--color-bg-muted);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
}

.mobile-menu a:hover {
  background: var(--color-bg-muted);
  color: var(--color-accent);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F2A43 0%, #1a3a5c 50%, #0F2A43 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mix-blend-mode: overlay;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 30%,
    rgba(16, 185, 129, 0.15) 0%,
    transparent 50%
  );
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: var(--space-5);
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--color-accent), #6EE7B7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-7);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* Floating cards in hero */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  display: none;
}

@media (min-width: 1100px) {
  .hero-visual {
    display: block;
  }
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #fff;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.hero-card-1 {
  top: 10%;
  right: 10%;
  width: 220px;
  animation-delay: 0s;
}

.hero-card-2 {
  bottom: 15%;
  left: 0;
  width: 200px;
  animation-delay: 1.5s;
}

.hero-card-3 {
  top: 45%;
  right: 0;
  width: 180px;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 20px;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ============================================
   Partners / Trust bar
   ============================================ */
.trust-bar {
  padding: var(--space-6) 0;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border-light);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.trust-label {
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 500;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  opacity: 0.6;
}

.trust-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ============================================
   Features
   ============================================ */
.features {
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.feature-card {
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: var(--space-5);
  transition: transform var(--dur) var(--ease);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.feature-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   Products
   ============================================ */
.products {
  background: var(--color-bg-soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.product-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

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

/* Gradient-based product visuals (no external image) */
.product-visual {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform var(--dur-slow) var(--ease);
}

.product-card:hover .product-visual {
  transform: scale(1.05);
}

.product-visual-icon {
  font-size: 72px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
  z-index: 1;
}

.product-visual-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  z-index: 1;
}

/* Gradient presets */
.grad-emerald { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }
.grad-blue    { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); }
.grad-navy    { background: linear-gradient(135deg, #0F2A43 0%, #1e3a5f 100%); }
.grad-amber   { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.grad-purple  { background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%); }
.grad-rose    { background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%); }
.grad-teal    { background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%); }
.grad-sky     { background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%); }

/* Decorative grid overlay */
.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}

.product-body {
  padding: var(--space-5);
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.product-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.product-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--dur-fast) var(--ease);
}

.product-card:hover .product-link {
  gap: 8px;
}

/* ============================================
   About / Showcase
   ============================================ */
.about {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-8);
}

.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-grad {
  background: linear-gradient(135deg, #0F2A43 0%, #1e3a5f 60%, #10B981 140%);
}

.about-visual-grad::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-visual-icon {
  font-size: 96px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25));
}

.about-badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.about-badge-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.about-badge-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.about-content p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.about-list {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.about-list-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.about-list-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  display: grid;
  place-items: center;
  font-size: 14px;
  margin-top: 2px;
}

.about-list-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.about-list-text p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ============================================
   Stats band
   ============================================ */
.stats-band {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-num .unit {
  font-size: 0.5em;
  color: var(--color-accent);
  margin-left: 4px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-3);
}

/* ============================================
   CTA section
   ============================================ */
.cta {
  background: var(--color-bg-soft);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a5c 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-9) var(--space-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
}

.cta-box::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-7);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-8) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: all var(--dur-fast) var(--ease);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.footer-social:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   Page Header (inner pages)
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-8));
  padding-bottom: var(--space-8);
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-5);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* ============================================
   Product detail cards (products page)
   ============================================ */
.product-filter {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}

.filter-btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--dur-fast) var(--ease);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

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

/* ============================================
   Timeline (about page)
   ============================================ */
.timeline {
  position: relative;
  margin-top: var(--space-8);
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-7);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-light);
}

.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.timeline-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   Values / team
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.value-card {
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--dur) var(--ease);
}

.value-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), #E0F2FE);
  display: grid;
  place-items: center;
  font-size: 30px;
  margin: 0 auto var(--space-4);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.value-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.contact-info {
  display: grid;
  gap: var(--space-5);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.contact-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.contact-form {
  padding: var(--space-7);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) var(--ease);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-bg);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

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

/* Map placeholder */
.map-placeholder {
  margin-top: var(--space-8);
  height: 320px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: var(--color-text-light);
  font-size: 15px;
  border: 1px dashed var(--color-border);
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.map-pin {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.map-pin-icon {
  font-size: 36px;
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

/* ============================================
   Animations on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --space-9: 72px;
    --space-8: 48px;
  }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    gap: var(--space-6);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-box {
    padding: var(--space-7) var(--space-5);
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: var(--space-5);
    padding-top: var(--space-6);
  }

  .trust-logos {
    gap: var(--space-5);
  }
}
