/* ============================================
   VIP BRAND PORTAL - Internal Brand Guidelines
   Silver/Black Premium System
   ============================================ */

:root {
    --black: #000000;
    --charcoal: #1a1a1a;
    --dark-gray: #2d2d2d;
    --gray: #6b6b6b;
    --silver: #a3a3a3;
    --light-silver: #d4d4d4;
    --off-white: #f5f5f5;
    --white: #ffffff;
    
    --sidebar-width: 280px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 200ms ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--off-white);
    display: flex;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 1.75rem; line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    border-right: 1px solid var(--light-silver);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border-bottom: 1px solid var(--light-silver);
}

.brand-mark {
    background: var(--black);
    color: var(--white);
    font-weight: 700;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 2px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 16px;
    color: var(--black);
}

.brand-tag {
    font-size: 10px;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-section {
    padding: 24px 16px 8px;
}

.nav-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--silver);
    padding: 0 12px;
    margin-bottom: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}

.nav-item:hover {
    background: var(--off-white);
    color: var(--black);
}

.nav-item.active {
    background: var(--black);
    color: var(--white);
}

.nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px 24px;
    border-top: 1px solid var(--light-silver);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-footer span {
    font-size: 11px;
    color: var(--silver);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 40px 48px;
    max-width: 1200px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.page-header h1 { margin-bottom: 8px; }

.page-header p {
    color: var(--gray);
    font-size: 16px;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--charcoal);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--light-silver);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--black);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 28px;
    color: var(--black);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
}

/* Content Sections */
.content-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid var(--light-silver);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-header h2 { font-size: 1.5rem; }

.link-arrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    transition: color var(--transition);
}

.link-arrow:hover { color: var(--black); }

/* Hierarchy Preview */
.hierarchy-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hierarchy-parent { margin-bottom: 20px; }

.hierarchy-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border: 2px solid var(--light-silver);
    border-radius: var(--radius-md);
    min-width: 240px;
}

.hierarchy-card.parent {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.hierarchy-card.parent .card-mark {
    background: var(--white);
    color: var(--black);
}

.hierarchy-card.parent .card-info span {
    color: var(--silver);
}

.hierarchy-card.child {
    min-width: 200px;
}

.hierarchy-card.placeholder {
    border-style: dashed;
    opacity: 0.6;
}

.card-mark {
    background: var(--black);
    color: var(--white);
    font-weight: 700;
    font-size: 11px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 2px;
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: var(--radius-sm);
}

.card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--black);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info strong {
    font-size: 14px;
    font-weight: 600;
}

.card-info span {
    font-size: 12px;
    color: var(--gray);
}

.hierarchy-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 40px;
}

.connector-line {
    width: 2px;
    height: 20px;
    background: var(--light-silver);
}

.connector-branches {
    width: 400px;
    height: 2px;
    background: var(--light-silver);
    position: relative;
}

.connector-branches::before,
.connector-branches::after,
.connector-branches::before {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 20px;
    background: var(--light-silver);
}

.connector-branches::before { left: 0; }
.connector-branches::after { right: 0; }

.hierarchy-children {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.quick-link:hover {
    background: var(--white);
    border-color: var(--black);
    transform: translateY(-2px);
}

.ql-colors {
    display: flex;
    gap: 4px;
}

.ql-colors span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--light-silver);
}

.ql-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
}

.ql-icon svg {
    width: 28px;
    height: 28px;
}

.ql-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.ql-text span {
    font-size: 12px;
    color: var(--gray);
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.principle-card {
    padding: 28px;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.principle-number {
    display: inline-block;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 32px;
    color: var(--light-silver);
    margin-bottom: 12px;
}

.principle-card h3 {
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.principle-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Page Specific Styles */

/* Color Swatches */
.color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.color-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--light-silver);
}

.color-swatch {
    height: 120px;
}

.color-info {
    padding: 20px;
    background: var(--white);
}

.color-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.color-info code {
    display: inline-block;
    padding: 4px 8px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-family: 'SF Mono', Consolas, monospace;
    margin-right: 8px;
    margin-bottom: 4px;
}

/* Typography Samples */
.type-sample {
    padding: 32px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.type-sample h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--silver);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.type-display {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 48px;
    color: var(--black);
    margin-bottom: 8px;
}

.type-body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.type-meta {
    font-size: 13px;
    color: var(--gray);
}

/* Logo Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.logo-card {
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-silver);
    min-height: 200px;
}

.logo-card.light { background: var(--white); }
.logo-card.dark { background: var(--black); }

.logo-card .logo-preview {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-card .logo-mark {
    font-size: 16px;
    padding: 12px 16px;
}

.logo-card.dark .logo-mark {
    background: var(--white);
    color: var(--black);
}

.logo-card .logo-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 22px;
}

.logo-card.dark .logo-name { color: var(--white); }

/* Voice Cards */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.voice-card {
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-silver);
}

