
/* =============================================
   PPK Packaging — Website Redesign Styles
   Color System: Deep Obsidian #0f0f1b | Iris #5e5ce6 | Cool Lavender #f9f8fc
   Typography: Cormorant Garamond + Outfit
   ============================================= */

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

:root {
  --primary: #0f0f1b; /* Deep Obsidian Purple-Black */
  --primary-light: #1c1c30;
  --secondary: #4e4f75;
  --accent: #5e5ce6; /* Premium Iris Purple-Blue matching the logo */
  --accent-light: #bf5af2; /* Radiant Orchid / Violet matching the logo */
  --accent-rgb: 94,92,230;
  --cream: #f9f8fc; /* High-end cool lavender-cream instead of warm beige-cream */
  --cream-dark: #eeeaf7;
  --white: #ffffff;
  --text: #2c2c3e; /* Soft slate/obsidian grey */
  --text-light: #6b6b8b;
  --text-muted: #9fa0c3;
  --border: rgba(94,92,230,0.08); /* Border with subtle purple-blue tint */
  --shadow: 0 10px 30px rgba(94,92,230,0.04);
  --shadow-lg: 0 20px 50px rgba(15,15,27,0.06);
  --radius: 4px; /* Shorter radii for precise industrial design feel */
  --radius-lg: 8px;
  --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Luxury damping transition */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.accent { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo { display: inline-flex; align-items: center; }
.logo-img {
  display: block;
  width: 120px;
  height: auto;
  transition: width var(--transition), filter var(--transition), opacity var(--transition);
}
.header.scrolled .logo-img {
  width: 100px;
}
.header:not(.scrolled) .logo-img {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}
.nav { display: flex; gap: 32px; }
.nav-link {
  font-size: 13px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  position: relative; padding: 4px 0;
  transition: color var(--transition);
}
.header.scrolled .nav-link { color: var(--text-light); }
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
  width: 24px; height: 2px; background: var(--white);
  transition: all var(--transition);
}
.header.scrolled .nav-toggle span { background: var(--primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: 65% center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  animation: kenBurns 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes kenBurns {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}
.hero-bg-maya {
  background-image: url('assets/hero/hero-maya-series.webp');
}
.hero-bg-ppk {
  background-image: url('assets/hero/hero-ppk-series.webp');
}
.hero-bg-jojo {
  background-image: url('assets/hero/hero-jojo-series.webp');
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.6) 50%, rgba(26,26,46,0.25) 100%);
}
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-content {
  position: relative; z-index: 2; text-align: left;
  max-width: 680px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300; line-height: 1.12;
  color: var(--white); margin-bottom: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero-title-line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.3s; }
.hero-title-line:nth-child(3) { animation-delay: 0.5s; }

.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255,255,255,0.75); max-width: 500px;
  margin: 0 0 40px 0; line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}
.hero-response-note {
  margin: 18px 0 0 0;
  max-width: 500px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

@keyframes heroTextFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px; font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  border-radius: var(--radius); transition: all var(--transition);
}
.btn-primary {
  background: var(--accent); color: var(--white);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), 0.2);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}
.btn-full { width: 100%; }
.btn-sm { padding: 10px 24px; font-size: 12px; }

/* ---------- Section Common ---------- */
.section-header {
  text-align: center; margin-bottom: 64px; padding-top: 120px;
}
.section-header.light .section-tag { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); }
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-desc { color: rgba(255,255,255,0.6); }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300; line-height: 1.25;
  color: var(--primary); margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-desc {
  font-size: 18px; color: var(--text-light);
  max-width: 640px; margin: 0 auto; line-height: 1.8;
}

