@keyframes fadeInOnly {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes floatUp {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

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

html {
    scroll-behavior: smooth;
    background: #0d0e10;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(145deg, #0d0e10, #1a1c1f);
    color: #eaeaea;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow.green {
    background: rgba(142, 165, 140, 0.12);
    top: -200px;
    right: -100px;
    animation: pulse 8s ease-in-out infinite;
}

.bg-glow.blue {
    background: rgba(100, 140, 180, 0.08);
    bottom: -200px;
    left: -100px;
    animation: pulse 10s ease-in-out infinite 2s;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -20px;
    background: #8EA58C;
    border-radius: 50%;
    animation: floatUp linear infinite;
}

.nav-bar {
    width: 100%;
    backdrop-filter: blur(12px);
    background: rgba(51, 51, 51, 0.65);
    padding: 14px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    animation: fadeInOnly 0.6s ease-out forwards;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-bar a {
    color: #8EA58C;
    padding: 10px 14px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    background: rgba(35, 35, 35, 0.4);
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-bar a.nav-logo {
    padding: 0;
    background: none;
}

.nav-bar a.active {
    background: rgba(142, 165, 140, 0.15);
    color: #b4c9b1;
}

.nav-bar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0%;
    background-color: #8EA58C;
    transition: width 0.25s ease;
}

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

.nav-bar a:hover {
    background: rgba(142, 165, 140, 0.1);
    color: #b4c9b1;
    box-shadow: 0 0 8px rgba(142, 165, 140, 0.6);
}

.nav-bar a.nav-logo::after {
    display: none;
}

main {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero {
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.logo {
    margin: 0 auto 32px;
    animation: float 4s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    height: 100px;
    width: auto;
}

.hero h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: #8EA58C;
    text-shadow: 0 0 30px rgba(142, 165, 140, 0.5);
}

.badge {
    display: inline-block;
    background: rgba(142, 165, 140, 0.15);
    border: 1px solid rgba(142, 165, 140, 0.3);
    color: #8EA58C;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.15em;
    color: #a0a0a0;
    max-width: 500px;
    margin: 0 auto 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInOnly 1s ease-out 1s forwards;
    cursor: pointer;
    transition: color 0.25s ease, opacity 0.4s ease;
    text-decoration: none;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator:hover {
    color: rgba(142, 165, 140, 0.6);
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #8EA58C, #7a9478);
    color: #0d0e10;
    box-shadow: 0 4px 20px rgba(142, 165, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(142, 165, 140, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #eaeaea;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    padding: 100px 0 80px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 80px 0 100px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stat-card {
    background: rgba(51, 51, 51, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:nth-child(1) { transition-delay: 0s; }
.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }

.stat-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(142, 165, 140, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.8em;
    font-weight: 700;
    color: #8EA58C;
    margin-bottom: 8px;
    text-shadow: 0 0 30px rgba(142, 165, 140, 0.4);
}

.stat-label {
    font-size: 0.95em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card {
    background: rgba(51, 51, 51, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(1) { transition-delay: 0s; }
.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }

.card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(142, 165, 140, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(142, 165, 140, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 26px;
    height: 26px;
    color: #8EA58C;
}

.card h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.card p {
    font-size: 0.95em;
    color: #999;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 60px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

footer p {
    font-size: 0.85em;
    color: #666;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.social-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    color: #8EA58C;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 16px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #8EA58C;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(142, 165, 140, 0.2);
    border: 1px solid rgba(142, 165, 140, 0.3);
    border-radius: 12px;
    color: #8EA58C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9;
    backdrop-filter: blur(10px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: rgba(142, 165, 140, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(142, 165, 140, 0.3);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 600px) {
    .nav-bar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 16px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1em;
    }
    main {
        padding: 0 16px;
    }
    .features {
        padding: 60px 0;
        gap: 20px;
    }
    .stats {
        grid-template-columns: 1fr;
        padding: 60px 0;
        gap: 20px;
    }
    .stat-number {
        font-size: 2.2em;
    }
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
