/* =====================================================================
   LAZARUS WATCHMAKING — DESIGN SYSTEM
   =====================================================================

   COLOR PALETTE: "The Workbench"
   A dark charcoal/slate base with warm brass/gold accents, evoking
   a watchmaker's bench under lamplight.

   To change the color scheme, edit the CSS custom properties (variables)
   in :root below. Everything else cascades from these.

   STRUCTURE:
   1. CSS Variables (colors, fonts, spacing)
   2. Reset & Base
   3. Typography
   4. Layout (container, grid, sections)
   5. Navigation (header, mobile menu)
   6. Buttons
   7. Cards & Panels
   8. Hero Sections
   9. Forms
   10. Tables
   11. Status Badges
   12. Footer
   13. Animations & Micro-interactions
   14. Responsive Breakpoints
   15. Admin Panel Styles
   16. Utility Classes
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. CSS VARIABLES
   --------------------------------------------------------------------- */
:root {
    /* Backgrounds — dark charcoal to near-black */
    --bg-darkest:    #0d0d12;
    --bg-dark:       #14141c;
    --bg-surface:    #1a1a28;
    --bg-elevated:   #22222e;
    --bg-hover:      #2a2a38;

    /* Text */
    --text-primary:   #e8e6df;
    --text-secondary: #a8a6b0;
    --text-muted:     #6b6975;
    --text-bright:    #ffffff;

    /* Brand — brass/gold */
    --brass:           #c9a84c;
    --brass-light:     #e0c878;
    --brass-dark:      #a08838;
    --brass-glow:      rgba(201, 168, 76, 0.15);

    /* Accent — warm copper for secondary highlights */
    --copper:          #b87333;
    --copper-light:    #d49162;

    /* Functional colors */
    --success:         #4a9d6e;
    --success-bg:      rgba(74, 157, 110, 0.12);
    --warning:         #d4a942;
    --warning-bg:      rgba(212, 169, 66, 0.12);
    --error:           #c75450;
    --error-bg:        rgba(199, 84, 80, 0.12);
    --info:            #5b8cb8;
    --info-bg:         rgba(91, 140, 184, 0.12);

    /* Borders */
    --border:          rgba(255, 255, 255, 0.08);
    --border-strong:   rgba(255, 255, 255, 0.15);
    --border-brass:    rgba(201, 168, 76, 0.3);

    /* Typography */
    --font-serif:      'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --font-sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-mono:       'JetBrains Mono', 'Courier New', monospace;

    /* Spacing — 8px base system */
    --space-1:   4px;
    --space-2:   8px;
    --space-3:   12px;
    --space-4:   16px;
    --space-5:   24px;
    --space-6:   32px;
    --space-7:   48px;
    --space-8:   64px;
    --space-9:   96px;

    /* Radii */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md:    0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg:    0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow:  0 0 24px rgba(201, 168, 76, 0.2);

    /* Transitions */
    --transition:        all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast:   all 0.15s ease;
    --transition-slow:   all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-max:   1200px;
    --container-narrow: 720px;
    --header-height:    80px;
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-darkest);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle textured background — like a workbench surface */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(184, 115, 51, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

a {
    color: var(--brass);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brass-light);
}

ul, ol {
    list-style: none;
}

/* ---------------------------------------------------------------------
   3. TYPOGRAPHY
   --------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: var(--text-bright);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: 1.25rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0;
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: var(--space-3);
    display: inline-block;
}

.text-brass { color: var(--brass); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ---------------------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-5);
    position: relative;
    z-index: 1;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-5);
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--space-9) 0;
    position: relative;
    z-index: 1;
}

.section-sm {
    padding: var(--space-7) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-header .eyebrow {
    margin-bottom: var(--space-2);
}

.section-header h2 {
    margin-bottom: var(--space-3);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: var(--space-5);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------------
   5. NAVIGATION
   --------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(13, 13, 18, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border: 2px solid var(--brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--brass);
    transition: var(--transition);
    position: relative;
}

.logo-mark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    background: var(--brass);
    transform: translate(-50%, -100%) rotate(30deg);
    transform-origin: bottom;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 8px;
    background: var(--brass);
    transform: translate(-50%, -100%) rotate(-60deg);
    transform-origin: bottom;
}

.logo:hover .logo-mark {
    box-shadow: var(--shadow-glow);
    border-color: var(--brass-light);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-bright);
    letter-spacing: 1px;
}

.logo-text .tag {
    font-size: 0.65rem;
    color: var(--brass);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: var(--space-2) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brass);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-bright);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border: 1px solid var(--brass);
    border-radius: var(--radius-full);
    color: var(--brass) !important;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--brass);
    color: var(--bg-darkest) !important;
}

.nav-cta::after {
    display: none;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------------------
   6. BUTTONS
   --------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brass);
    color: var(--bg-darkest);
}

.btn-primary:hover {
    background: var(--brass-light);
    color: var(--bg-darkest);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--brass);
    border: 1px solid var(--brass);
}

.btn-outline:hover {
    background: var(--brass-glow);
    color: var(--brass-light);
    border-color: var(--brass-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    background: var(--bg-hover);
    color: var(--text-bright);
    border-color: var(--brass);
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-danger:hover {
    background: #b04540;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ---------------------------------------------------------------------
   7. CARDS & PANELS
   --------------------------------------------------------------------- */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--border-brass);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-featured {
    border-color: var(--border-brass);
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
}

