/* ==========================================================================
   HELIOSUNTECH PLASTICS PRIVATE LIMITED - DESIGN SYSTEM & MAIN TOKENS
   Light Professional Theme / Eco-Futuristic Circularity / Crisp Surfaces
   Grounded in Corporate Brand Colors: Clean White, Deep Slate-Forest,
   Vibrant Recycling Lime & Authoritative Emerald
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  /* Surface System: Crisp Light Professional */
  --bg-primary: #FFFFFF;              /* Pristine clean white */
  --bg-secondary: #F4FAF6;            /* Soft eco-mint wash */
  --bg-tertiary: #EAF4EE;             /* Muted sage background for toolbars & headers */
  --bg-card: #FFFFFF;                 /* Pure white card base */
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.92);

  /* Accents & Signals */
  --accent-lime: #52B216;             /* Crisp high-contrast recycling lime */
  --accent-lime-bright: #68C924;      /* Interactive vibrant lime */
  --accent-lime-dim: rgba(82, 178, 22, 0.10);
  --accent-lime-glow: rgba(82, 178, 22, 0.25);

  --accent-emerald: #146B44;          /* Core authoritative corporate emerald */
  --accent-emerald-light: #1A8253;    /* Hover & interactive emerald */
  --accent-emerald-dim: rgba(20, 107, 68, 0.08);
  --accent-emerald-glow: rgba(20, 107, 68, 0.20);

  --accent-navy: #0D2338;             /* Tech slate navy from brand artwork */
  --accent-amber: #D97706;            /* QA review & pending indicator */

  /* Neutrals & Typography */
  --text-primary: #0A221A;            /* Deep forest slate for sharp executive legibility */
  --text-secondary: #3B584C;          /* Balanced mid-tone sage-charcoal */
  --text-muted: #668276;              /* Subtle neutral */
  --text-inverse: #FFFFFF;            /* Pure white on dark buttons/badges */

  /* Structural Borders & Subtle Facets */
  --border-subtle: rgba(20, 107, 68, 0.12);
  --border-medium: rgba(20, 107, 68, 0.22);
  --border-accent: rgba(82, 178, 22, 0.45);
  --border-emerald: rgba(20, 107, 68, 0.35);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows (Calibrated for Light Theme) */
  --shadow-xs: 0 1px 4px rgba(10, 34, 26, 0.04);
  --shadow-sm: 0 3px 12px rgba(10, 34, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 34, 26, 0.08);
  --shadow-lg: 0 18px 48px rgba(10, 34, 26, 0.10);
  --shadow-lime: 0 6px 20px rgba(82, 178, 22, 0.25);
  --shadow-emerald: 0 6px 22px rgba(20, 107, 68, 0.20);

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;

  /* Containers & Spacing */
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 76px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elegant Light Background with Subtle Bio-Geometric Crystal Atmosphere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 85% -5%, rgba(82, 178, 22, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 10% 35%, rgba(20, 107, 68, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 65% 95%, rgba(82, 178, 22, 0.04) 0%, transparent 50%),
    linear-gradient(rgba(20, 107, 68, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 107, 68, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: -1;
}

/* Typography Standards */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Accessible utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  position: relative;
}

/* Crisp Light Section Tag Pill */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.05rem;
  background: linear-gradient(135deg, rgba(82, 178, 22, 0.1) 0%, rgba(20, 107, 68, 0.12) 100%);
  border: 1px solid rgba(20, 107, 68, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 1.25rem;
}

.section-tag::before {
  content: '♺';
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent-lime);
}

.section-title {
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  max-width: 860px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.68;
}

/* Professional Light Theme Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #0A221A 0%, #164E38 60%, #1A8253 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
  background: linear-gradient(135deg, #146B44 0%, #52B216 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  :root {
    --header-height: 68px;
  }
}
