@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    --bg-gradient-1: #f6f5fb;
    --bg-gradient-2: #ffffff;
    --text-primary: #3b3461;
    --text-secondary: #706796;
    --accent-1: #8172b8;
    --accent-2: #aba0d9;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 16px 40px rgba(59, 52, 97, 0.06);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-gradient-1), var(--bg-gradient-2));
    min-height: 100vh;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
    background: transparent;
}

/* Typography Overrides */
h1, h2, h3, .logo, .badge {
    font-family: 'Syne', sans-serif;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #fcfbfe;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.9;
    animation: float 20s ease-in-out infinite alternate;
}

.blob-1 {
    top: -15%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(129,114,184,0.15) 0%, rgba(255,255,255,0) 70%);
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(171,160,217,0.2) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -7s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(4%, 6%) scale(1.05); }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mt-4 { margin-top: 1rem; }
.mb-large { margin-bottom: 6rem; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Typography & General */
.gradient-text {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 8rem 0 3rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3.5rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
}

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

.hero-content {
    max-width: 850px;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #eae6f5;
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.8;
}

/* Social Buttons */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #eae6f5;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
    transform: translateY(-3px);
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(59, 52, 97, 0.15);
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(59, 52, 97, 0.08);
}

.card p {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #eae6f5;
    box-shadow: 0 8px 20px rgba(59, 52, 97, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-1);
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card .subtitle {
    font-size: 0.85rem;
    color: var(--accent-1);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline */
.timeline-container {
    position: relative;
    padding-left: 3rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 2rem;
    bottom: 2rem;
    width: 1px;
    background: #d4cdec;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    transform: translateX(-50%);
    top: 2.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px #eae6f5;
    z-index: 1;
}

.timeline-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.timeline-card .institution {
    color: var(--accent-1);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lists */
.styled-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #eae6f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    font-size: 0.8rem;
    margin-top: 3px;
    box-shadow: 0 4px 10px rgba(59, 52, 97, 0.04);
}

/* Footer */
footer {
    border-top: 1px solid #eae6f5;
    padding: 4rem 0;
    background: #fcfbfe;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    opacity: 0.8;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .section {
        padding: 5rem 0 2rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .nav-links {
        display: none;
    }
    .card {
        padding: 2rem;
    }
    .timeline-container {
        padding-left: 2rem;
    }
    .timeline-container::before {
        left: 0.5rem;
    }
    .timeline-dot {
        left: -1.5rem;
    }
}
