/* ===================================
   Investment Section - Global Grid UI
   =================================== */

.investment-buttons-section {
    background-color: #f8fafc; /* Clean Light Slate */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* --- Global Section Grid Background --- */
.investment-buttons-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Large architectural grid */
    background-image: 
        linear-gradient(rgba(74, 144, 226, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 226, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 0;
}

/* Subtle dot pattern overlay for texture */
.investment-buttons-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(74, 144, 226, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.investment-buttons-section .container {
    position: relative;
    z-index: 2; /* Ensures content is above the background grids */
}

/* --- Compact Professional Cards --- */
.investment-buttons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

.investment-card-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* --- Internal Micro-Grid (Bottom Right Corner) --- */
.investment-card-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 100px;
    height: 100px;
    background-image: 
        linear-gradient(rgba(74, 144, 226, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 226, 0.1) 1px, transparent 1px);
    background-size: 12px 12px;
    mask-image: radial-gradient(circle at bottom right, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at bottom right, black, transparent 80%);
    z-index: 1;
    pointer-events: none;
    transition: 0.4s ease;
}

.investment-card-btn:hover {
    transform: translateY(-10px);
    border-color: #4A90E2;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.08);
}

.investment-card-btn:hover::after {
    transform: scale(1.3);
    background-image: 
        linear-gradient(rgba(74, 144, 226, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 226, 0.2) 1px, transparent 1px);
}

/* Icon Box */
.card-icon {
    width: 52px;
    height: 52px;
    background: #f1f5f9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #4A90E2;
    transition: 0.3s ease;
}

.investment-card-btn:hover .card-icon {
    background: #4A90E2;
    color: #ffffff;
    transform: rotate(-5deg);
}

/* Typography */
.btn-content h3 {
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 700;
}

.btn-content p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 18px;
    font-weight: 400;
}

.min-investment {
    display: inline-flex;
    background: #f8fafc;
    color: #334155;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Corner Arrow */
.card-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #cbd5e1;
    transition: 0.3s ease;
}

.investment-card-btn:hover .card-arrow {
    color: #4A90E2;
    transform: translate(3px, -3px);
}