/* Lab-soft design system (site-wide overrides) */

:root {
  --lab-bg: #f7f8ff;
  --lab-bg-2: #f2fbff;
  --lab-surface: rgba(255, 255, 255, 0.72);
  --lab-surface-strong: #ffffff;
  --lab-border: rgba(17, 24, 39, 0.10);

  --lab-ink: #111827;
  --lab-ink-2: rgba(17, 24, 39, 0.72);
  --lab-ink-3: rgba(17, 24, 39, 0.55);

  --lab-primary: #6d5efc;   /* periwinkle */
  --lab-primary-2: #3cc7b5; /* mint */
  --lab-accent: #ff6aa2;    /* soft pink */
  --lab-warn: #ffb86b;      /* peach */

  --lab-radius-xl: 28px;
  --lab-radius-lg: 22px;
  --lab-radius-md: 16px;

  --lab-shadow-sm: 0 8px 18px rgba(17, 24, 39, 0.08);
  --lab-shadow-md: 0 16px 40px rgba(17, 24, 39, 0.12);
  --lab-shadow-lg: 0 28px 70px rgba(17, 24, 39, 0.14);
}

html, body {
  background: radial-gradient(1200px 700px at 10% 10%, rgba(109, 94, 252, 0.18), transparent 55%),
              radial-gradient(1000px 680px at 85% 15%, rgba(60, 199, 181, 0.18), transparent 55%),
              radial-gradient(900px 600px at 40% 85%, rgba(255, 106, 162, 0.14), transparent 55%),
              linear-gradient(180deg, var(--lab-bg) 0%, var(--lab-bg-2) 100%);
  color: var(--lab-ink);
}

body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  letter-spacing: -0.01em;
}

/* Typography */
h1, h2, h3, .section-title, .product-title {
  font-family: "Fraunces", ui-serif, Georgia, serif !important;
  letter-spacing: -0.02em;
}

p, li, a, span, small, label, input, textarea, select {
  color: var(--lab-ink-2);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 248, 255, 0.65) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: none !important;
}

nav {
  max-width: 1200px !important;
  width: 100%;
  padding: 0.9rem 1.25rem !important;
}

.logo-container img {
  height: 44px !important;
}

.nav-links {
  gap: 1.6rem !important;
}

.nav-links a {
  font-weight: 600 !important;
  color: var(--lab-ink) !important;
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a::after {
  background: linear-gradient(90deg, var(--lab-primary), var(--lab-primary-2)) !important;
  height: 3px !important;
  border-radius: 99px;
}

.mobile-menu-toggle {
  color: var(--lab-ink) !important;
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
}

@media (max-width: 968px) {
  header.nav-open .nav-links {
    display: flex !important;
  }

  .nav-links {
    background: rgba(247, 248, 255, 0.88) !important;
    border-bottom: 1px solid rgba(17, 24, 39, 0.10) !important;
    box-shadow: var(--lab-shadow-md) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1rem 1.25rem 1.25rem !important;
  }

  .nav-links a {
    width: 100%;
    padding: 0.35rem 0;
  }
}

/* Sections and surfaces */
.section,
.products-section,
.image-section,
.faq-section,
.regulatory-section,
.blog-page,
.contact-page,
.about-main,
.shop-section,
.blog-post-page,
.product-page {
  background: transparent !important;
}

.feature-card,
.product-card,
.research-text-block,
.about-section,
.about-sidebar-card,
.contact-card,
.contact-sidebar-card,
.blog-card,
.sidebar-section,
.faq-item,
.product-container,
.info-section {
  background: var(--lab-surface) !important;
  border: 1px solid var(--lab-border) !important;
  box-shadow: var(--lab-shadow-sm) !important;
  border-radius: var(--lab-radius-lg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover,
.product-card:hover,
.blog-card:hover,
.faq-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--lab-shadow-md) !important;
}

/* Hero: make it soft + airy */
.hero,
.about-hero,
.contact-hero,
.shop-hero,
.blog-hero,
.product-hero-section {
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.18) 0%, rgba(60, 199, 181, 0.18) 45%, rgba(255, 106, 162, 0.12) 100%) !important;
  color: var(--lab-ink) !important;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.hero h1 {
  line-height: 1.06;
}

.hero-subtitle {
  max-width: 60ch;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: center;
}

.home-hero-card {
  max-width: 440px;
  margin-left: auto;
}

.home-strengths-grid a.product-card {
  display: block;
}

.home-strengths-grid .product-card {
  padding: 0.25rem 0;
}

.home-strengths-grid .product-info {
  padding: 1.4rem 1.5rem !important;
}

.home-strengths-grid .product-gram {
  background: rgba(109, 94, 252, 0.12) !important;
  color: color-mix(in oklab, var(--lab-primary) 75%, #000 0%) !important;
}

.home-strengths-grid .blog-readmore span {
  color: var(--lab-ink) !important;
  opacity: 0.9;
}

.hero-cta .btn,
.hero-cta .product-btn {
  padding: 0.9rem 1.25rem !important;
}

.feature-link:hover {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 968px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-hero-card {
    max-width: 100%;
    margin-left: 0;
  }
  .hero {
    padding: 5.5rem 1.5rem 3.5rem !important;
  }
}

.hero::after,
.hero-overlay,
.about-hero::before,
.contact-hero::before {
  opacity: 0.0 !important;
}

.hero-badge,
.about-badge {
  background: rgba(255, 255, 255, 0.6) !important;
  color: var(--lab-ink) !important;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

/* Buttons */
.btn,
.product-btn,
.cta-shop-btn,
.order-btn,
.submit-btn,
.back-to-blog {
  border-radius: 999px !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  box-shadow: none !important;
}

.btn-primary,
.product-btn,
.order-btn,
.submit-btn,
.cta-shop-btn {
  background: linear-gradient(135deg, var(--lab-primary) 0%, var(--lab-primary-2) 100%) !important;
  color: #fff !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.55) !important;
  color: var(--lab-ink) !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
}

/* Links */
a {
  color: color-mix(in oklab, var(--lab-primary) 75%, #000 0%) !important;
}

/* Footer */
footer,
.site-footer {
  background: rgba(17, 24, 39, 0.92) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

footer a,
footer p,
footer li,
footer h3 {
  color: rgba(255, 255, 255, 0.86) !important;
}

/* Small polish */
.section-label {
  color: var(--lab-primary) !important;
  letter-spacing: 2px !important;
}

.keyword-pill,
.tag-chip,
.blog-tag {
  border-radius: 999px !important;
  border: 1px solid rgba(17, 24, 39, 0.10) !important;
  background: rgba(255,255,255,0.55) !important;
}

/* Reduce harsh borders and make forms softer */
input, textarea, select {
  border-radius: 14px !important;
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
}

input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: color-mix(in oklab, var(--lab-primary) 60%, #fff 0%) !important;
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.18) !important;
}

