/* ==========================================================================
   MS MeshCraft Mosquito Screens - Main CSS
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --color-primary-navy: #001830;
  --color-secondary-navy: #073B63;
  --color-accent-teal: #0B8F87;
  --color-accent-hover: #08756E;
  --color-teal-light: #E6F4F3;
  --color-bg-light: #F7F9FA;
  --color-bg-secondary: #EEF3F6;
  --color-text-main: #17212B;
  --color-text-muted: #52606D;
  --color-white: #FFFFFF;
  --color-border: #DCE3E8;
  --color-border-light: #EBF0F3;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1280px;
  --header-height: 124px;
  --header-height-scrolled: 92px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 24, 48, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 24, 48, 0.08);
  --shadow-lg: 0 12px 36px rgba(0, 24, 48, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 24, 48, 0.16);
  --shadow-teal: 0 8px 24px rgba(11, 143, 135, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-navy);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 1.025rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Structural Container & Sections */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-bg-light {
  background-color: var(--color-bg-light);
}

.section-bg-alt {
  background-color: var(--color-bg-secondary);
}

.section-bg-dark {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: var(--color-white);
}

.section-bg-dark p {
  color: rgba(255, 255, 255, 0.78);
}

/* Section Titles */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--color-teal-light);
  color: var(--color-accent-teal);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(11, 143, 135, 0.2);
}

.badge-tag-dark {
  background-color: rgba(11, 143, 135, 0.18);
  color: #2DD4BF;
  border-color: rgba(45, 212, 191, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent-teal);
  color: var(--color-white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 143, 135, 0.35);
}

.btn-secondary {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary-navy);
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: 1.075rem;
}

/* Utility Animations & Reveal */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

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