/* ═══════════════════════════════════════════════
   KINOTYPE V6 — WHITE THEME
   ═══════════════════════════════════════════════ */
:root {
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-200: #bfdbfe;
  --blue-300: #93c5fd; --blue-400: #60a5fa; --blue-500: #3b82f6;
  --blue-600: #2563eb; --blue-700: #1d4ed8; --blue-800: #1e40af;
  --blue-900: #1e3a8a; --blue-950: #172554;
  --cyan-400: #22d3ee; --cyan-500: #06b6d4;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
  --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b;
  --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b;
  --slate-900: #0f172a; --slate-950: #020617;
  --bg-body: #f8fafc; --bg-section: rgba(255,255,255,0.7); --bg-card: rgba(255,255,255,0.85);
  --bg-card-hover: #f1f5f9; --bg-input: #f1f5f9;
  --primary: var(--blue-600); --primary-light: var(--blue-600);
  --primary-glow: rgba(37,99,235,0.15); --accent: var(--cyan-500);
  --text: var(--slate-900); --text-muted: var(--slate-500);
  --text-dim: var(--slate-400); --border: var(--slate-200);
  --border-subtle: rgba(148,163,184,0.12);
  --success: #10b981; --warning: #f59e0b; --danger: #ef4444;
  --radius: 12px; --radius-sm: 8px; --radius-lg: 16px; --radius-xl: 24px;
  --font: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg-body); color: var(--text); line-height: 1.6; overflow-x: hidden; position: relative; }

/* ANIMATED BLUE GRADIENT BACKGROUND — spans entire page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(37,99,235,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(6,182,212,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 50%, rgba(59,130,246,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 70% 20%, rgba(34,211,238,0.07) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: bg-drift 20s ease-in-out infinite alternate;
}
@keyframes bg-drift {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 50% 30%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 30% 80%; }
  100% { background-position: 0% 100%; }
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
button { font-family: var(--font); cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
input, select { font-family: var(--font); }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--primary); }
.section-title { font-size: clamp(32px, 5vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.gradient-text { background: linear-gradient(135deg, var(--blue-600), var(--cyan-500)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mono { font-family: var(--mono); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* SCROLL PROGRESS BAR (V3) */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--cyan-400)); z-index: 9999; width: 0; transition: width 0.05s linear; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { 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; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 20px var(--primary-glow); } 50% { box-shadow: 0 0 40px var(--primary-glow), 0 0 60px rgba(37,99,235,0.05); } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes typewriter-cursor { 0%, 100% { border-color: var(--accent); } 50% { border-color: transparent; } }

/* NEW: shimmer sweep on hero h1 */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* MORPHING BLOBS (V3) */
@keyframes morph-blue { 0%,100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; } 50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; } }
@keyframes morph-cyan { 0%,100% { border-radius: 40% 60% 50% 50%/40% 50% 60% 50%; } 50% { border-radius: 50% 40% 60% 50%/60% 40% 50% 60%; } }

/* ═══════════════════════════════════════════════
   NAVBAR (V2 glass-morphism — light)
   ═══════════════════════════════════════════════ */
.nav { position: fixed; top: 3px; left: 0; right: 0; height: var(--nav-h); z-index: 1000; transition: all var(--transition); display: flex; align-items: center; }
.nav.scrolled { background: rgba(255,255,255,0.85); backdrop-filter: blur(20px) saturate(1.5); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); display: flex; align-items: center; gap: 8px; }
.nav-logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse-glow 3s infinite; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.02em; transition: color var(--transition); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 8px 20px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 500; border-radius: var(--radius-sm); transition: all var(--transition); }
.nav-cta:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: 0 4px 20px var(--primary-glow); color: #fff; }

/* ═══════════════════════════════════════════════
   HERO — particle canvas + gradient orbs + grid
   ═══════════════════════════════════════════════ */
.hero { min-height: 110vh; display: flex; align-items: center; position: relative; overflow: visible; padding-top: var(--nav-h); padding-bottom: 80px; }
#particle-canvas { position: absolute; top: -5%; left: -5%; width: 110%; height: 115%; z-index: 1; opacity: 0.85; }

/* V2 background layers — light */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(37,99,235,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(6,182,212,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(59,130,246,0.10) 0%, transparent 65%);
  animation: gradient-shift 12s ease infinite; background-size: 200% 200%;
}
.hero-grid { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(37,99,235,0.08) 1px, transparent 1px),
  linear-gradient(90deg, rgba(37,99,235,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.25; animation: float 8s ease-in-out infinite; }
.hero-orb-1 { width: 500px; height: 500px; background: var(--blue-300); top: 5%; left: -8%; animation-delay: 0s; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--cyan-400); bottom: 5%; right: -8%; animation-delay: -3s; }
.hero-orb-3 { width: 300px; height: 300px; background: var(--blue-200); top: 45%; left: 35%; animation-delay: -5s; }

.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; margin: 0 auto; text-align: center; }

