@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7; /* Signature Apple light gray */
  --bg-tertiary: #e8e8ed;
  --bg-dark: #0A0D14; /* Deep Slate for dark CTA sections and footers */
  --bg-dark-card: #151a26;
  
  --text-primary: #1d1d1f; /* Apple Charcoal */
  --text-secondary: #86868b; /* Medium Gray */
  --text-light: #f5f5f7;
  --text-muted: #a1a1a6;
  
  --green-primary: #e72513; /* Gongly Brand Red */
  --green-hover: #c41e0f;
  --green-light: #fff0ef; /* Light brand red tint */
  --green-glow: rgba(231, 37, 19, 0.15);
  
  --border-color: #e2e8f0;
  --border-dark: #232d3f;
  
  /* Typography */
  --font-headers: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(231, 37, 19, 0.2);
  
  /* Transitions */
  --transition-fast: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  --container-width: 1280px;
}

/* --- Base & Resets --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 600;
  line-height: 1.2;
}

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

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

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

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: #c1c1c7;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

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

/* --- Badges & Tags --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--green-light);
  color: var(--green-primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-headers);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(231, 37, 19, 0.15);
}

.badge.dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.15);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-green {
  background-color: var(--green-primary);
  color: var(--bg-primary);
}
.btn-green:hover {
  background-color: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-link {
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-link:hover {
  color: var(--green-hover);
}
.btn-link:hover span {
  transform: translateX(4px);
}
.btn-link span {
  transition: var(--transition-fast);
}

/* --- Announcement Bar --- */
.announcement-bar {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 12px;
  font-weight: 400;
  border-bottom: 1px solid var(--border-dark);
}
.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.announcement-text {
  display: flex;
  align-items: center;
  gap: 20px;
}
.announcement-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.announcement-item svg {
  color: var(--green-primary);
}
.announcement-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-muted);
}
.announcement-lang:hover {
  color: var(--text-light);
}

/* --- Header / Navigation --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}
header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.9);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.logo-icon {
  width: 114px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0.8;
  position: relative;
  padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
  opacity: 1;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  border-radius: 2px;
  background-color: var(--green-primary);
  transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 20px;
}

/* Dropdown Menu styling */
.nav-item {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 12px;
  min-width: 220px;
  display: none;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 101;
}
.nav-item:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}
.dropdown-link:hover {
  background-color: var(--bg-secondary);
  color: var(--green-primary);
}

/* --- Mega Dropdown Menu --- */
.dropdown-menu.mega-menu {
  width: 780px;
  left: 50%;
  transform: translateX(-40%) translateY(10px);
  padding: 24px;
}

.nav-item:hover .dropdown-menu.mega-menu {
  display: block;
  opacity: 1;
  transform: translateX(-40%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-title {
  font-family: var(--font-headers);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-link-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mega-link-item:hover {
  background-color: var(--bg-secondary);
}

.mega-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
}
.mega-icon svg {
  display: block;
}

.mega-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-link-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.mega-link-item:hover .mega-link-title {
  color: var(--green-primary);
}

.mega-link-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.all-products-link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-primary);
  transition: var(--transition-fast);
}
.all-products-link:hover {
  color: var(--green-hover);
  text-decoration: underline;
}

/* Featured Column */
.featured-col {
  background-color: var(--bg-secondary);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.mega-featured-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}

