:root {
    --gradient-start: #dc2626;
    --gradient-end: #991b1b;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --accent-color: #fecaca;
    --neutral-100: rgba(255, 255, 255, 0.08);
    --neutral-200: rgba(255, 255, 255, 0.16);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    padding: 2rem 1rem;
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

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

.about-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.photo-zone img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border: 4px solid var(--accent-color);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px var(--accent-color),
                   0 0 20px var(--accent-color);
    }
    to {
        box-shadow: 0 0 20px var(--accent-color),
                   0 0 30px var(--gradient-start);
    }
}

h1, h2, h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.skill-item {
    background: var(--neutral-100);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: var(--neutral-200);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Skills section styles */
.skills-section {
    margin: 2rem 0;
}

.skill {
    margin-bottom: 1rem;
}

.skill span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress.high {
    width: 90%;
    background: linear-gradient(90deg, #10b981, #34d399);
}

.progress.medium {
    width: 70%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.progress.low {
    width: 50%;
    background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Tools section */
.tools {
    margin: 2rem 0;
}

.tools h2 {
    margin-bottom: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--neutral-100);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.25s ease, background 0.25s ease;
}

.tool:hover {
    transform: translateY(-5px);
    background: var(--neutral-200);
}

.tool img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.tool p {
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
}

/* Fire counter styles */
.fire-counter-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}

.fire-button {
    font-size: 2em;
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;
}

.fire-button:hover {
    transform: scale(1.1);
}

.fire-grow {
    animation: grow 0.3s ease;
}

.pulse {
    animation: pulse 0.3s ease;
}

.fire-count {
    background: var(--neutral-100);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes grow {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Modern About Page Layout */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

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

.profile-container {
    position: relative;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    object-fit: cover;
    animation: glow 3s ease-in-out infinite alternate;
    margin-bottom: 1rem;
}

.role-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.hero-right h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Storytelling Blocks */
.story-blocks {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

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

.story-block {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.story-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow-medium);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.block-icon {
    font-size: 2rem;
}

.block-header h2 {
    color: var(--gradient-start);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Journey Flow */
.journey-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.step-icon {
    font-size: 1.5rem;
    background: var(--bg-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.arrow {
    color: var(--gradient-start);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: var(--bg-cream);
    transform: translateX(4px);
}

.skill-icon {
    font-size: 1.2rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Next Goals */
.next-goals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border-left: 4px solid var(--gradient-start);
    transition: all 0.3s ease;
}

.goal-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.goal-icon {
    font-size: 1.5rem;
}

.goal-text {
    font-weight: 600;
    color: var(--text-dark);
}

.block-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--bg-cream);
    padding: 3rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .profile-pic {
        width: 150px;
        height: 150px;
    }
    
    .hero-right h1 {
        font-size: 2rem;
    }
    
    .story-container {
        grid-template-columns: 1fr;
    }
    
    .journey-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--accent-color);
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

/* Enhanced Hero Section */
.hero-section {
    padding: 6rem 2rem 4rem;
    margin-bottom: 0;
}

.profile-pic {
    width: 170px;
    height: 170px;
}

.role-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.role-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.role-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
}

.hero-description {
    max-width: 500px;
    line-height: 1.7;
}

/* Enhanced Storytelling Blocks */
.story-blocks {
    background: #1a1a1a;
    padding: 4rem 2rem;
    margin-bottom: 0;
}

.story-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.block-header h2 {
    color: white;
}

.step-text {
    color: white;
}

.skill-name {
    color: white;
}

.goal-text {
    color: white;
    font-size: 0.9rem;
}

.block-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Enhanced CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 4rem 2rem;
}

.cta-section h2 {
    color: #2c3e50;
}

.cta-description {
    color: #6c757d;
}

/* Enhanced Micro-copy & Impact */
.hero-impact {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border-left: 3px solid var(--accent-color);
}

/* Eyebrow Headers & Badges */
.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffddd6;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.badge {
    background: #2b2b2b;
    border: 1px solid #3a3a3a;
    color: #eee;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    margin-left: 0.4rem;
    font-weight: 500;
}

/* Journey List Styling */
.journey {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.journey li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px dashed #333;
    font-size: 0.9rem;
}

.journey li:last-child {
    border-bottom: 0;
}

/* Enhanced Skills with Impact */
.skill-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.skill-impact {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 0.25rem;
}

/* Performance Optimization */
.about-card {
    content-visibility: auto;
    contain-intrinsic-size: 700px;
}

/* Accessibility Improvements */
:where(a, button).btn:focus-visible {
    outline: 3px solid #ffb3a1;
    outline-offset: 3px;
    border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto;
    }
}

/* Enhanced Mobile Grid */
.story-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 40vw, 360px), 1fr));
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 5rem 1rem 3rem;
    }
    
    .profile-pic {
        width: 140px;
        height: 140px;
    }
    
    .hero-impact {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .journey li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .badge {
        margin-left: 0;
        margin-top: 0.25rem;
    }
    
    .skill-item {
        padding: 0.5rem;
    }
    
    .skill-impact {
        font-size: 0.7rem;
    }
    
    .story-container {
        grid-template-columns: 1fr;
    }
}
