/* CSS Variables - Clean, minimal palette inspired by ChatGPT/world.org */
:root {
    --bg: #ffffff;
    --bg-secondary: #f7f7f8;
    --bg-blue: #f1f5f9;
    --bg-dark: #343541;
    --panel: #ffffff;
    --panel-hover: #f7f7f8;
    --text: #353740;
    --text-secondary: #6e6e80;
    --muted: #8e8ea0;
    --accent: #0f172a;
    --accent-hover: #1e293b;
    --blue: #0f172a;
    --blue-light: #a5b4fc;
    --blue-soft: #1e293b;
    --border: #e5e5e6;
    --border-light: #f0f0f0;
    --border-blue: #818cf8;
    --shadow: rgba(0, 0, 0, 0.05);
    --shadow-hover: rgba(0, 0, 0, 0.1);
    --shadow-blue: rgba(15, 23, 42, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Section */
.section {
    padding: 8rem 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

/* Top Announcement Banner */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #0a0e1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.announcement-banner:hover {
    transform: scaleY(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.announcement-text {
    text-align: center;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
    transition: transform 0.3s ease;
}

.announcement-banner:hover .announcement-text {
    transform: scale(1.05);
}

/* Header / Nav */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
    transition: filter 0.3s ease;
}

.header.scrolled .logo-img {
    filter: none;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 110px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-blue) 100%);
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    position: fixed;
    top: 0;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%);
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    -webkit-playsinline: true;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Orbs - Subtle, minimal version */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    animation: float 30s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%);
    bottom: 20%;
    right: 15%;
    animation-delay: -10s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%);
    top: 50%;
    right: 30%;
    animation-delay: -20s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding-top: 120px;
}

.hero-logo {
    height: clamp(4rem, 10vw, 8rem);
    width: auto;
    max-width: 90%;
    object-fit: contain;
    margin: 0 auto 0.75rem;
    display: block;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-subhead {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--text);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.animated-text {
    animation: fadeInUp 1s ease-out, textGlow 3s ease-in-out infinite 1.5s;
    color: var(--text);
    position: relative;
}

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

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 0 rgba(0, 0, 0, 0);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.05);
        transform: scale(1.01);
    }
}

.hero-supporting {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.button--primary {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.button--primary:hover,
.button--primary:focus {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.button--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.button--ghost:hover,
.button--ghost:focus {
    border-color: var(--blue);
    color: #ffffff;
    background: var(--blue);
}

/* Section Titles */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-title--centered {
    text-align: center;
}

.section-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Cards */
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.card:hover {
    border-color: var(--border);
    box-shadow: 0 4px 16px var(--shadow);
    transform: translateY(-2px);
    background: var(--panel-hover);
}

/* Mission */
.mission {
    padding: 10rem 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.mission-label {
    position: relative;
    padding-top: 1rem;
}

.mission-label-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

.mission-content {
    position: relative;
}

.mission-headline {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}

.mission-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.9;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    max-width: 90%;
}

.mission-text:nth-child(2) {
    transition-delay: 0.1s;
}

.mission-text:nth-child(3) {
    transition-delay: 0.2s;
}

.mission-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mission-label {
        padding-top: 0;
    }
}

/* What We Are - Features */
.what-we-are {
    padding: 10rem 0;
    background: var(--bg);
}

.what-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.what-we-are-label {
    position: relative;
    padding-top: 1rem;
}

.what-we-are-label-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
}

.what-we-are-intro {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--text);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 600px;
    width: 100%;
}

.feature-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-card:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: var(--blue);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: #ffffff;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

.feature-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #ffffff;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 1.25rem;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
    font-weight: bold;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-list li {
    color: rgba(255, 255, 255, 0.95);
}

.feature-card:hover .feature-list li::before {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 968px) {
    .what-we-are-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .what-we-are-label,
    .ecosystem-label {
        padding-top: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 3rem 2.5rem;
    }
}

/* Ecosystem */
.ecosystem {
    padding: 10rem 0;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.ecosystem-label {
    position: relative;
    padding-top: 1rem;
}

.ecosystem-label-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
}

.ecosystem-content {
    position: relative;
    padding-top: 0;
}

.ecosystem-intro {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--text);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pillar-card:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: var(--blue);
    transform: translateY(-4px);
}

.pillar-line-1,
.pillar-line-2 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s ease;
    line-height: 1.4;
    margin: 0;
}

.pillar-line-1 {
    margin-bottom: 0.25rem;
}

.pillar-card:hover .pillar-line-1,
.pillar-card:hover .pillar-line-2 {
    color: #ffffff;
}

.pillar-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s ease;
    line-height: 1.4;
    margin: 0;
}

.pillar-card:hover .pillar-title {
    color: #ffffff;
}


/* Why */
.why {
    background: var(--bg-blue);
}

.why-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.why-statement {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.highlight {
    position: relative;
    display: inline-block;
    color: var(--text);
}

.highlight::after {
    display: none;
}

/* Team */
.team {
    padding: 10rem 0;
    background: transparent;
    position: relative;
}

.team .section-title {
    margin-bottom: 6rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

.team-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.team-card:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card:nth-child(3) {
    transition-delay: 0.3s;
}

.team-card:nth-child(4) {
    transition-delay: 0.4s;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card:hover::after {
    opacity: 1;
}

.team-card:hover {
    border-color: var(--blue-soft);
    box-shadow: 0 25px 70px rgba(30, 58, 138, 0.2);
    transform: translateY(-12px) scale(1.03);
    background: var(--bg);
}

.team-headshot {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--blue-light);
    border: 4px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, border-color 0.4s ease;
}

.team-card:hover .team-headshot {
    transform: scale(1.1);
    border-color: var(--blue-soft);
}

.team-headshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.team-card:hover .team-headshot-img {
    transform: scale(1.1);
}

.team-name {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.team-role {
    font-size: 1.125rem;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-headshot {
        width: 160px;
        height: 160px;
    }
}

/* CTA */
.cta {
    background: var(--bg-blue);
}

.cta-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 16px var(--shadow);
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.cta-subtext {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    max-width: 180px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1.125rem;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--blue);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

