/* ============================================================
   Silicon Harbor Technologies — styles.css
   "Where Intelligence Comes to Port"

   Design System: Nautical Sophistication x Cutting-Edge AI
   Color Origin: Enovari green mobius triangle logo
   Version: 1.0.0
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* --- Brand Palette --- */
  --lime:           #8CC63F;
  --green-vibrant:  #38B867;
  --emerald:        #009B76;
  --deep-teal:      #007B6B;
  --dark-harbor:    #003D3A;
  --abyss:          #0a1e1a;

  /* --- Backgrounds --- */
  --bg-light:       #f0f7f4;
  --bg-card:        rgba(255, 255, 255, 0.92);
  --bg-white:       rgba(255, 255, 255, 0.95);
  --bg-dark:        #0a1e1a;
  --bg-dark-mid:    #003D3A;
  --bg-glass:       rgba(255, 255, 255, 0.85);
  --bg-glass-light: rgba(255, 255, 255, 0.6);

  /* --- Text --- */
  --text-dark:      #0f1f1a;
  --text-muted:     #4a6b60;
  --text-light:     #c8ddd4;
  --text-white:     #f0f7f4;
  --text-bright:    #ffffff;

  /* --- Borders --- */
  --border-light:   rgba(0, 155, 118, 0.12);
  --border-medium:  rgba(0, 155, 118, 0.25);
  --border-focus:   #38B867;
  --border-card:    rgba(0, 155, 118, 0.10);
  --border-dark:    rgba(140, 198, 63, 0.15);

  /* --- Gradients --- */
  --grad-brand:     linear-gradient(135deg, #8CC63F, #38B867, #009B76);
  --grad-brand-h:   linear-gradient(90deg, #8CC63F, #38B867, #009B76);
  --grad-dark:      linear-gradient(180deg, #0a1e1a 0%, #003D3A 100%);
  --grad-dark-r:    linear-gradient(180deg, #003D3A 0%, #0a1e1a 100%);
  --grad-hero:      linear-gradient(180deg, #0a1e1a 0%, #071714 50%, #0a1e1a 100%);
  --grad-glow:      linear-gradient(135deg, #8CC63F, #009B76);
  --grad-text:      linear-gradient(135deg, #8CC63F 0%, #38B867 40%, #009B76 70%, #003D3A 100%);
  --grad-shimmer:   linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.15) 50%, transparent 75%);

  /* --- Shadows --- */
  --shadow-sm:      0 2px 8px rgba(0, 59, 46, 0.06);
  --shadow-md:      0 4px 20px rgba(0, 59, 46, 0.08);
  --shadow-lg:      0 8px 40px rgba(0, 59, 46, 0.12);
  --shadow-xl:      0 16px 64px rgba(0, 59, 46, 0.16);
  --shadow-glow:    0 4px 30px rgba(56, 184, 103, 0.20);
  --shadow-glow-lg: 0 8px 50px rgba(56, 184, 103, 0.30);
  --shadow-card:    0 2px 12px rgba(0, 59, 46, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 155, 118, 0.15);
  --shadow-btn:     0 4px 15px rgba(56, 184, 103, 0.25);
  --shadow-btn-hover: 0 6px 25px rgba(56, 184, 103, 0.40);
  --shadow-dark:    0 4px 30px rgba(0, 0, 0, 0.3);

  /* --- Typography --- */
  --font-heading:   'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:      'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --fs-xs:          0.75rem;
  --fs-sm:          0.875rem;
  --fs-base:        1rem;
  --fs-md:          1.125rem;
  --fs-lg:          1.25rem;
  --fs-xl:          1.5rem;
  --fs-2xl:         2rem;
  --fs-3xl:         2.5rem;
  --fs-4xl:         3.25rem;
  --fs-5xl:         4rem;
  --fs-hero:        clamp(2.5rem, 6vw, 5rem);

  --fw-light:       300;
  --fw-regular:     400;
  --fw-medium:      500;
  --fw-semibold:    600;
  --fw-bold:        700;

  --lh-tight:       1.15;
  --lh-snug:        1.3;
  --lh-normal:      1.6;
  --lh-relaxed:     1.75;

  --ls-tight:       -0.02em;
  --ls-normal:      0;
  --ls-wide:        0.05em;
  --ls-wider:       0.1em;
  --ls-widest:      0.15em;

  /* --- Geometry --- */
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      24px;
  --radius-pill:    50px;
  --radius-circle:  50%;

  /* --- Spacing --- */
  --space-xs:       0.25rem;
  --space-sm:       0.5rem;
  --space-md:       1rem;
  --space-lg:       1.5rem;
  --space-xl:       2rem;
  --space-2xl:      3rem;
  --space-3xl:      4rem;
  --space-4xl:      6rem;
  --space-5xl:      8rem;
  --section-pad:    clamp(2.5rem, 5vw, 4.5rem);

  /* --- Transitions --- */
  --ease-default:   0.3s ease;
  --ease-smooth:    0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-card:      0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:    0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring:    0.6s cubic-bezier(0.23, 1, 0.32, 1);

  /* --- Z-index layers --- */
  --z-base:         1;
  --z-card:         10;
  --z-sticky:       100;
  --z-nav:          1000;
  --z-overlay:      2000;
  --z-modal:        3000;

  /* --- Misc --- */
  --blur-glass:     20px;
  --blur-nav:       16px;
  --max-width:      1200px;
  --nav-height:     72px;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: #0f1f1a;
  background: #f0f7f4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(135deg, transparent, transparent 50px, rgba(0, 140, 200, 0.025) 50px, rgba(0, 140, 200, 0.025) 52px),
    repeating-linear-gradient(45deg, transparent, transparent 70px, rgba(0, 210, 190, 0.018) 70px, rgba(0, 210, 190, 0.018) 72px);
  opacity: 0.35;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 140, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 170, 0.02) 1px, transparent 1px),
    radial-gradient(ellipse at 20% 80%, rgba(0, 100, 180, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 180, 170, 0.035) 0%, transparent 50%);
  background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%;
  opacity: 0.25;
}

::selection {
  background-color: rgba(56, 184, 103, 0.25);
  color: #0f1f1a;
}

::-moz-selection {
  background-color: rgba(56, 184, 103, 0.25);
  color: #0f1f1a;
}

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}


/* ============================================================
   3. LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
  z-index: 1;
}

section, footer, nav {
  position: relative;
  z-index: 1;
}

.section--dark {
  background-color: transparent;
  color: var(--text-light);
}

.section--teal {
  background-color: rgba(0, 61, 58, 0.3);
  color: var(--text-light);
}

.section--light {
  background-color: transparent;
}

.section--card {
  background-color: transparent;
}


/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: #0f1f1a;
  letter-spacing: var(--ls-tight);
}

h1 {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

/* Gradient text utility */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section header pattern: label + title + desc centered */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--emerald);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-lg);
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--grad-brand-h);
  border-radius: 1px;
}