/* ---------- Sustainability Pillars ---------- */
.quick-nav { padding: 92px 0 88px; background: var(--cream); position: relative; z-index: 10; }
.sustainability-intro {
  text-align: center;
  margin-bottom: 48px;
}
.quick-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.quick-card {
  background: var(--white); padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 26, 46, 0.05);
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.03);
  text-align: center; transition: all var(--transition);
}
.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(45, 168, 220, 0.08);
  border-color: rgba(45, 168, 220, 0.25);
}
.quick-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  color: var(--accent);
}
.quick-icon svg { width: 100%; height: 100%; }
.quick-card h3 {
  font-size: 16px; font-weight: 600; margin-bottom: 8px;
  color: var(--primary);
}
.quick-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ---------- About ---------- */
.about { padding-bottom: 100px; background: var(--white); }

.about-info {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.about-lead {
  font-size: 16.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 20px;
}
.manifesto-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.manifesto-text p:last-child {
  margin-bottom: 0;
}

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 80px; padding: 48px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; color: var(--primary);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600; color: var(--accent);
}
.stat-label {
  display: block; font-size: 13px; color: var(--text-muted);
  margin-top: 8px; letter-spacing: 0.5px;
}

.business-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-bottom: 100px;
}
.business-card {
  background: var(--white);
  padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 26, 46, 0.05); transition: all var(--transition);
}
.business-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.business-num {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 700;
  color: var(--accent); opacity: 0.3; line-height: 1;
  margin-bottom: 16px;
}
.business-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--primary); }
.business-card p { font-size: 16px; color: var(--text-light); line-height: 1.8; }


/* Proof Strip (replaces milestone cards and old timeline) */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin: 48px 0 0;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 16px;
  border-right: none;
  text-decoration: none;
  position: relative;
  background: transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background var(--transition);
}
.proof-item:hover {
  transform: translateY(-2px);
}
.proof-item:hover .proof-tag {
  color: var(--primary);
}

/* Interactive items (links) */
a.proof-item {
  cursor: pointer;
}
a.proof-item:hover {
  background: rgba(94, 92, 230, 0.025);
  border-radius: var(--radius-md);
}
a.proof-item:hover .proof-arrow {
  transform: translateX(4px);
  stroke: var(--accent);
}

/* Static items (divs) */
div.proof-item {
  cursor: default;
}

.proof-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 2px;
  transition: color 0.3s ease;
}
.proof-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  font-family: var(--font-display);
}
.proof-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 2px;
  flex: 1;
}
.proof-arrow {
  width: 16px;
  height: 16px;
  stroke: var(--text-light);
  margin-top: 10px;
  transition: transform var(--transition), stroke var(--transition);
  flex-shrink: 0;
  align-self: flex-start;
}

/* Partners */
.partners-section { text-align: center; }
.partners-heading {
  font-family: var(--font-display); font-size: 24px;
  margin-bottom: 36px; color: var(--primary);
}
.partners-grid-custom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.partner-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.partner-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(26, 26, 46, 0.04);
  text-align: left;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.partner-card-link:hover .partner-card {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(94, 92, 230, 0.06);
  border-color: rgba(94, 92, 230, 0.1);
}
.partner-logo-svg {
  height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}
.partner-logo-svg svg,
.partner-logo-svg img {
  height: 100%;
  width: auto;
}
.partner-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.partner-desc strong {
  color: var(--primary);
  font-weight: 600;
}
.partner-link-action {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--transition);
}
.partner-link-arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.partner-card-link:hover .partner-link-arrow {
  transform: translateX(4px);
}
.partner-card-link:hover .partner-link-action {
  color: var(--accent-light);
}

.additional-partners-section {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(26, 26, 46, 0.05);
  text-align: center;
}
.partners-subheading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 40px;
}
.additional-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.additional-partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 26, 46, 0.04);
  text-decoration: none;
  transition: all var(--transition);
  padding: 12px 10px;
}
.additional-partner-item:hover {
  border-color: rgba(94, 92, 230, 0.15);
  box-shadow: 0 8px 24px rgba(94, 92, 230, 0.03);
  transform: translateY(-2px);
}
.partner-logo-wrapper {
  height: 38px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-img {
  max-height: 100%;
  max-width: 85%;
  object-fit: contain;
  filter: none opacity(0.95);
  transition: all var(--transition);
}
.additional-partner-item:hover .partner-logo-img {
  filter: none opacity(1);
}
.partner-name-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0.65;
  margin-top: 10px;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
}
.additional-partner-item:hover .partner-name-label {
  opacity: 0.95;
  color: var(--accent);
}

