/* Nexus Community Foundation - Building Futures Through Education */

:root {
    /* Primary Purple - Community & Innovation */
    --foundation-purple: #8b5cf6;
    --foundation-purple-light: #a78bfa;
    --foundation-purple-dark: #7c3aed;
    --foundation-purple-deep: #6d28d9;
    
    /* Secondary Blue - Hope & Trust */
    --foundation-blue: #3b82f6;
    --foundation-blue-light: #60a5fa;
    --foundation-blue-dark: #2563eb;
    --foundation-blue-deep: #1d4ed8;
    
    /* Accent Colors */
    --foundation-indigo: #6366f1;
    --foundation-cyan: #06b6d4;
    
    /* Neutrals */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-warm: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 40%, #3b82f6 80%, #60a5fa 100%);
    --gradient-bold: linear-gradient(135deg, #6d28d9 0%, #2563eb 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--neutral-50);
    color: var(--neutral-700);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.logo-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    margin-bottom: 0;
}

.tagline {
    font-size: 0.85rem;
    color: var(--neutral-600);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--foundation-purple);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 100px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(167, 139, 250, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(96, 165, 250, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-badge.coming-soon {
    background: rgba(255, 255, 255, 0.95);
    color: var(--foundation-purple);
    border: none;
}

.hero-badge i {
    width: 18px;
    height: 18px;
}

.hero-title {
    font-family: 'Playfair Display', 'Space Grotesk', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn i {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: white;
    color: var(--foundation-purple);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-hint i {
    width: 32px;
    height: 32px;
    color: white;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-badge.light {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2 {
    font-family: 'Playfair Display', 'Space Grotesk', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 20px;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--neutral-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Vision Section */
.vision-section {
    padding: 120px 20px;
    background: white;
}

.vision-story {
    max-width: 900px;
    margin: 0 auto 80px auto;
    text-align: center;
}

.vision-story .lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--neutral-700);
    margin-bottom: 25px;
    font-weight: 500;
}

.vision-story p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--neutral-600);
}

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

.vision-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--neutral-50);
    border-radius: 16px;
    border: 2px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
    border-color: var(--foundation-purple-light);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.vision-icon i {
    width: 35px;
    height: 35px;
    color: white;
}

.vision-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 15px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.vision-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

/* Vision Emphasis - Who This Is For */
.vision-emphasis {
    margin-top: 80px;
    text-align: center;
}

.vision-emphasis h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 40px;
}

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

.audience-card {
    background: white;
    border: 2px solid #e0e7ff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.audience-card:hover {
    border-color: var(--foundation-purple);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    transform: translateY(-5px);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.audience-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foundation-purple);
    margin-bottom: 15px;
}

.audience-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-600);
}

.emphasis-note {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--neutral-700);
    text-align: left;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--foundation-purple);
}

.emphasis-note strong {
    color: var(--foundation-purple);
}

/* Why Section */
.why-section {
    padding: 120px 20px;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(167, 139, 250, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(96, 165, 250, 0.2) 0%, transparent 50%);
}

.why-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.why-section h2 {
    color: white;
    margin-bottom: 40px;
}

.why-text {
    text-align: left;
    margin: 40px auto;
    max-width: 900px;
}

.why-text p {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 25px;
    opacity: 0.95;
}

.why-conclusion {
    font-size: 1.3rem;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
    text-align: left;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

/* How Section */
.how-section {
    padding: 120px 20px;
    background: var(--neutral-50);
}

.how-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 80px;
}

.how-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 40px 30px;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.how-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
    border-color: var(--foundation-purple-light);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.step-icon i {
    width: 35px;
    height: 35px;
    color: white;
}

.how-step h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 12px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.how-step p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

.how-arrow {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.partnership-note {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 40px;
    background: white;
    border: 3px solid var(--foundation-purple);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.partnership-note h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.partnership-note p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--neutral-600);
}

.partnership-note a {
    color: var(--foundation-purple);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--foundation-purple-light);
    transition: all 0.3s ease;
}

.partnership-note a:hover {
    color: var(--foundation-purple-dark);
    border-bottom-color: var(--foundation-purple);
}

/* Impact Section */
.impact-section {
    padding: 120px 20px;
    background: white;
}

.impact-vision {
    max-width: 1000px;
    margin: 0 auto 80px auto;
}

.impact-quote {
    position: relative;
    padding: 60px 50px;
    background: var(--gradient-primary);
    border-radius: 24px;
    color: white;
    text-align: center;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
}

.quote-mark {
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    opacity: 0.15;
    position: absolute;
    top: 20px;
    left: 40px;
    line-height: 1;
}

.impact-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 600;
}

.milestones h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 50px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

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

.milestone {
    text-align: center;
    padding: 40px 30px;
    background: var(--neutral-50);
    border-radius: 16px;
    border: 2px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.milestone:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
    border-color: var(--foundation-purple-light);
}

.milestone-year {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.milestone h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 15px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.milestone p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

/* Involved Section */
.involved-section {
    padding: 120px 20px;
    background: var(--gradient-bold);
    color: white;
    position: relative;
    overflow: hidden;
}

.involved-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 40%, rgba(167, 139, 250, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(96, 165, 250, 0.2) 0%, transparent 50%);
}

.involved-section .section-header {
    position: relative;
    z-index: 1;
}

.involved-section .section-header h2 {
    color: white;
}

.involved-section .section-intro {
    color: rgba(255, 255, 255, 0.95);
}

.involved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.involved-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.involved-card:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.involved-icon {
    width: 64px;
    height: 64px;
    background: white;
    color: var(--foundation-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.involved-icon i {
    width: 30px;
    height: 30px;
}

.involved-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.involved-card p {
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.95;
}

.involved-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.involved-link i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.involved-link:hover {
    gap: 12px;
}

.involved-link:hover i {
    transform: translateX(4px);
}

/* InFuze Section */
.infuze-section {
    padding: 120px 20px;
    background: var(--neutral-900);
    color: white;
    text-align: center;
}

.infuze-content {
    max-width: 800px;
    margin: 0 auto;
}

.infuze-section .section-badge {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.infuze-section h2 {
    color: white;
    margin-bottom: 30px;
}

.infuze-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.infuze-section strong {
    color: var(--foundation-purple-light);
}

.infuze-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.infuze-links a {
    color: var(--foundation-purple-light);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid var(--foundation-purple-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.infuze-links a:hover {
    background: var(--foundation-purple-light);
    color: var(--neutral-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.4);
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 20px 30px 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.footer-logo-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.footer-tagline {
    color: var(--foundation-purple-light);
    font-weight: 600;
}

.footer-info h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-info p,
.footer-contact p {
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--foundation-purple-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--foundation-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        padding: 120px 20px 80px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .how-diagram {
        flex-direction: column;
    }

    .how-arrow {
        transform: rotate(90deg);
    }

    .involved-grid,
    .milestone-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .infuze-links {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .impact-quote blockquote {
        font-size: 1.2rem;
    }

    .quote-mark {
        font-size: 5rem;
    }
}