.section--dark .section-label,
.section--teal .section-label {
  color: var(--lime);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
  background: linear-gradient(90deg, currentColor 40%, rgba(56,184,103,0.6) 50%, currentColor 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textSheen 8s ease-in-out infinite;
}

.section--dark .section-title,
.section--teal .section-title {
  color: var(--text-bright);
}

.section-desc {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section-desc,
.section--teal .section-desc {
  color: var(--text-light);
  opacity: 0.8;
}

/* Paragraph prose */
.prose p {
  margin-bottom: var(--space-md);
}

.prose a {
  color: var(--emerald);
  text-decoration: underline;
  text-decoration-color: rgba(0, 155, 118, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--ease-default);
}

.prose a:hover {
  text-decoration-color: var(--emerald);
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition:
    all var(--ease-default),
    transform 0.2s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

/* Shimmer hover effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--grad-shimmer);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary: solid green gradient */
.btn-primary {
  background: linear-gradient(135deg, #38B867, #007B6B);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(56, 184, 103, 0.3);
}

.btn-primary:hover {
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: var(--shadow-btn);
}

/* Secondary: solid dark fill */
.btn-secondary {
  background: #0f2850;
  color: #ffffff;
  border: none;
}

.btn-secondary:hover {
  background: #1a3a6a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(15, 40, 80, 0.3);
}

/* Ghost: solid light fill */
.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: #0f2850;
  border: none;
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  background: #ffffff;
  color: #007B6B;
  box-shadow: 0 4px 16px rgba(0, 59, 46, 0.1);
}

/* Dark variant buttons */
.section--dark .btn-secondary,
.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: none;
}

.section--dark .btn-secondary:hover,
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(140, 198, 63, 0.08);
}

/* Small button */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

/* Nav CTA button — solid green pill, all states */
.navbar .nav-links .btn-primary,
.navbar.scrolled .nav-links .btn-primary {
  background: linear-gradient(135deg, #38B867, #007B6B) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 8px 22px !important;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 3px 12px rgba(56, 184, 103, 0.3);
  white-space: nowrap;
  -webkit-text-fill-color: #ffffff !important;
}

.navbar .nav-links .btn-primary:hover,
.navbar.scrolled .nav-links .btn-primary:hover {
  box-shadow: 0 5px 20px rgba(56, 184, 103, 0.45);
  transform: translateY(-1px);
  background: linear-gradient(135deg, #42c874, #009B76) !important;
}

.navbar .nav-links .btn-primary::before,
.navbar .nav-links .btn-primary::after {
  display: none !important;
}

/* Large button */
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-base);
  border-radius: var(--radius-md);
}


/* ============================================================
   6. NAVBAR
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  transition:
    background-color 0.4s ease,
    backdrop-filter 0.4s ease,
    box-shadow 0.4s ease;
  background-color: transparent;
}

/* Scrolled state — set via JS adding .scrolled class */
.navbar.scrolled {
  background-color: rgba(10, 30, 26, 0.95);
  backdrop-filter: blur(var(--blur-nav));
  -webkit-backdrop-filter: blur(var(--blur-nav));
  box-shadow: 0 1px 0 rgba(140, 198, 63, 0.08), var(--shadow-dark);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Brand — pushed all the way left */
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}

.nav-brand img,
.nav-brand .nav-logo {
  height: 36px;
  width: auto;
}

.brand-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #8CC63F 0%, #38B867 30%, #007B6B 70%, #003D3A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--ease-default);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-brand-h);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover {
  color: var(--text-bright);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--lime);
}

.nav-links a.active::after {
  width: 100%;
}

/* Nav CTA button */
.nav-cta {
  margin-left: var(--space-md);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  z-index: calc(var(--z-overlay) + 1);
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
}

