/* ==========================================================================
   Invest Page Styles - Инвестирай с нас
   ========================================================================== */

/* Hero Section */
.ic-invest-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background: linear-gradient(
        180deg,
        var(--color-bg-gradient-start) 0%,
        var(--color-bg-primary) 100%
    );
    position: relative;
    overflow: hidden;
}

.ic-invest-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center top,
        rgba(249, 152, 20, 0.1) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.ic-invest-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.ic-invest-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.ic-gradient-text {
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.ic-invest-divider {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange-start), var(--color-orange-end));
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(249, 152, 20, 0.4);
}

/* Main Content Section */
.ic-invest-content {
    padding: 80px 0 120px;
    background: var(--color-bg-primary);
}

.ic-invest-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

/* Card Base Styles */
.ic-invest-card {
    position: relative;
    background: linear-gradient(
        135deg,
        var(--color-card-gradient-start) 0%,
        var(--color-card-gradient-end) 100%
    );
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-card);
    padding: 48px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Cards with Background Images */
.ic-invest-card-with-bg {
    background: transparent;
}

.ic-invest-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Dark Overlay for Text Readability */
.ic-invest-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 13, 13, 0.92) 0%,
        rgba(13, 13, 13, 0.85) 50%,
        rgba(13, 13, 13, 0.92) 100%
    );
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects for Background Cards */
.ic-invest-card-with-bg:hover .ic-invest-card-bg {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.ic-invest-card-with-bg:hover .ic-invest-card-overlay {
    background: linear-gradient(
        135deg,
        rgba(13, 13, 13, 0.88) 0%,
        rgba(13, 13, 13, 0.80) 50%,
        rgba(249, 152, 20, 0.15) 100%
    );
}

.ic-invest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-orange-start), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ic-invest-card:hover::before {
    opacity: 1;
}

.ic-invest-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Glow Effect */
.ic-invest-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(249, 152, 20, 0.15) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.ic-invest-card:hover .ic-invest-card-glow {
    opacity: 1;
}

.ic-invest-card-glow-strong {
    background: radial-gradient(
        circle at center,
        rgba(249, 152, 20, 0.25) 0%,
        rgba(213, 111, 22, 0.1) 40%,
        transparent 70%
    );
}

.ic-invest-card-content {
    position: relative;
    z-index: 1;
}

/* Card Sizes */
.ic-invest-card-large {
    grid-column: span 7;
}

.ic-invest-card-medium {
    grid-column: span 5;
}

.ic-invest-card-highlight {
    grid-column: span 12;
    background: linear-gradient(
        135deg,
        rgba(249, 152, 20, 0.15) 0%,
        rgba(213, 111, 22, 0.08) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border: 1px solid rgba(249, 152, 20, 0.3);
    text-align: center;
    padding: 64px 48px;
}

.ic-invest-card-highlight:hover {
    border-color: rgba(249, 152, 20, 0.5);
    box-shadow: 0 24px 80px rgba(249, 152, 20, 0.3);
}

/* Icons */
.ic-invest-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    color: #ffffff;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(249, 152, 20, 0.3);
    transition: transform 0.4s ease;
}

.ic-invest-card:hover .ic-invest-icon {
    transform: scale(1.05) rotate(5deg);
}

.ic-invest-icon-small {
    width: 64px;
    height: 64px;
}

/* Typography */
.ic-invest-card-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.ic-invest-card-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.ic-invest-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.ic-invest-text strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.ic-invest-text-small {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-tertiary);
}

.ic-invest-text-small strong {
    color: var(--color-orange-start);
    font-weight: 600;
}

/* Highlight Card Elements */
.ic-invest-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(249, 152, 20, 0.2);
    border: 1px solid rgba(249, 152, 20, 0.4);
    border-radius: 999px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-orange-start);
}

.ic-invest-badge svg {
    width: 20px;
    height: 20px;
}

.ic-invest-percentage {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.ic-invest-number {
    font-size: clamp(80px, 12vw, 120px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.ic-invest-symbol {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    color: var(--color-orange-start);
}

.ic-invest-highlight-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.ic-invest-subtext {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Section */
.ic-invest-cta {
    margin-top: 80px;
}

.ic-invest-cta-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ic-invest-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(249, 152, 20, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.ic-invest-cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange-start), var(--color-orange-end));
    color: #ffffff;
    margin: 0 auto 32px;
    box-shadow: 0 8px 32px rgba(249, 152, 20, 0.4);
}

.ic-invest-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.ic-invest-cta-text {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.ic-invest-cta .ic-btn-group {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ic-invest-card-large,
    .ic-invest-card-medium {
        grid-column: span 12;
    }
    
    .ic-invest-title {
        font-size: clamp(40px, 10vw, 72px);
    }
}

@media (max-width: 768px) {
    .ic-invest-hero {
        padding: 100px 0 60px;
        min-height: 30vh;
    }
    
    .ic-invest-content {
        padding: 60px 0 80px;
    }
    
    .ic-invest-grid {
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .ic-invest-card {
        padding: 32px 24px;
    }
    
    .ic-invest-card-highlight {
        padding: 48px 32px;
    }
    
    .ic-invest-card-title {
        font-size: 24px;
    }
    
    .ic-invest-card-subtitle {
        font-size: 20px;
    }
    
    .ic-invest-text {
        font-size: 16px;
    }
    
    .ic-invest-number {
        font-size: clamp(60px, 15vw, 80px);
    }
    
    .ic-invest-symbol {
        font-size: clamp(36px, 10vw, 48px);
    }
    
    .ic-invest-cta-card {
        padding: 48px 24px;
    }
    
    .ic-invest-cta-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ic-invest-title {
        margin-bottom: 24px;
    }
    
    .ic-invest-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
    }
    
    .ic-invest-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .ic-invest-icon-small {
        width: 56px;
        height: 56px;
    }
    
    .ic-invest-icon-small svg {
        width: 28px;
        height: 28px;
    }
    
    .ic-btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .ic-btn {
        width: 100%;
    }
}

