/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800&family=Noto+Sans+TC:wght@400;700&display=swap');

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* CSS Custom Properties */
:root {
  /* Brand Palette */
  --primary-black: #111111;
  --primary-white: #F5F5F5;
  --primary-grey: #a0a0a0;
  --signature-pink: #FF1069;
  
  /* UI & Component Palette */
  --ui-dark-bg: #1a1a1a;
  --ui-card-bg: #222222;
  --ui-border: #333333;
  --text-dark: #888888;

  /* ESG-Specific Colors */
  --esg-pink-glow: rgba(255, 16, 105, 0.3);
  --esg-green-bright: #50f49c;
  --esg-green-glow: rgba(80, 244, 156, 0.15);
  --esg-blue: #709dff;
  --esg-blue-glow: rgba(112, 157, 255, 0.15);
  
  /* Liquid Glass Effect */
  --liquid-glass: linear-gradient(135deg, rgba(34, 34, 34, 0.9) 0%, rgba(34, 34, 34, 0.7) 100%);
  --liquid-glass-border: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  
  /* Animated Background Gradient */
  --animated-bg: linear-gradient(-45deg, #111111, #1a1a1a, #ff106910, #111111);
  
  /* Font families */
  --font-primary: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-chinese: 'Noto Sans TC', sans-serif;
}
/* Base styles */
body {
  background: var(--animated-bg);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: var(--primary-white);
  font-family: var(--font-body);
  font-weight: 400;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Highlight elements with pink accents */
a:hover,
.text-pink-500,
.hover\:text-pink-500:hover {
  color: var(--signature-pink) !important;
}

.border-pink-500 {
  border-color: var(--signature-pink) !important;
}

.bg-pink-500 {
  background-color: var(--signature-pink) !important;
}
/* Typography - Liquid Glass Hierarchy */
.text-l1-truth {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary-white);
  line-height: 1.2;
  margin: 0;
}

.text-l2-headline {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--primary-white);
  margin: 0;
}

.text-l3-body-truth {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--primary-white);
  margin: 1.5rem 0;
}

.text-l4-body-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--primary-grey);
  line-height: 1.8;
  text-align: left;
}

/* Layout - Alternating Grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .grid-even .product-copy {
    order: 1;
  }
  .grid-even .product-visual {
    order: 2;
  }
}

/* CTA Button */
.cta-button {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--signature-pink);
  color: var(--primary-white);
  border: none;
  border-radius: 4px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--primary-white);
  color: var(--signature-pink);
}

/* Brand Logo */
.logo {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--primary-white);
}

.logo .pink-dot {
  color: var(--signature-pink);
}

/* I Ching Symbols */
:root {
  --line-height: 8px;
}

.hexagram {
  margin-bottom: 12mm;
}

.line {
  height: var(--line-height);
  width: calc(var(--line-height) * 8);
  background-color: var(--primary-white);
  margin-bottom: var(--line-height);
}

.broken {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
}

.broken > div {
  height: var(--line-height);
  width: calc(var(--line-height) * 3);
  background-color: var(--primary-white);
}

/* ESG Radial Gauges */
.esg-gauge-outer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 0deg, var(--color) calc(var(--percent) * 3.6deg), #2a2a2a 0deg);
  position: relative;
  box-shadow: 0 0 20px -5px var(--glow);
}

.esg-gauge-inner {
  width: 100px;
  height: 100px;
  background: var(--ui-card-bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
}

.esg-gauge-score {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color);
}

.esg-gauge-max {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: -5px;
}
.esg-gauge-main { 
  --color: var(--signature-pink); 
  --glow: var(--esg-pink-glow); 
}

/* Update all sections to use new color scheme */
.bg-gray-900 {
  background: var(--liquid-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid transparent;
  border-image: var(--liquid-glass-border);
  border-image-slice: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.bg-gray-900::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 16, 105, 0.1) 0%, transparent 70%);
  opacity: 0.3;
  z-index: -1;
  transform: rotate(30deg);
}

.border-gray-800 {
  border-color: var(--ui-border);
}
.text-gray-400 {
  color: var(--text-dark);
}

.text-gray-500 {
  color: var(--text-dark);
}
.esg-gauge-env { 
  --color: var(--esg-green-bright); 
  --glow: var(--esg-green-glow); 
}

.esg-gauge-social { 
  --color: var(--esg-blue); 
  --glow: var(--esg-blue-glow); 
}

.esg-gauge-gov { 
  --color: var(--primary-grey); 
  --glow: transparent; 
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.flex {
  display: flex;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.grid {
  display: grid;
}

.gap-8 {
  gap: 2rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-8 {
  margin-top: 2rem;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .py-16 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .bg-gray-900::before {
    transform: rotate(15deg);
  }
}