.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }

/* Hamburger open state */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(0);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(0);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 30, 26, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: var(--z-overlay);
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-overlay.open {
  display: flex;
  transform: translateX(0);
}

.nav-overlay a {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  color: var(--text-light);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(140, 198, 63, 0.08);
  transition: color var(--ease-default), padding-left var(--ease-default);
  text-decoration: none;
  display: block;
}

.nav-overlay a:hover {
  color: var(--lime);
  padding-left: var(--space-md);
}

/* Backdrop behind mobile nav */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-backdrop.open {
  display: block;
  opacity: 1;
}


/* ============================================================
   7. HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(8, 14, 12, 0.85);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  max-width: 800px;
  padding: var(--space-3xl) var(--space-xl);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-light);
  color: var(--text-bright);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  letter-spacing: var(--ls-tight);
}

.hero-headline strong,
.hero-headline .highlight {
  font-weight: var(--fw-bold);
  background: var(--grad-brand-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--text-light);
  opacity: 0.75;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--lh-relaxed);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero vignette: radial dark overlay */
.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 0%, var(--bg-dark) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Hero fade: gradient at bottom leading to next section */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, #0a1e1a 80%, #003D3A 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hero particles container */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* CSS floating particles */
.hero-particle {
  position: absolute;
  border-radius: var(--radius-circle);
  opacity: 0;
  animation: particleFloat linear infinite;
  pointer-events: none;
}

.hero-particle:nth-child(1)  { width: 3px; height: 3px; background: var(--lime);          left:  5%; animation-duration: 18s; animation-delay: 0s;    }
.hero-particle:nth-child(2)  { width: 4px; height: 4px; background: var(--green-vibrant); left: 12%; animation-duration: 22s; animation-delay: 1s;    }
.hero-particle:nth-child(3)  { width: 2px; height: 2px; background: var(--emerald);       left: 20%; animation-duration: 16s; animation-delay: 3s;    }
.hero-particle:nth-child(4)  { width: 5px; height: 5px; background: var(--lime);          left: 28%; animation-duration: 24s; animation-delay: 0.5s;  }
.hero-particle:nth-child(5)  { width: 3px; height: 3px; background: var(--deep-teal);     left: 35%; animation-duration: 19s; animation-delay: 2s;    }
.hero-particle:nth-child(6)  { width: 4px; height: 4px; background: var(--green-vibrant); left: 42%; animation-duration: 21s; animation-delay: 4s;    }
.hero-particle:nth-child(7)  { width: 2px; height: 2px; background: var(--lime);          left: 48%; animation-duration: 17s; animation-delay: 1.5s;  }
.hero-particle:nth-child(8)  { width: 6px; height: 6px; background: var(--emerald);       left: 55%; animation-duration: 25s; animation-delay: 0s;    }
.hero-particle:nth-child(9)  { width: 3px; height: 3px; background: var(--deep-teal);     left: 60%; animation-duration: 20s; animation-delay: 3.5s;  }
.hero-particle:nth-child(10) { width: 4px; height: 4px; background: var(--lime);          left: 67%; animation-duration: 23s; animation-delay: 2.5s;  }
.hero-particle:nth-child(11) { width: 2px; height: 2px; background: var(--green-vibrant); left: 73%; animation-duration: 18s; animation-delay: 5s;    }
.hero-particle:nth-child(12) { width: 5px; height: 5px; background: var(--emerald);       left: 78%; animation-duration: 22s; animation-delay: 1s;    }
.hero-particle:nth-child(13) { width: 3px; height: 3px; background: var(--lime);          left: 85%; animation-duration: 16s; animation-delay: 0.5s;  }
.hero-particle:nth-child(14) { width: 4px; height: 4px; background: var(--deep-teal);     left: 90%; animation-duration: 20s; animation-delay: 4.5s;  }
.hero-particle:nth-child(15) { width: 2px; height: 2px; background: var(--green-vibrant); left: 95%; animation-duration: 19s; animation-delay: 2s;    }
.hero-particle:nth-child(16) { width: 3px; height: 3px; background: var(--emerald);       left:  8%; animation-duration: 21s; animation-delay: 6s;    }
.hero-particle:nth-child(17) { width: 5px; height: 5px; background: var(--lime);          left: 16%; animation-duration: 24s; animation-delay: 3s;    }
.hero-particle:nth-child(18) { width: 2px; height: 2px; background: var(--deep-teal);     left: 25%; animation-duration: 17s; animation-delay: 1.5s;  }
.hero-particle:nth-child(19) { width: 4px; height: 4px; background: var(--green-vibrant); left: 33%; animation-duration: 22s; animation-delay: 5.5s;  }
.hero-particle:nth-child(20) { width: 3px; height: 3px; background: var(--lime);          left: 40%; animation-duration: 18s; animation-delay: 0s;    }
.hero-particle:nth-child(21) { width: 6px; height: 6px; background: var(--emerald);       left: 50%; animation-duration: 26s; animation-delay: 2.5s;  }
.hero-particle:nth-child(22) { width: 2px; height: 2px; background: var(--deep-teal);     left: 57%; animation-duration: 15s; animation-delay: 4s;    }
.hero-particle:nth-child(23) { width: 4px; height: 4px; background: var(--lime);          left: 63%; animation-duration: 20s; animation-delay: 1s;    }
.hero-particle:nth-child(24) { width: 3px; height: 3px; background: var(--green-vibrant); left: 70%; animation-duration: 23s; animation-delay: 6.5s;  }
.hero-particle:nth-child(25) { width: 5px; height: 5px; background: var(--emerald);       left: 76%; animation-duration: 19s; animation-delay: 3.5s;  }
.hero-particle:nth-child(26) { width: 2px; height: 2px; background: var(--lime);          left: 82%; animation-duration: 17s; animation-delay: 0.5s;  }
.hero-particle:nth-child(27) { width: 4px; height: 4px; background: var(--deep-teal);     left: 88%; animation-duration: 21s; animation-delay: 5s;    }
.hero-particle:nth-child(28) { width: 3px; height: 3px; background: var(--green-vibrant); left: 93%; animation-duration: 16s; animation-delay: 2s;    }
.hero-particle:nth-child(29) { width: 2px; height: 2px; background: var(--lime);          left:  3%; animation-duration: 24s; animation-delay: 4s;    }
.hero-particle:nth-child(30) { width: 5px; height: 5px; background: var(--emerald);       left: 52%; animation-duration: 20s; animation-delay: 7s;    }

