 :root {
     --bs-primary: #3a86ff;
     --bs-secondary: #00d4aa;
     --bs-success: #06d6a0;
     --bs-info: #4cc9f0;
     --bs-warning: #ffd60a;
     --bs-danger: #ef476f;
     --bs-dark: #1a202c;
     --ortus-green: #00d4aa;
     --gradient-start: #3a86ff;
     --gradient-end: #4361ee;
     --boxlang-green: #00d4aa;
     --boxlang-dark-green: #00a884;
     --boxlang-light-green: #00f0c3;
 }

 /* Light Theme */
 [data-bs-theme="light"] {
     --bg-primary: #ffffff;
     --bg-secondary: #f8f9fa;
     --bg-tertiary: #e9ecef;
     --text-primary: #1a202c;
     --text-secondary: #3F4A5C;
     --border-color: #dee2e6;
     --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

    --boxlang-btn-bg: var(--boxlang-dark-green);
    --boxlang-btn-hover-bg: #008f70;
 }

 /* Dark Theme */
 [data-bs-theme="dark"] {
     --bg-primary: #0d1117;
     --bg-secondary: #161b22;
     --bg-tertiary: #21262d;
     --text-primary: #f0f6fc;
     --text-secondary: #ffffff;
     --border-color: #30363d;
     --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
 }

 body {
     background-color: var(--bg-primary);
     color: var(--text-primary);
     transition: background-color 0.3s ease, color 0.3s ease;
 }

a {
    color: var(--ortus-green);
    text-decoration: none;
}

a:hover {
    color: var(--boxlang-dark-green);
}

