:root {
    /* Brand Colors */
    --brand-black: #0D0D0D;
    --brand-white: #FFFFFF;
    --brand-teal: #14AA9D;
    --brand-teal-hover: #1BC4B4;
    --brand-teal-deep: #0F7A71;
    --brand-teal-glow: rgba(20, 170, 157, 0.30);

    /* UI Palette */
    --bg-deep-black: #050505;
    --glass-surface-1: rgba(255, 255, 255, 0.03);
    --glass-surface-2: rgba(255, 255, 255, 0.05);
    --glass-card: rgba(255, 255, 255, 0.07);
    
    --border-soft: rgba(255, 255, 255, 0.10);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-teal: rgba(20, 170, 157, 0.45);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.78);
    --text-muted: rgba(255, 255, 255, 0.55);
    --text-label: rgba(255, 255, 255, 0.35);

    /* Animation */
    --easing-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-deep-black);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
    transition: all 0.3s var(--easing-premium);
}

.glass-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45), 0 0 15px var(--brand-teal-glow);
}

/* Navigation */
.glass-nav {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem 0;
}

.nav-logo {
    height: 32px;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--brand-teal) !important;
}

/* Buttons */
.btn-teal {
    background-color: var(--brand-teal);
    color: var(--brand-black);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s var(--easing-premium);
}

.btn-teal:hover {
    background-color: var(--brand-teal-hover);
    box-shadow: 0 0 20px var(--brand-teal-glow);
    transform: translateY(-1px);
}

.btn-teal-outline {
    background: transparent;
    color: var(--brand-teal) !important;
    border: 1px solid var(--brand-teal);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s var(--easing-premium);
}

.btn-teal-outline:hover {
    background: var(--brand-teal-glow);
    border-color: var(--brand-teal-hover);
}

/* Typography Helpers */
.text-teal { color: var(--brand-teal); }
.muted-text { color: var(--text-muted); }
.secondary-text { color: var(--text-secondary); }
.label-text { color: var(--text-label); font-size: 0.85rem; }

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--brand-teal);
}

/* Cursor Glow */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 170, 157, 0.08) 0%, rgba(20, 170, 157, 0) 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: none;
}

@media (min-width: 992px) {
    #cursor-glow {
        display: block;
    }
}

/* Footer */
.footer-glass {
    border-top: 1px solid var(--border-soft);
    background: var(--glass-surface-1);
}

.footer-logo {
    height: 40px;
}

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

.footer-link:hover {
    color: var(--brand-teal);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--easing-premium);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Styles for Index */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-logo-main {
    max-width: 280px;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.watermark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

.tech-chip {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--glass-surface-1);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    font-size: 0.85rem;
    margin: 0.25rem;
    transition: all 0.2s ease;
}

.tech-chip:hover {
    border-color: var(--brand-teal);
    background: var(--brand-teal-glow);
}

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

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-soft);
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 0%;
    background: var(--brand-teal);
    transition: height 0.1s linear;
}

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

.timeline-dot {
    position: absolute;
    left: -2.35rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 2px solid var(--bg-deep-black);
    z-index: 2;
}

.timeline-item.active .timeline-dot {
    background: var(--brand-teal);
    box-shadow: 0 0 10px var(--brand-teal);
}

.glass-card h4.h5 {
    text-align: center;
}

@media (max-width: 575.98px) {
    .glass-card h4.h5 {
        font-size: 0.95rem;
    }
}

/* Impact Cards */
.impact-card {
    text-align: center;
    padding: 2rem;
}

.impact-value {
    font-size: 2.5rem;
    color: var(--brand-teal);
    display: block;
    margin-bottom: 0.5rem;
}
