/* Variables */
:root {
    --primary: #0658C3;
    --dark-bg: #0a0a0a;
    --dark-blue: #061F67;
    --light-gray: #c0d6df;
    --accent-green: #3a7d44;
    --accent-yellow: #e4ff1a;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #0a0a0a 0%, #061F67 50%, #0658C3 100%);
    --gradient-2: linear-gradient(135deg, #061F67 0%, #0658C3 100%);
    --gradient-3: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --gradient-4: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--gradient-3);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(6, 31, 103, 0.8) 100%);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 35px;
}

.nav-title {
    font-weight: 700;
    color: var(--white);
    font-size: 18px;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-link.active {
    background: #05C673;
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.3) 0%, 
        rgba(6, 31, 103, 0.5) 50%,
        rgba(6, 88, 195, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent-green));
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 88, 195, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.center {
    display: block;
    width: fit-content;
    margin: 40px auto;
}

/* Flowing Text */
.flowing-text-container {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 3;
}

.flowing-text {
    display: flex;
    white-space: nowrap;
    animation: flow 30s linear infinite;
}

.flowing-text span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    padding: 0 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes flow {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Insights Section */
.insights-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}

.insights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--light-gray);
}

.insights-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-bottom: 100px;
}

.insight-clean {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(6, 88, 195, 0.1), rgba(58, 125, 68, 0.1));
    border-radius: 20px;
    transition: all 0.3s ease;
}

.insight-clean:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(6, 88, 195, 0.2), rgba(58, 125, 68, 0.2));
}

.insight-number-large {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.insight-label-clean {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.insight-detail-clean {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Trend Section */
.trend-section {
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(6, 31, 103, 0.3), rgba(6, 88, 195, 0.2));
    border-radius: 30px;
}

.trend-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--white);
}

.chart-area {
    background: rgba(0, 0, 0, 0.3);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-placeholder-text {
    color: var(--light-gray);
    font-style: italic;
}

/* Explore Section */
.explore-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    position: relative;
}

.demo-video {
    margin: 60px auto;
    max-width: 800px;
}

.demo-placeholder {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary));
    padding: 80px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.demo-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(6, 88, 195, 0.4);
}

.play-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.demo-placeholder p {
    color: white;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

/* Contribute Section */
.contribute-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #16213e 0%, #1a1a2e 100%);
}

.contribute-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contribute-toggle {
    background: linear-gradient(135deg, var(--primary), var(--accent-green));
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    cursor: pointer;
    margin: 30px auto;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.contribute-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 88, 195, 0.4);
}

.toggle-arrow {
    transition: transform 0.3s ease;
}

.contribute-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.contribute-content.active {
    max-height: 500px;
    padding-top: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(6, 88, 195, 0.1), rgba(58, 125, 68, 0.1));
    border-radius: 20px;
}

.step-num {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* About Page */
.about-wrapper {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 100%);
}

.about-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(6, 31, 103, 0.3), rgba(6, 88, 195, 0.2));
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header p {
    font-size: 1.2rem;
    color: var(--light-gray);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-section {
    margin-bottom: 100px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
     text-align: center;
}

.lead {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 40px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mission-card {
    padding: 30px;
    background: linear-gradient(135deg, rgba(6, 88, 195, 0.1), rgba(58, 125, 68, 0.1));
    border-radius: 15px;
    border-left: 3px solid var(--accent-green);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(6, 88, 195, 0.2), rgba(58, 125, 68, 0.2));
}

.mission-card h3 {
    color: var(--accent-green);
    margin-bottom: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.team-clickable {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.team-clickable:hover .team-photo {
    transform: scale(1.05);
    opacity: 0.9;
}

.team-clickable:hover h3 {
    color: var(--primary);
}

.expand-icon {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.8rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    object-fit: cover;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.team-member h3 {
    margin: 10px 0;
    font-size: 1.4rem;
    color: var(--white);
    transition: color 0.3s ease;
}

.role {
    color: #05C673;
    font-weight: 600;
    margin: 5px 0;
}

.institution {
    color: var(--light-gray);
    margin: 5px 0;
}

.institution a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.institution a:hover {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.bio-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 20px;
}

.bio-container.active {
    max-height: 300px;
}

.bio {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
    padding: 20px;
    background: rgba(6, 88, 195, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}
.feedback-button {
    background: linear-gradient(135deg, var(--primary), var(--accent-green));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feedback-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 88, 195, 0.4);
}

/* Feedback Form Styles */
.feedback-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(6, 31, 103, 0.3), rgba(6, 88, 195, 0.2));
    border-radius: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary), var(--accent-green));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 88, 195, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav-menu { display: none; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .insights-grid-clean { grid-template-columns: 1fr; gap: 40px; }
    .insight-number-large { font-size: 3rem; }
    .team-grid { grid-template-columns: 1fr; }
}
.bio-visible {
    margin-top: 15px;
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
    padding: 15px 0;
}
.contact-intro a {
    color: var(--white);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.contact-intro a:hover {
    color: var(--primary);
}

/* Customization Popup Styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.overlay.active {
    display: block;
}

.customize-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a2e;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(6, 88, 195, 0.3);
}

.customize-popup.active {
    display: block;
}