/* ===== CSS Variables & Reset ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-glow: rgba(99, 102, 241, 0.4);

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-cold-sore: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-preworkout: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 80px rgba(99, 102, 241, 0.5);
}

.cta-button svg {
    transition: transform var(--transition-fast);
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== Stacks Section ===== */
.stacks-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.stacks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stack-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stack-card.cold-sore::before {
    background: var(--gradient-cold-sore);
}

.stack-card.preworkout::before {
    background: var(--gradient-preworkout);
}

.stack-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.15);
}

.stack-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.stack-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stack-tagline {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.stack-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stack-supplements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.supp-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
}

.supp-pill.featured {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.supp-name {
    font-weight: 600;
}

.supp-dose {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.stack-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.benefit-icon {
    color: #22c55e;
    font-weight: 700;
}

.stack-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--accent-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stack-note strong {
    color: var(--text-primary);
}

/* ===== Supplements Section ===== */
.supplements-section {
    padding: 6rem 2rem;
}

.supplements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.supplement-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: all var(--transition-normal);
}

.supplement-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.supplement-card.highlight {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

/* GlyNAC Section - alternating background */
.preworkout-breakdown {
    background: var(--bg-secondary);
}

/* Two column grid for smaller supplement sections */
.supplements-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

@media (max-width: 768px) {
    .supplements-grid.two-col {
        grid-template-columns: 1fr;
    }
}

.supp-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.supp-header .supp-icon {
    font-size: 1.75rem;
}

.supp-icon svg {
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.5));
}

.supp-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.supplement-card>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.supp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag.immune {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.tag.antiviral {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

.tag.antioxidant {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.tag.amino {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

.tag.mineral {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.tag.natural {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.tag.energy {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.tag.antibacterial {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* ===== About Section ===== */
.about-section {
    padding: 10rem 2rem;
    background: var(--bg-secondary);
    overflow: hidden;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.about-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.about-content h2,
.about-content p {
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ===== Disclaimer Section ===== */
.disclaimer-section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.disclaimer-icon {
    font-size: 1.75rem;
}

.disclaimer-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24;
}

.disclaimer-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.disclaimer-text p:last-child {
    margin-bottom: 0;
}

.disclaimer-text strong {
    color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    text-align: center;
}

.footer-content .logo-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.85rem !important;
}

.visitor-counter {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.counter-label {
    color: var(--text-muted);
}

#visitor-count {
    color: var(--accent-primary);
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

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

    .stack-card {
        padding: 1.75rem;
    }

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

    .stacks-section,
    .supplements-section,
    .about-section {
        padding: 4rem 1.5rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stack-card,
.supplement-card {
    animation: fadeInUp 0.6s ease backwards;
}

.stack-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stack-card:nth-child(2) {
    animation-delay: 0.2s;
}

.supplement-card:nth-child(1) {
    animation-delay: 0.1s;
}

.supplement-card:nth-child(2) {
    animation-delay: 0.15s;
}

.supplement-card:nth-child(3) {
    animation-delay: 0.2s;
}

.supplement-card:nth-child(4) {
    animation-delay: 0.25s;
}

.supplement-card:nth-child(5) {
    animation-delay: 0.3s;
}

.supplement-card:nth-child(6) {
    animation-delay: 0.35s;
}

.supplement-card:nth-child(7) {
    animation-delay: 0.4s;
}

.supplement-card:nth-child(8) {
    animation-delay: 0.45s;
}

/* ===== Deep Dive Page ===== */
.deep-dive-content {
    padding-top: 2rem;
}

.dive-section {
    padding: 4rem 2rem;
}

.dive-section:nth-child(even) {
    background: var(--bg-secondary);
}

.dive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dive-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
}

@media (max-width: 768px) {

    .dive-grid,
    .dive-grid.two-col {
        grid-template-columns: 1fr;
    }
}

.dive-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition-normal);
}

.dive-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.dive-card.featured {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
}

.dive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.dive-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dose-badge {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.dive-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dive-row {
    display: flex;
    gap: 0.5rem;
}

.dive-row .label {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 100px;
    flex-shrink: 0;
}

.dive-row span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.dive-note {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.dive-note strong {
    color: var(--text-primary);
}

.dive-note.warning {
    background: rgba(251, 191, 36, 0.1);
    border-left: 3px solid #fbbf24;
}

/* Back to Home link */
.back-home {
    text-align: center;
    padding: 3rem 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.back-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.back-link svg {
    transition: transform var(--transition-fast);
}

.back-link:hover svg {
    transform: translateX(-4px);
}