:root {
    --primary-red: #E30613;
    --navy-blue: #002B5C;
    --white: #FFFFFF;
    --light-gray: #F4F7F9;
    --border-gray: #D1D9E0;
    --text-dark: #1A1A1A;
    --text-muted: #4A5568;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid var(--primary-red);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.verification-btn {
    background-color: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: filter 0.2s;
    text-transform: uppercase;
}

.verification-btn:hover {
    filter: brightness(1.1);
}

/* Layout */
.container {
    display: flex;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

aside {
    width: 300px;
    background-color: var(--light-gray);
    padding: 2rem;
    border-right: 1px solid var(--border-gray);
}

main {
    flex: 1;
    padding: 3rem;
}

/* Typography & Elements */
h1, h2, h3 {
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    border-left: 6px solid var(--primary-red);
    padding-left: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.75rem;
}

.sidebar-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background-color: var(--navy-blue);
    color: white;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 0.5rem;
}

.badge-verified {
    background-color: #E6FFFA;
    color: #2C7A7B;
    border: 1px solid #B2F5EA;
}

.badge-secure {
    background-color: #EBF8FF;
    color: #2B6CB0;
    border: 1px solid #BEE3F8;
}

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

.tech-card {
    border: 1px solid var(--border-gray);
    padding: 2rem;
    border-radius: 8px;
    background: white;
    transition: transform 0.2s;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    margin-top: auto;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #CBD5E0;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* Registry Styles */
.asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.asset-info h4 {
    color: var(--navy-blue);
    margin-bottom: 0.25rem;
}

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

.download-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

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

.contact-node {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 4px;
    border-top: 3px solid var(--navy-blue);
}

.node-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.node-email {
    font-family: monospace;
    font-weight: 600;
    color: var(--navy-blue);
}