.text-secondary {
    color: var(--text-secondary) !important;
}

 code {
     background: var(--code-bg);
     padding: 0.2rem 0.4rem;
     border-radius: 4px;
     font-size: 0.9em;
     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;
 }

 i {
     font-size: 2.5rem;
     color: white;
     vertical-align: middle;
 }

 .feature-icon, 
 .pill-icon i,
 .btn i {
     font-size: 1.5rem;
 }

 footer i {
     font-size: 2.5rem;
     color: var(--text-primary);
     vertical-align: middle;
     transition: color 0.3s ease, transform 0.3s ease;
 }

 footer a:hover i {
     color: var(--ortus-green);
     transform: scale(1.1);
 }

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

 .nav-item i {
     font-size: 1.5rem;
     color: white;
     vertical-align: middle;
 }

 /* Navbar matching boxlang.io */
 .navbar-custom {
     background-color: var(--bg-primary);
     border-bottom: 1px solid var(--border-color);
     backdrop-filter: blur(10px);
     padding: 1rem 0;
 }

 .navbar-custom .navbar-brand img {
     height: 40px;
 }

 .navbar-custom .nav-link {
     color: var(--text-primary);
     font-weight: 500;
     padding: 0.5rem 1rem;
     transition: color 0.2s;
 }

 .navbar-custom .nav-link:hover {
     color: var(--ortus-green);
 }

 /* Theme Toggle */
 .theme-toggle {
     cursor: pointer;
     padding: 0.5rem;
     border-radius: 8px;
     transition: background-color 0.2s;
 }

 .theme-toggle:hover {
     background-color: var(--bg-secondary);
 }

 a:hover {
     color: var(--ortus-green);
     text-decoration: none;
 }

 /* Hero Section with Animated Network Background */
 .hero-section {
     background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #2563eb 100%);
     color: white;
     padding: 50px 0 60px;
     position: relative;
     overflow: hidden;
 }

 /* Animated Network Canvas Background */
 .hero-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background:
         radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
         radial-gradient(circle at 80% 70%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
         radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
     animation: pulse-glow 8s ease-in-out infinite;
 }

 @keyframes pulse-glow {

     0%,
     100% {
         opacity: 0.6;
     }

     50% {
         opacity: 1;
     }
 }

 /* Network dots and connections */
 .network-bg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     overflow: hidden;
 }

 .network-dot {
     position: absolute;
     width: 4px;
     height: 4px;
     background: rgba(255, 255, 255, 0.6);
     border-radius: 50%;
     box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
 }

 .network-line {
     position: absolute;
     height: 1px;
     background: linear-gradient(90deg,
             transparent 0%,
             rgba(255, 255, 255, 0.2) 50%,
             transparent 100%);
     transform-origin: left center;
     animation: line-pulse 3s ease-in-out infinite;
 }

 @keyframes line-pulse {

     0%,
     100% {
         opacity: 0.3;
     }

     50% {
         opacity: 0.8;
     }
 }

 @keyframes grid-float {
     from {
         transform: translate(0, 0);
     }

     to {
         transform: translate(50px, 50px);
     }
 }

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

 /* Hero Graphic */
 .hero-graphic {
     max-width: 400px;
     margin: 0 auto;
 }

 .ortus-badge {
     animation: fade-in 1s ease-out;
 }

 @keyframes fade-in {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Feature Pills */
 .feature-pills {
     display: flex;
     flex-direction: column;
     gap: 0.75rem;
 }

 .feature-pill {
     background: rgba(255, 255, 255, 0.15);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.3);
     border-radius: 30px;
     padding: 0.75rem 1.5rem;
     display: flex;
     align-items: center;
     gap: 0.75rem;
     animation: slide-in 0.6s ease-out forwards;
     opacity: 0;
 }

 .feature-pill:nth-child(1) {
     animation-delay: 0.2s;
 }

 .feature-pill:nth-child(2) {
     animation-delay: 0.4s;
 }

 .feature-pill:nth-child(3) {
     animation-delay: 0.6s;
 }

 @keyframes slide-in {
     from {
         opacity: 0;
         transform: translateX(30px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 .pill-icon {
     font-size: 1.25rem;
     width: 40px;
     height: 40px;
     display: flex;
     align-items: center;
     justify-content: center;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 50%;
     flex-shrink: 0;
     color: white;
 }

 .pill-text {
     font-size: 0.95rem;
     font-weight: 600;
     color: white;
 }

 .hero-title {
     font-size: 3.5rem;
     font-weight: 800;
     margin-bottom: 1.5rem;
     line-height: 1.2;
 }

 .hero-subtitle {
     font-size: 1.5rem;
     opacity: 0.95;
     margin-bottom: 2rem;
 }

 .badge-custom {
     background: rgba(255, 255, 255, 0.2);
     backdrop-filter: blur(10px);
     padding: 0.5rem 1rem;
     border-radius: 20px;
     font-size: 0.875rem;
     font-weight: 600;
     display: inline-block;
     margin: 0.25rem;
 }

 /* Feature Cards */
 .feature-card {
    display: flex;
    flex-direction: column;
    position: relative;

     background-color: var(--bg-primary);
     border: 1px solid var(--border-color);
     border-radius: 16px;
     padding: 2rem;
     height: 100%;
     transition: all 0.3s ease;
     box-shadow: var(--card-shadow);
 }

 .feature-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 12px 24px rgba(58, 134, 255, 0.2);
     border-color: var(--bs-primary);
 }

.feature-card .list-unstyled {
    margin-top: auto;
}

 .feature-icon {
     width: 64px;
     height: 64px;
     background: linear-gradient(135deg, var(--bs-primary) 0%, var(--ortus-green) 100%);
     border-radius: 16px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 2rem;
     margin-bottom: 1.5rem;
 }

 .feature-badge {
     background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
     color: white;
     padding: 4px 12px;
     border-radius: 12px;
     font-size: 0.75rem;
     font-weight: 700;
     display: inline-block;
     margin-top: 0.5rem;
 }

 .feature-badge.launching {
     background: linear-gradient(135deg, var(--ortus-green) 0%, #00b894 100%);
 }

 /* Diagram SVG Styling */
 .diagram-container {
     background-color: var(--bg-secondary);
     border-radius: 12px;
     padding: 2rem;
     margin: 1.5rem 0;
 }

 /* Comparison Table */
 .comparison-table {
     background-color: var(--bg-primary);
     border-radius: 16px;
     overflow: hidden;
     box-shadow: var(--card-shadow);
 }

 .comparison-table th {
     background: linear-gradient(135deg, var(--bs-primary) 0%, var(--ortus-green) 100%);
     color: white;
     padding: 1.25rem;
     font-weight: 600;
     border: none;
 }

 .comparison-table td {
     padding: 1.25rem;
     border-bottom: 1px solid var(--border-color);
 }

 .comparison-table tbody tr:last-child td {
     border-bottom: none;
 }

 /* Use Case Cards */
 .use-case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;

     background-color: var(--bg-secondary);
     border: 1px solid var(--border-color);
     border-radius: 12px;
     padding: 2rem;
     transition: all 0.3s ease;
 }

 .use-case-card:hover {
     transform: translateY(-4px);
     border-color: var(--bs-primary);
     box-shadow: 0 8px 20px rgba(58, 134, 255, 0.15);
 }

.use-case-card .list-unstyled {
    margin-top: auto;
}

 /* Footer */
 footer {
     background-color: var(--bg-secondary);
     border-top: 1px solid var(--border-color);
     padding: 4rem 0 2rem;
 }

 footer a {
     color: var(--text-secondary);
     text-decoration: none;
     transition: color 0.2s;
 }

 footer a:hover {
     color: var(--ortus-green);
 }

 /* Buttons */
 .btn-primary {
    color: #ffffff;
     background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
     border: none;
     font-weight: 600;
     padding: 0.75rem 2rem;
     transition: all 0.3s ease;
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 20px rgba(58, 134, 255, 0.4);
 }

 .btn-outline-light {
     border: 2px solid white;
     font-weight: 600;
     padding: 0.75rem 2rem;
 }

 /* Section Spacing */
 section {
     padding: 5rem 0;
 }

 .section-title {
     font-size: 2.5rem;
     font-weight: 800;
     margin-bottom: 1rem;
     background: linear-gradient(135deg, var(--bs-primary) 0%, var(--ortus-green) 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .section-subtitle {
     font-size: 1.25rem;
     color: var(--text-secondary);
     margin-bottom: 3rem;
 }

 /* Animations */
 .fade-in-up {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.8s ease-out, transform 0.8s ease-out;
 }

 .fade-in-up.visible {
     opacity: 1;
     transform: translateY(0);
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* MCP Diagram Animations */
 @keyframes mcp-pulse-ring {
     0% {
         transform: scale(0.9);
         opacity: 0.8;
     }
     50% {
         transform: scale(1.1);
         opacity: 0.5;
     }
     100% {
         transform: scale(0.9);
         opacity: 0.8;
     }
 }

 @keyframes mcp-fade-in-element {
     0% {
         opacity: 0;
         transform: scale(0.8);
     }
     100% {
         opacity: 1;
         transform: scale(1);
     }
 }

 @keyframes mcp-draw-line {
     0% {
         stroke-dashoffset: 200;
     }
     100% {
         stroke-dashoffset: 0;
     }
 }

 .mcp-pulse {
     animation: mcp-pulse-ring 2s ease-in-out infinite;
     transform-origin: center;
 }

 .mcp-fade-in {
     animation: mcp-fade-in-element 0.8s ease-out forwards;
     opacity: 0;
 }

 .mcp-line-draw {
     stroke-dasharray: 200;
     stroke-dashoffset: 200;
     animation: mcp-draw-line 1.5s ease-out forwards;
 }

 /* Schedule Timeline Animations */
 @keyframes schedule-pulse-effect {
     0%, 100% {
         transform: scale(1);
         opacity: 0.8;
     }
     50% {
         transform: scale(1.2);
         opacity: 0.4;
     }
 }

 @keyframes schedule-ring-expand {
     0% {
         r: 10px;
         opacity: 0.3;
     }
     100% {
         r: 25px;
         opacity: 0;
     }
 }

 .schedule-pulse {
     animation: schedule-pulse-effect 2s ease-in-out infinite;
     transform-origin: center;
 }

 .schedule-ring {
     animation: schedule-ring-expand 2s ease-out infinite;
 }

 .timeline-particle {
     filter: drop-shadow(0 0 3px currentColor);
 }

 /* Orchestration Diagram Animations */
 @keyframes orchestration-fade-in {
     from {
         opacity: 0;
         transform: translateY(-10px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes orchestration-line-draw {
     from {
         stroke-dashoffset: 100;
     }
     to {
         stroke-dashoffset: 0;
     }
 }

 @keyframes orchestration-workflow-pulse {
     0%, 100% {
         transform: scale(1);
         opacity: 1;
     }
     50% {
         transform: scale(1.02);
         opacity: 0.9;
     }
 }

 .orchestration-fade-in {
     animation: orchestration-fade-in 0.8s ease-out forwards;
     opacity: 0;
 }

 .orchestration-line-draw {
     stroke-dasharray: 100;
     stroke-dashoffset: 100;
     animation: orchestration-line-draw 1s ease-out forwards;
 }

 .orchestration-workflow-pulse {
     animation: orchestration-workflow-pulse 3s ease-in-out infinite;
     animation-delay: 1.5s;
 }

 .orchestration-particle {
     filter: drop-shadow(0 0 4px currentColor);
 }

 /* Memory Diagram Animations */
 @keyframes memory-fade-in {
     from {
         opacity: 0;
         transform: scale(0.95);
     }
     to {
         opacity: 1;
         transform: scale(1);
     }
 }

 @keyframes memory-line-draw {
     from {
         stroke-dashoffset: 200;
     }
     to {
         stroke-dashoffset: 0;
     }
 }

 @keyframes memory-pulse {
     0%, 100% {
         transform: scale(1);
         opacity: 1;
     }
     50% {
         transform: scale(1.02);
         opacity: 0.9;
     }
 }

 .memory-fade-in {
     animation: memory-fade-in 0.8s ease-out forwards;
     opacity: 0;
 }

 .memory-line-draw {
     stroke-dasharray: 200;
     stroke-dashoffset: 200;
     animation: memory-line-draw 1s ease-out forwards;
 }

 .memory-pulse {
     animation: memory-pulse 2.5s ease-in-out infinite;
 }

 .memory-particle {
     filter: drop-shadow(0 0 4px currentColor);
 }

 /* Lambda Diagram Animations */
 @keyframes lambda-fade-in {
     from {
         opacity: 0;
         transform: translateX(-10px);
     }
     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @keyframes lambda-line-draw {
     from {
         stroke-dashoffset: 100;
     }
     to {
         stroke-dashoffset: 0;
     }
 }

 @keyframes lambda-scale-pulse {
     0%, 100% {
         transform: scale(1);
     }
     50% {
         transform: scale(1.05);
     }
 }

 .lambda-fade-in {
     animation: lambda-fade-in 0.8s ease-out forwards;
     opacity: 0;
 }

 .lambda-line-draw {
     stroke-dasharray: 100;
     stroke-dashoffset: 100;
     animation: lambda-line-draw 0.8s ease-out forwards;
 }

 .lambda-particle {
     filter: drop-shadow(0 0 4px currentColor);
 }

 .lambda-scale-box {
     animation: lambda-scale-pulse 2s ease-in-out infinite;
 }

 /* RAG Diagram Animations */
 @keyframes rag-fade-in {
     from {
         opacity: 0;
         transform: scale(0.95);
     }
     to {
         opacity: 1;
         transform: scale(1);
     }
 }

 @keyframes rag-line-draw {
     from {
         stroke-dashoffset: 100;
     }
     to {
         stroke-dashoffset: 0;
     }
 }

 @keyframes rag-pulse {
     0%, 100% {
         transform: scale(1);
     }
     50% {
         transform: scale(1.02);
     }
 }

 .rag-fade-in {
     animation: rag-fade-in 0.8s ease-out forwards;
     opacity: 0;
 }

 .rag-line-draw {
     stroke-dasharray: 100;
     stroke-dashoffset: 100;
     animation: rag-line-draw 1s ease-out forwards;
 }

 .rag-particle {
     filter: drop-shadow(0 0 4px currentColor);
 }

 .rag-pulse {
     animation: rag-pulse 2.5s ease-in-out infinite;
 }

 /* Orchestration Diagram Animations */
 @keyframes orchestration-fade-in {
     from {
         opacity: 0;
         transform: translateY(-10px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes orchestration-line-draw {
     from {
         stroke-dashoffset: 100;
     }
     to {
         stroke-dashoffset: 0;
     }
 }

 @keyframes orchestration-workflow-pulse {
     0%, 100% {
         transform: scale(1);
         opacity: 1;
     }
     50% {
         transform: scale(1.02);
         opacity: 0.9;
     }
 }

 .orchestration-fade-in {
     animation: orchestration-fade-in 0.8s ease-out forwards;
     opacity: 0;
 }

 .orchestration-line-draw {
     stroke-dasharray: 100;
     stroke-dashoffset: 100;
     animation: orchestration-line-draw 1s ease-out forwards;
 }

 .orchestration-workflow-pulse {
     animation: orchestration-workflow-pulse 3s ease-in-out infinite;
     animation-delay: 1.5s;
 }

 .orchestration-particle {
     filter: drop-shadow(0 0 4px currentColor);
 }

.buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
} 

.btn-success { 
    background-color: var(--boxlang-btn-bg);
    border-color: var(--boxlang-btn-bg);
}

.btn-success:hover {
    background-color: var(--boxlang-btn-hover-bg);
    border-color: var(--boxlang-btn-hover-bg);
}

#enterprise-features {
    font-size: 1.1rem;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
}

#enterprise-features .feature-item {
    display: flex;
    align-items: center;
}

#enterprise-features .separator {
    font-weight: bold;
    opacity: 0.7;
}

 /* Responsive */
 @media (max-width: 768px) {
     .hero-title {
         font-size: 2.5rem;
     }

     .hero-subtitle {
         font-size: 1.25rem;
     }

     .navbar-custom .navbar-collapse {
         background-color: var(--bg-primary);
         padding: 1rem;
         border-radius: 8px;
         margin-top: 1rem;
     }
 }

@media (max-width: 600px) {
    .ph-check-circle {
        font-size: 1.5rem;
    }
    
    #enterprise-features {
        font-size: 0.95rem;
        flex-direction: column;
        gap: 0.5em;
        align-items: start;
    }

    #enterprise-features .separator {
        display: none;
    }
}