/* Staggered entrance animations */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s;  }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s;  }


/* ============================================================
   8. STATS BAR
   ============================================================ */

.stats-bar {
  background: rgba(0, 61, 58, 0.5);
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid rgba(0, 140, 200, 0.12);
  border-bottom: 1px solid rgba(0, 210, 190, 0.12);
  position: relative;
  z-index: 1;
}

.stats-track {
  overflow: hidden;
  width: 100%;
}

.stats-inner {
  display: flex;
  gap: 80px;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8CC63F, #38B867);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 1.5rem;
  color: #38B867;
  font-weight: 600;
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.stat-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.stat-icon {
  color: #38B867;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .stats-inner { animation: none; }
}


/* ============================================================
   9. CARDS
   ============================================================ */

.card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: var(--space-2xl);
  text-align: center;
  border: 3px solid #0f2850;
  color: var(--text-dark);
  box-shadow: 0 4px 24px rgba(0, 59, 46, 0.06);
  transition:
    transform var(--ease-card),
    box-shadow var(--ease-card),
    border-color var(--ease-card);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-medium);
}

/* Card icon */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 184, 103, 0.1), rgba(0, 155, 118, 0.08));
  color: var(--emerald);
  font-size: var(--fs-xl);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--emerald);
  fill: none;
}

.card-icon-img {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-lg);
  object-fit: contain;
  border-radius: 16px;
  border: 2px solid #4A9EE0;
  box-shadow: 0 2px 12px rgba(0, 59, 46, 0.1);
}

/* Clean text-only cards (no icons) in #why and #services */
#why .card,
#services .card {
  padding-top: 36px;
}

.card h3 {
  font-size: var(--fs-lg);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: #0f1f1a;
  padding-bottom: 8px;
  border-bottom: 3px solid #38B867;
  display: inline-block;
}

.card p {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #2d4a40;
  line-height: var(--lh-relaxed);
}

/* Card reveal animation */
.card-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveal for grids */
.card-reveal:nth-child(2) { transition-delay: 0.1s; }
.card-reveal:nth-child(3) { transition-delay: 0.2s; }
.card-reveal:nth-child(4) { transition-delay: 0.3s; }
.card-reveal:nth-child(5) { transition-delay: 0.4s; }
.card-reveal:nth-child(6) { transition-delay: 0.5s; }

/* Card CTA pill button */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1.25rem;
  margin-top: var(--space-lg);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #ffffff;
  background: linear-gradient(135deg, #38B867, #007B6B);
  border: none;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 155, 118, 0.15);
  transition: all var(--ease-default);
  text-decoration: none;
}

.card-cta:hover {
  background: rgba(0, 155, 118, 0.14);
  border-color: var(--emerald);
  color: var(--lime);
}


/* ============================================================
   10. GRID
   ============================================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

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


/* ============================================================
   11. PRODUCT CARDS
   ============================================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  justify-items: center;
}

/* Bottom row: centered 2-card flex container */
.product-grid-bottom {
  display: flex;
  justify-content: center;
  gap: var(--space-xl, 24px);
  margin-top: var(--space-xl, 24px);
}

.product-grid-bottom .product-card {
  flex: 0 1 calc(33.333% - 16px);
  max-width: 380px;
}

/* App-icon style logos (SkwakBox) */
.product-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: var(--space-lg);
  border-radius: 16px;
  border: 2px solid #4A9EE0;
  box-shadow: 0 2px 12px rgba(0, 59, 46, 0.1);
}

/* App-icon box container (Orrery — logo has built-in rounded corners) */
.app-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 0;
  margin-bottom: var(--space-lg);
  box-shadow: none;
  overflow: visible;
}

.app-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  border: 2px solid #000000;
}

.enovari-hero-logo {
  display: block;
  height: 420px;
  width: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 0 30px rgba(56, 184, 103, 0.4)) drop-shadow(0 0 60px rgba(0, 123, 107, 0.25));
  animation: enovariPulse 3s ease-in-out infinite;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 3px solid #0f2850;
  box-shadow: 0 4px 24px rgba(0, 59, 46, 0.06);
  text-decoration: none;
  color: var(--text-dark);
  transition:
    transform var(--ease-card),
    box-shadow var(--ease-card),
    border-color var(--ease-card);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-medium);
}

