/* GreenSync Landing Page Styles */

:root {
    --primary-green: #198754;
    --primary-green-dark: #146c43;
    --primary-green-light: #20c997;
    --secondary-gray: #6c757d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-primary: #212529;
    --text-muted: #6c757d;
    --border-radius: 16px;
    --box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-green);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(25, 135, 84, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content h1 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
}

.hero-stats {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    position: relative;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, var(--primary-green), var(--primary-green-light));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.feature-card.featured {
    border: 2px solid var(--primary-green);
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.02) 0%, var(--white) 100%);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-list i {
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: var(--box-shadow);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-green);
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.impact-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(25, 135, 84, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-green);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2,
.cta-section p {
    color: var(--white);
}

.cta-section .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-green);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: #1a1a1a;
    color: #adb5bd;
}

.footer h5,
.footer h6 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
}

.btn-outline-success:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        height: 400px;
        margin-top: 3rem;
    }

    .floating-card {
        width: 250px;
        height: 250px;
    }

    .features-section,
    .how-it-works-section,
    .impact-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }

    .d-flex.gap-3 .btn {
        width: 100%;
    }

    .process-step {
        margin-bottom: 2rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-success {
    color: var(--primary-green) !important;
}

.bg-primary {
    background-color: #0d6efd !important;
}

.bg-success {
    background-color: var(--primary-green) !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-info {
    background-color: #0dcaf0 !important;
}
