
:root {
    --bg-color: #050505;
    --bg-secondary: #0F0F0F;
    --panel-bg-color: #1A120B;
    --text-color: #EAEAEA;
    --text-secondary-color: #A0A0A0;
    --accent-color: #D4AF37;
    --accent-hover-color: #E7C668;
    --accent-light: #F4E4C1;
    --testimonial-card-bg: #E1E1E1;
    --testimonial-text-color: #111111;
    --success-color: #4ADE80;
    --error-color: #EF4444;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-heading: 'Georgia', serif;
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Breakpoints */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
}

/* ============================================
   RESET & GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: var(--line-height-base);
    overflow-x: hidden;
    width: 100%;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--line-height-heading);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--text-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

p {
    font-size: 1rem;
    color: var(--text-secondary-color);
    margin-bottom: var(--space-md);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bg-color);
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: var(--space-2xl) 0;
}

@media (max-width: var(--breakpoint-md)) {
    .container {
        padding: 0 var(--space-md);
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.logo-icon {
    font-size: 1.75rem;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-github {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.nav-github::after {
    background: var(--accent-hover-color) !important;
}

.nav-github:hover {
    color: var(--accent-hover-color) !important;
}

@media (max-width: var(--breakpoint-md)) {
    .nav-links {
        gap: var(--space-md);
        font-size: 0.7rem;
    }
}

@media (max-width: var(--breakpoint-sm)) {
    .nav-links {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--panel-bg-color) 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary-color);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover-color) 100%);
    color: var(--testimonial-text-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbiting-circle {
    position: relative;
    width: 300px;
    height: 300px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.1), transparent);
    animation: float 6s ease-in-out infinite;
}
.orbiting-circle img {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.orbiting-circle::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit 10s linear infinite;
}

.orbiting-circle::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-hover-color);
    border-radius: 50%;
    bottom: 15%;
    right: 10%;
    animation: orbit 15s linear infinite reverse;
}

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

@keyframes orbit {
    from { transform: rotate(0deg) translateX(100px); }
    to { transform: rotate(360deg) translateX(100px); }
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
        justify-items: center;
    }

    .hero-visual {
        display: flex;     
        order: -1;          
        width: 100%;
        height: auto;
        margin-bottom: var(--space-md);
        justify-content: center;
    }

    .orbiting-circle {
        width: 240px;
        height: 240px;
    }
    
    .orbiting-circle img {
        width: 230px;
        height: 230px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .hero::before {
        width: 300px;
        height: 300px;
        top: -10%;
        right: -50px;
    }

    @keyframes orbit {
        from { transform: rotate(0deg) translateX(60px); } 
        to { transform: rotate(360deg) translateX(60px); }
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: var(--space-xl);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: var(--bg-color);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    position: relative;
}

.carousel-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    background-size: 200% 100%;
    animation: lineFlow 4s linear infinite;
}

.carousel-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    background-size: 200% 100%;
    animation: lineFlow 4s linear infinite reverse;
}

@keyframes lineFlow {
    from {
        background-position: -200% 0;
    }
    to {
        background-position: 200% 0;
    }
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    height: 400px;
}

.features-carousel {
    display: flex;
    gap: var(--space-lg);
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.feature-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    background: linear-gradient(135deg, var(--panel-bg-color) 0%, rgba(26, 18, 11, 0.5) 100%);
    padding: var(--space-lg);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover-color) 50%, var(--accent-color) 100%) 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: 1;
}

.feature-card .feature-icon {
    position: relative;
    z-index: 2;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.carousel-control {
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-control:hover {
    background: var(--accent-color);
    color: var(--testimonial-text-color);
    transform: scale(1.1);
}

.carousel-control:active {
    transform: scale(0.95);
}

.carousel-prev {
    order: -1;
}

.carousel-indicators {
    display: none;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(212, 175, 55, 0.5);
}

@media (max-width: var(--breakpoint-md)) {
    .carousel-wrapper {
        gap: var(--space-md);
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: var(--breakpoint-sm)) {
    .carousel-wrapper {
        gap: var(--space-sm);
    }

    .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        border-width: 1.5px;
    }

    .indicator {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.feature-card:hover {
    border-image: linear-gradient(135deg, var(--accent-hover-color) 0%, var(--accent-color) 50%, var(--accent-hover-color) 100%) 1;
    background: linear-gradient(135deg, rgba(26, 18, 11, 0.8) 0%, rgba(26, 18, 11, 0.3) 100%);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.feature-card:hover .feature-icon::before,
.feature-card:hover .feature-icon::after {
    opacity: 1;
    width: 30px;
    height: 30px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(3deg);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--accent-color);
}

.feature-card p {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    background: linear-gradient(135deg, var(--panel-bg-color) 0%, var(--bg-secondary) 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: 0;
}

@media (max-width: var(--breakpoint-md)) {
    .steps::before {
        display: none;
    }
    
    .step {
        min-height: 140px;
        padding-top: 60px;
    }
    
    .step:hover,
    .step:focus-within {
        min-height: 260px;
        padding-top: 80px;
    }
}

.step {
    background: rgba(5, 5, 5, 0.6);
    padding: var(--space-lg);
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(212, 175, 55, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
}

.step:hover,
.step:focus-within {
    background: rgba(26, 18, 11, 0.95);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
    min-height: 300px;
    justify-content: flex-start;
    padding-top: 90px;
}

.step h3 {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: var(--space-md);
    transition: color 0.3s ease;
}

.step:hover h3,
.step:focus-within h3 {
    color: var(--accent-hover-color);
}

.step-short {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    color: var(--text-secondary-color);
    line-height: 1.5;
}

.step:hover .step-short,
.step:focus-within .step-short {
    opacity: 0;
    visibility: hidden;
    display: none;
    position: absolute;
}

.step-details {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-height: 0;
    overflow: hidden;
}

.step:hover .step-details,
.step:focus-within .step-details {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
}

.step-detail-text {
    font-size: 0.85rem;
    color: var(--text-secondary-color);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    text-align: center;
}

.step-detail-list {
    list-style: none;
    text-align: center;
    font-size: 0.8rem;
}

.step-detail-list li {
    color: var(--accent-color);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover-color) 100%);
    color: var(--testimonial-text-color);
    border-radius: 50%;
    line-height: 70px;
    font-size: 1.8rem;
    font-weight: 700;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.step:hover .step-number,
.step:focus-within .step-number {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.step p {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.benefit-card {
    perspective: 1000px;
    cursor: pointer;
    height: 100%;
}

.benefit-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--panel-bg-color) 0%, rgba(26, 18, 11, 0.5) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%) 1;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.benefit-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.benefit-card:hover .benefit-card-inner::before {
    left: 100%;
}

.benefit-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.benefit-card:hover .icon-accent {
    animation: pulseIconActive 0.6s ease-out;
    opacity: 1;
}

@keyframes pulseIconActive {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.benefit-card-inner h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.benefit-card-inner p {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    flex-grow: 1;
    line-height: 1.6;
}

.benefit-highlight {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.benefit-card:hover .benefit-card-inner {
    border-image: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover-color) 100%) 1;
    background: linear-gradient(135deg, rgba(26, 18, 11, 0.8) 0%, rgba(26, 18, 11, 0.3) 100%);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

.benefit-card:hover .benefit-card-inner h3 {
    color: var(--accent-hover-color);
    transform: scale(1.05);
}

.benefit-card:hover .benefit-highlight {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

@media (max-width: var(--breakpoint-md)) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: var(--breakpoint-sm)) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card:hover .benefit-card-inner {
        transform: translateY(-5px);
    }
}

/* ============================================
   OPEN SOURCE SECTION
   ============================================ */
