/* ==========================================================================
   Investments Listing Page Styles
   ========================================================================== */

.investments-hero {
    position: relative;
    background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.15), transparent),
        linear-gradient(135deg, #064E3B 0%, #022C22 100%);
    color: white;
    padding: 4.5rem 0 3.5rem;
    text-align: center;
    overflow: hidden;
}

.investments-hero::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: var(--color-green);
    filter: blur(120px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.investments-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    color: white !important;
}

.investments-hero h1 span {
    background: linear-gradient(90deg, #96f1d0, #028a5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.investments-hero p {
    font-size: 1.125rem;
    color: #ffffff !important;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Category Sections */
.invest-category-section {
    padding: 4rem 0;
}

.invest-category-title {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-main);
    padding-bottom: 1.5rem;
}

.invest-category-title i {
    font-size: 1.75rem;
    color: var(--color-green);
}

.invest-category-title h2 {
    font-size: 2rem;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.invest-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .invest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .invest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .invest-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Investment Card Styles */
.invest-card {
    background: white;
    border: 1.5px dashed var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-decoration: none !important;
    height: 100%;
}

.invest-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-green);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.invest-card-icon {
    width: 56px;
    height: 56px;
    background: #ECFDF5;
    color: var(--color-green);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s;
}

.invest-card:hover .invest-card-icon {
    background: var(--color-green);
    color: white;
}

.invest-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
}

.invest-card-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.invest-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-green);
}

.invest-card-footer i {
    transition: transform 0.3s;
}

.invest-card:hover .invest-card-footer i {
    transform: translateX(5px);
}

/* Dark Mode Overrides */
body.dark-mode .invest-card {
    background: var(--bg-card);
    border-color: var(--border-main);
}

body.dark-mode .invest-card-content h3 {
    color: white;
}

body.dark-mode .invest-card-icon {
    background: rgba(16, 185, 129, 0.1);
}

body.dark-mode .invest-category-title {
    border-bottom-color: var(--border-main);
}