.card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brass), var(--copper));
}

/* Pricing card */
.pricing-card {
    text-align: center;
    padding: var(--space-7) var(--space-5);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card .tier-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: var(--space-3);
}

.pricing-card .tier-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: var(--space-2);
}

.pricing-card .tier-calibers {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
    min-height: 2.5em;
}

.pricing-card .price {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--brass);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.pricing-card .price-qualifier {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.pricing-card .includes {
    text-align: left;
    margin: var(--space-5) 0;
    flex-grow: 1;
}

.pricing-card .includes li {
    padding: var(--space-2) 0;
    padding-left: var(--space-5);
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-card .includes li:last-child {
    border-bottom: none;
}

.pricing-card .includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brass);
    font-weight: bold;
}

.pricing-card .btn {
    margin-top: auto;
}

/* Feature card with icon */
.feature-card {
    text-align: center;
}

.feature-card .icon {
    width: 56px;
    height: 56px;
    border: 1px solid var(--border-brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--brass);
    font-size: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .icon {
    background: var(--brass-glow);
    box-shadow: var(--shadow-glow);
}

.feature-card h4 {
    margin-bottom: var(--space-2);
    color: var(--text-bright);
}

/* ---------------------------------------------------------------------
   8. HERO SECTION
   --------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 13, 18, 0.92) 0%,
        rgba(13, 13, 18, 0.75) 50%,
        rgba(13, 13, 18, 0.88) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-7) var(--space-5);
}

.hero h1 {
    margin-bottom: var(--space-4);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: var(--space-7);
    color: var(--text-secondary);
}

.hero .eyebrow {
    margin-bottom: var(--space-4);
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Subtle scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Page hero (smaller, for inner pages) */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-8);
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13, 13, 18, 0.94) 0%, rgba(13, 13, 18, 0.85) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin-bottom: var(--space-3);
}

.page-hero .lead {
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   9. FORMS
   --------------------------------------------------------------------- */
.form-group {
    margin-bottom: var(--space-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    letter-spacing: 0.5px;
}

.form-label .required {
    color: var(--brass);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px var(--brass-glow);
    background: var(--bg-elevated);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a84c' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-2);
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: var(--space-2);
    display: none;
}

.form-error.show {
    display: block;
}

.form-success {
    background: var(--success-bg);
    border: 1px solid var(--success);
    color: var(--success);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-5);
    font-size: 0.9rem;
}

.form-alert {
    background: var(--error-bg);
    border: 1px solid var(--error);
    color: var(--error);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-5);
    font-size: 0.9rem;
}

/* Checkbox and radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--brass);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

/* ---------------------------------------------------------------------
   10. TABLES
   --------------------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th {
    text-align: left;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-strong);
    white-space: nowrap;
}

.table td {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    vertical-align: middle;
}

.table tr:hover td {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.table a {
    color: var(--brass);
}

/* ---------------------------------------------------------------------
   11. STATUS BADGES
   --------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-pending    { background: rgba(212, 169, 66, 0.12); color: var(--warning); border-color: var(--warning); }
.status-pending::before   { background: var(--warning); }
.status-received   { background: var(--info-bg); color: var(--info); border-color: var(--info); }
.status-received::before  { background: var(--info); }
.status-diagnosed  { background: var(--info-bg); color: var(--info); border-color: var(--info); }
.status-diagnosed::before { background: var(--info); }
.status-progress   { background: rgba(91, 140, 184, 0.15); color: #7eb0d9; border-color: #5b8cb8; }
.status-progress::before  { background: #5b8cb8; }
.status-ready      { background: var(--success-bg); color: var(--success); border-color: var(--success); }
.status-ready::before     { background: var(--success); }
.status-shipped    { background: var(--success-bg); color: var(--success); border-color: var(--success); }
.status-shipped::before   { background: var(--success); }
.status-complete   { background: rgba(107, 105, 117, 0.15); color: var(--text-muted); border-color: var(--text-muted); }
.status-complete::before  { background: var(--text-muted); }
.status-cancelled  { background: var(--error-bg); color: var(--error); border-color: var(--error); }
.status-cancelled::before { background: var(--error); }

/* ---------------------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
    background: var(--bg-darkest);
    border-top: 1px solid var(--border);
    padding: var(--space-8) 0 var(--space-5);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-7);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--text-bright);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.footer-col ul li {
    margin-bottom: var(--space-2);
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--brass);
}

.footer-contact {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact p {
    margin-bottom: var(--space-2);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   13. ANIMATIONS & MICRO-INTERACTIONS
   --------------------------------------------------------------------- */

/* Fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* Gear spin animation (decorative) */
@keyframes gear-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gear-decor {
    animation: gear-spin 20s linear infinite;
}