/* V3 hero badge with pulse dot */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.2); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--primary); margin-bottom: 32px; font-family: var(--mono); }
.hero-badge .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-glow 2s infinite; }

/* Hero h1 with shimmer sweep */
.hero h1 { font-size: clamp(44px, 7vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 24px; position: relative; }
.hero h1 .shimmer-text {
  background: linear-gradient(
    90deg,
    var(--text) 0%,
    var(--text) 40%,
    rgba(37,99,235,0.9) 50%,
    var(--text) 60%,
    var(--text) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

.hero-tagline { font-size: clamp(20px, 3vw, 28px); font-weight: 400; color: var(--text-muted); letter-spacing: -0.01em; margin-bottom: 24px; }

/* V3 typewriter subtitle */
.hero-subtitle { font-size: 18px; color: var(--text-muted); line-height: 1.7; max-width: 540px; margin: 0 auto 40px; min-height: 52px; }
.hero-subtitle .typewriter { border-right: 2px solid var(--accent); animation: typewriter-cursor 0.8s infinite; padding-right: 2px; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { padding: 14px 32px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 500; border-radius: var(--radius-sm); transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--blue-500); transform: translateY(-2px); box-shadow: 0 8px 30px var(--primary-glow); color: #fff; }
.btn-outline { padding: 14px 32px; border: 1px solid var(--border); color: var(--text); font-size: 14px; font-weight: 500; border-radius: var(--radius-sm); transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(37,99,235,0.05); }

/* ═══════════════════════════════════════════════
   TRUST BAR (V2 style — light)
   ═══════════════════════════════════════════════ */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0; overflow: hidden; background: var(--bg-section); }
.trust-track { display: flex; animation: marquee 30s linear infinite; width: max-content; }
.trust-item { display: flex; align-items: center; gap: 10px; padding: 20px 48px; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--slate-600); letter-spacing: 0.04em; }
.trust-item .icon { font-size: 18px; }
.trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-300); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   PRODUCTS — V2 grid layout with V3 tilt (light)
   ═══════════════════════════════════════════════ */
.products-section { background: var(--bg-body); }
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; position: relative; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03); }
.product-card:hover { border-color: rgba(37,99,235,0.3); box-shadow: 0 20px 60px rgba(37,99,235,0.12), 0 0 30px rgba(37,99,235,0.08); }
.product-img { height: 220px; background: linear-gradient(135deg, var(--slate-50), var(--slate-100)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--bg-card)); }
.product-vial { width: 60px; height: 120px; background: linear-gradient(180deg, rgba(37,99,235,0.06), rgba(37,99,235,0.02)); border: 1px solid rgba(37,99,235,0.15); border-radius: 6px 6px 4px 4px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 15px; transition: transform 0.4s ease; }
.product-card:hover .product-vial { transform: scale(1.08); }
.product-vial::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 40px; height: 10px; background: var(--slate-300); border-radius: 2px 2px 0 0; }
.product-vial .vial-label { font-size: 7px; font-weight: 600; color: var(--primary); letter-spacing: 0.05em; text-align: center; line-height: 1.2; }
.product-vial .vial-mg { font-size: 10px; font-weight: 600; color: var(--text); margin-top: 2px; }
.product-tags { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.product-tag { font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.tag-recovery { background: rgba(16,185,129,0.1); color: #059669; }
.tag-fat-loss { background: rgba(59,130,246,0.1); color: #2563eb; }
.tag-anti-aging { background: rgba(168,85,247,0.1); color: #7c3aed; }
.tag-growth { background: rgba(245,158,11,0.1); color: #d97706; }
.tag-supply { background: rgba(100,116,139,0.1); color: #475569; }
.tag-cognitive { background: rgba(99,102,241,0.1); color: #4f46e5; }
.tag-sleep { background: rgba(99,102,241,0.1); color: #6366f1; }
.tag-immune { background: rgba(16,185,129,0.1); color: #047857; }
.tag-longevity { background: rgba(236,72,153,0.1); color: #db2777; }
.product-info { padding: 20px; }
.product-name { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.product-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--text); }
.product-price span { font-size: 13px; color: var(--text-dim); font-weight: 400; }
.btn-add { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all var(--transition); }
.btn-add:hover { background: var(--blue-500); transform: scale(1.1); box-shadow: 0 4px 15px var(--primary-glow); }

/* ═══════════════════════════════════════════════
   TOOLS — V2 gradient-top-border + V3 morph blob (light)
   ═══════════════════════════════════════════════ */
.tools-section { background: var(--bg-section); position: relative; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tools-section .blob { position: absolute; width: 500px; height: 500px; background: rgba(34,211,238,0.12); filter: blur(90px); animation: morph-cyan 12s ease-in-out infinite; z-index: 0; top: 10%; right: -100px; }
.tool-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; position: relative; overflow: hidden; cursor: pointer; z-index: 1; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.tool-card:hover { border-color: rgba(37,99,235,0.3); box-shadow: 0 16px 48px rgba(37,99,235,0.1); }
/* V2 animated gradient top border */
.tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0; transition: opacity var(--transition); }
.tool-card:hover::before { opacity: 1; }
.tool-icon { width: 48px; height: 48px; border-radius: var(--radius); background: rgba(37,99,235,0.08); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.tool-name { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.tool-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.tool-link { font-size: 13px; font-weight: 500; color: var(--primary); display: flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.tool-card:hover .tool-link { gap: 10px; }

/* ═══════════════════════════════════════════════
   CALCULATOR PANELS (V2 structured style — light)
   ═══════════════════════════════════════════════ */
.calc-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 24px; }
.calc-overlay.open { display: flex; }
.calc-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: calc-enter 0.4s ease; box-shadow: 0 25px 60px rgba(0,0,0,0.12); }
@keyframes calc-enter { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.calc-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--slate-100); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 1; transition: all var(--transition); }
.calc-close:hover { background: var(--slate-200); color: var(--text); }
.calc-header { padding: 32px 32px 0; }
.calc-header h2 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.calc-header p { font-size: 14px; color: var(--text-muted); }
.calc-body { padding: 24px 32px 32px; }
.calc-step { margin-bottom: 24px; }
.calc-step-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.calc-step-num { width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: all var(--transition); background: var(--bg-card); }
.chip:hover { border-color: var(--primary); color: var(--text); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.calc-input { width: 100%; padding: 12px 16px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; transition: border-color var(--transition); }
.calc-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.calc-input::placeholder { color: var(--text-dim); }
.calc-results { background: var(--slate-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.calc-result-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.calc-result-row:last-child { border-bottom: none; }
.calc-result-label { font-size: 14px; color: var(--text-muted); }
.calc-result-value { font-family: var(--mono); font-size: 18px; font-weight: 500; color: var(--text); }
.calc-result-value .unit { font-size: 12px; color: var(--text-dim); font-weight: 400; margin-left: 4px; }
.calc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; margin-top: 16px; }
.calc-badge.good { background: rgba(16,185,129,0.08); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.calc-badge.warn { background: rgba(245,158,11,0.08); color: #d97706; border: 1px solid rgba(245,158,11,0.2); }

/* Syringe visual (V2 — light) */
.syringe-visual { margin-top: 20px; padding: 20px; background: var(--bg-input); border-radius: var(--radius-sm); text-align: center; border: 1px solid var(--border); }
.syringe-svg { max-width: 100%; }
.syringe-label { font-family: var(--mono); font-size: 13px; color: var(--primary); margin-top: 8px; }

/* Protocol planner */
.protocol-row { display: grid; grid-template-columns: 1fr 100px 120px 80px 40px; gap: 12px; align-items: center; margin-bottom: 12px; }
.protocol-row select, .protocol-row input { padding: 10px 12px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 13px; }
.protocol-row select:focus, .protocol-row input:focus { outline: none; border-color: var(--primary); }
.btn-remove { width: 32px; height: 32px; border-radius: 50%; background: rgba(239,68,68,0.08); color: var(--danger); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all var(--transition); }
.btn-remove:hover { background: rgba(239,68,68,0.15); }
.btn-add-row { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1px dashed var(--border); border-radius: var(--radius-sm); color: var(--primary); font-size: 13px; font-weight: 500; transition: all var(--transition); width: 100%; justify-content: center; margin-top: 8px; }
.btn-add-row:hover { border-color: var(--primary); background: rgba(37,99,235,0.04); }

/* Shelf life bar */
.life-bar { height: 12px; border-radius: 6px; background: var(--slate-200); overflow: hidden; margin-top: 12px; position: relative; }
.life-bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--success), var(--warning), var(--danger)); transition: width 0.6s ease; }

/* ═══════════════════════════════════════════════
   BLOG PREVIEW (V2 style — light)
   ═══════════════════════════════════════════════ */
.blog-section { background: var(--bg-section); border-top: 1px solid var(--border); }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.4s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.2); box-shadow: 0 12px 36px rgba(37,99,235,0.08); }
.blog-img { height: 180px; background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(6,182,212,0.04)); position: relative; }
.blog-img .blog-tag { position: absolute; bottom: 12px; left: 12px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: rgba(37,99,235,0.1); color: var(--primary); }
.blog-content { padding: 20px; }
.blog-date { font-size: 11px; color: var(--text-dim); margin-bottom: 8px; }
.blog-title { font-size: 16px; font-weight: 500; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ═══════════════════════════════════════════════
   FOOTER (V2 4-column grid — light)
   ═══════════════════════════════════════════════ */
.footer { background: var(--bg-section); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--text-dim); }

/* ═══════════════════════════════════════════════
   TILT CARD (V3) — smooth snap-back
   ═══════════════════════════════════════════════ */
.tilt-card { transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }

/* ═══════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════ */
.about-section { background: var(--bg-body); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.about-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.about-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .protocol-row { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
}