/* ---------- Products ---------- */
.products { padding-bottom: 100px; background: var(--cream); }
.products .section-header { padding-top: 100px; }

.product-filter {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 48px;
}
.filter-btn {
  display: inline-block; text-decoration: none;
  padding: 10px 24px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.5px; border-radius: 24px;
  border: 1.5px solid var(--accent); color: var(--accent);
  background: var(--white); transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}

.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
  opacity: 1; transform: scale(1);
  border: 1px solid rgba(26, 26, 46, 0.05);
}
.product-card.hidden { display: none; }
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(45, 168, 220, 0.08), 0 1px 3px rgba(45, 168, 220, 0.05);
  border-color: rgba(45, 168, 220, 0.25);
}

.product-image {
  height: 220px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-image-photo {
  background: #fff;
}
.product-image-empty {
  background: #fff;
}
.product-image-photo img {
  width: calc(100% - 56px); height: calc(100% - 32px); object-fit: contain;
  padding: 0;
  background: #fff;
  transition: transform var(--transition);
}
.product-image-photo .product-img {
  position: absolute;
  inset: 16px 28px;
  width: calc(100% - 56px);
  height: calc(100% - 32px);
  display: block;
  margin: auto;
  opacity: 1;
  transition: opacity 0.28s ease, transform var(--transition);
}
.product-image-photo .product-img-secondary {
  opacity: 0;
}
.product-card:hover .product-img-primary,
.product-card:focus-visible .product-img-primary {
  opacity: 0;
}
.product-card:hover .product-img-secondary,
.product-card:focus-visible .product-img-secondary {
  opacity: 1;
}
.product-image-fit img {
  object-fit: contain;
}
.product-card:hover .product-image-photo img { transform: scale(1.04); }
.product-icon { width: 60px; height: 80px; opacity: 0.8; transition: transform var(--transition); }
.product-card:hover .product-icon { transform: scale(1.1); }
.product-badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent); background: #fff;
  padding: 4px 12px; border-radius: 4px;
  box-shadow: 0 6px 18px rgba(26, 26, 46, 0.08);
}

.product-info { padding: 24px; }
.product-info h3 { font-size: 18px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.product-info p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.product-specs {
  display: flex; flex-direction: column; gap: 4px;
}
.product-specs span {
  font-size: 11px; color: var(--text-muted); letter-spacing: 0.3px;
}

/* ---------- Advantages ---------- */
.advantages {
  padding-bottom: 100px;
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
}



/* ---------- Advantages Dashboard ---------- */
.advantages-dashboard {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  margin: 48px 0 0;
  text-align: left;
}

/* Left Column: Vertical Tabs */
.dashboard-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tab-btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  font-family: inherit;
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}
.tab-btn.active {
  background: rgba(94, 92, 230, 0.08);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(94, 92, 230, 0.15);
}
.tab-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1.2;
}
.tab-btn.active .tab-num {
  opacity: 1;
}
.tab-meta h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--white);
}
.tab-meta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

/* Right Column: Viewer Area */
.dashboard-viewer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.viewer-panel {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: fadeInDashboard 0.4s ease-out forwards;
}
.viewer-panel.active {
  display: flex;
}

@keyframes fadeInDashboard {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-num-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-block;
  border-bottom: 1px solid rgba(94, 92, 230, 0.2);
  padding-bottom: 6px;
  align-self: flex-start;
}

