/*
Theme Name: Vortex Peptide Labs
Theme URI: https://vortexpeptidelabs.com
Author: OpenAI
Description: A custom dark, electric-blue WooCommerce theme for Vortex Peptide Labs.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: vortex-peptide-labs
License: GPL-2.0-or-later
*/

:root {
  --vpl-bg: #05070a;
  --vpl-panel: #0b1017;
  --vpl-panel-2: #0f1722;
  --vpl-blue: #0a9cff;
  --vpl-blue-2: #006fd6;
  --vpl-silver: #d7dde6;
  --vpl-muted: #98a5b5;
  --vpl-border: rgba(123, 183, 255, .20);
  --vpl-shadow: 0 22px 70px rgba(0, 126, 255, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--vpl-silver);
  background:
    radial-gradient(circle at 75% 6%, rgba(0, 125, 255, .13), transparent 28%),
    linear-gradient(180deg, #020306 0%, var(--vpl-bg) 38%, #04070a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--vpl-border);
  background: rgba(2, 4, 7, .88);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.site-branding { display: flex; align-items: center; margin-right: auto; }
.site-branding img { width: 220px; max-height: 62px; object-fit: contain; object-position: left center; }
.primary-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.primary-menu a { color: #e8edf5; transition: .2s ease; }
.primary-menu a:hover { color: var(--vpl-blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--vpl-border); border-radius: 12px; background: rgba(255,255,255,.02); }
.cart-count { position: relative; }
.cart-count span { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; display: grid; place-items: center; background: var(--vpl-blue); color: #fff; border-radius: 99px; font-size: .72rem; font-weight: 800; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--vpl-border); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 73% 45%, rgba(0, 150, 255, .26), transparent 24%),
    repeating-radial-gradient(circle at 74% 46%, transparent 0 17px, rgba(0, 145, 255, .045) 18px 20px);
  pointer-events: none;
}
.hero-grid { position: relative; min-height: 610px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding-block: 78px; }
.eyebrow { color: var(--vpl-blue); text-transform: uppercase; font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
.hero h1 { margin: 14px 0 18px; max-width: 720px; font-size: clamp(2.8rem, 7vw, 6rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--vpl-blue); font-size: .42em; letter-spacing: .22em; margin-top: 18px; }
.hero-copy { max-width: 650px; color: #b3bdca; font-size: 1.15rem; }
.disclaimer { margin-top: 25px; display: flex; gap: 12px; align-items: flex-start; color: #dce7f4; }
.disclaimer b { display: block; color: var(--vpl-blue); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--vpl-blue); border-radius: 9px; font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; transition: .25s ease; }
.btn-primary { background: linear-gradient(135deg, var(--vpl-blue), var(--vpl-blue-2)); color: white; box-shadow: 0 14px 38px rgba(0, 144, 255, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0, 144, 255, .38); }
.btn-outline:hover { background: rgba(0, 153, 255, .10); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 480px; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(0, 150, 255, .35); }
.hero-art::before { width: 430px; height: 430px; box-shadow: 0 0 90px rgba(0, 147, 255, .22), inset 0 0 70px rgba(0, 147, 255, .12); animation: spin 24s linear infinite; }
.hero-art::after { width: 330px; height: 330px; border-style: dashed; animation: spinReverse 18s linear infinite; }
.hero-art img { position: relative; z-index: 2; width: min(520px, 90%); filter: drop-shadow(0 25px 45px rgba(0, 100, 255, .30)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

.section { padding: 88px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.05; letter-spacing: -.035em; text-transform: uppercase; }
.section-heading p { max-width: 580px; color: var(--vpl-muted); margin: 0; }
.grid { display: grid; gap: 18px; }
.category-grid { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--vpl-border); border-radius: 16px; background: linear-gradient(180deg, rgba(17,25,36,.92), rgba(7,10,15,.94)); box-shadow: var(--vpl-shadow); }
.category-card { padding: 28px; min-height: 240px; display: flex; flex-direction: column; transition: .25s ease; }
.category-card:hover { transform: translateY(-5px); border-color: rgba(0, 153, 255, .58); }
.icon-badge { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(0, 153, 255, .35); border-radius: 15px; color: var(--vpl-blue); background: rgba(0, 153, 255, .08); font-size: 1.5rem; }
.category-card h3 { margin: 22px 0 8px; text-transform: uppercase; letter-spacing: .03em; }
.category-card p { color: var(--vpl-muted); margin: 0 0 24px; }
.text-link { margin-top: auto; color: var(--vpl-blue); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.trust-strip { padding: 28px 0; border-block: 1px solid var(--vpl-border); background: rgba(255,255,255,.015); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 10px 18px; }
.trust-item strong { display: block; text-transform: uppercase; font-size: .86rem; }
.trust-item span { color: var(--vpl-muted); font-size: .9rem; }

.products-grid { grid-template-columns: repeat(4, 1fr); }
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card .image-wrap { aspect-ratio: 1 / 1; display: grid; place-items: center; background: radial-gradient(circle, rgba(0, 129, 255, .13), transparent 62%); border-bottom: 1px solid var(--vpl-border); padding: 18px; }
.product-card img { max-height: 240px; object-fit: contain; }
.product-card-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin: 0 0 6px; }
.product-card .price { color: var(--vpl-blue); font-weight: 900; margin-bottom: 16px; }
.product-card .button { margin-top: auto; width: 100%; text-align: center; background: linear-gradient(135deg, var(--vpl-blue), var(--vpl-blue-2)); color: white; border-radius: 8px; padding: 12px 16px; font-weight: 800; text-transform: uppercase; font-size: .78rem; }

.education-grid { grid-template-columns: 1.15fr repeat(3, 1fr); }
.education-lead { padding: 32px; }
.education-lead h3 { font-size: 2rem; line-height: 1.1; margin: 14px 0; }
.article-card { overflow: hidden; }
.article-card .thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, rgba(0,153,255,.25), rgba(255,255,255,.02)); display: grid; place-items: center; font-size: 2.2rem; }
.article-card .body { padding: 20px; }
.article-card h3 { margin: 0 0 8px; }
.article-card p { color: var(--vpl-muted); }

.faq-grid { grid-template-columns: 1.25fr .75fr; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--vpl-border); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { color: var(--vpl-muted); }
.ruo-panel { padding: 28px; position: sticky; top: 110px; }

.site-footer { border-top: 1px solid var(--vpl-border); padding: 55px 0 28px; background: #020407; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { width: 230px; }
.footer-brand p, .site-footer li, .site-footer a { color: #9eabba; font-size: .93rem; }
.site-footer h4 { color: white; text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--vpl-border); color: #758294; font-size: .82rem; display: flex; justify-content: space-between; gap: 20px; }

.page-hero { padding: 90px 0 60px; border-bottom: 1px solid var(--vpl-border); }
.page-hero h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); text-transform: uppercase; letter-spacing: -.04em; }
.content-wrap { padding: 60px 0 90px; }
.entry-content { max-width: 860px; }
.entry-content h2, .entry-content h3 { color: white; }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 16px; border: 1px solid var(--vpl-border); border-radius: 16px; background: var(--vpl-panel); }
.woocommerce ul.products li.product .button, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt { background: var(--vpl-blue) !important; color: #fff !important; border-radius: 8px; }
.woocommerce div.product { padding: 60px 0; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--vpl-blue); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--vpl-blue); background: var(--vpl-panel); color: #fff; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--vpl-blue); }

@media (max-width: 980px) {
  .primary-navigation { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 22px 16px; background: #06090e; border-bottom: 1px solid var(--vpl-border); }
  .primary-navigation.is-open { display: block; }
  .primary-menu { flex-direction: column; }
  .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--vpl-border); border-radius: 10px; color: white; background: transparent; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 60px; }
  .hero-art { min-height: 380px; }
  .category-grid, .products-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .education-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-branding img { width: 170px; }
  .header-actions .account-link { display: none; }
  .hero-grid { min-height: auto; }
  .hero-art { min-height: 300px; }
  .hero-art::before { width: 280px; height: 280px; }
  .hero-art::after { width: 220px; height: 220px; }
  .section { padding: 64px 0; }
  .section-heading { display: block; }
  .category-grid, .products-grid, .education-grid, .trust-grid, .faq-grid, .footer-grid, .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .footer-bottom { display: block; }
}