.open-source {
    background: linear-gradient(135deg, var(--panel-bg-color) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.open-source::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.open-source .container {
    position: relative;
    z-index: 1;
}

.os-carousel-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.os-titles-section {
    position: relative;
}

.os-titles-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color) 0%, transparent 50%, var(--accent-color) 100%);
    opacity: 0.3;
}

.os-titles-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding-left: var(--space-lg);
    position: relative;
}

.os-title-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.5;
    position: relative;
    padding-left: var(--space-md);
}

.os-title-item::before {
    content: '';
    position: absolute;
    left: -var(--space-lg);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(212, 175, 55, 0.3));
    transition: width 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 0px rgba(212, 175, 55, 0.3);
}

.os-title-item::after {
    content: '';
    position: absolute;
    left: calc(-var(--space-lg) - 8px);
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.os-title-item:hover {
    opacity: 0.8;
    transform: translateX(8px);
}

.os-title-item:hover::after {
    opacity: 1;
    left: calc(-var(--space-lg) - 12px);
}

.os-title-item.active {
    opacity: 1;
}

.os-title-item.active::before {
    width: var(--space-lg);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.os-title-item.active::after {
    opacity: 1;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
    }
    50% {
        transform: scale(1.4);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    }
}

.os-title-arrow {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0;
}

.os-title-item:hover .os-title-arrow,
.os-title-item.active .os-title-arrow {
    transform: translateX(8px);
    opacity: 1;
}

.os-title-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-secondary-color);
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    position: relative;
}