.voice-card.do { border-left: 4px solid #22c55e; }
.voice-card.dont { border-left: 4px solid #ef4444; }

.voice-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.voice-card.do .voice-label {
    background: #dcfce7;
    color: #16a34a;
}

.voice-card.dont .voice-label {
    background: #fee2e2;
    color: #dc2626;
}

.voice-example {
    font-size: 15px;
    line-height: 1.6;
}

/* Templates */
.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.template-card {
    padding: 32px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-silver);
    transition: all var(--transition);
}

.template-card:hover {
    border-color: var(--black);
}

.template-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.template-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--black);
}

.template-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.template-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
}

.template-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.template-btn:hover { background: var(--charcoal); }

/* Asset Downloads */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.asset-card {
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.asset-card:hover {
    background: var(--white);
    border-color: var(--light-silver);
}

.asset-preview {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.asset-preview svg {
    width: 40px;
    height: 40px;
    stroke: var(--black);
}

.asset-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.asset-card span {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 16px;
}

.asset-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
}

.asset-download svg {
    width: 16px;
    height: 16px;
}

/* Navigation Sections */
.nav-section {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    padding: 1.5rem 1.5rem 0.5rem;
    font-weight: 600;
}

.nav-links .badge {
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
}

/* Alert Banner */
.alert-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.alert-banner.critical {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
}

.alert-icon {
    font-size: 1.5rem;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    color: #dc2626;
}

.alert-link {
    margin-left: 1rem;
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
}

.alert-link:hover {
    text-decoration: underline;
}

/* Role Grid */
.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.role-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.role-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.role-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.role-who {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.role-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-links li {
    margin-bottom: 0.5rem;
}

.role-links a {
    color: #0ea5e9;
    text-decoration: none;
    font-size: 0.9rem;
}

.role-links a:hover {
    text-decoration: underline;
}

/* Brand Cards */
.brand-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.brand-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    text-align: center;
}

.brand-card.parent {
    border-color: #1e293b;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.brand-logo {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.brand-logo.vein { color: #0d9488; }
.brand-logo.pain { color: #0ea5e9; }

.brand-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.brand-url {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
}

.brand-locations {
    font-size: 0.75rem;
    color: #0ea5e9;
    display: block;
    margin-top: 0.25rem;
}

/* Updates List */
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.update-item {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #e2e8f0;
}

.update-item.critical {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.update-date {
    font-size: 0.8rem;
    color: #64748b;
}

.update-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.update-badge.critical { background: #dc2626; color: white; }
.update-badge.new { background: #0ea5e9; color: white; }

.update-item p {
    margin: 0.5rem 0;
}

.update-item a {
    color: #0ea5e9;
    font-size: 0.9rem;
}

/* Reminders Grid */
.reminders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.reminder-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.reminder-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.reminder-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.reminder-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

/* Typography Showcase */
.dm-black { font-family: 'DM Sans', sans-serif; font-weight: 900; font-size: 2rem; }
.dm-light { font-family: 'DM Sans', sans-serif; font-weight: 300; font-size: 1.5rem; }
.dm-light-italic { font-family: 'DM Sans', sans-serif; font-weight: 300; font-style: italic; font-size: 1.5rem; }

.type-showcase { display: flex; flex-direction: column; gap: 1.5rem; }
.type-sample { padding: 1.5rem; background: #f8fafc; border-radius: 12px; }
.type-label { font-size: 0.8rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }
.type-demo { margin: 0.5rem 0; color: #1e293b; }
.type-use { font-size: 0.85rem; color: #64748b; margin: 0; }

.note-box { background: #fef3c7; border-left: 4px solid #f59e0b; padding: 1rem; border-radius: 8px; margin-top: 1.5rem; }

/* Color Swatches */
.color-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1rem 0; }
.color-card { background: white; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; }
.color-swatch { height: 100px; }
.color-info { padding: 1rem; }
.color-name { font-weight: 600; display: block; margin-bottom: 0.25rem; }
.color-info code { background: #f1f5f9; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.85rem; }
.color-rgb { font-size: 0.8rem; color: #64748b; display: block; margin-top: 0.25rem; }
.color-dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; margin-right: 0.5rem; }

/* Guidelines Grid */
.guidelines-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.guideline-item { padding: 1.5rem; background: #f8fafc; border-radius: 12px; }
.guideline-item h4 { margin: 0 0 0.5rem 0; }
.guideline-item p { margin: 0; color: #475569; }

/* Reference Table */
.reference-table { width: 100%; border-collapse: collapse; }
.reference-table th, .reference-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
.reference-table th { background: #f1f5f9; font-weight: 600; }

/* Voice & Tone */
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.principle-card { padding: 2rem; background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border-radius: 16px; text-align: center; }
.principle-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.principle-card h3 { margin: 0 0 1rem 0; color: #0c4a6e; }
.principle-card p { margin: 0; color: #0369a1; }

.expression-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.expression-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: #f8fafc; border-radius: 8px; }
.expression-badge { font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 20px; }
.expression-badge.vtc { background: #6601a9; color: white; }
.expression-badge.pts { background: #2b3180; color: white; }
.expression-text { font-weight: 500; font-size: 1.1rem; }

.brand-bio { margin-top: 1.5rem; padding: 1.5rem; background: #f8fafc; border-radius: 12px; }
.brand-bio h4 { margin: 0 0 0.5rem 0; color: #64748b; font-size: 0.85rem; text-transform: uppercase; }
.brand-bio p { margin: 0; line-height: 1.7; }

.shared-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.shared-list li { background: #e0f2fe; color: #0369a1; padding: 0.5rem 1rem; border-radius: 20px; font-weight: 500; }

.comparison-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border: 1px solid #e2e8f0; }
.comparison-table th { background: #f8fafc; }

/* VIP DNA */
.dna-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.dna-item { padding: 1.5rem; background: #f8fafc; border-radius: 12px; position: relative; }
.dna-item.full-width { grid-column: 1 / -1; max-width: 500px; }
.dna-number { position: absolute; top: 1rem; right: 1rem; font-size: 2rem; font-weight: 900; color: #e2e8f0; }
.dna-item h4 { margin: 0 0 0.5rem 0; color: #1e293b; }
.dna-item p { margin: 0; color: #64748b; font-size: 0.9rem; }

/* MVP Grid */
.mvp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.mvp-item { padding: 2rem; background: #f8fafc; border-radius: 16px; }
.mvp-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.mvp-item h3 { margin: 0 0 1rem 0; color: #1e293b; }
.mvp-item p { margin: 0; color: #475569; line-height: 1.7; }

/* Hierarchy Diagram */
.hierarchy-diagram { padding: 2rem; background: #1e293b; border-radius: 16px; color: white; }
.hierarchy-parent { text-align: center; margin-bottom: 1.5rem; }
.hierarchy-connector { text-align: center; margin-bottom: 1.5rem; }
.connector-line { width: 2px; height: 40px; background: #64748b; margin: 0 auto; position: relative; }
.connector-line::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80%; height: 2px; background: #64748b; }
.hierarchy-children { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

.brand-box { padding: 1.5rem; border-radius: 12px; text-align: center; }
.brand-box.parent { background: linear-gradient(135deg, #4d5b64, #6b7d87); }
.brand-box.vtc { background: linear-gradient(135deg, #6601a9, #9200be); }
.brand-box.pts { background: linear-gradient(135deg, #2b3180, #416dff); }
.brand-box.fpc { background: linear-gradient(135deg, #d81b60, #9c27b0); }
.brand-logo-hex { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.brand-name { display: block; font-weight: 600; }
.brand-role, .brand-specialty { display: block; font-size: 0.8rem; opacity: 0.8; margin-top: 0.25rem; }

/* Brand Profiles */
.brand-profiles { display: flex; flex-direction: column; gap: 1.5rem; }
.brand-profile { border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.profile-header { padding: 1.5rem; color: white; }
.profile-header h3 { margin: 0; }
.profile-header span { opacity: 0.9; font-size: 0.9rem; }
.profile-body { padding: 1.5rem; }
.profile-body p { margin: 0 0 1rem 0; line-height: 1.7; color: #475569; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: #64748b; padding-top: 1rem; border-top: 1px solid #e2e8f0; }

.architecture-points { margin: 1rem 0; padding-left: 1.5rem; }
.architecture-points li { margin-bottom: 0.5rem; color: #475569; }

/* Team Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.team-grid.small {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.team-card.leadership {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-color: #7dd3fc;
}

.team-card.contract {
    background: #f9fafb;
    border-style: dashed;
}

.team-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.team-card.leadership .team-avatar {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.team-info h3 {
    margin: 0;
    font-size: 1rem;
}

.team-title {
    font-size: 0.8rem;
    color: #0ea5e9;
    display: block;
    margin-bottom: 0.5rem;
}

.team-responsibilities {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    padding-left: 1rem;
}

.team-responsibilities li {
    margin-bottom: 0.2rem;
}

.team-note {
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
}

.collab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.collab-item {
    padding: 0.75rem 1rem;
    background: #f0f9ff;
    border-radius: 8px;
    font-size: 0.9rem;
}

.collab-item strong {
    color: #0284c7;
}

/* Issues Page Styles */
.stats-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stats-bar .stat {
    flex: 1;
    min-width: 120px;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.stats-bar .stat.critical { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.stats-bar .stat.high { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stats-bar .stat.medium { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.stats-bar .stat.low { background: linear-gradient(135deg, #6b7280, #4b5563); }

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.issue-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ccc;
}

.issue-card.critical { border-left-color: #dc2626; background: #fef2f2; }
.issue-card.high { border-left-color: #f59e0b; background: #fffbeb; }
.issue-card.compliance { border-left-color: #3b82f6; background: #eff6ff; }
.issue-card.technical { border-left-color: #6b7280; background: #f9fafb; }

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

.issue-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.issue-badge.critical { background: #dc2626; color: white; }
.issue-badge.high { background: #f59e0b; color: white; }
.issue-badge.compliance { background: #3b82f6; color: white; }
.issue-badge.technical { background: #6b7280; color: white; }

.issue-site {
    font-size: 0.85rem;
    color: #64748b;
}

.issue-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.issue-list {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.issue-list li {
    margin-bottom: 0.25rem;
}

.issue-list code {
    background: #e2e8f0;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.issue-impact {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.issue-action {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #dbeafe;
    border-radius: 8px;
    font-size: 0.9rem;
}

.issue-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.issue-table th,
.issue-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.issue-table th {
    background: #f1f5f9;
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e2e8f0;
}

.timeline-marker.immediate { background: #dc2626; }
.timeline-marker.short { background: #f59e0b; }
.timeline-marker.medium { background: #3b82f6; }

.timeline-content h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.timeline-content ol {
    margin: 0;
    padding-left: 1.25rem;
}

.timeline-content li {
    margin-bottom: 0.25rem;
    color: #475569;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-links { grid-template-columns: repeat(2, 1fr); }
    .color-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition);
    }
    
    .sidebar.open { transform: translateX(0); }
    
    .main-content {
        margin-left: 0;
        padding: 24px;
    }
    
    .hierarchy-children { flex-direction: column; }
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; }
    .quick-links { grid-template-columns: 1fr; }
    .principles-grid { grid-template-columns: 1fr; }
    .voice-grid { grid-template-columns: 1fr; }
    .template-grid { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: 1fr; }
    .asset-grid { grid-template-columns: 1fr; }
    .color-grid { grid-template-columns: 1fr; }
    
    .page-header { flex-direction: column; gap: 16px; }
}
