@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--slate-900);
    color: var(--slate-100);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    background-color: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--slate-700);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: -0.025em;
}

.logo span {
    color: var(--purple-500);
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-300);
}

.nav-links a:hover {
    color: var(--purple-500);
}

.btn-primary {
    background-color: var(--purple-500);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-primary:hover {
    background-color: var(--purple-600);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.1), transparent);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    color: var(--slate-300);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background-color: var(--purple-500);
    border-radius: 2px;
}

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

.card {
    background-color: var(--slate-800);
    border: 1px solid var(--slate-700);
    padding: 2rem;
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.card:hover {
    border-color: var(--purple-500);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.card p {
    color: var(--slate-300);
    font-size: 0.9375rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--slate-700);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--slate-300);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid var(--slate-700);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--slate-600);
    font-size: 0.75rem;
}

/* Utilities */
.text-purple { color: var(--purple-500); }
.mt-4 { margin-top: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Registry Styles */
.asset-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.asset-item {
    background: var(--slate-800);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag {
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple-500);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-node {
    text-align: center;
    padding: 3rem 1.5rem;
}

.contact-node code {
    display: block;
    margin-top: 1rem;
    color: var(--purple-500);
    font-family: monospace;
    font-size: 1.1rem;
}

/* Documentation Content Styles */
.doc-content {
    max-width: 800px;
    margin: 0 auto;
}

.doc-content h2 {
    margin: 2rem 0 1rem;
    color: var(--white);
}

.doc-content p {
    margin-bottom: 1.5rem;
    color: var(--slate-300);
}

.doc-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.doc-content li {
    margin-bottom: 0.5rem;
    color: var(--slate-300);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
}
