:root {
    --primary-blue: #049fd9;
    --secondary-purple: #8a2be2;
    --dark-bg: #1a1f36;
    --bg-light: #f7f9fc;
    --white: #ffffff;
    
    /* Navbar mapping */
    --primary-color: var(--primary-blue);
    --accent-color: var(--secondary-purple);
    --light-color: var(--bg-light);
    --footer-bg: var(--dark-bg);
}

/* Hero Specific */
.fs-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(138, 43, 226, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(4, 159, 217, 0.1), transparent 40%);
    text-align: center;
}

.fs-hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fs-hero p { font-size: 1.25rem; color: var(--text-secondary); max-width: 800px; margin: 0 auto 40px; }

.stack-visual {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stack-card {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.stack-card:nth-child(2) { animation-delay: 1s; }
.stack-card:nth-child(3) { animation-delay: 2s; }
.stack-card:nth-child(4) { animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Full Stack Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover { transform: translateY(-5px); border-color: var(--primary-blue); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.pillar-icon {
    width: 60px; height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--primary-blue);
    margin-bottom: 24px;
}

.pillar-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.pillar-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }

.tech-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag {
    font-size: 0.8rem; padding: 4px 10px;
    background: var(--bg-light); border-radius: 20px;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--secondary-purple);
}

/* Timeline Journey */
.journey-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.journey-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.step-marker {
    flex-shrink: 0;
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.journey-step:not(:last-child) .step-marker::after {
    content: ''; position: absolute;
    top: 50px; left: 50%; transform: translateX(-50%);
    width: 2px; height: calc(100% + 50px);
    background: var(--border-color); z-index: -1;
}

.step-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    flex-grow: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.step-content h3 { margin-bottom: 10px; color: var(--primary-blue); }
.step-content h4 { font-size: 1.1rem; margin-bottom: 15px; }

/* Project Showcase (Overrides general.css) */
.project-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
}

.project-card {
    background: var(--dark-bg);
    border-radius: 20px;
    overflow: hidden;
    color: white;
    position: relative;
    border: none; /* Override general border */
}

.project-preview {
    height: 250px;
    background: #2d3748;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; opacity: 0.8;
}

.project-info { padding: 30px; }
.project-info h3 { margin-bottom: 10px; font-size: 1.5rem; color: white; }
.project-info p { color: #a0aec0; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 992px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .fs-hero h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    .pillars-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .journey-step { gap: 20px; }
    .fs-hero { padding-top: 140px; }
    .fs-hero h1 { font-size: 2.5rem; }
}