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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: #0f0f1a;
    min-height: 100vh;
    padding: 3rem 1.5rem;
    position: relative;
    overflow-x: hidden;
}

.background-decoration {
    position: fixed;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.background-decoration::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link {
    padding: 0.6rem 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.2);
}

.header {
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.profile-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 6s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #0f0f1a;
    border-radius: 50%;
    z-index: -1;
}

.profile-image {
    width: 280px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 4px solid #0f0f1a;
    display: block;
    position: relative;
    z-index: 1;
}

.profile-text {
    color: #ffffff;
}

.name {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.tags {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    color: #a5b4fc;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.content {
    padding: 3rem;
}

.intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.greeting {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.8;
}

.about p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}

.about p:last-child {
    margin-bottom: 0;
}

.footer {
    padding: 1.5rem 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

/* Contact Page Styles */
.header-contact {
    padding: 3rem 3rem 2rem;
    background: transparent;
}

.header-contact::before {
    display: none;
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.contact-title .highlight {
    color: #818cf8;
}

.contact-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.form-card {
    background: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.required {
    color: #f472b6;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(15, 15, 25, 1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.send-icon {
    flex-shrink: 0;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.contact-link {
    display: inline-block;
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

/* Reflections Page Styles */
.header-page {
    padding: 3rem 3rem 2rem;
    background: transparent;
}

.header-page::before {
    display: none;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-card {
    display: block;
    padding: 1.5rem;
    background: rgba(20, 20, 35, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-card:hover {
    background: rgba(20, 20, 35, 0.6);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.post-date {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.post-title,
.post-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.post-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #818cf8;
    transition: all 0.2s ease;
}

.post-card:hover .read-more {
    color: #a5b4fc;
}

.read-more-arrow {
    transition: transform 0.2s ease;
}

.post-card:hover .read-more-arrow {
    transform: translateX(4px);
}

/* Individual Post Styles */
.header-post {
    padding: 2rem 3rem;
    background: transparent;
}

.header-post::before {
    display: none;
}

.back-to-list {
    display: inline-block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.back-to-list:hover {
    color: #818cf8;
}

.post-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.post-page-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.post-page-date {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.post-content {
    max-width: 100%;
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
}

.post-content p:last-child {
    margin-bottom: 0;
}

.post-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.post-content h2:first-child {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }

    .header {
        padding: 3rem 2rem;
    }

    .profile-image {
        width: 220px;
        height: 250px;
    }

    .name {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }

    .greeting {
        font-size: 1rem;
    }

    .about p {
        font-size: 0.95rem;
    }

    .tags {
        gap: 0.5rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.85rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .header {
        padding: 2.5rem 1.5rem;
    }

    .content {
        padding: 1.5rem 1.25rem;
    }

    .footer {
        padding: 1.25rem 1.5rem;
    }
}
