/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4ade80;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --investor-color: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    height: 100%;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

/* Container */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
}

/* Header Styles */
header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.header-center {
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    object-fit: cover;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(74, 222, 128, 0.4);
}

.title-block {
    text-align: center;
}

.title-block h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Contact Bubble Styles */
.contact-bubble {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow);
}

.contact-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 40px rgba(74, 222, 128, 0.4);
}

.contact-icon {
    width: 28px;
    height: 28px;
    transition: var(--transition);
}

/* Investor Notice Styles - More Robust */
.investor-notice {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 2px solid var(--investor-color);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(251, 191, 36, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    /* Ensure visibility */
    opacity: 1;
    visibility: visible;
    display: block;
    /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
}

.investor-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.investor-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    /* Ensure content is always visible */
    opacity: 1;
    visibility: visible;
}

.investor-text {
    flex: 1;
}

.investor-text h3 {
    color: var(--investor-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.investor-text p {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.investor-text small {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.btn-investor {
    background: var(--investor-color);
    color: var(--bg-primary);
    border: none;
    font-weight: 600;
    /* Ensure button is always visible */
    opacity: 1;
    visibility: visible;
    display: inline-flex;
}

.btn-investor:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.4);
}

/* Page Title */
h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation back button */
.nav-back {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.btn-back {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-weight: 500;
}

.btn-back:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateX(-5px);
}

/* Section Styles */
.section {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.content div:first-child {
    flex: 1;
    margin-right: 2rem;
}

.content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Button Styles */
.btn {
    background: var(--primary-color);
    color: var(--bg-primary);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(74, 222, 128, 0.4);
    background: #22c55e;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}

/* Icon Styles */
.icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

/* Multiple buttons container */
.buttons-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .content div:first-child {
        margin-right: 0;
    }
    
    .investor-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .investor-notice {
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }
    
    .buttons-container {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-back {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 1rem;
    }
    
    .contact-bubble {
        margin-top: 1.5rem;
    }
    
    .contact-btn {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon {
        width: 24px;
        height: 24px;
    }
    
    .title-block h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .profile-img {
        width: 80px;
        height: 80px;
    }
    
    .title-block h1 {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .investor-notice {
        padding: 1rem;
    }
}

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

@keyframes shimmer {
    0% { 
        left: -100%; 
        opacity: 0;
    }
    50% { 
        opacity: 0.6; 
    }
    100% { 
        left: 100%; 
        opacity: 0;
    }
}

.section:nth-child(3) { animation-delay: 0.1s; }
.section:nth-child(4) { animation-delay: 0.2s; }
.section:nth-child(5) { animation-delay: 0.3s; }
.section:nth-child(6) { animation-delay: 0.4s; }
.section:nth-child(7) { animation-delay: 0.5s; }
.section:nth-child(8) { animation-delay: 0.6s; }
.section:nth-child(9) { animation-delay: 0.7s; }
.section:nth-child(10) { animation-delay: 0.8s; }
.section:nth-child(11) { animation-delay: 0.9s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.contact-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Force visibility for critical elements */
.investor-notice,
.investor-content,
.btn-investor {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
} 