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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 20px;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Header with Banner */
.header-banner {
    width: 100%;
    height: auto;
    display: block;
}

header {
    text-align: center;
    padding: 30px 40px 20px;
    margin-bottom: 0;
    border-bottom: 2px solid #f0f0f0;
}

header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

header .tagline {
    font-size: 18px;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.nav-link {
    display: inline-block;
    padding: 8px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: #667eea;
    color: white;
}

body.dark-mode .nav-link {
    background: #2a2a3e;
    color: #a0a0ff;
}

body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active {
    background: #667eea;
    color: white;
}

/* Section styling */
section {
    padding: 40px;
    margin-bottom: 0;
}

h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.about-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

/* Values Section */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.value-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.value-item .icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.value-item h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    color: #666;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.skill-category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.skill-category h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-left: 20px;
    border-bottom: 1px solid #eee;
}

.skill-category li:last-child {
    border-bottom: none;
}

.skill-category li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* How I Work Section */
.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(5px);
    background: #f0f2ff;
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    color: #666;
}

/* Accomplishments Section */
.section-intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.accomplishment {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.accomplishment:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.accomplishment-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.accomplishment h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
}

.accomplishment p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.accomplishment-tags {
    display: inline-block;
    font-size: 11px;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.accomplishments-note {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: #888;
    font-size: 15px;
}

/* Fun Section */
.fun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.fun-item {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.fun-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
}

.fun-item blockquote {
    font-size: 15px;
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.fun-item cite {
    font-size: 13px;
    color: #777;
}

/* Routine Section */
.routine-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.routine-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.routine-item:hover {
    background: #f0f2ff;
    transform: translateX(5px);
}

.routine-item .time {
    font-weight: bold;
    color: #667eea;
    min-width: 100px;
    font-size: 14px;
}

.routine-item .activity {
    color: #555;
    font-size: 15px;
}

/* Privacy Section */
.privacy-note {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.privacy-note p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 40px;
    border-top: 2px solid #f0f0f0;
    color: #999;
}

footer p {
    margin-bottom: 5px;
}

.footer-note {
    font-size: 13px;
    font-style: italic;
}

/* Dark Mode */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode .container {
    background: #1e1e2e;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

body.dark-mode header h1 {
    color: #e0e0e0;
}

body.dark-mode header .tagline {
    color: #888;
}

body.dark-mode h2 {
    color: #e0e0e0;
}

body.dark-mode h3 {
    color: #e0e0e0;
}

body.dark-mode p {
    color: #b0b0b0;
}

body.dark-mode section {
    border-bottom-color: #333;
}

body.dark-mode .value-item,
body.dark-mode .skill-category,
body.dark-mode .routine-item,
body.dark-mode .step,
body.dark-mode .fun-item,
body.dark-mode .stat {
    background: #2a2a3e;
}

body.dark-mode .about-text p {
    color: #b0b0b0;
}

body.dark-mode .privacy-note {
    background: #252538;
}

body.dark-mode .privacy-note p {
    color: #b0b0b0;
}

body.dark-mode .routine-item .activity {
    color: #b0b0b0;
}

body.dark-mode footer {
    border-top-color: #333;
}

body.dark-mode .section-intro {
    color: #888;
}

body.dark-mode .accomplishment {
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e2e 100%);
}

body.dark-mode .accomplishment h3 {
    color: #e0e0e0;
}

body.dark-mode .accomplishment p {
    color: #b0b0b0;
}

body.dark-mode .accomplishments-note {
    color: #888;
    border-top-color: #333;
}

body.dark-mode .nav-link {
    background: #2a2a3e;
    color: #a0a0ff;
}

body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active {
    background: #667eea;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .container {
        padding: 0;
    }

    header {
        padding: 25px 20px 15px;
    }

    header h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    section {
        padding: 30px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
        justify-content: center;
    }

    .stat {
        padding: 15px 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .routine-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .routine-item .time {
        min-width: auto;
    }

    .main-nav {
        gap: 10px;
    }

    .nav-link {
        padding: 6px 15px;
        font-size: 13px;
    }
}
