 :root {
        --boxlang-green: #00d4aa;
        --boxlang-dark-green: #00a884;
        --boxlang-light-green: #00f0c3;
    }

    [data-bs-theme="dark"] {
        --bg-primary: #0d1117;
        --bg-secondary: #161b22;
        --bg-tertiary: #0a1810;
        --text-primary: #f0f6fc;
        --text-secondary: #8b949e;
        --border-color: #1a3326;
        --code-bg: #161b22;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        background: var(--bg-primary);
        color: var(--text-primary);
        line-height: 1.6;
    }

    code {
        background: var(--code-bg);
        padding: 0.2rem 0.4rem;
        border-radius: 4px;
        font-size: 0.9em;
        color: var(--boxlang-light-green);
    }

    .feature-card pre {
        font-size: 0.90em !important;
        line-height: 1.4;
        color: var(--boxlang-light-green);
    }

    pre {
        background: var(--code-bg);
        color: var(--boxlang-light-green);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 1rem;
        overflow-x: auto;
    }

    pre code {
        background: none;
        padding: 0;
    }

    section { padding: 80px 0; }

    .section-icon {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        background: linear-gradient(135deg, var(--boxlang-green), var(--boxlang-dark-green));
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
        animation: float 3s ease-in-out infinite;
    }

    .section-icon i {
        font-size: 4rem;
        color: white;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    .hero-section {
        background: linear-gradient(135deg, #00d4aa 0%, #00a884 100%);
        color: white;
        padding: 120px 0 100px;
        position: relative;
        overflow: hidden;
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><style>@keyframes pulse{0%%,100%%{opacity:0.4}50%%{opacity:0.8}}@keyframes drift{0%%{transform:translate(0,0)}50%%{transform:translate(10px,-10px)}100%%{transform:translate(0,0)}}.node{animation:pulse 4s ease-in-out infinite}.line{stroke-dasharray:1000;stroke-dashoffset:1000;animation:draw 8s linear infinite,pulse 3s ease-in-out infinite}@keyframes draw{to{stroke-dashoffset:0}}</style><filter id="glow"><feGaussianBlur stdDeviation="2" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><g opacity="0.4"><line x1="100" y1="50" x2="250" y2="120" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="250" y1="120" x2="400" y2="80" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="400" y1="80" x2="550" y2="150" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="550" y1="150" x2="700" y2="100" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="700" y1="100" x2="850" y2="180" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="850" y1="180" x2="1000" y2="130" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="150" y1="250" x2="300" y2="300" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="300" y1="300" x2="450" y2="280" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="450" y1="280" x2="600" y2="350" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="600" y1="350" x2="750" y2="320" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="750" y1="320" x2="900" y2="380" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="200" y1="450" x2="350" y2="480" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="350" y1="480" x2="500" y2="430" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="500" y1="430" x2="650" y2="500" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="650" y1="500" x2="800" y2="470" class="line" stroke="rgba(255,255,255,0.3)" stroke-width="1"/><line x1="250" y1="120" x2="300" y2="300" class="line" stroke="rgba(255,255,255,0.2)" stroke-width="1"/><line x1="550" y1="150" x2="600" y2="350" class="line" stroke="rgba(255,255,255,0.2)" stroke-width="1"/><line x1="850" y1="180" x2="900" y2="380" class="line" stroke="rgba(255,255,255,0.2)" stroke-width="1"/><circle cx="100" cy="50" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="250" cy="120" r="4" class="node" fill="white" filter="url(%23glow)"/><circle cx="400" cy="80" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="550" cy="150" r="5" class="node" fill="white" filter="url(%23glow)"/><circle cx="700" cy="100" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="850" cy="180" r="4" class="node" fill="white" filter="url(%23glow)"/><circle cx="1000" cy="130" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="150" cy="250" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="300" cy="300" r="5" class="node" fill="white" filter="url(%23glow)"/><circle cx="450" cy="280" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="600" cy="350" r="4" class="node" fill="white" filter="url(%23glow)"/><circle cx="750" cy="320" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="900" cy="380" r="5" class="node" fill="white" filter="url(%23glow)"/><circle cx="200" cy="450" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="350" cy="480" r="4" class="node" fill="white" filter="url(%23glow)"/><circle cx="500" cy="430" r="3" class="node" fill="white" filter="url(%23glow)"/><circle cx="650" cy="500" r="4" class="node" fill="white" filter="url(%23glow)"/><circle cx="800" cy="470" r="3" class="node" fill="white" filter="url(%23glow)"/></g></svg>');
        opacity: 1;
        animation: heroBackground 20s ease-in-out infinite;
    }

    @keyframes heroBackground {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.8; }
    }

    .hero-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
        animation: drift 15s ease-in-out infinite;
    }

    @keyframes drift {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(20px, -20px); }
    }

    .hero-section .container { position: relative; z-index: 1; }

    .hero-badge {
        display: inline-block;
        background: rgba(255,255,255,0.2);
        backdrop-filter: blur(10px);
        padding: 0.5rem 1rem;
        border-radius: 25px;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(255,255,255,0.3);
    }

    .nav-item{
        margin-right: 10px;
    }

    .nav-item i {
        vertical-align: middle;
        font-size: 1.25em;
    }

    .hero-badge i {
        font-size: 1.25em;
        vertical-align: middle;
    }

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

    .feature-card {
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 1.5rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--boxlang-green), var(--boxlang-light-green));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .feature-card:hover::before {
        transform: scaleX(1);
    }

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: var(--boxlang-green);
        box-shadow: 0 8px 24px rgba(0, 212, 170, 0.15);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--boxlang-green), var(--boxlang-dark-green));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.75rem;
        color: white;
        margin-bottom: 1rem;
    }

    .feature-card .mt-3 {
        margin-top: auto !important;
    }

    .provider-logo {
        background: white;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-weight: 600;
        color: #333;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .provider-logo i {
        color: var(--boxlang-green);
        font-size: 1.5rem;
    }

    .provider-logo:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
    }

    .code-block {
        background: var(--code-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 1.5rem;
        margin: 1.5rem 0;
        transition: all 0.3s ease;
        box-shadow: 0 0 0 0 rgba(0, 212, 170, 0);
    }

    .code-block:hover {
        border-color: var(--boxlang-green);
        box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.3) inset;
        background: rgba(22, 27, 34, 0.8);
    }

    .diagram-container {
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 2rem;
        margin: 2rem 0;
    }

    .memory-badge {
        display: inline-flex;
        align-items: center;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .memory-badge:hover {
        border-color: var(--boxlang-green);
        background: var(--bg-tertiary);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 212, 170, 0.2);
    }

    .memory-badge i {
        color: var(--boxlang-green);
        font-size: 1.25rem;
    }

    .diagram-box {
        background: var(--bg-secondary);
        border: 2px solid var(--border-color);
        border-radius: 12px;
        padding: 2rem 1.5rem;
        height: 100%;
        transition: all 0.3s ease;
    }

    .diagram-box:hover {
        border-color: var(--boxlang-green);
        box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2);
    }

    .diagram-icon {
        font-size: 3rem;
        color: var(--boxlang-green);
    }

    .diagram-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: var(--boxlang-green);
        height: 60px;
    }

    .diagram-arrow i {
        animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
        0%, 100% { opacity: 0.5; transform: scale(1); }
        50% { opacity: 1; transform: scale(1.1); }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    @keyframes pulse-border {
        0%, 100% { border-color: var(--border-color); }
        50% { border-color: var(--boxlang-green); }
    }

    .animated-card {
        animation: float 6s ease-in-out infinite;
    }

    .nav-link {
        color: var(--text-primary);
        transition: color 0.3s ease;
    }

    .nav-link:hover {
        color: var(--boxlang-green);
    }

    .btn-boxlang {
        background: linear-gradient(135deg, var(--boxlang-green), var(--boxlang-dark-green));
        border: none;
        color: white;
        padding: 0.75rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-boxlang:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 212, 170, 0.3);
        color: white;
    }

    .btn-outline-boxlang {
        border: 2px solid var(--boxlang-green);
        color: var(--boxlang-green);
        background: transparent;
        padding: 0.75rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-outline-boxlang:hover {
        background: var(--boxlang-green);
        color: white;
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        section { padding: 60px 0; }
        .hero-section { padding: 80px 0 60px; }
        .feature-grid { grid-template-columns: 1fr; }
    }