.os-title-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transition: width 0.4s ease;
}

.os-title-item:hover .os-title-text::after,
.os-title-item.active .os-title-text::after {
    width: 100%;
}

.os-title-item.active .os-title-text {
    color: var(--accent-color);
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.os-content-section {
    position: relative;
    height: 100%;
}

.os-content-card {
    position: relative;
    height: 400px;
}

.os-content-inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(26, 18, 11, 0.7) 0%, rgba(15, 15, 15, 0.5) 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.os-content-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent, var(--accent-color));
    opacity: 0.4;
    z-index: 2;
}

.corner-tl {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    opacity: 0.3;
    transition: all 0.4s ease;
    z-index: 2;
}

.corner-br {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-bottom: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    opacity: 0.3;
    transition: all 0.4s ease;
    z-index: 2;
}

.os-content-inner:hover .corner-tl,
.os-content-inner:hover .corner-br {
    opacity: 1;
    width: 60px;
    height: 60px;
}

.os-content-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    transition: left 0.8s ease;
    z-index: 0;
}

.os-content-inner:hover::before {
    left: 100%;
}

.os-content-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.os-content-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0));
    position: relative;
}

.os-content-inner:hover .os-content-icon {
    font-size: 3.5rem;
    transform: rotate(10deg);
    filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.4));
    position: relative;
}

.os-content-inner h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin: 0;
    transition: all 0.3s ease;
    font-weight: 600;
}

.os-content-inner:hover h3 {
    color: var(--accent-hover-color);
    transform: scale(1.05);
}

.os-content-description {
    font-size: 1rem;
    color: var(--text-secondary-color);
    margin: var(--space-lg) 0;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.os-content-features {
    font-size: 0.95rem;
    color: var(--accent-color);
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.os-content-features strong {
    font-weight: 600;
    color: var(--accent-hover-color);
}

@media (max-width: var(--breakpoint-lg)) {
    .os-carousel-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .os-titles-section::before {
        display: none;
    }

    .os-titles-list {
        flex-direction: row;
        gap: var(--space-md);
        padding-left: 0;
        flex-wrap: wrap;
    }

    .os-title-item {
        padding-left: 0;
    }

    .os-title-item::before {
        left: 0;
        bottom: -8px;
        width: 0;
        height: 2px;
    }

    .os-content-card {
        height: auto;
        min-height: 300px;
    }
}

@media (max-width: var(--breakpoint-sm)) {
    .os-titles-list {
        gap: var(--space-sm);
    }

    .os-content-inner {
        padding: var(--space-lg);
    }

    .os-content-inner h3 {
        font-size: 1.5rem;
    }

    .os-content-icon {
        font-size: 2.5rem;
    }

    .os-content-inner:hover .os-content-icon {
        font-size: 2.8rem;
    }
}



.cta {
    background: linear-gradient(135deg, var(--panel-bg-color) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
}

.cta-content > p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.lead-form {
    max-width: 500px;
    margin: var(--space-lg) auto;
}

.form-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.lead-form input {
    flex: 1;
    min-width: 250px;
    padding: var(--space-md) var(--space-lg);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.lead-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.lead-form input::placeholder {
    color: var(--text-secondary-color);
}

.button {
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover-color) 100%);
    color: var(--testimonial-text-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.button:active {
    transform: translateY(0);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover-color) 100%);
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: var(--space-md);
    font-size: 0.95rem;
    min-height: 24px;
    margin-bottom: 0;
}

.form-message.success {
    color: var(--success-color);
}

.form-message.error {
    color: var(--error-color);
}

@media (max-width: var(--breakpoint-sm)) {
    .form-group {
        flex-direction: column;
    }
    
    .lead-form input {
        min-width: unset;
    }
}


/* ============================================
   FOOTER
   ============================================ */
footer {
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: var(--space-2xl) 0;
    color: var(--text-secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    margin: 0;
}

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

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--text-secondary-color);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary-color);
}

.footer-bottom p {
    margin-bottom: var(--space-sm);
}