.viewer-panel h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.viewer-panel > p,
.viewer-main-header > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Panel 1: Materials mini grid */
.materials-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: auto;
}
.mini-material-card {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.mini-material-card:hover {
  border-color: rgba(94, 92, 230, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.mini-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}
.mini-icon svg {
  width: 100%; height: 100%;
  stroke: var(--accent);
}
.mini-material-card h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.mini-material-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.mini-material-card li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
  padding-left: 12px;
  position: relative;
}
.mini-material-card li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Case study boxes */
.viewer-case-study {
  margin-top: auto;
  padding: 24px;
  background: rgba(94, 92, 230, 0.03);
  border: 1px solid rgba(94, 92, 230, 0.15);
  border-radius: var(--radius-lg);
}
.case-meta {
  margin-bottom: 12px;
}
.case-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid rgba(94, 92, 230, 0.3);
  border-radius: 4px;
}
.case-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}
.viewer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light, #bf5af2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.viewer-link span:last-child {
  transition: transform var(--transition);
}
.viewer-link:hover span:last-child {
  transform: translateX(4px);
}

/* ---------- News ---------- */
.news { padding-bottom: 100px; background: var(--cream); }
.news .section-header { padding-top: 100px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--white);
  padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 26, 46, 0.05); 
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { 
  border-color: var(--accent); 
  box-shadow: var(--shadow-lg); 
  transform: translateY(-4px);
}
.news-date { font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 12px; }
.news-card h3 { font-size: 19px; font-weight: 600; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.news-card p { 
  font-size: 15px; 
  color: var(--text-light); 
  line-height: 1.7; 
  margin-bottom: 24px; 
  flex-grow: 1; 
}
.news-link { 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--accent); 
  transition: color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
}
.news-card:hover .news-link { 
  color: var(--accent-light); 
  transform: translateX(4px);
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: 100px;
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
}
.contact .section-header { padding-top: 100px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }

.contact-info { padding-top: 16px; }
.contact-item { margin-bottom: 32px; }
.contact-item h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.contact-item p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.contact-item a { color: var(--accent); }
.contact-item a:hover { color: var(--accent-light); }

.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--accent); color: var(--accent); }

.contact-form-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 500;
  letter-spacing: 0.5px; color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; font-size: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); color: var(--white);
  font-family: var(--font-body); transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group select option { background: var(--primary); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center; padding: 40px;
}
.form-success svg { width: 56px; height: 56px; margin: 0 auto 16px; }
.form-success h3 { font-family: var(--font-display); font-size: 20px; color: var(--white); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: rgba(255,255,255,0.5); }

/* ---------- Footer ---------- */
.footer {
  background: #0f0f1e; padding: 64px 0 0;
  color: rgba(255,255,255,0.4);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-img {
  display: block;
  width: 110px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.22));
}
.footer-brand p { font-size: 15px; margin-top: 16px; line-height: 1.7; max-width: 280px; }

.footer-links h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.footer-links a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.4);
  padding: 4px 0; transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 40px;
  padding: 32px 0 24px;
  font-size: 12px;
}
.footer-certs {
  grid-column: 1 / -1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: flex-start;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer-certs span {
  display: inline-block;
  transition: color 0.3s ease;
}
.footer-certs span:hover {
  color: var(--accent);
}
.footer-certs .cert-divider {
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.footer-statement {
  max-width: 680px; text-align: right; color: rgba(255,255,255,0.3); font-size: 11px; line-height: 1.5;
  justify-self: end;
}

/* ---------- Float Contact ---------- */
.float-contact { position: fixed; bottom: 32px; right: 32px; z-index: 999; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),0.35);
  transition: all var(--transition);
}
.float-btn svg { width: 24px; height: 24px; }
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(var(--accent-rgb),0.45); }

.float-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 280px; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: scale(0.8) translateY(10px);
  opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.float-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }

.float-panel-header {
  padding: 16px 20px; background: var(--primary);
  color: var(--white); font-size: 14px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.float-close { color: rgba(255,255,255,0.6); font-size: 20px; }
.float-close:hover { color: var(--white); }
.float-panel-body { padding: 20px; }
.float-panel-body p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; line-height: 1.6; }
.float-panel-body a:not(.btn) { color: var(--accent); }
.float-panel-body .btn { margin-top: 8px; }

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 992px) {
  .header {
    padding: 14px 0;
  }
  .header.scrolled {
    padding: 8px 0;
  }
  .logo-img {
    width: 100px;
  }
  .header.scrolled .logo-img {
    width: 80px;
  }
  .nav {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--primary); flex-direction: column;
    padding: 80px 32px 32px; gap: 0; transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0,0,0,0.2);
  }
  .nav.open { right: 0; }
  .nav-link { color: rgba(255,255,255,0.8); padding: 16px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.open span { background: var(--white); }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Proof strip: stack on tablet */
  .proof-strip {
    grid-template-columns: 1fr;
    border-top: none;
    border-left: none;
    margin: 48px 0 0 0;
    padding-left: 0;
    gap: 16px;
    overflow: visible;
  }
  .proof-item {
    border-right: none;
    border-bottom: none;
    padding: 16px 12px;
  }
  .proof-item:last-child { border-bottom: none; }
  
  a.proof-item:hover {
    background: rgba(94, 92, 230, 0.025);
  }
}

@media (max-width: 768px) {

  .hero-container {
    justify-content: center;
  }
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  .hero-subtitle {
    margin: 0 auto 40px;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-response-note {
    margin: 18px auto 0;
  }

  .hero-title {
    font-size: clamp(32px, 7vw, 54px);
    letter-spacing: 3px;
  }

  .quick-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .quick-card { padding: 24px 16px; }

  /* Horizontal Snap Scroll for Core Business Cards */
  .business-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-bottom: 60px;
    margin-left: -24px;
    margin-right: -24px;
    padding: 10px 24px 24px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .business-grid::-webkit-scrollbar { display: none; }
  .business-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    padding: 24px 20px;
    border-color: rgba(26, 26, 46, 0.08);
  }
  .business-card:hover { transform: none; }

  /* Advantages Dashboard: stack on mobile */
  .advantages-dashboard {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dashboard-tabs {
    display: none;
  }
  .dashboard-viewer {
    padding: 32px 20px;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: auto;
  }
  .viewer-panel {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 40px;
  }
  .viewer-panel:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .materials-mini-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .viewer-panel h3 {
    font-size: 22px;
  }
  .viewer-panel > p,
  .viewer-main-header > p {
    font-size: 14.5px;
    margin-bottom: 24px;
  }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .footer-bottom-info, .footer-statement { grid-column: 1; text-align: center; }
  .footer-certs { justify-content: center; text-align: center; }

  /* Horizontal Snap Scroll for Products */
  .product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-left: -24px;
    margin-right: -24px;
    padding: 10px 24px 24px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  .product-card:hover { transform: none; }

  /* Horizontal Snap Scroll for News */
  .news-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-left: -24px;
    margin-right: -24px;
    padding: 10px 24px 24px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .news-grid::-webkit-scrollbar { display: none; }
  .news-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    padding: 24px;
  }
  .news-card:hover { transform: none; }
  .news-card p { margin-bottom: 16px; }

  .product-filter { flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 36px; }
  .hero-slide { background-position: center; }

  /* Inline partners row */
  .partners-grid-custom {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .partner-card {
    padding: 24px 20px;
  }
  .additional-partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .additional-partner-item {
    height: 95px;
    padding: 8px 6px;
  }
  .partner-logo-wrapper {
    height: 28px;
  }
  .partner-name-label {
    font-size: 9px;
    margin-top: 6px;
  }

  /* Proof strip now stacks at 992px */
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(24px, 7.5vw, 36px);
    letter-spacing: 2px;
  }
  .quick-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 280px; }
  .hero-scroll { display: none; }
  .float-contact { bottom: 20px; right: 20px; }
  .additional-partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  /* Proof strip: already stacked, just reduce padding */
  .proof-item { padding: 22px 20px; }
}

/* ---------- News Detail Page ---------- */
.news-detail-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
  padding: 140px 0 80px 0;
  text-align: center;
  color: var(--white);
}
.news-detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}
.news-detail-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.news-detail-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto 20px auto;
  padding: 0 20px;
}
.news-detail-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}
.news-detail-container {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 24px;
}
.news-detail-content {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
}

