:root {
    /* River-inspired color palette */
    --teal-600: #0891b2;
    --teal-500: #06b6d4;
    --teal-400: #22d3ee;
    --cyan-300: #67e8f9;

    --coral-600: #ee5a6f;
    --coral-500: #ff6b6b;
    --coral-400: #ff8787;

    --amber-400: #fbbf24;
    --amber-300: #fcd34d;

    --cream: #fefdfb;
    --cream-dark: #f8f6f3;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;

    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(254, 253, 251, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(8, 145, 178, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pronunciation {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--slate-600);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-700);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-500);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--teal-600);
}

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

.nav-cta {
    background: var(--teal-600);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--teal-500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

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

.hero-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 0;
}

.flow-svg {
    width: 100%;
    height: 100%;
}

.flow-path {
    opacity: 0.6;
    transition: all 0.8s ease;
}

.flow-1 {
    fill: var(--cyan-300);
    animation: flow 8s ease-in-out infinite;
}

.flow-2 {
    fill: var(--teal-400);
    animation: flow 10s ease-in-out infinite;
    animation-delay: -2s;
}

.flow-3 {
    fill: var(--teal-500);
    animation: flow 12s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes flow {
    0%, 100% {
        transform: translateX(0) scaleY(1);
        opacity: 0.4;
    }
    50% {
        transform: translateX(20px) scaleY(1.1);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
    animation: fadeInUp 1s ease-out;
}

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

.admission-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-600);
    border: 1px solid var(--slate-200);
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.08);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--coral-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 88px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--slate-900);
}

.title-line {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.title-line:last-child {
    animation-delay: 0.6s;
}

.gradient-text {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 20px;
    color: var(--slate-600);
    margin-bottom: 48px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--teal-600);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--slate-600);
    margin-top: 8px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--slate-200), transparent);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--teal-600);
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
    animation: fadeInUp 1s ease-out 1.2s both;
}

.cta-button:hover {
    background: var(--teal-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.3);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Sections */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 64px;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--slate-600);
    max-width: 600px;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* How It Flows Section */
.how-section {
    background: white;
}

/* Philosophy Content */
.philosophy-content {
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-text {
    text-align: center;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 32px;
}

.philosophy-description {
    font-size: 18px;
    color: var(--slate-700);
    margin-bottom: 20px;
    line-height: 1.8;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.flow-card {
    background: var(--cream);
    padding: 40px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--slate-200);
}

.flow-card:hover {
    transform: translateY(-4px);
    border-color: var(--teal-400);
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.12);
    background: white;
}

.flow-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    color: var(--teal-600);
    transition: all 0.3s ease;
}

.flow-card:hover .flow-icon {
    color: var(--teal-500);
    transform: scale(1.05);
}

.flow-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.flow-card p {
    font-size: 16px;
    color: var(--slate-600);
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-description {
    font-size: 18px;
    color: var(--slate-700);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    border-radius: 32px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ripple-effect {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: ripple 3s ease-out infinite;
}

@keyframes ripple {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* Founders */
.founders-section {
    margin-top: 60px;
}

.founders-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--slate-900);
    text-align: center;
    margin-bottom: 48px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.founder-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.polaroid-photos {
    position: relative;
    width: 350px;
    height: 320px;
    margin: 0 auto 24px;
}

.founder-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 6px;
}

.founder-role {
    color: var(--slate-600);
    font-size: 15px;
    margin-bottom: 20px;
}

.founder-bio {
    max-width: 480px;
    text-align: left;
    margin: 0 auto;
}

.founder-bio p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate-700);
    margin-bottom: 12px;
}

/* Polaroid Style */
.polaroid {
    background: white;
    padding: 12px;
    padding-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
                0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: absolute;
}

.polaroid.large {
    width: 260px;
    transform: rotate(-3deg);
    top: 0;
    left: 0;
    z-index: 1;
}

.polaroid.small {
    width: 160px;
    transform: rotate(4deg);
    bottom: 0;
    right: 0;
    z-index: 2;
}

.polaroid:hover {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2),
                0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.polaroid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.polaroid.large img {
    height: 280px;
}

.polaroid.small img {
    height: 190px;
}

/* NadiAI Section */
.nadi-ai-section {
    background: var(--slate-900);
    color: white;
}

.nadi-ai-section .section-title {
    color: white;
}

.nadi-ai-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.ai-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ai-product {
    position: relative;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.ai-product:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--teal-400);
    transform: translateY(-4px);
}

.product-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
}

.product-icon {
    width: 56px;
    height: 56px;
    color: var(--teal-400);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.ai-product:hover .product-icon {
    color: var(--cyan-300);
    transform: scale(1.05);
}

.ai-product h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.ai-product p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-600);
}

/* Advisors & Investors */
.advisors-section,
.investors-section {
    background: var(--cream-dark);
}

.advisors-placeholder,
.investors-placeholder {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 24px;
    border: 2px dashed var(--slate-300);
    color: var(--slate-600);
    font-size: 18px;
}

/* Events Section */
.events-section {
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.event-card {
    background: var(--cream);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: var(--teal-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.1);
    background: white;
}

.event-date {
    display: inline-block;
    background: var(--teal-600);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.event-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.event-card p {
    color: var(--slate-600);
    font-size: 16px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    background: var(--cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--slate-900);
    user-select: none;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--teal-600);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 32px;
    color: var(--slate-600);
    font-size: 16px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 32px 24px;
}

/* Blog Section */
.blog-section {
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    border-color: var(--teal-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.1);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--teal-400), var(--coral-400));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    color: white;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
}

.blog-content {
    padding: 32px;
}

.blog-category {
    display: inline-block;
    background: var(--cream-dark);
    color: var(--teal-600);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.blog-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.blog-card p {
    color: var(--slate-600);
    font-size: 15px;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-section .section-title {
    color: white;
}

.contact-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    font-size: 17px;
}

.benefit-item svg {
    flex-shrink: 0;
    color: var(--amber-300);
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--slate-900);
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    color: var(--slate-900);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--teal-600);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-button:hover {
    background: var(--teal-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.3);
}

.submit-button svg {
    transition: transform 0.3s ease;
}

.submit-button:hover svg {
    transform: translateX(4px);
}

/* Footer */
.footer {
    background: var(--cream-dark);
    color: var(--slate-800);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, var(--teal-400), var(--cyan-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .pronunciation {
    color: var(--slate-600);
}

.footer-tagline {
    color: var(--slate-600);
    font-size: 16px;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--slate-900);
}

.footer-column a {
    display: block;
    color: var(--slate-600);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--teal-600);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--slate-200);
    text-align: center;
    color: var(--slate-600);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 72px;
    }

    .section-title {
        font-size: 48px;
    }

    .flow-grid,
    .founders-grid {
        grid-template-columns: 1fr;
    }

    .ai-products,
    .events-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 56px;
    }

    .section-title {
        font-size: 40px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