.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--grad-glow);
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

.product-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-bright);
  fill: none;
}

.product-icon i {
  color: var(--text-bright);
  font-size: 1.5rem;
}

.product-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.product-card h3 {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #0f1f1a;
  margin-bottom: var(--space-sm);
}

.product-card p {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #2d4a40;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--emerald);
  transition: gap var(--ease-default), color var(--ease-default);
}

.product-link::after {
  content: '\2192';
  transition: transform var(--ease-default);
}

.product-card:hover .product-link {
  color: var(--lime);
}

.product-card:hover .product-link::after {
  transform: translateX(4px);
}


/* ============================================================
   PRODUCT SHOWCASE — Side by Side Bullet Lists
   ============================================================ */

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

.product-showcase-grid .product-showcase-col {
  display: grid;
  grid-template-rows: 1fr auto auto;
}

.showcase-top {
  display: flex;
  flex-direction: column;
}

.showcase-btn {
  margin: 24px 0;
  align-self: start;
}

.showcase-media {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #0f2850;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.showcase-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #4a6b60;
  text-align: center;
  background: rgba(255,255,255,0.95);
  margin: 0;
}

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

#product-showcase {
  border: none;
  background: transparent;
  box-shadow: none;
}

.product-showcase-col {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
}

.showcase-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0f1f1a;
  margin-bottom: 4px;
}

.showcase-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #007B6B;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  font-size: 0.95rem;
  color: #2d4a40;
  line-height: 1.65;
  border-bottom: 1px solid rgba(0, 123, 107, 0.08);
}

.showcase-list li:last-child {
  border-bottom: none;
}

.showcase-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #38B867;
  font-weight: 700;
}

.showcase-list li strong {
  color: #0f1f1a;
  font-weight: 700;
}

/* ============================================================
   PRODUCT DEEP-DIVE SECTIONS
   ============================================================ */

.product-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .product-deep-grid {
    grid-template-columns: 1fr;
  }
}

.product-deep-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 3px solid #0f2850;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0, 59, 46, 0.06);
}

.product-deep-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f1f1a;
  margin-bottom: 12px;
}

.product-deep-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #2d4a40;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-deep-features {
  list-style: none;
  padding: 0;
}

.product-deep-features li {
  position: relative;
  padding: 12px 0 12px 0;
  border-bottom: 1px solid rgba(0, 155, 118, 0.08);
  font-size: 0.95rem;
  color: #2d4a40;
  line-height: 1.6;
}

.product-deep-features li:last-child {
  border-bottom: none;
}

.product-deep-features li strong {
  color: #007B6B;
  font-weight: 700;
}

.product-deep-integration {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 3px solid #0f2850;
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0, 59, 46, 0.06);
  font-size: 1rem;
  color: #2d4a40;
  line-height: 1.7;
}

.product-deep-integration strong {
  color: #007B6B;
}


/* ============================================================
   12. PORTFOLIO
   ============================================================ */

.portfolio-section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.portfolio-card {
  display: flex;
  gap: var(--space-2xl);
  align-items: flex-start;
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 3px solid #0f2850;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-xl);
  transition:
    transform var(--ease-card),
    box-shadow var(--ease-card),
    border-color var(--ease-card);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-medium);
}

.portfolio-card:last-child {
  margin-bottom: 0;
}

.portfolio-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 184, 103, 0.1), rgba(0, 155, 118, 0.06));
}

.portfolio-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--emerald);
  fill: none;
}

.portfolio-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.portfolio-content {
  flex: 1;
}

.portfolio-category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--emerald);
  background: rgba(0, 155, 118, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: #0f1f1a;
  margin-bottom: var(--space-sm);
}

.portfolio-desc {
  font-size: var(--fs-sm);
  color: #4a6b60;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: #38B867;
  background: rgba(56, 184, 103, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 184, 103, 0.15);
}

.portfolio-link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--emerald);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: transparent;
  transition: all var(--ease-default);
  text-decoration: none;
}

.portfolio-link-btn:hover {
  background: rgba(0, 155, 118, 0.08);
  border-color: var(--emerald);
  color: var(--lime);
}

.portfolio-link-btn::after {
  content: '\2192';
  transition: transform var(--ease-default);
}

.portfolio-link-btn:hover::after {
  transform: translateX(3px);
}


/* ============================================================
   13. TECH CARDS
   ============================================================ */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.tech-card {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  transition:
    transform var(--ease-card),
    box-shadow var(--ease-card),
    border-color var(--ease-card);
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(56, 184, 103, 0.12);
  border-color: rgba(140, 198, 63, 0.3);
}

.tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, rgba(140, 198, 63, 0.15), rgba(0, 155, 118, 0.1));
  margin-bottom: var(--space-lg);
}

.tech-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--lime);
  fill: none;
}

.tech-card h3 {
  font-size: var(--fs-xl);
  color: var(--text-bright);
  margin-bottom: var(--space-xs);
}

.tech-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-light);
  opacity: 0.6;
  margin-bottom: var(--space-lg);
  font-family: var(--font-mono);
}

.tech-features {
  list-style: none;
}