.news-language-note {
  margin: 0 0 32px;
  padding: 14px 18px;
  border: 1px solid rgba(94, 92, 230, 0.14);
  border-radius: var(--radius-md);
  background: rgba(94, 92, 230, 0.045);
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}
.news-detail-content p {
  margin-bottom: 24px;
}
.news-detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.news-detail-content figure {
  margin: 40px 0;
}
.news-detail-content figure img {
  margin: 0 auto;
}
.news-detail-content figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted, #888);
  margin-top: 12px;
  letter-spacing: 0.5px;
  font-style: italic;
}
.news-detail-content strong {
  color: var(--primary);
  font-weight: 600;
}
.news-detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.news-detail-nav-item {
  max-width: 45%;
}
.news-detail-nav-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.news-detail-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.news-detail-nav-link:hover {
  color: var(--accent);
}
.news-detail-back-container {
  text-align: center;
  margin-top: 60px;
}
.news-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.news-detail-back-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
  transform: translateY(-2px);
}

.why-detail-cta {
  margin: 48px 0 8px;
  padding: 32px;
  border: 1px solid rgba(94, 92, 230, 0.18);
  background: linear-gradient(135deg, rgba(94, 92, 230, 0.08), rgba(22, 163, 74, 0.06));
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.why-detail-cta h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.35;
}
.why-detail-cta p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}
.why-detail-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
}
.why-detail-cta-actions .btn {
  padding-left: 24px;
  padding-right: 24px;
}
.why-detail-cta-actions .btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.why-detail-cta-actions .btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(94, 92, 230, 0.15);
}

@media (max-width: 992px) {
  .why-detail-cta {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }
  .why-detail-cta-actions {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .news-detail-hero {
    padding: 120px 0 60px 0;
  }
  .news-detail-title {
    font-size: 28px;
  }
  .news-detail-container {
    margin: 40px auto;
  }
  .news-detail-nav {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .news-detail-nav-item {
    max-width: 100%;
  }
}

/* ---------- Legal Pages ---------- */
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 600;
}
.legal-content h3 {
  font-size: 16px;
  color: var(--primary);
  margin-top: 28px;
  margin-bottom: 12px;
  font-weight: 600;
}
.legal-content p {
  margin-bottom: 20px;
  color: var(--text-light);
}
.legal-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}
.legal-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

/* Sustainable Materials Grid removed - consolidated into Why PPK Dashboard */

/* ========== QR CODE MODAL ========== */
.qr-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.qr-modal.active {
  opacity: 1; pointer-events: auto;
}
.qr-modal-backdrop {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.qr-modal-content {
  position: relative;
  background: #141424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 30px;
  width: 90%; max-width: 380px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1101;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}
.qr-modal.active .qr-modal-content {
  transform: scale(1);
}
.qr-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.qr-modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}
.qr-modal-close svg {
  width: 14px; height: 14px;
}
.qr-modal h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.qr-modal-body img {
  width: 200px; height: 200px;
  border-radius: 12px;
  margin: 0 auto 20px;
  display: block;
  border: 4px solid var(--white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.qr-modal-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   PPK Packaging — ESG Calculator Styles (Light-Theme Premium)
   ============================================= */
.esg-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.esg-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero/hero-decoration.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
}
.esg-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.esg-hero-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 16px;
}
.esg-hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.esg-calc-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 100%);
}
.esg-glow-orb {
  position: absolute;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}
.esg-glow-orb.orb-1 {
  background: #30d158;
  top: -10%;
  left: -10%;
}
.esg-glow-orb.orb-2 {
  background: var(--accent);
  bottom: -10%;
  right: -10%;
}

.esg-calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.esg-left-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.esg-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.esg-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}
.esg-panel-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}

