/* ============================================================
   NovaCELL Design Tokens — extracted from source CSS
   Source: novacell-peptides.com /assets/index-BG-LS_gY.css
   ============================================================ */

:root {
    /* ---- Colors (HSL) ---- */
    --nc-background: #faf8f5;
    --nc-foreground: #0a0a0a;
    --nc-card: #ffffff;
    --nc-card-foreground: #0a0a0a;
    --nc-popover: #ffffff;
    --nc-popover-foreground: #0a0a0a;
    --nc-primary: #7e6318;
    --nc-primary-foreground: #ffffff;
    --nc-secondary: #edebe6;
    --nc-secondary-foreground: #0a0a0a;
    --nc-muted: #f1efeb;
    --nc-muted-foreground: #595959;
    --nc-accent: #7e6318;
    --nc-accent-foreground: #ffffff;
    --nc-destructive: #ce3131;
    --nc-destructive-foreground: #ffffff;
    --nc-border: #ddd9d2;
    --nc-input: #d3cfca;
    --nc-ring: #b3923c;

    /* ---- Gold Scale ---- */
    --nc-gold: #b3923c;
    --nc-gold-light: #c4aa6b;
    --nc-gold-dark: #976f35;

    /* ---- Surfaces ---- */
    --nc-surface-elevated: #ffffff;
    --nc-surface-overlay: #f9f7f3;

    /* ---- Gradients ---- */
    --nc-gradient-gold: linear-gradient(135deg, #b3923c 0%, #976f35 100%);
    --nc-gradient-dark: linear-gradient(180deg, #faf8f5 0%, #f1efeb 100%);
    --nc-gradient-card: linear-gradient(145deg, #ffffff 0%, #f9f7f3 100%);

    /* ---- Shadows ---- */
    --nc-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
    --nc-shadow-md: 0 4px 6px -1px rgb(0 0 0 / .08), 0 2px 4px -2px rgb(0 0 0 / .05);
    --nc-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .05);
    --nc-shadow-gold: 0 4px 20px -4px rgba(179, 146, 60, 0.25);

    /* ---- Typography ---- */
    --nc-font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --nc-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --nc-font-accent: 'Poppins', system-ui, sans-serif;

    /* ---- Spacing / Radius ---- */
    --nc-radius: 8px;
    --nc-radius-sm: 4px;
    --nc-radius-md: 6px;
    --nc-radius-lg: 8px;
    --nc-radius-xl: 12px;
    --nc-radius-2xl: 16px;

    /* ---- Breakpoints (reference only — use in media queries) ---- */
    /* sm: 640px, md: 768px, lg: 1024px, xl: 1280px, 2xl: 1536px */

    /* ---- Z-index scale ---- */
    --nc-z-dropdown: 50;
    --nc-z-sticky: 100;
    --nc-z-overlay: 200;
    --nc-z-modal: 300;
    --nc-z-toast: 400;
}

/* ============================================================
   Base Reset & Typography
   ============================================================ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--nc-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--nc-foreground);
    background-color: var(--nc-background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--nc-font-sans);
    font-weight: 500;
    line-height: 1.25;
    color: var(--nc-foreground);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

a {
    color: var(--nc-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--nc-gold-dark);
}

code, pre, .mono {
    font-family: var(--nc-font-mono);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   Utility Classes
   ============================================================ */

.nc-container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .nc-container { padding-inline: 1.5rem; }
}

@media (min-width: 1024px) {
    .nc-container { padding-inline: 2rem; }
}

.nc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-family: var(--nc-font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    border-radius: var(--nc-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nc-btn-primary {
    background: var(--nc-gradient-gold);
    color: var(--nc-primary-foreground);
    border-color: var(--nc-gold);
}
.nc-btn-primary:hover {
    background: var(--nc-gold-dark);
    color: var(--nc-primary-foreground);
    box-shadow: var(--nc-shadow-gold);
}

.nc-btn-secondary {
    background: transparent;
    color: var(--nc-gold);
    border-color: var(--nc-gold);
}
.nc-btn-secondary:hover {
    background: var(--nc-gold);
    color: var(--nc-primary-foreground);
}

.nc-btn-ghost {
    background: transparent;
    color: var(--nc-foreground);
    border: none;
    padding: 0.5rem;
}
.nc-btn-ghost:hover {
    color: var(--nc-gold);
    background: var(--nc-muted);
}

.nc-card {
    background: var(--nc-gradient-card);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius);
    box-shadow: var(--nc-shadow-sm);
    transition: box-shadow 0.2s ease;
}
.nc-card:hover {
    box-shadow: var(--nc-shadow-md);
}

.nc-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: var(--nc-muted);
    color: var(--nc-muted-foreground);
}

.nc-badge-gold {
    background: rgba(179, 146, 60, 0.12);
    color: var(--nc-gold-dark);
}

/* ---- Form Elements ---- */

.nc-input,
.nc-select,
.nc-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--nc-font-sans);
    font-size: 0.875rem;
    color: var(--nc-foreground);
    background: var(--nc-card);
    border: 1px solid var(--nc-input);
    border-radius: var(--nc-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.nc-input:focus,
.nc-select:focus,
.nc-textarea:focus {
    border-color: var(--nc-ring);
    box-shadow: 0 0 0 3px rgba(179, 146, 60, 0.15);
}

/* ---- Stars ---- */

.nc-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--nc-gold);
}
.nc-stars .empty {
    color: var(--nc-border);
}

/* ---- Visually Hidden ---- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
