:root {
    --night-garden: #1A1F2B;
    --glow-green: #64DD17;
    --biolum-blue: #00E5FF;
    --biolum-purple: #D500F9;
}

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

body {
    background-color: var(--night-garden);
    color: var(--glow-green);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, rgba(100, 221, 23, 0.1), rgba(0, 229, 255, 0.1));
    padding: 10px 0;
    border-bottom: 1px solid rgba(100, 221, 23, 0.3);
    text-align: center;
}

.top-bar p {
    color: var(--glow-green);
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(100, 221, 23, 0.5);
}

/* Header */
.header {
    background-color: rgba(26, 31, 43, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 221, 23, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(100, 221, 23, 0.6));
    animation: pulse-glow 3s ease-in-out infinite;
}

.helix {
    animation: helix-rotate 4s linear infinite;
    filter: drop-shadow(0 0 5px currentColor);
}

.helix-1 {
    transform-origin: 50px 50px;
}

.helix-2 {
    transform-origin: 50px 50px;
    animation-direction: reverse;
}

.leaf {
    filter: drop-shadow(0 0 8px #64DD17);
    animation: leaf-glow 2s ease-in-out infinite alternate;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--glow-green);
    text-shadow: 0 0 15px rgba(100, 221, 23, 0.7);
}

.navbar-nav .nav-link {
    color: var(--glow-green);
    margin: 0 10px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(100, 221, 23, 0.5);
}

.navbar-nav .nav-link:hover {
    color: var(--biolum-blue);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: var(--glow-green);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(100, 221, 23, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(100, 221, 23, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(100, 221, 23, 0.8), 0 0 40px rgba(0, 229, 255, 0.4);
    animation: title-glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(100, 221, 23, 0.9);
    line-height: 1.6;
}

.btn-glow {
    background: linear-gradient(135deg, var(--glow-green), var(--biolum-blue));
    border: none;
    color: var(--night-garden);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(100, 221, 23, 0.5), 0 0 40px rgba(0, 229, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(100, 221, 23, 0.8), 0 0 60px rgba(0, 229, 255, 0.5);
    color: var(--night-garden);
}

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

.glowing-plant {
    position: relative;
    width: 300px;
    height: 400px;
    animation: plant-float 6s ease-in-out infinite;
}

.plant-stem {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 200px;
    background: linear-gradient(to top, #2d5016, #64DD17);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(100, 221, 23, 0.5);
}

.plant-leaf {
    position: absolute;
    width: 80px;
    height: 120px;
    background: radial-gradient(ellipse, var(--glow-green), #2d5016);
    border-radius: 0 100% 0 100%;
    filter: drop-shadow(0 0 15px rgba(100, 221, 23, 0.8));
    animation: leaf-pulse 3s ease-in-out infinite;
}

.leaf-1 {
    top: 50px;
    left: 50%;
    transform: translateX(-50%) rotate(-30deg);
    animation-delay: 0s;
}

.leaf-2 {
    top: 100px;
    right: 20%;
    transform: rotate(45deg);
    animation-delay: 0.5s;
}

.leaf-3 {
    top: 150px;
    left: 20%;
    transform: rotate(-45deg);
    animation-delay: 1s;
}

.leaf-4 {
    top: 200px;
    left: 50%;
    transform: translateX(-50%) rotate(30deg);
    animation-delay: 1.5s;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100, 221, 23, 0.3), transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.05));
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--glow-green);
    text-shadow: 0 0 15px rgba(100, 221, 23, 0.6);
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(26, 31, 43, 0.8);
    border: 1px solid rgba(100, 221, 23, 0.3);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--biolum-blue);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3), 0 0 20px rgba(100, 221, 23, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 10px rgba(100, 221, 23, 0.6));
}

.feature-card h3 {
    color: var(--glow-green);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(100, 221, 23, 0.5);
}

.feature-card p {
    color: rgba(100, 221, 23, 0.8);
    line-height: 1.6;
}

/* Configurator Section */
.configurator {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.05), transparent);
}

