:root {
    --primary-color: #1a4d2e;
    /* Deep Forest Green */
    --primary-light: #4f6f52;
    /* Sage Green */
    --accent-color: #ff9800;
    /* Gold/Amber */
    --accent-dark: #e68a00;
    --light-bg: #f8fbf8;
    --dark-text: #1b261e;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(26, 77, 46, 0.85);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.6;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

/* Scroll Snap/Smoothness */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: clip;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.reveal {
    animation: fadeInUp 1.2s forwards;
    opacity: 0;
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 25px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-dark);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: 2px;
    font-size: 1.4rem;
}

.navbar-brand img {
    border: 2px solid var(--glass);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../assets/hero_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(to bottom, #fff, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    max-width: 900px;
    margin: 0 auto 45px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 1px;
}

.btn-premium {
    background: var(--primary-color);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-premium:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Section Styling */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-weight: 800;
    color: var(--primary-color);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.section-title p {
    color: var(--primary-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Cards */
.card-division {
    background: var(--white);
    border: none;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    height: 100%;
}

.card-division:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-img-wrapper {
    overflow: hidden;
    height: 280px;
}

.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card-division:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 40px;
}

.card-title {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Ecosystem Styles */
.ecosystem-container {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50px;
    padding: 80px 40px;
    box-shadow: 0 40px 80px rgba(26, 77, 46, 0.3);
}

.cycle-step {
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.cycle-step:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
    transform: translateX(10px);
}

.cycle-step h5 {
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.cycle-step h5 i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 15px;
}

/* Roadmap */
.roadmap-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 60px 0;
}

.roadmap-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 80px;
    transition: var(--transition);
}

.roadmap-item:last-child {
    padding-bottom: 0;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-light), transparent);
    z-index: 1;
}

.roadmap-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.2);
    transition: var(--transition);
}

.roadmap-item:hover .roadmap-marker {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 152, 0, 0.4);
}

.roadmap-content {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.roadmap-item:hover .roadmap-content {
    transform: translateX(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.roadmap-content h5 {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.roadmap-milestones {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.roadmap-milestones li {
    background: var(--light-bg);
    padding: 6px 15px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 50px;
}

.glass-hover {
    transition: var(--transition);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Form Styles */
.contact-form {
    background: var(--white);
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.form-control,
.form-select {
    border: 1px solid #e1e9e1;
    background: #fdfdfd;
    border-radius: 15px;
    font-weight: 500;
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: calc(3.5rem + 15px);
}

.form-floating>label {
    padding-left: 20px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 77, 46, 0.05);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-bg);
    transform: skewY(-2deg);
}

.footer-logo img {
    margin-bottom: 25px;
}

.footer-links h6 {
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.accordion-button {
    padding: 25px;
    font-weight: 700;
    color: var(--primary-color) !important;
    background: var(--white) !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(26, 77, 46, 0.05) !important;
    box-shadow: none;
}

/* Utilities */
.text-accent {
    color: var(--accent-color);
}

.bg-dark-green {
    background-color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .brand-text {
        max-width: 180px;
        display: inline-block;
        white-space: normal;
        line-height: 1.1;
    }

    .navbar {
        padding: 12px 0;
        background: var(--glass-dark);
        backdrop-filter: blur(12px);
    }

    .navbar-brand {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .navbar-brand img {
        height: 42px;
    }

    .navbar-toggler {
        border: 0;
        padding: 0.25rem 0.45rem;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.3);
    }

    .navbar-collapse {
        margin-top: 12px;
        background: rgba(26, 77, 46, 0.95);
        border-radius: 14px;
        padding: 10px 12px;
    }

    .nav-link {
        margin: 6px 0;
        padding: 10px 0;
    }

    .hero {
        min-height: 100svh;
        height: auto;
        padding: 110px 16px 72px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 16px;
    }

    .hero p {
        margin-bottom: 20px;
        letter-spacing: 0.3px;
    }

    .btn-premium {
        padding: 14px 24px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    section {
        padding: 88px 0;
    }

    .section-title {
        margin-bottom: 48px;
    }

    .roadmap-container {
        padding: 24px 0;
    }

    .roadmap-item {
        padding-left: 62px;
        padding-bottom: 44px;
    }

    .roadmap-item:hover .roadmap-content {
        transform: none;
    }

    .roadmap-content {
        padding: 24px;
        border-radius: 18px;
    }

    .card-body {
        padding: 28px 24px;
    }

    .badge-cluster {
        flex-wrap: wrap;
        justify-content: center;
    }

    .badge-cluster .badge {
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 72px;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 9.5vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .btn-premium {
        width: 100%;
        margin: 0;
    }

    section {
        padding: 74px 0;
    }

    .glass-panel,
    .contact-form {
        padding: 22px;
    }

    .accordion-button {
        padding: 18px;
        font-size: 0.95rem;
    }

    .revenue-line {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .revenue-line .align-self-center {
        align-self: flex-start !important;
    }

    footer {
        padding: 72px 0 30px;
    }
}

@media (max-width: 575.98px) {
    .brand-text {
        max-width: 150px;
        display: inline-block;
        white-space: normal;
        line-height: 1.1;
        font-size: 0.82rem;
    }

    .roadmap-item {
        padding-left: 50px;
    }

    .roadmap-item::before {
        left: 15px;
    }

    .roadmap-marker {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .card-img-wrapper {
        height: 220px;
    }
}