.mega-featured-img-wrapper {
  width: 100%;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.mega-featured-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.mega-featured-card:hover .mega-featured-img-wrapper img {
  transform: scale(1.05);
}

.mega-featured-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--green-primary);
  color: white;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.mega-featured-card h5 {
  font-family: var(--font-headers);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.mega-featured-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.mega-card-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--green-primary);
  margin-top: 4px;
}
.mega-featured-card:hover .mega-card-link {
  color: var(--green-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-icon-btn {
  color: var(--text-primary);
  opacity: 0.8;
  transition: var(--transition-fast);
  position: relative;
}
.nav-icon-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--green-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-btn[aria-label="Cart"] {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  cursor: pointer;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* --- Mobile Menu --- */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background-color: var(--bg-primary);
  padding: 40px 24px;
  display: none;
  flex-direction: column;
  gap: 32px;
  z-index: 99;
  border-top: 1px solid var(--border-color);
  overflow-y: auto;
}
.mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-link {
  font-size: 20px;
  font-weight: 600;
  font-family: var(--font-headers);
}

/* --- Common Hero Styles --- */
.page-hero {
  background-color: var(--bg-secondary);
  padding: 100px 0 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero-content {
  max-width: 650px;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.page-hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* --- Product Cards --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.grid-4-cols {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .grid-4-cols {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  transition: var(--transition-spring);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 176, 107, 0.2);
}
.product-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--text-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  z-index: 2;
}
.product-tag.bestseller {
  background-color: #f59e0b; /* Amber */
}
.product-tag.new {
  background-color: var(--green-primary);
}
.product-tag.popular {
  background-color: #6366f1; /* Indigo */
}

.product-fav-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  z-index: 2;
}
.product-fav-btn:hover {
  color: #ef4444;
  transform: scale(1.1);
  background-color: #ffffff;
}
.product-fav-btn.active {
  color: #ef4444;
}

.product-img-wrapper {
  aspect-ratio: 1;
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-sm);
  position: relative;
}
.product-img-wrapper img {
  max-height: 85%;
  object-fit: contain;
  transition: var(--transition-smooth);
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.product-title {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.product-rating {
  display: none !important;
}
.product-stars {
  color: #f59e0b;
}

.product-price-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bg-secondary);
}
.product-price {
  font-family: var(--font-headers);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
}

/* --- Bento Grid Layout --- */
.product-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-auto-flow: row dense;
}

.bento-card {
  position: relative;
  background-color: var(--bg-secondary); /* Unified Apple light gray */
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 280px;
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(231, 37, 19, 0.1);
  background-color: #ffffff; /* Turns white on hover, very premium! */
}

/* Bento Hero Card: Spans 2 cols, 2 rows */
.bento-card.bento-hero {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 580px;
}

/* Bento Wide Card: Spans 2 cols, 1 row */
.bento-card.bento-wide {
  grid-column: span 2;
  grid-row: span 1;
  min-height: 280px;
}

/* Bento Standard Card: Spans 1 col, 1 row */
.bento-card.bento-standard {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 280px;
}
.bento-card.bento-standard .bento-content {
  width: 46%;
}
.bento-card.bento-standard .bento-img-wrapper {
  width: 50%;
  height: 230px;
}
.bento-card.bento-standard .bento-img-wrapper img {
  transform: scale(1.15);
}
.bento-card.bento-standard:hover .bento-img-wrapper img {
  transform: scale(1.22);
}

/* Content Area */
.bento-card .bento-content {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.bento-card.bento-hero .bento-content {
  width: 50%;
  padding-right: 20px;
}

/* Image Wrapper (Flex item on the right) */
.bento-card .bento-img-wrapper {
  width: 40%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.bento-card.bento-hero .bento-img-wrapper {
  width: 45%;
  height: 440px;
}

.bento-card.bento-wide .bento-img-wrapper {
  width: 40%;
  height: 220px;
}

.bento-card .bento-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-img-wrapper img {
  transform: scale(1.05);
}

/* Typography & Info */
.bento-meta {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.bento-title {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.bento-card.bento-hero .bento-title {
  font-size: 28px;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.bento-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.bento-bullets li {
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-bullets li::before {
  content: "•";
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1;
}

.bento-action {
  margin-top: auto;
}

.bento-btn.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background-color: transparent;
  transition: var(--transition-fast);
}

.bento-btn.btn-outline:hover {
  background-color: var(--text-primary);
  color: #ffffff;
}

/* Favorite Heart Button placement */
.bento-fav-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .product-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card.bento-hero,
  .bento-card.bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .bento-card {
    flex-direction: column;
    min-height: auto;
    padding: 24px;
  }
  
  .bento-card .bento-content {
    width: 100%;
    margin-bottom: 120px; /* Leave space for pedestal and image at the bottom */
  }
  
  .bento-card.bento-hero .bento-content {
    width: 100%;
  }
  
  .bento-card .bento-pedestal {
    width: 180px;
    height: 90px;
  }
  
  .bento-card .bento-img-wrapper {
    width: 140px;
    height: 140px;
    bottom: 35px;
  }
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-glow);
}
.blog-img-box {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--bg-secondary);
}
.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: var(--transition-smooth);
}
.blog-card:hover .blog-img-box img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.blog-tag {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.blog-card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .btn-link {
  margin-top: auto;
  align-self: flex-start;
}

/* --- Common CTA Banner --- */
.cta-banner {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.cta-banner-text {
  max-width: 600px;
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.cta-banner p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 32px;
}
.cta-banner-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-banner-img {
  max-width: 480px;
  position: relative;
  z-index: 1;
}
.cta-banner-img img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  max-height: 380px;
  object-fit: contain;
}

/* --- Bottom CTA Form Card --- */
.cta-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.cta-form-card h3 {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-light);
}
.cta-form-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.4;
}
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-form-group {
  width: 100%;
}
.cta-form-group input,
.cta-form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 14px;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}
.cta-form-group select option {
  background-color: var(--bg-dark-card);
  color: var(--text-light);
}
.cta-form-group input:focus,
.cta-form-group select:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--green-primary);
  box-shadow: 0 0 10px rgba(231, 37, 19, 0.2);
}
.cta-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.cta-form button[type="submit"] {
  width: 100%;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-weight: 600;
}