.esg-form-group {
  margin-bottom: 28px;
}
.esg-form-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.esg-label-val {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.esg-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(94, 92, 230, 0.1);
  outline: none;
  transition: background 0.3s;
}
.esg-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 3px 10px rgba(94, 92, 230, 0.3);
}
.esg-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  background: var(--white);
  border-color: var(--accent-light);
}
.esg-slider::-moz-range-track {
  width: 100%;
  height: 4px;
  background: rgba(94, 92, 230, 0.1);
  border-radius: 2px;
}
.esg-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 3px 10px rgba(94, 92, 230, 0.3);
}
.esg-slider::-moz-range-thumb:hover {
  transform: scale(1.3);
  background: var(--white);
  border-color: var(--accent-light);
}
.esg-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}
.esg-select:focus {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.08);
}
.esg-select option {
  background: #16213e;
  color: var(--white);
}
.esg-baseline-box {
  margin-top: 36px;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.esg-baseline-box h4 {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.esg-methodology-box {
  margin-top: 16px;
}

.esg-methodology-box ul {
  margin: 0;
  padding-left: 18px;
}

.esg-methodology-box li {
  margin-bottom: 8px;
}

.esg-methodology-box li:last-child {
  margin-bottom: 0;
}

/* Breakdown Visuals */
.esg-sub-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}
.esg-visual-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.esg-visual-box {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.esg-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.esg-visual-header span:first-child {
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
}
.esg-visual-header span.highlight-case {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.esg-visual-header span.highlight-refill {
  font-size: 10px;
  font-weight: 700;
  color: #30d158;
  letter-spacing: 0.5px;
}
.esg-visual-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}
.esg-bar-group {
  margin-bottom: 12px;
}
.esg-bar-group:last-of-type {
  margin-bottom: 16px;
}
.esg-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 5px;
  font-weight: 500;
}
.esg-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.esg-bar-fill {
  height: 100%;
  border-radius: 2px;
}
.esg-bar-fill.metal {
  background: linear-gradient(90deg, #9fa0c3, var(--secondary));
}
.esg-bar-fill.plastic {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.esg-bar-fill.bio {
  background: linear-gradient(90deg, #30d158, #66d48f);
}
.esg-bar-fill.zero {
  background: transparent;
}
.esg-badge {
  display: block;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 8px;
  border-radius: 4px;
  margin-top: auto;
}
.badge-casing {
  background: rgba(94, 92, 230, 0.06);
  color: var(--accent);
  border: 1px solid rgba(94, 92, 230, 0.12);
}
.badge-refill {
  background: rgba(48, 209, 88, 0.06);
  color: #24b244;
  border: 1px solid rgba(48, 209, 88, 0.12);
}

/* Results panel */
.esg-results {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}
.esg-results h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}
.esg-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.esg-metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.esg-metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 92, 230, 0.25);
  box-shadow: 0 8px 25px rgba(94, 92, 230, 0.15);
}
.esg-metric-card.sustainability:hover {
  border-color: rgba(48, 209, 88, 0.25);
  box-shadow: 0 8px 25px rgba(48, 209, 88, 0.15);
}
.esg-metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 3px; height: 100%;
  background: var(--accent);
}
.esg-metric-card.sustainability::before {
  background: #30d158;
}
.esg-metric-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.esg-metric-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.2;
}
.esg-metric-val span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 4px;
  font-family: var(--font-body);
  font-weight: 400;
}