.config-panel, .preview-panel {
    background: rgba(26, 31, 43, 0.9);
    border: 1px solid rgba(100, 221, 23, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.form-label {
    color: var(--glow-green);
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(100, 221, 23, 0.5);
}

.form-control {
    background-color: rgba(26, 31, 43, 0.8);
    border: 1px solid rgba(100, 221, 23, 0.3);
    color: var(--glow-green);
    padding: 10px 15px;
    border-radius: 8px;
}

.form-control:focus {
    background-color: rgba(26, 31, 43, 0.9);
    border-color: var(--biolum-blue);
    color: var(--glow-green);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    outline: none;
}

.form-control-color {
    width: 100%;
    height: 50px;
    cursor: pointer;
}

.form-range {
    accent-color: var(--glow-green);
}

.form-range::-webkit-slider-thumb {
    background: var(--glow-green);
    box-shadow: 0 0 10px rgba(100, 221, 23, 0.8);
}

.organism-preview {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(100, 221, 23, 0.1), transparent);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.preview-organism {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Simulator Section */
.simulator {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(213, 0, 249, 0.05));
}

.simulator-panel {
    background: rgba(26, 31, 43, 0.9);
    border: 1px solid rgba(100, 221, 23, 0.3);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.simulation-room {
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, #0a0f1a, #1A1F2B);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(100, 221, 23, 0.3);
}

.room-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.simulated-plant {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 200px;
}

.sim-stem {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100px;
    background: linear-gradient(to top, #2d5016, #64DD17);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(100, 221, 23, 0.6);
}

.sim-leaf {
    position: absolute;
    width: 50px;
    height: 70px;
    background: radial-gradient(ellipse, var(--glow-green), #2d5016);
    border-radius: 0 100% 0 100%;
    filter: drop-shadow(0 0 10px rgba(100, 221, 23, 0.8));
}

.sim-leaf-1 {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(-25deg);
}

.sim-leaf-2 {
    top: 40px;
    right: 15%;
    transform: rotate(35deg);
}

.sim-leaf-3 {
    top: 60px;
    left: 15%;
    transform: rotate(-35deg);
}

.room-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 80%, rgba(100, 221, 23, 0.2), transparent 60%);
    transition: all 0.5s ease;
    pointer-events: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(100, 221, 23, 0.1), rgba(0, 229, 255, 0.1));
    padding: 30px 0;
    border-top: 1px solid rgba(100, 221, 23, 0.3);
    text-align: center;
}

.footer p {
    color: var(--glow-green);
    text-shadow: 0 0 10px rgba(100, 221, 23, 0.5);
}

.footer-link {
    color: var(--biolum-blue);
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 4px;
    border-radius: 4px;
}

.footer-link:hover {
    color: var(--glow-green);
    text-shadow: 0 0 20px rgba(100, 221, 23, 1), 0 0 30px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
    background: rgba(100, 221, 23, 0.1);
    box-shadow: 0 0 15px rgba(100, 221, 23, 0.4);
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(100, 221, 23, 0.6)); }
    50% { filter: drop-shadow(0 0 20px rgba(100, 221, 23, 1)); }
}

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

@keyframes leaf-glow {
    from { opacity: 0.8; filter: drop-shadow(0 0 8px #64DD17); }
    to { opacity: 1; filter: drop-shadow(0 0 15px #64DD17); }
}

@keyframes title-glow {
    from { text-shadow: 0 0 20px rgba(100, 221, 23, 0.8), 0 0 40px rgba(0, 229, 255, 0.4); }
    to { text-shadow: 0 0 30px rgba(100, 221, 23, 1), 0 0 60px rgba(0, 229, 255, 0.6); }
}

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

@keyframes leaf-pulse {
    0%, 100% { 
        filter: drop-shadow(0 0 15px rgba(100, 221, 23, 0.8));
        opacity: 0.9;
    }
    50% { 
        filter: drop-shadow(0 0 25px rgba(100, 221, 23, 1));
        opacity: 1;
    }
}

@keyframes glow-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .glowing-plant {
        width: 250px;
        height: 350px;
    }
}