.tech-features li {
  font-size: var(--fs-sm);
  color: var(--text-light);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(140, 198, 63, 0.06);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.tech-features li:last-child {
  border-bottom: none;
}

.tech-features li::before {
  content: '\2713';
  color: var(--lime);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  flex-shrink: 0;
  margin-top: 1px;
}

.tech-integration {
  margin-top: var(--space-2xl);
  padding: var(--space-lg);
  background: rgba(140, 198, 63, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(140, 198, 63, 0.1);
}

.tech-integration h4 {
  font-size: var(--fs-base);
  color: var(--text-bright);
  margin-bottom: var(--space-sm);
}

.tech-integration p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  opacity: 0.75;
  line-height: var(--lh-relaxed);
}


/* ============================================================
   14. METHODOLOGY
   ============================================================ */

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.method-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: var(--space-2xl);
  border: 3px solid #0f2850;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--ease-card),
    box-shadow var(--ease-card),
    border-color var(--ease-card);
  position: relative;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-medium);
}

.method-number {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.method-card h3 {
  font-size: var(--fs-lg);
  color: #0f1f1a;
  margin-bottom: var(--space-sm);
}

.method-card p {
  font-size: var(--fs-sm);
  color: #4a6b60;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.method-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--emerald);
  transition: color var(--ease-default), gap var(--ease-default);
  text-decoration: none;
}

.method-link:hover {
  color: var(--lime);
  gap: var(--space-sm);
}

.method-link::after {
  content: '\2192';
  transition: transform var(--ease-default);
}

.method-link:hover::after {
  transform: translateX(3px);
}

/* Wide card spanning 2 columns */
.method-card-wide {
  grid-column: span 2;
}

/* Method flow: horizontal step indicators */
.method-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-2xl) 0 var(--space-md);
  flex-wrap: wrap;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: #38B867;
  background: rgba(56, 184, 103, 0.08);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 184, 103, 0.2);
  white-space: nowrap;
}

.flow-arrow {
  color: rgba(0, 123, 107, 0.4);
  font-size: var(--fs-sm);
  opacity: 0.5;
  flex-shrink: 0;
}

.flow-arrow::after {
  content: '\203A';
  font-size: var(--fs-lg);
}


/* ============================================================
   15. MENTAL ALCHEMY SECTION
   ============================================================ */

.mental-alchemy-section,
.section-highlight {
  background: linear-gradient(135deg,
    rgba(140, 198, 63, 0.08) 0%,
    rgba(56, 184, 103, 0.05) 30%,
    rgba(0, 123, 107, 0.08) 60%,
    rgba(140, 198, 63, 0.05) 100%);
  border-top: 1px solid rgba(56, 184, 103, 0.2);
  border-bottom: 1px solid rgba(56, 184, 103, 0.2);
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
  z-index: 1;
}

.mental-alchemy-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #38B867, #8CC63F, #38B867, transparent);
}

.mental-alchemy-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #007B6B, #38B867, #007B6B, transparent);
}

.ma-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.ma-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 184, 103, 0.1);
  transition:
    transform var(--ease-card),
    box-shadow var(--ease-card),
    background var(--ease-card);
}

.ma-feature:hover {
  background: rgba(0, 155, 118, 0.08);
  border-radius: 16px;
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.ma-feature:hover h4 {
  color: #007B6B;
}

.ma-feature:hover p {
  color: #3a5b50;
}

.ma-feature i {
  color: #38B867;
  filter: drop-shadow(0 0 8px rgba(56, 184, 103, 0.3));
}

.ma-feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 184, 103, 0.1), rgba(0, 155, 118, 0.06));
  color: var(--emerald);
}

.ma-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--emerald);
  fill: none;
}

.ma-feature-text h4,
.ma-feature h4 {
  font-size: var(--fs-base);
  color: #0f1f1a;
  margin-bottom: 0.25rem;
}

.ma-feature-text p,
.ma-feature p {
  font-size: var(--fs-sm);
  color: #4a6b60;
  line-height: var(--lh-normal);
}

/* CTA block */
.ma-cta {
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 3px solid #0f2850;
  box-shadow: var(--shadow-sm);
}

.ma-cta h3 {
  font-size: var(--fs-xl);
  color: #0f1f1a;
  margin-bottom: var(--space-sm);
}

.ma-cta p {
  font-size: var(--fs-sm);
  color: #4a6b60;
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   15b. CHARLESTON IMAGE
   ============================================================ */

.charleston-image {
  width: 80%;
  max-width: 900px;
  margin: 0 auto 32px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 61, 58, 0.1);
  border: 3px solid #0f2850;
}

.charleston-image img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================================
   16. CONTACT FORM
   ============================================================ */

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: #0f1f1a;
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--fs-base);
  color: #0f1f1a;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 155, 118, 0.15);
  border-radius: var(--radius-md);
  transition:
    border-color var(--ease-default),
    box-shadow var(--ease-default);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-vibrant);
  box-shadow: 0 0 0 3px rgba(56, 184, 103, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(74, 107, 96, 0.5);
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2338B867' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-bright);
  background: var(--grad-glow);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--ease-default);
  box-shadow: var(--shadow-btn);
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--grad-shimmer);
  transition: left 0.5s ease;
}