/* Subtle pulse for important elements */
@keyframes pulse-brass {
    0%, 100% { box-shadow: 0 0 0 0 var(--brass-glow); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

/* Divider with brass accent */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-brass), transparent);
    margin: var(--space-7) 0;
    border: none;
}

.divider-short {
    width: 60px;
    height: 2px;
    background: var(--brass);
    margin: var(--space-3) auto;
    border: none;
}

/* ---------------------------------------------------------------------
   ORDER TRACKING TIMELINE
   --------------------------------------------------------------------- */
.tracking-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--space-5) 0;
}

.timeline-step {
    display: flex;
    gap: var(--space-4);
    padding-bottom: var(--space-6);
    position: relative;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-step.done::before {
    background: var(--brass);
}

.timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    z-index: 1;
}

.timeline-step.active .timeline-dot {
    border-color: var(--brass);
    background: var(--brass-glow);
    color: var(--brass);
    box-shadow: var(--shadow-glow);
}

.timeline-step.done .timeline-dot {
    border-color: var(--brass);
    background: var(--brass);
    color: var(--bg-darkest);
}

.timeline-content h4 {
    margin-bottom: var(--space-1);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.timeline-step.active .timeline-content h4 {
    color: var(--brass);
}

.timeline-content time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-content p {
    font-size: 0.85rem;
    margin-top: var(--space-1);
    margin-bottom: 0;
}

/* ---------------------------------------------------------------------
   ALERT / NOTIFICATION BANNERS
   --------------------------------------------------------------------- */
.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: var(--error-bg);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert-info {
    background: var(--info-bg);
    border: 1px solid var(--info);
    color: var(--info);
}

.alert-warning {
    background: var(--warning-bg);
    border: 1px solid var(--warning);
    color: var(--warning);
}

/* ---------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS
   --------------------------------------------------------------------- */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-darkest);
        flex-direction: column;
        padding: var(--space-5);
        gap: var(--space-4);
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: var(--space-7) 0;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }

    .pricing-card .price {
        font-size: 2.2rem;
    }
}

/* ---------------------------------------------------------------------
   15. ADMIN PANEL STYLES
   --------------------------------------------------------------------- */
.admin-body {
    background: var(--bg-dark);
}

.admin-header {
    background: var(--bg-darkest);
    border-bottom: 1px solid var(--border-strong);
    padding: 0 var(--space-5);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header .admin-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.admin-header .admin-brand .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    border-width: 1.5px;
}

.admin-header .admin-brand .name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-bright);
}

.admin-header .admin-brand .badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    margin-left: var(--space-2);
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.admin-nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--bg-elevated);
    color: var(--brass);
}

.admin-user-menu {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.admin-user-menu .user-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.admin-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}

.admin-sidebar {
    width: 220px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    padding: var(--space-5) 0;
    flex-shrink: 0;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 12px var(--space-5);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.admin-sidebar a:hover {
    background: var(--bg-elevated);
    color: var(--text-bright);
}

.admin-sidebar a.active {
    background: var(--bg-elevated);
    color: var(--brass);
    border-left-color: var(--brass);
}

.admin-sidebar .sidebar-section {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: var(--space-4) var(--space-5) var(--space-2);
    margin-top: var(--space-3);
}

.admin-sidebar .sidebar-section:first-child {
    margin-top: 0;
}

.admin-main {
    flex: 1;
    padding: var(--space-6);
    overflow-x: auto;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.admin-page-header h1 {
    font-size: 1.6rem;
    color: var(--text-bright);
}

/* Stat cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.stat-card .stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--brass);
    line-height: 1;
}

.stat-card .stat-link {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: var(--space-2);
    display: block;
}

/* Admin panel */
.panel {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
}

.panel-header {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    font-size: 1.1rem;
    color: var(--text-bright);
    font-family: var(--font-sans);
    font-weight: 600;
}

.panel-body {
    padding: var(--space-5);
}

/* Login page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darkest);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(184, 115, 51, 0.05) 0%, transparent 60%);
}

.login-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-brass);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.login-card .logo {
    justify-content: center;
    margin-bottom: var(--space-6);
}

.login-card h2 {
    text-align: center;
    margin-bottom: var(--space-2);
    font-size: 1.4rem;
}

.login-card .login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-6);
}

/* Responsive admin */
@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }

    .admin-nav {
        display: none;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-main {
        padding: var(--space-4);
    }
}

/* ---------------------------------------------------------------------
   16. UTILITY CLASSES
   --------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.flex-wrap { flex-wrap: wrap; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.w-full { width: 100%; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.15rem; }
.text-xl { font-size: 1.5rem; }

.border-t { border-top: 1px solid var(--border); }
.rounded { border-radius: var(--radius-md); }

.relative { position: relative; }
.absolute { position: absolute; }

/* Print styles for invoices */
@media print {
    body { background: white; color: black; }
    .site-header, .site-footer, .admin-header, .admin-sidebar,
    .admin-nav, .no-print, .btn { display: none !important; }
    .invoice-print-area {
        color: black;
        background: white;
    }
    .invoice-print-area * {
        color: black !important;
    }
}