/* --- Factory & Quality Excellence Section --- */
.factory-excellence-section {
  background-image: linear-gradient(rgba(245, 245, 247, 0.94), rgba(245, 245, 247, 0.94)), url('../images/factory_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.factory-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.factory-svg-wrapper {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.factory-svg-wrapper img {
  width: 100%;
  height: auto;
  max-height: 320px;
}
.factory-certifications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}
.cert-badge {
  font-family: var(--font-headers);
  font-size: 11px;
  font-weight: 800;
  background-color: var(--green-light);
  color: var(--green-primary);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(231, 37, 19, 0.15);
  letter-spacing: 0.5px;
}
.cert-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.factory-content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 12px 0 20px 0;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.factory-lead {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}
.strength-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.strength-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.strength-icon {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.strength-item:hover .strength-icon {
  transform: scale(1.1);
  border-color: var(--green-primary);
  background-color: var(--green-light);
}
.strength-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.strength-info h4 {
  font-family: var(--font-headers);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.strength-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .factory-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Global Footer --- */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 24px 0;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand .logo {
  color: var(--text-light);
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer-social-btn:hover {
  background-color: var(--green-primary);
  border-color: var(--green-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 24px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--green-primary);
  padding-left: 4px;
}

.footer-newsletter h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 12px;
}
.footer-newsletter p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-form-group {
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 4px;
  width: 100%;
}
.footer-form-group input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
  padding: 10px 18px;
  width: 100%;
}
.footer-form-group input::placeholder {
  color: var(--text-muted);
}
.footer-submit-btn {
  background-color: var(--green-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.footer-submit-btn:hover {
  background-color: var(--green-hover);
  transform: scale(1.05);
}

.footer-payments {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.footer-payments svg, .footer-payments img {
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-legal-links a {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal-links a:hover {
  color: var(--green-primary);
}

/* --- Features Bar --- */
.features-bar {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}
.features-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature-icon-box {
  width: 48px;
  height: 48px;
  background-color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.feature-text h5 {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* --- Modal Overlay / Success Notification --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 13, 20, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.success-modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition-spring);
}
.modal-overlay.active .success-modal {
  transform: translateY(0);
}
.success-icon-box {
  width: 64px;
  height: 64px;
  background-color: var(--green-light);
  color: var(--green-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 28px;
}
.success-modal h3 {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.success-modal p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
  .footer-newsletter {
    grid-column: 1 / -1;
    max-width: 480px;
  }
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .cta-banner-btns {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .announcement-bar { display: none; }
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav.active { display: flex; }
  .features-bar-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 24px 12px 24px;
    margin: 0 -24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .features-bar-grid::-webkit-scrollbar {
    display: none;
  }
  .features-bar-grid .feature-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: white;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .section-padding {
    padding: 60px 0;
  }
}
