/* Lumolo.de Custom Styles - Green/Natural Theme */

:root {
    --primary-green: #00cc66;
    --light-green: #e8f5e8;
    --dark-green: #00a552;
    --success-gradient: linear-gradient(135deg, #00cc66 0%, #00a552 100%);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

/* Custom Bootstrap Overrides */
.text-success {
    color: var(--primary-green) !important;
}

.btn-success {
    background: var(--success-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 204, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #00a552 0%, #008844 100%);
    box-shadow: 0 6px 20px rgba(0, 204, 102, 0.4);
    transform: translateY(-2px);
}

.btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-success:hover,
.btn-outline-success.active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.bg-success-light {
    background-color: var(--light-green) !important;
}

.bg-gradient-success {
    background: var(--success-gradient);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
    padding-top: 100px;
}

.hero-badge {
    margin-bottom: 2rem;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background-color: var(--light-green) !important;
    color: var(--dark-green) !important;
}

.display-4 {
    font-weight: 800;
    line-height: 1.2;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.hero-cta .btn {
    font-weight: 600;
    border-radius: 50px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.data-preview-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.data-preview-card .card-header {
    background: var(--success-gradient) !important;
}

.floating-stats {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

/* Download Section */
.download-card .card {
    border-radius: 20px;
    overflow: hidden;
}

.download-icon {
    font-size: 3rem;
    color: var(--primary-green);
}

.form-control-lg {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control-lg:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 204, 102, 0.25);
}

/* Donation Section */
.donation-card .card {
    border-radius: 20px;
    overflow: hidden;
}

.donation-icon {
    font-size: 3rem;
    color: var(--primary-green);
}

.donation-amounts .amount-btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.donation-amounts .amount-btn.active {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

#customAmount {
    border-radius: 8px;
    border: 2px solid #dee2e6;
    text-align: center;
    font-weight: 600;
}

#customAmount:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 204, 102, 0.25);
}

.support-features .feature-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 0;
    font-weight: 500;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto;
}

/* Data Specs */
.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-content h6 {
    color: #2c3e50;
}

/* Code Preview */
.code-preview {
    border-radius: 10px;
    overflow: hidden;
}

.code-preview pre {
    margin: 0;
    font-size: 0.85rem;
}

/* Result Messages */
.alert-success {
    background: var(--light-green);
    color: var(--dark-green);
    border: 1px solid var(--primary-green);
    border-radius: 10px;
}

.alert-danger {
    background: #ffe6e6;
    color: #cc0000;
    border: 1px solid #ff9999;
    border-radius: 10px;
}

/* Loading States */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
        text-align: center;
    }

    .floating-stats {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .donation-amounts .col-4:last-child {
        grid-column: span 2;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Payment Elements Styling */
.StripeElement {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.StripeElement--focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 204, 102, 0.25);
}

.StripeElement--invalid {
    border-color: #dc3545;
}

/* Success Checkmarks */
.checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: white;
    text-align: center;
    line-height: 22px;
    font-size: 12px;
    margin-right: 8px;
}

/* Heartbeat animation for donation button */
@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-success:hover .fas.fa-heart {
    animation: heartbeat 1s infinite;
}

/* Footer */
footer {
    background: #1a1a1a !important;
}

footer .border-secondary {
    border-color: #404040 !important;
}
