:root {
    /* Vibe Coding Color Palette - Neon & Dark */
    --color-bg-dark: #050505;
    --color-bg-card: rgba(20, 20, 25, 0.6);
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0b0;
    
    --color-primary: #8b5cf6; /* Violet */
    --color-primary-glow: rgba(139, 92, 246, 0.5);
    --color-secondary: #06b6d4; /* Cyan */
    --color-secondary-glow: rgba(6, 182, 212, 0.5);
    --color-accent: #ec4899; /* Pink */
    --color-accent-glow: rgba(236, 72, 153, 0.5);
    
    --color-border: rgba(255, 255, 255, 0.1);
    --glass-shine: rgba(255, 255, 255, 0.05);

    /* Fonts */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', sans-serif; /* We will add this to HTML */

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    /* Animation */
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
}

p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(5, 5, 5, 0.7);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    opacity: 0.8;
    position: relative;
}

.nav-link:hover {
    opacity: 1;
    color: var(--color-primary);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn--primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--color-primary-glow);
    background: #7c3aed;
}

.parallax-bg, .parallax-bg-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.parallax-bg {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    transform: translate(-50%, -50%);
    animation: float 10s infinite ease-in-out;
}

.parallax-bg-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    transform: translate(-20%, -20%);
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-45%, -55%) scale(1.1); }
}

/* Timeline Section */
.timeline-section {
    padding: 8rem 2rem;
    position: relative;
}

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

.timeline-item {
    padding: 2rem 0;
    position: relative;
    /* padding-left: 3rem; Removed padding as we are hiding the marker */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-smooth);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    display: none; /* User requested removal */
}

.timeline-item:hover .timeline-marker {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.timeline-content {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative; /* For icon positioning */
}

/* === NEW TIMELINE ICON STYLES === */
.timeline-icon-container {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    color: var(--color-secondary);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.timeline-icon-container svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 5px var(--color-secondary-glow));
}

.timeline-item:hover .timeline-icon-container {
    transform: scale(1.1);
    opacity: 1;
    color: var(--color-accent); /* Change color on hover for fun */
}
.timeline-item:hover .timeline-icon-container svg {
    filter: drop-shadow(0 0 8px var(--color-accent-glow));
}
/* ================================ */


.timeline-item:hover .timeline-content {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(10px);
}

.timeline-year {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Vibe Section */
.vibe-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(139,92,246,0.05) 50%, rgba(5,5,5,0) 100%);
}

.vibe-origin {
    max-width: 900px;
    margin: 0 auto;
}

.vibe-quote {
    text-align: center;
    margin-bottom: 4rem;
}

blockquote {
    font-size: 2rem;
    font-family: var(--font-display);
    color: var(--color-text-main);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 6rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -2rem;
}

cite {
    color: var(--color-secondary);
    font-style: normal;
    font-weight: 600;
}

/* Pros & Cons (Cards) */
.pros-cons-section {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Updated Card Styles for Clickability */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer; /* Clickable */
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-hint {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.card:hover .card-hint {
    opacity: 1;
    transform: translateY(0);
}

.card.pros-card { border-top: 4px solid var(--color-secondary); }
.card.cons-card { border-top: 4px solid var(--color-accent); }

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #0f0f13; /* Solid dark background for readability */
    border: 1px solid var(--color-border);
    width: 90%;
    max-width: 600px;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s var(--ease-elastic);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: scale(1);
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-text-main);
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    text-align: left;
}

.modal-body p {
    color: #cbd5e1;
    line-height: 1.8;
}

.modal-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.modal-links h5 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-links ul {
    list-style: none;
}

.modal-links li {
    margin-bottom: 0.5rem;
}

.modal-links a {
    color: var(--color-text-main);
    opacity: 0.8;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.modal-links a:hover {
    color: var(--color-secondary);
    opacity: 1;
}

/* Chart Legend Styles */
.chart-legend-custom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.expert {
    background: transparent;
    border: 2px dashed var(--color-accent);
}

.dot.ai-trend {
    background: var(--color-primary);
    border: 2px solid var(--color-bg-dark);
    box-shadow: 0 0 8px var(--color-primary-glow);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
    margin-top: 4rem;
    opacity: 0.6;
}

/* Scroll Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    
    .nav-menu {
        display: none; /* Simple hiding for now */
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
}

/* Tooltip Styles */
.footer-quote-container {
    display: inline-block;
    position: relative;
    cursor: help;
    border-bottom: 1px dotted var(--color-text-muted);
    transition: all 0.3s ease;
}

.footer-quote-container:hover {
    color: var(--color-text-main);
    border-color: var(--color-primary);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Tooltip Body */
.footer-quote-container::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 300px;
    padding: 1rem;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5), 0 0 15px rgba(139, 92, 246, 0.2);
    color: var(--color-text-main);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s var(--ease-elastic);
    pointer-events: none;
    z-index: 100;
}

/* Tooltip Arrow */
.footer-quote-container::before {
    content: '';
    position: absolute;
    bottom: 140%; /* Slightly overlapping appropriately */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 8px;
    border-style: solid;
    border-color: var(--color-primary) transparent transparent transparent;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s var(--ease-elastic);
    z-index: 100;
}

.footer-quote-container:hover::after,
.footer-quote-container:hover::before {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}