/* Chart visualization */
.esg-chart-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.esg-chart-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  text-align: center;
}
.esg-chart-row {
  margin-bottom: 20px;
}
.esg-chart-row:last-child {
  margin-bottom: 0;
}
.esg-chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.chart-value-glow {
  color: var(--white);
  font-weight: 600;
}
.esg-chart-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.esg-chart-bar {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.esg-chart-bar.traditional {
  background: linear-gradient(90deg, #ff453a, #ff9f0a);
}
.esg-chart-bar.refillable {
  background: linear-gradient(90deg, #30d158, #66d48f);
}

.esg-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: auto;
}
.esg-actions .btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: all var(--transition);
}
.esg-actions .btn-outline:hover {
  background: var(--accent-light);
  color: var(--white);
  border-color: var(--accent-light);
  box-shadow: 0 8px 20px rgba(191, 90, 242, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .esg-visual-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .esg-calc-grid {
    grid-template-columns: 1fr;
  }
  .esg-results {
    position: static;
    margin-top: 20px;
  }
}
@media (max-width: 576px) {
  .esg-metric-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .esg-hero-title {
    font-size: 32px;
  }
  .esg-actions {
    grid-template-columns: 1fr;
  }
}

/* Hero Brand Proofs styling removed */

/* ESG Impact Banner */
.esg-impact-banner {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(94, 92, 230, 0.1);
  box-shadow: 0 16px 40px rgba(94, 92, 230, 0.03);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 60px 0 20px;
  text-align: left;
}
.esg-impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(94, 92, 230, 0.02) 100%);
  border: 1px solid rgba(94, 92, 230, 0.06);
  border-radius: 16px;
  padding: 32px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 30px rgba(94, 92, 230, 0.015);
}
.esg-banner-card {
  text-align: center;
  position: relative;
  padding: 8px;
  transition: transform 0.3s ease;
}
.esg-banner-card:hover {
  transform: translateY(-2px);
}
.esg-banner-val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.esg-banner-card:hover .esg-banner-val {
  color: var(--primary);
}
.esg-banner-lbl {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}
@media (min-width: 577px) {
  .esg-banner-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%; right: 0; width: 1px; height: 70%;
    background: rgba(94, 92, 230, 0.12);
  }
}
.esg-impact-cta h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.esg-impact-cta p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}
.btn-accent-outline {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
}
.btn-accent-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(94, 92, 230, 0.15);
}

/* Responsive Rules */
@media (max-width: 992px) {
  .esg-impact-banner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 24px;
    margin: 40px 0;
  }
}
@media (max-width: 576px) {

  .esg-impact-metrics {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }
  .esg-banner-card:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -12px; left: 15%; width: 70%; height: 1px;
    background: rgba(94, 92, 230, 0.08);
  }
}

/* =============================================
   Language Picker (i18n) Styling
   ============================================= */
.lang-picker {
  position: relative;
  display: inline-block;
  align-self: center;
}
.lang-trigger {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border var(--transition), color var(--transition), background var(--transition);
}
.lang-trigger:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}
.header.scrolled .lang-trigger {
  border-color: rgba(94, 92, 230, 0.15);
  color: var(--text-light);
}
.header.scrolled .lang-trigger:hover {
  border-color: var(--accent);
  color: var(--primary);
  background: rgba(94, 92, 230, 0.03);
}
.lang-chevron {
  transition: transform var(--transition);
}
.lang-picker.active .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(15, 15, 27, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  min-width: 140px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  z-index: 1100;
}
.lang-picker.active .lang-dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header.scrolled .lang-dropdown-list {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 15, 27, 0.05);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.lang-option:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}
.lang-option.active {
  color: var(--accent);
  font-weight: 600;
}
.header.scrolled .lang-option {
  color: var(--text-light);
}
.header.scrolled .lang-option:hover {
  color: var(--primary);
  background: var(--cream);
}
.header.scrolled .lang-option.active {
  color: var(--accent);
  background: rgba(94, 92, 230, 0.04);
}
.lang-flag {
  font-size: 14px;
}
.lang-name {
  white-space: nowrap;
}

/* Mobile responsive adjustments */
@media (max-width: 992px) {
  .lang-picker {
    margin: 15px 0 10px 0; /* Align with mobile drawer links */
    align-self: flex-start;
    width: 100%;
  }
  .lang-trigger {
    width: 100%;
    justify-content: space-between;
    border-color: rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    font-size: 13px;
  }
  .lang-dropdown-list {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 4px;
    background: rgba(25, 25, 45, 0.98);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none; /* Toggle display on mobile dropdown */
    box-shadow: none;
  }
  .lang-picker.active .lang-dropdown-list {
    display: flex;
  }
}
