/* 
   SIRMIUM OS: ALABASTER & PEARL DESIGN SYSTEM
   The 2026 "Quiet Luxury" Identity 
*/
:root {
    /* Color Palette */
    --bg-main: #F8F9FB;
    --bg-soft: #F1F3F7;
    --surface: rgba(255, 255, 255, 0.75);
    --card-bg: rgba(255, 255, 255, 0.9);
    --elevated: #FFFFFF;

    /* Typography */
    --text-primary: #1A1C1E;
    --text-secondary: #42474E;
    --text-muted: #72777F;
    --text-inverse: #FFFFFF;

    /* Accents */
    --copper: #C4956A;
    --copper-glow: rgba(196, 149, 106, 0.2);
    --amber: #D46B1D;
    --teal: #00E8B8;

    /* Layout */
    --border-light: rgba(0, 0, 0, 0.05);
    --border-medium: rgba(0, 0, 0, 0.1);
    --glass-border: rgba(255, 255, 255, 0.6);
    --radius-lg: 24px;
    --radius-md: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
}

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

body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 10% 10%, rgba(196, 149, 106, 0.05) 0%, transparent 40%),
        url("https://grainy-gradients.vercel.app/noise.svg");
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.5;
}

/* Glassmorphism Classes */
.glass,
.u-glass {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    background: #FFFFFF;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-primary {
    background: var(--copper);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--copper-glow);
    transition: 0.2s;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 18px var(--copper-glow);
}

.btn-gold {
    background: linear-gradient(135deg, #C4956A, #D4A574);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(196, 149, 106, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(196, 149, 106, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--copper);
    border: 2px solid var(--copper);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--copper);
    color: white;
    transform: translateY(-1px);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ========================================
   NICHE HUB DESIGN SYSTEM
   ======================================== */
.niche-hub {
    --hub-gold: #C4956A;
    --hub-zinc: #B4B7BD;
    --hub-bg: #F8F9FB;
    --hub-obsidian: #1A1C1E;
}

/* Theme accent tokens */
.theme-families {
    --accent: #C4956A;
}

.theme-veterans {
    --accent: #2C3E50;
}

.theme-responders {
    --accent: #1A1C1E;
}

.theme-nurses {
    --accent: #3498DB;
}

/* ---- Hub Navbar ---- */
.navbar-hub {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}

.brand-logo {
    height: 36px;
    width: auto;
}

.hub-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.hub-dot {
    width: 8px;
    height: 8px;
    background: var(--copper);
    border-radius: 50%;
    display: inline-block;
    animation: hubPulse 2s ease-in-out infinite;
}

@keyframes hubPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hub-portal-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
    white-space: nowrap;
}

/* ---- Hub Hero ---- */
.hub-hero {
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at 70% 30%, rgba(196, 149, 106, 0.08) 0%, transparent 50%);
    border-bottom: 1px solid var(--border-light);
}

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

.hub-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hub-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

/* ---- Intelligence Grid ---- */
.hub-intel-grid .section-header h2 {
    font-size: 2.25rem;
}

.intel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.intel-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
}

.intel-card:hover {
    border-color: var(--copper);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.intel-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.intel-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.intel-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- PDF Mockup ---- */
.pdf-mockup {
    aspect-ratio: 3/4;
    background: white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 320px;
}

.mock-header {
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--copper);
    font-weight: 700;
}

.mock-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 1rem 0;
}

.mock-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---- Lead Forms ---- */
.niche-lead-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.niche-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.niche-input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.niche-input:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 3px var(--copper-glow);
}

.niche-submit {
    background: var(--copper);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
}

.niche-submit:hover {
    background: #B5844E;
    transform: translateY(-1px);
}

.form-trust {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ---- Advisor Preview ---- */
.hub-advisor-preview {
    text-align: center;
}

.hub-advisor-preview h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hub-advisor-preview p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Hub Resource Section ---- */
.hub-resource-section h2 {
    margin-bottom: 1rem;
}

.hub-resource-section p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.resource-preview {
    display: flex;
    justify-content: center;
}

.resource-cta h2 {
    font-size: 2rem;
}

/* ---- Hub Footer ---- */
.footer-hub {
    background: var(--hub-obsidian);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-brand-col p {
    color: var(--hub-zinc);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--hub-zinc);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--copper);
}

.compliance-footer {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    line-height: 1.6;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Typography */
.u-font-serif {
    font-family: 'Playfair Display', serif;
}

.u-color-gold,
.u-color-gold-300 {
    color: var(--copper);
}

.u-color-zinc {
    color: var(--hub-zinc, #B4B7BD);
}

.u-color-slate-500 {
    color: #64748B;
}

.u-fs-065 {
    font-size: 0.65rem;
}

.u-fs-07 {
    font-size: 0.7rem;
}

.u-fs-08 {
    font-size: 0.8rem;
}

.u-fs-085 {
    font-size: 0.85rem;
}

.u-fw-600 {
    font-weight: 600;
}

.u-fw-700 {
    font-weight: 700;
}

.u-text-center {
    text-align: center;
}

/* Colors & Backgrounds */
.u-bg-obsidian-95 {
    background: #1A1C1E;
    color: white;
}

/* Spacing */
.u-padding-y-4 {
    padding: 4rem 0;
}

.u-padding-y-5 {
    padding: 8rem 0;
}

.u-margin-top-05 {
    margin-top: 0.5rem;
}

.u-margin-top-1 {
    margin-top: 1rem;
}

.u-margin-top-2 {
    margin-top: 2rem;
}

.u-margin-x-auto {
    margin-left: auto;
    margin-right: auto;
}

.u-gap-15 {
    gap: 1.5rem;
}

/* Flex */
.u-display-flex {
    display: flex;
}

.u-flex {
    display: flex;
}

.u-items-center {
    align-items: center;
}

.u-gap-4 {
    gap: 2.5rem;
}

.u-flex-wrap {
    flex-wrap: wrap;
}

.u-flex-1 {
    flex: 1;
}

/* Sizing */
.u-min-w-300 {
    min-width: 300px;
}

.u-max-w-700 {
    max-width: 700px;
}

.u-rounded-8 {
    border-radius: 8px;
}

/* Decorative */
.u-no-decoration {
    text-decoration: none;
}

.u-transition-all {
    transition: all 0.2s ease;
}

.u-hover-opacity-08:hover {
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hub-hero {
        padding: 5rem 0 3rem;
    }

    .hub-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hub-subtitle {
        font-size: 1rem;
    }

    .nav-container {
        gap: 0.75rem;
    }

    .hub-indicator {
        display: none;
    }

    .hub-portal-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .intel-cards {
        grid-template-columns: 1fr;
    }

    .niche-input-group {
        flex-direction: column;
    }

    .niche-submit {
        padding: 1rem;
    }

    .u-display-flex {
        flex-direction: column;
    }

    .u-min-w-300 {
        min-width: auto;
    }

    .pdf-mockup {
        max-width: 240px;
        margin: 0 auto;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .btn-gold {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hub-hero {
        padding: 4rem 0 2.5rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}