* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    
    :root {
    --bg: #000000;
    --bg-elevated: #0A0A0A;
    --bg-card: #111111;
    --accent: #6366F1;
    --accent-secondary: #8B5CF6;
    --accent-tertiary: #A78BFA;
    --accent-dim: #4F46E5;
    --warning: #FF6B35;
    --info: #6366F1;
    --text: #FFFFFF;
    --text-dim: #A0A0A0;
    --border: #222222;
    }
    
    @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }
    
    @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
    }
    
    @keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
    }
    
    @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    }
    
    @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
    }
    
    @keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
    }
    
    body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg);
    color: var(--text);
    font-size: 1px;
    line-height: 1.7;
    overflow-x: hidden;
    }
    
    /* Animated gradient background */
    body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    }
    
    .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
    }
    
    /* Hero */
    .hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    }
    
    .hero h1 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: clamp(56px, 8vw, 96px);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -3px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    }
    
    .hero h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: glassShine 3s ease-in-out infinite;
    }
    
    @keyframes glassShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 200%;
    }
    }
    
    .hero .author {
    font-size: 16px;
    color: var(--text-dim);
    animation: fadeInUp 1s ease-out;
    line-height: 1.8;
    }
    
    .hero .author strong {
    color: var(--text);
    }
    
    /* Section styling */
    section {
    padding: 60px 0;
    }
    
    .section-header {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
    }
    
    .section-label {
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
    padding-left: 40px;
    }
    
    .section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background: var(--accent);
    }
    
    .section-title {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    }
    
    .section-description {
    color: var(--text-dim);
    font-size: 18px;
    max-width: 700px;
    line-height: 1.8;
    }
    
    /* Architecture Diagram */
    .architecture {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 80px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    }
    
    .architecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 50%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
    }
    
    @keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    }
    
    .architecture::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(99, 102, 241, 0.05) 90deg,
        transparent 180deg,
        rgba(139, 92, 246, 0.05) 270deg,
        transparent 360deg
    );
    animation: rotate 20s linear infinite;
    pointer-events: none;
    }
    
    @keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
    }
    
    .arch-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
    }
    
    .arch-row:nth-child(1) { animation-delay: 0.1s; }
    .arch-row:nth-child(2) { animation-delay: 0.2s; }
    .arch-row:nth-child(3) { animation-delay: 0.3s; }
    .arch-row:nth-child(4) { animation-delay: 0.4s; }
    
    .arch-row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 110px;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: flowDown 2s ease-in-out infinite;
    }
    
    @keyframes flowDown {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
    }
    
    .arch-label {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    }
    
    .arch-label::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
    animation: pulse 2s ease-in-out infinite;
    }
    
    .arch-label::after {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    animation: ripple 2s ease-in-out infinite;
    }
    
    @keyframes ripple {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(2.5);
        opacity: 0;
    }
    }
    
    .arch-content {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    }
    
    .arch-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    }
    
    .arch-content:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(0, 229, 160, 0.2);
    }
    
    .arch-content:hover::before {
    opacity: 1;
    }
    
    .arch-content h4 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 21px;
    margin-bottom: 12px;
    }
    
    .arch-content p {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.8;
    }
    
    .arch-detail {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    position: relative;
    }
    
    .arch-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    animation: scanLine 3s ease-in-out infinite;
    }
    
    @keyframes scanLine {
    0%, 100% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    }
    
    .arch-detail-item {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 15px;
    }
    
    .arch-detail-item::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
    }
    
    /* Flow Chart */
    .flow-container {
    display: grid;
    gap: 30px;
    }
    
    .flow-step {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(20px);
    border-left: 4px solid var(--accent);
    padding: 40px;
    border-radius: 16px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .flow-step:nth-child(1) { animation-delay: 0.1s; }
    .flow-step:nth-child(2) { animation-delay: 0.2s; }
    .flow-step:nth-child(3) { animation-delay: 0.3s; }
    .flow-step:nth-child(4) { animation-delay: 0.4s; }
    .flow-step:nth-child(5) { animation-delay: 0.5s; }
    .flow-step:nth-child(6) { animation-delay: 0.6s; }
    .flow-step:nth-child(7) { animation-delay: 0.7s; }
    .flow-step:nth-child(8) { animation-delay: 0.8s; }
    
    .flow-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 229, 160, 0.15);
    }
    
    .flow-step-number {
    position: absolute;
    top: -15px;
    left: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0, 229, 160, 0.4);
    }
    
    .flow-step h3 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 23px;
    margin-bottom: 12px;
    }
    
    .flow-step p {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 16px;
    }
    
    .flow-step-details {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
    }
    
    .flow-step-details ul {
    list-style: none;
    padding: 0;
    }
    
    .flow-step-details li {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    }
    
    .flow-step-details li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--accent);
    }
    
    /* Comparison Grid */
    .comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 60px 0;
    }
    
    .comparison-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    }
    
    .comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 229, 160, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    }
    
    .comparison-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(0, 229, 160, 0.15);
    }
    
    .comparison-card:hover::before {
    opacity: 1;
    }
    
    .comparison-card.highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(0, 229, 160, 0.05));
    box-shadow: 0 10px 40px rgba(0, 229, 160, 0.1);
    }
    
    .comparison-card h3 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 21px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    }
    
    .comparison-card .icon {
    font-size: 26px;
    }
    
    .comparison-card ul {
    list-style: none;
    padding: 0;
    }
    
    .comparison-card li {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    }
    
    .comparison-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    }
    
    /* Code Block */
    .code-block {
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    overflow-x: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }
    
    .code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary), var(--accent-tertiary));
    }
    
    .code-block pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    line-height: 1.8;
    }
    
    .code-comment { color: #6A737D; font-style: italic; }
    .code-keyword { color: #FF79C6; font-weight: 600; }
    .code-function { color: #50FA7B; }
    .code-string { color: #FFE066; }
    .code-type { color: #4A9EFF; }
    
    /* Network Diagram */
    .network-diagram {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 80px;
    margin: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
    }
    
    .network-diagram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    }
    
    .network-layer {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 1;
    }
    
    .network-node {
    background: rgba(17, 17, 17, 0.9);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    min-width: 200px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    }
    
    .network-node::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    }
    
    .network-node:hover::before {
    opacity: 1;
    }
    
    .network-node.accent {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(0, 229, 160, 0.3);
    animation: float 3s ease-in-out infinite;
    }
    
    .network-node h4 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
    }
    
    .network-node p {
    font-size: 14px;
    color: var(--text-dim);
    }
    
    .network-connector {
    position: absolute;
    width: 2px;
    background: var(--accent);
    opacity: 0.3;
    }
    
    /* Timeline */
    .timeline {
    position: relative;
    padding-left: 80px;
    margin: 60px 0;
    }
    
    .timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-secondary), transparent);
    }
    
    .timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .timeline-item:nth-child(1) { animation-delay: 0.1s; }
    .timeline-item:nth-child(2) { animation-delay: 0.2s; }
    .timeline-item:nth-child(3) { animation-delay: 0.3s; }
    .timeline-item:nth-child(4) { animation-delay: 0.4s; }
    .timeline-item:nth-child(5) { animation-delay: 0.5s; }
    .timeline-item:nth-child(6) { animation-delay: 0.6s; }
    
    .timeline-item::before {
    content: '';
    position: absolute;
    left: -64px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent);
    animation: pulse 2s ease-in-out infinite;
    }
    
    .timeline-item h4 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 21px;
    margin-bottom: 12px;
    }
    
    .timeline-item p {
    color: var(--text-dim);
    font-size: 16px;
    margin-bottom: 16px;
    }
    
    .timeline-item .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    }
    
    .tag {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dim);
    }
    
    /* Info Box */
    .info-box {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15), rgba(74, 158, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 158, 255, 0.4);
    border-radius: 16px;
    padding: 28px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
    }
    
    .info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--info), transparent);
    }
    
    .info-box.warning {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
    border-color: rgba(255, 107, 53, 0.4);
    }
    
    .info-box.warning::before {
    background: linear-gradient(to bottom, var(--warning), transparent);
    }
    
    .info-box-title {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 16px;
    letter-spacing: 0.5px;
    }
    
    .info-box p {
    font-size: 16px;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.8;
    }
    
    /* Table */
    .data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    }
    
    .data-table th,
    .data-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    }
    
    .data-table tbody tr {
    transition: all 0.3s ease;
    }
    
    .data-table tbody tr:hover {
    background: rgba(0, 229, 160, 0.05);
    }
    
    .data-table th {
    background: rgba(0, 229, 160, 0.1);
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    }
    
    .data-table td {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    }
    
    .data-table td strong {
    color: var(--text);
    }
    
    /* Footer */
    footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    margin-top: 100px;
    }
    
    footer p {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    }
    
    footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
    }
    
    footer a:hover {
    color: var(--accent-secondary);
    }
    
    /* Smooth scroll */
    html {
    scroll-behavior: smooth;
    }
    
    /* Tags */
    .tag {
    background: rgba(0, 229, 160, 0.1);
    border: 1px solid rgba(0, 229, 160, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    }
    
    .tag:hover {
    background: rgba(0, 229, 160, 0.2);
    transform: translateY(-2px);
    }
    
    /* Code Tabs */
    .code-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
    }
    
    .code-tab {
    padding: 12px 24px;
    background: rgba(17, 17, 17, 0.4);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    color: var(--text-dim);
    }
    
    .code-tab:hover {
    background: rgba(17, 17, 17, 0.6);
    color: var(--text);
    }
    
    .code-tab.active {
    background: rgba(13, 17, 23, 0.9);
    color: var(--accent);
    border-color: rgba(99, 102, 241, 0.2);
    }
    
    .code-tab-content {
    display: none;
    }
    
    .code-tab-content.active {
    display: block;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .arch-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison {
        grid-template-columns: 1fr;
    }
    
    .network-layer {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline {
        padding-left: 40px;
    }
    }