.form-submit:hover {
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.form-submit:hover::before {
  left: 100%;
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(56, 184, 103, 0.1);
  color: #38B867;
  border: 1px solid rgba(56, 184, 103, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(220, 53, 69, 0.12);
  color: #e85d6f;
  border: 1px solid rgba(220, 53, 69, 0.25);
}


/* ============================================================
   17. FOOTER
   ============================================================ */

.footer {
  background-color: #0a1e1a;
  color: var(--text-light);
  padding-top: 40px;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
  opacity: 0.8;
}

.footer .container,
.footer .footer-grid,
.footer .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #38B867, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-2xl);
}

.footer-col h4 {
  color: #d4a854;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: var(--fs-sm);
  color: var(--text-light);
  opacity: 0.6;
  line-height: var(--lh-relaxed);
  max-width: 280px;
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: var(--fs-sm);
  color: var(--text-light);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity var(--ease-default), color var(--ease-default);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--lime);
}

/* Footer brand logos */
.footer-enovari-logo {
  width: 180px;
  height: auto;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(56, 184, 103, 0.3)) drop-shadow(0 0 40px rgba(0, 123, 107, 0.15));
  animation: enovariPulse 3s ease-in-out infinite;
}

.footer-logos-col {
  text-align: center;
  padding-top: 4px;
}

/* footer-socials defined in original section below */

/* Footer column links (non-list style) */
.footer-col a:not(.btn):not(.footer-enovari-logo):not(.footer-skwakbox-logo):not(.footer-orrery-logo) {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:not(.btn):hover {
  color: #38B867;
  padding-left: 4px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-col p a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-col p a:hover {
  color: #38B867;
}

.footer-skwakbox-logo {
  height: 50px;
  width: auto;
  margin-bottom: 12px;
  display: block;
  border-radius: 16px;
  border: 2px solid #4A9EE0;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-orrery-logo {
  width: 70px;
  height: 70px;
  margin-bottom: 0;
  border: 2px solid #000000;
  border-radius: 14px;
}

.footer-skwakbox-logo {
  height: 100px;
  width: auto;
  display: block;
  border-radius: 16px;
  border: 2px solid #4A9EE0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.footer-brought-by {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-sh-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-powered {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4a854;
  margin-bottom: 12px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  color: var(--text-light);
  opacity: 0.7;
}

.footer-contact .contact-item i {
  color: #38B867;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact .contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--ease-default);
}

.footer-contact .contact-item a:hover {
  color: var(--lime);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: var(--fs-xs);
  color: var(--text-light);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity var(--ease-default);
}

.footer-links a:hover {
  opacity: 1;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1.1rem !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  border: none !important;
  padding: 0 !important;
}

.footer-socials a:hover {
  background: rgba(56, 184, 103, 0.25) !important;
  color: #38B867 !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(56, 184, 103, 0.2);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(140, 198, 63, 0.08);
  padding: var(--space-lg) 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--text-light);
  opacity: 0.5;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: var(--text-light);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity var(--ease-default);
}

.footer-legal a:hover {
  opacity: 1;
}


/* ============================================================
   18. UTILITY CLASSES
   ============================================================ */

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Sheen overlay effect on cards */
.sheen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(180, 255, 245, 0.04) 38%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(180, 255, 245, 0.04) 62%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 10;
  opacity: 0;
}

.sheen-overlay.sheen-active {
  animation: containerSheenOnce 1.4s ease-in-out forwards;
}

@keyframes containerSheenOnce {
  0%   { opacity: 0; transform: translateX(-120%) skewX(-12deg); }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%) skewX(-12deg); }
}

/* Decorative SVG shapes */
.page-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: var(--z-modal);
  padding: 0.75rem 1.5rem;
  background: var(--bg-dark);
  color: var(--lime);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-md);
}

/* Visible trigger for scroll animations */
.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Flex utilities */
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-col      { flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.gap-sm        { gap: var(--space-sm); }
.gap-md        { gap: var(--space-md); }
.gap-lg        { gap: var(--space-lg); }
.gap-xl        { gap: var(--space-xl); }

/* Spacing */
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* Width */
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }


/* ============================================================
   19. ANIMATIONS & KEYFRAMES
   ============================================================ */

@keyframes enovariPulse {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(56, 184, 103, 0.4)) drop-shadow(0 0 60px rgba(0, 123, 107, 0.25));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 45px rgba(56, 184, 103, 0.6)) drop-shadow(0 0 90px rgba(0, 123, 107, 0.4)) drop-shadow(0 0 120px rgba(140, 198, 63, 0.2));
    transform: scale(1.02);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes textSheen {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Apply sheen to gradient text on hover of parent */
.text-sheen {
  background-size: 200% auto;
  animation: textSheen 4s linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) translateX(0) scale(0.5);
  }
  10% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
    transform: translateY(50vh) translateX(20px) scale(1);
  }
  90% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) translateX(-15px) scale(0.7);
  }
}

@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated gradient border on hover — apply to wrapper */
.border-animate {
  position: relative;
  overflow: hidden;
}

.border-animate::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    270deg,
    var(--lime),
    var(--green-vibrant),
    var(--emerald),
    var(--deep-teal),
    var(--emerald),
    var(--green-vibrant),
    var(--lime)
  );
  background-size: 400% 400%;
  animation: borderRotate 6s ease infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.border-animate:hover::before {
  opacity: 1;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Loading spinner utility */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(140, 198, 63, 0.2);
  border-top-color: var(--lime);
  border-radius: var(--radius-circle);
  animation: spin 0.8s linear infinite;
}

