/*
Theme Name: ScalpMed RESEARCH
Theme URI: https://scalpmedresearch.com
Author: Anik Hassan
Author URI: https://dmanikh.com
Description: World-class cinematic botanical-clinical WordPress theme for ScalpMed™ RESEARCH Hair Growth Oil Brand (Kuang, Selangor, Malaysia). Built with Seed aesthetic design system ("living organism under laboratory glass"), live microscopic bio-cellular canvas, Cash on Delivery (COD) checkout engine, automated WhatsApp notifications, and direct WordPress admin hub integration.
Version: 1.0.2
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scalpmed-research
Tags: e-commerce, portfolio, custom-background, featured-images, full-width-template, theme-options
*/

/* public/css/style.css - Seed Botanical-Clinical Design System */
/* Reference: https://styles.refero.design/style/cd723d5a-e7ea-4e4c-a3bb-6cf56e05057a */
/* "Living organism under laboratory glass" */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;350;400;500;600&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  /* Seed Official Color Tokens */
  --color-forest-depths: #1c3a13;
  --color-lime-pulse: #d3fa99;
  --color-sage-moss: #757c5d;
  --color-olive-gold: #9f995b;
  --color-eucalyptus: #698e79;
  --color-snow-white: #fcfcf7;
  --color-warm-stone: #eeeee9;
  --color-frosted-glass: #c4c7c4;
  --color-ash: #b3b3b3;
  --color-pewter: #666666;
  --color-ink: #000000;

  /* Typography Font Families */
  --font-seed-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-seed-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale (8px base) */
  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-96: 96px;

  /* Border Radii */
  --radius-cards: 16px;
  --radius-large-cards: 32px;
  --radius-inputs: 8px;
  --radius-pill: 1000px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-snow-white);
  color: var(--color-forest-depths);
  font-family: var(--font-seed-sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================ */
/* SEED TYPOGRAPHY PHILOSOPHY: WHISPER-LIGHT 300–350 HEADLINES */
/* ============================================================ */
.seed-display {
  font-family: var(--font-seed-sans);
  font-weight: 300;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.72px;
}

@media (max-width: 640px) {
  .seed-display {
    font-size: 36px;
    letter-spacing: -0.4px;
  }
}

.seed-heading-lg {
  font-family: var(--font-seed-sans);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.4px;
}

.seed-heading {
  font-family: var(--font-seed-sans);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.48px;
}

.seed-subheading {
  font-family: var(--font-seed-sans);
  font-weight: 350;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.48px;
}

.seed-body {
  font-family: var(--font-seed-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.seed-mono {
  font-family: var(--font-seed-mono);
  letter-spacing: 0.015em;
}

/* ============================================================ */
/* SEED FLAT COMPONENTS: 1000px RADIUS, NO SHADOWS, NO GRADIENTS */
/* ============================================================ */

/* Primary Filled Button: Forest Depths (#1c3a13), Snow White text */
.btn-seed-primary {
  background-color: var(--color-forest-depths);
  color: var(--color-snow-white);
  font-family: var(--font-seed-sans);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.btn-seed-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Inverted Light Button on White Canvas */
.btn-seed-inverted {
  background-color: var(--color-snow-white);
  color: var(--color-forest-depths);
  border: 1.5px solid var(--color-forest-depths);
  font-family: var(--font-seed-sans);
  font-size: 15px;
  font-weight: 400;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-seed-inverted:hover {
  background-color: var(--color-forest-depths);
  color: var(--color-snow-white);
}

/* Ghost Outlined Button on Dark Green Sections */
.btn-seed-ghost {
  background-color: transparent;
  color: var(--color-snow-white);
  border: 1.5px solid var(--color-snow-white);
  font-family: var(--font-seed-sans);
  font-size: 15px;
  font-weight: 400;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-seed-ghost:hover {
  background-color: var(--color-snow-white);
  color: var(--color-forest-depths);
}

/* Text Link with Arrow */
.seed-text-link {
  color: var(--color-forest-depths);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.seed-text-link:hover {
  gap: 8px;
}

/* Seed Product Code Pill (SM-01®, SM-02™) */
.seed-code-pill-dark {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-snow-white);
  color: var(--color-snow-white);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-family: var(--font-seed-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.seed-code-pill-light {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-forest-depths);
  color: var(--color-forest-depths);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-family: var(--font-seed-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Lime Pulse Functional Accent Badge */
.seed-badge-lime {
  background-color: var(--color-lime-pulse);
  color: var(--color-forest-depths);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-family: var(--font-seed-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Seed Cards (Completely Flat, 16px radius, no shadow) */
.seed-card-white {
  background-color: #ffffff;
  border-radius: var(--radius-cards);
  border: 1px solid rgba(28, 58, 19, 0.08);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.seed-card-white:hover {
  border-color: rgba(28, 58, 19, 0.25);
  transform: translateY(-2px);
}

.seed-card-stone {
  background-color: var(--color-warm-stone);
  border-radius: var(--radius-cards);
  border: none;
}

.seed-card-dark {
  background-color: transparent;
  border-radius: var(--radius-cards);
  border: 1px solid rgba(252, 252, 247, 0.15);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.seed-card-dark:hover {
  border-color: var(--color-lime-pulse);
  transform: translateY(-2px);
}

/* Frosted Glass Specimen Card */
.seed-frosted-card {
  background-color: rgba(252, 252, 247, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: var(--radius-cards);
  border: 1px solid rgba(28, 58, 19, 0.1);
}

/* ============================================================ */
/* LIVING ORGANISM UNDER LABORATORY GLASS (THREE.JS CANVAS) */
/* ============================================================ */
#laboratory-cell-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* Subtle Bio Membrane Pulse Animation */
@keyframes bioMembraneDrift {
  0%, 100% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.03) translate(-8px, 6px);
  }
}

.animate-bio-drift {
  animation: bioMembraneDrift 14s ease-in-out infinite;
}

/* Live Animated Specimen Card & 30% Logo Emblem */
@keyframes emblemFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.28;
  }
  50% {
    transform: translateY(-8px) rotate(3deg) scale(1.05);
    opacity: 0.38;
  }
}

.animate-emblem-float {
  animation: emblemFloat 6s ease-in-out infinite;
}

.specimen-live-card {
  position: relative;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.specimen-live-card:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 58, 19, 0.3);
  box-shadow: 0 12px 30px -10px rgba(28, 58, 19, 0.08);
}

/* Form inputs on dark sections (Seed spec) */
.seed-input-dark {
  background: transparent;
  border: 1.5px solid rgba(252, 252, 247, 0.4);
  color: var(--color-snow-white);
  border-radius: var(--radius-inputs);
  padding: 12px 16px;
  font-family: var(--font-seed-sans);
  font-size: 14px;
}

.seed-input-dark:focus {
  outline: none;
  border-color: var(--color-lime-pulse);
}

.seed-input-light {
  background: #ffffff;
  border: 1px solid rgba(28, 58, 19, 0.2);
  color: var(--color-forest-depths);
  border-radius: var(--radius-inputs);
  padding: 12px 16px;
  font-family: var(--font-seed-sans);
  font-size: 14px;
}

.seed-input-light:focus {
  outline: none;
  border-color: var(--color-forest-depths);
}

/* ============================================================ */
/* 100% RESPONSIVE & PAGESPEED PERFORMANCE REFINEMENTS */
/* ============================================================ */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

/* Prevent auto-zooming on mobile iOS form fields */
@media screen and (max-width: 640px) {
  .seed-input-light,
  .seed-input-dark,
  input,
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Modal mobile scroll containment */
.seed-modal-container {
  max-height: calc(100vh - 2rem);
  overscroll-behavior: contain;
}

/* Smooth GPU accelerated transitions */
.animate-emblem-float {
  will-change: transform;
}


