:root {
    --primary: #6c5ce7;
    --accent: #ff6b35;
    --secondary: #0984e3;
    --bg: #0f0f1e;
    --bg-light: #1a1a2e;
    --text: #e8e8ff;
    --text-light: #a0a0c0;
    --border: #2d2d4a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, var(--bg) 0%, #1a0f2e 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: var(--bg-light);
    padding: 8px;
    flex-shrink: 0;
}

.header-text h1 {
    font-size: 2.5em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: var(--text-light);
    font-size: 1.1em;
    font-style: italic;
}

/* Navigation */
nav {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 50px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Sections */
.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.section p {
    margin-bottom: 20px;
    color: var(--text);
    font-size: 1.05em;
}

/* Thought Cards */
.thought-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.card:hover {
    border-left-color: var(--accent);
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(108, 92, 231, 0.1) 100%);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.2em;
}

.card p {
    color: var(--text-light);
    font-size: 0.95em;
    margin: 0;
}

/* Projects */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(108, 92, 231, 0.1) 100%);
}

.project h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.3em;
}

.project p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Question List */
.question-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-list li {
    padding-left: 25px;
    position: relative;
    color: var(--text);
}

.question-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Footer */
.footer-section {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

.footer-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .header-text h1 {
        font-size: 2em;
    }

    nav {
        gap: 15px;
        justify-content: center;
    }

    .section h2 {
        font-size: 1.5em;
    }

    .thought-cards {
        grid-template-columns: 1fr;
    }
}

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

.section {
    animation: fadeIn 0.6s ease-out;
}