/* Scroll-reveal base — apply to elements, add .visible via JS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ============================================================
   19b. GLOW & SHINE EFFECTS
   ============================================================ */

/* Section titles — subtle text-shadow */
.section-title {
  text-shadow: 0 2px 20px rgba(0, 123, 107, 0.08);
}

/* Hero headline — subtle glow */
.hero-headline {
  text-shadow: 0 0 40px rgba(56, 184, 103, 0.15);
}

/* Card hover — animated border glow */
.card:hover {
  box-shadow: 0 0 0 1px rgba(56, 184, 103, 0.3), 0 20px 60px rgba(0, 123, 107, 0.12);
}

/* Product card hover — enhanced glow */
.product-card:hover {
  box-shadow: 0 0 0 1px rgba(56, 184, 103, 0.3), 0 20px 60px rgba(0, 123, 107, 0.12);
}


/* ============================================================
   20. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ----- 1200px ----- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* ----- 1024px ----- */
@media (max-width: 1024px) {
  :root {
    --fs-hero: clamp(2rem, 5vw, 3.5rem);
    --fs-4xl:  2.75rem;
    --fs-3xl:  2rem;
  }

  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-card-wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid .footer-col:first-child {
    grid-column: span 3;
    max-width: 400px;
  }
}

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

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid-bottom {
    flex-direction: column;
    align-items: center;
  }

  .product-grid-bottom .product-card {
    flex: 1;
    max-width: 100%;
    width: 100%;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ma-features {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* ----- 768px (tablet) ----- */
@media (max-width: 768px) {
  :root {
    --fs-4xl:  2.25rem;
    --fs-3xl:  1.75rem;
    --fs-2xl:  1.5rem;
    --section-pad: clamp(3rem, 6vw, 5rem);
  }

  /* Mobile nav */
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-container {
    padding: 0 var(--space-lg);
  }

  /* Hero adjustments */
  .hero-content {
    padding: var(--space-xl) var(--space-lg);
  }

  .hero-sub {
    font-size: var(--fs-base);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Stats marquee — no layout changes needed */

  /* Portfolio horizontal to vertical */
  .portfolio-card {
    flex-direction: column;
    align-items: stretch;
  }

  .portfolio-icon {
    align-self: flex-start;
  }

  /* Method grid */
  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-card-wide {
    grid-column: span 1;
  }

  /* Method flow wraps */
  .method-flow {
    gap: var(--space-xs);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer-grid .footer-col:first-child {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

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

  /* Form row stacks */
  .form-row {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- 600px ----- */
@media (max-width: 600px) {
  :root {
    --fs-4xl: 2rem;
    --fs-3xl: 1.5rem;
    --fs-hero: clamp(1.75rem, 7vw, 2.5rem);
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .ma-features {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .card {
    padding: var(--space-xl);
  }

  .product-card {
    padding: var(--space-xl);
  }

  .method-card {
    padding: var(--space-xl);
  }

  .portfolio-card {
    padding: var(--space-xl);
  }

  .tech-card {
    padding: var(--space-xl);
  }

}

/* ----- 480px (small phone) ----- */
@media (max-width: 480px) {
  :root {
    --fs-hero: clamp(1.5rem, 8vw, 2rem);
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.375rem;
  }

  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .nav-container {
    padding: 0 var(--space-md);
  }

  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }

  .btn {
    padding: 0.65rem 1.25rem;
    font-size: var(--fs-xs);
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: var(--fs-sm);
  }

  .card,
  .product-card,
  .method-card,
  .portfolio-card,
  .tech-card {
    padding: var(--space-lg);
    border-radius: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid .footer-col:first-child {
    grid-column: span 1;
  }

  .nav-overlay {
    max-width: 100%;
  }

  .stat-number {
    font-size: var(--fs-2xl);
  }
}


/* ----- Accessibility: Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-particle {
    display: none;
  }

  .card-reveal,
  .reveal,
  .animate-in {
    opacity: 1;
    transform: none;
  }
}

/* ----- Accessibility: High Contrast ----- */
@media (prefers-contrast: more) {
  :root {
    --border-card:    rgba(0, 155, 118, 0.3);
    --border-light:   rgba(0, 155, 118, 0.4);
    --border-medium:  rgba(0, 155, 118, 0.5);
    --text-muted:     rgba(224, 236, 230, 0.85);
    --shadow-card:    0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .btn {
    border-width: 2px;
  }

  .btn-secondary {
    border-color: var(--emerald);
  }

  .footer-col ul li a {
    opacity: 0.85;
  }

  .hero-sub {
    opacity: 0.9;
  }

  .stat-label {
    opacity: 0.85;
  }

  .footer-desc {
    opacity: 0.8;
  }
}


/* ----- Print ----- */
@media print {
  .navbar,
  .hero-particles,
  .hero-vignette,
  .hero-fade,
  .nav-overlay,
  .nav-backdrop,
  .footer-socials {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  body::before,
  body::after {
    display: none !important;
  }

  .hero {
    min-height: auto;
    background: #fff;
    padding: 2rem 0;
  }

  .hero-headline {
    color: #000;
    -webkit-text-fill-color: #000;
  }

  .section {
    padding: 2rem 0;
  }

  .card,
  .product-card,
  .method-card,
  .portfolio-card,
  .tech-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
