/* Jillk Invest - Main Stylesheet */

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

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(46, 204, 113, 0.06) 0%, transparent 55%),
        radial-gradient(circle at 60% 40%, rgba(230, 126, 34, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(155, 89, 182, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 70% 30%, rgba(241, 196, 15, 0.07) 0%, transparent 65%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2a2a2a 50%, #1e1e1e 75%, #0f0f0f 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(600px at 25% 25%, rgba(52, 152, 219, 0.03), transparent),
        radial-gradient(800px at 75% 75%, rgba(46, 204, 113, 0.02), transparent),
        radial-gradient(400px at 90% 10%, rgba(230, 126, 34, 0.025), transparent);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 150px,
            rgba(52, 152, 219, 0.01) 152px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 150px,
            rgba(46, 204, 113, 0.008) 152px
        );
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    background: 
        radial-gradient(circle, rgba(52, 152, 219, 0.04) 0%, transparent 50%),
        radial-gradient(circle, rgba(46, 204, 113, 0.03) 20%, transparent 60%),
        radial-gradient(circle, rgba(230, 126, 34, 0.025) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 12s ease-in-out infinite;
    pointer-events: none;
}

.container {
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.92));
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 60px 50px;
    box-shadow: 
        0 25px 60px -10px rgba(0, 0, 0, 0.3),
        0 8px 32px -8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    max-width: 520px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.25) 0%, 
        rgba(46, 204, 113, 0.2) 25%,
        rgba(230, 126, 34, 0.15) 50%,
        rgba(155, 89, 182, 0.2) 75%,
        rgba(52, 152, 219, 0.25) 100%);
    border-radius: 26px;
    z-index: -1;
    opacity: 0.7;
}

.logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-bottom: 50px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 4s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.03) translateY(-5px);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.contact-section {
    margin-top: 40px;
}

.contact-title {
    color: #1a1a1a;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 25px;
    text-shadow: none;
    letter-spacing: 0.05em;
    font-family: 'Montserrat', 'Inter', sans-serif;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3498db 25%, 
        #2ecc71 50%, 
        #e67e22 75%, 
        transparent 100%);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(46, 204, 113, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-link:hover::before {
    opacity: 1;
}

.contact-link:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

.contact-link:active {
    transform: translateY(0);
}

.portfolio-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.portfolio-title {
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    text-shadow: none;
    letter-spacing: 0.05em;
    font-family: 'Montserrat', 'Inter', sans-serif;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.portfolio-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1.5px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #3498db 25%, 
        #2ecc71 50%, 
        #e67e22 75%, 
        transparent 100%);
}

.investment-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(248, 248, 248, 0.7));
    backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 320px;
    width: 100%;
}

.investment-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.investment-link {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.investment-link:hover .investment-card {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(52, 152, 219, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(52, 152, 219, 0.3);
}

.investment-link:hover .investment-card::before {
    opacity: 1;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.08) 0%, 
        rgba(46, 204, 113, 0.06) 50%,
        rgba(155, 89, 182, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.investment-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.2) 0%, 
        rgba(46, 204, 113, 0.15) 50%,
        rgba(155, 89, 182, 0.1) 100%);
    border-radius: 21px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.investment-link:hover .investment-card::after {
    opacity: 0.7;
}

.investment-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 6px 16px rgba(46, 204, 113, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(39, 174, 96, 0.12);
    flex-shrink: 0;
}

.logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.investment-name {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    margin: 0;
}

.investment-description {
    color: #555555;
    font-size: 13px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    text-align: left;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Animation pour la section portfolio */
.portfolio-section {
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* Responsive pour la section portfolio */
@media (max-width: 600px) {
    .portfolio-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .portfolio-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .investment-card {
        padding: 20px;
        max-width: 100%;
        margin: 0 10px;
    }
    
    .investment-header {
        gap: 12px;
        margin-bottom: 14px;
    }
    
    .investment-logo {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    
    .logo-img {
        width: 22px;
        height: 22px;
    }
    
    .investment-name {
        font-size: 16px;
    }
    
    .investment-description {
        font-size: 12px;
        line-height: 1.5;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.7;
    }
}

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

.logo {
    animation: float 3s ease-in-out infinite;
}

.container {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive global */
@media (max-width: 600px) {
    .container {
        padding: 50px 35px;
        margin: 20px;
        max-width: 90%;
    }
    
    .logo {
        max-width: 280px;
        margin-bottom: 40px;
    }
    
    .contact-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .contact-link {
        font-size: 15px;
        padding: 12px 28px;
    }
}
