:root {
    --bg-color: #0d1117;
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
    --primary-color: #58a6ff; 
    --primary-glow: rgba(88, 166, 255, 0.4);
    --accent-color: #a371f7;
    --accent-glow: rgba(163, 113, 247, 0.4);
    --glass-bg: rgba(22, 27, 34, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

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

/* Dynamic Ambient Background Blobs */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    animation: float 25s infinite ease-in-out alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    top: -150px;
    left: -150px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    bottom: -10%;
    right: -200px;
    animation-delay: -12s;
    animation-direction: alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 80px) scale(1.15); }
}

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

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

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 20px 20px;
    border-top: none;
    border-left: none;
    border-right: none;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 0.6rem 1.8rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    color: white;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 2.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.highlight-box {
    padding: 2.5rem;
    border-radius: 16px;
    color: var(--text-main);
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 3.5rem;
}

.highlight-box strong {
    font-weight: 600;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Vision Card */
.vision {
    margin-bottom: 8rem;
}

.vision-card {
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% auto;
    animation: gradientShift 5s linear infinite;
}

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

.vision-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: white;
}

.vision-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto;
}

/* Typography for Sections */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 5rem;
}

/* Methodology Timeline */
.methodology {
    margin-bottom: 8rem;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 20px;
    bottom: 20px;
    left: 44px;
}

.timeline-step {
    padding-left: 110px;
    position: relative;
    margin-bottom: 4rem;
}

.step-icon {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    z-index: 10;
    background: var(--bg-color); /* To hide timeline line underneath */
}

.step-icon::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    z-index: -1;
}

.step-content {
    padding: 3rem;
    border-radius: 20px;
}

.step-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-label {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.step-tag {
    display: block;
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.step-content > p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-box {
    background: rgba(0, 0, 0, 0.25);
    border-left: 4px solid var(--primary-color);
    padding: 1.8rem;
    border-radius: 0 12px 12px 0;
}

.feature-box h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 30px 30px 0 0;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

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

/* Responsiveness */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .timeline::before { left: 24px; }
    .step-icon { left: 5px; width: 40px; height: 40px; font-size: 1.1rem; top: 20px;}
    .timeline-step { padding-left: 70px; margin-bottom: 2.5rem;}
    .step-content { padding: 2rem; }
    .vision-card { padding: 2.5rem 1.5rem; }
}
