* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9eef3 100%);
    color: #1a2a3f;
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Account Dropdown Styles */
.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-btn {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    min-width: 180px;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 0.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background: #f1f5f9;
}

.dropdown-content hr {
    margin: 0.25rem 0;
    border-color: #e2e8f0;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 3rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.avatar-section {
    text-align: center;
}

.avatar {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 12px 25px -8px rgba(37, 99, 235, 0.3);
    border: 4px solid white;
}

.avatar span {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title {
    font-size: 1.1rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f7fafc;
    padding: 0.6rem 1.2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.social-btn i {
    font-size: 1.1rem;
}

.social-btn:hover {
    transform: translateY(-3px);
    background: white;
    border-color: #2563eb;
    box-shadow: 0 8px 15px -6px rgba(0, 0, 0, 0.1);
    color: #2563eb;
}

/* Section Styles */
section {
    margin-bottom: 4rem;
}

section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

section h2 i {
    color: #2563eb;
    font-size: 1.6rem;
}

/* About Section */
.about-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.about-content p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.skill-tag {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2563eb;
}

/* Projects Section */
.projects-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.project-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.project-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tag {
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
}

.project-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    gap: 0.75rem;
}

/* News Section */
.news-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Sign In Message Styles */
.signin-message {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 1rem;
    border: 1px dashed #dc2626;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.signin-message i {
    font-size: 3rem;
    color: #dc2626;
}

.signin-message p {
    font-size: 1.1rem;
    color: #991b1b;
    font-weight: 500;
}

.signin-news-btn {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.signin-news-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Coming Soon Message Styles */
.coming-soon-message {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 1rem;
    border: 1px dashed #2563eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.coming-soon-message i {
    font-size: 3rem;
    color: #2563eb;
}

.coming-soon-message p {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-content p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #f1f5f9;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    margin-top: 0.5rem;
}

.contact-email i {
    color: #2563eb;
    font-size: 1.2rem;
}

.contact-email a {
    text-decoration: none;
    color: #2563eb;
    font-weight: 600;
}

.contact-pgp {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-size: 0.85rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.close-modal, .close-account-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}

.close-modal:hover, .close-account-modal:hover {
    color: #1e293b;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.form-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Account Info Styles */
.account-avatar {
    text-align: center;
    font-size: 5rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

#accountInfo p {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

#accountInfo strong {
    color: #1e293b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .account-btn span {
        display: none;
    }
    
    .account-btn {
        padding: 0.5rem;
    }
    
    .container {
        padding: 5rem 1rem 2rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .avatar {
        width: 140px;
        height: 140px;
    }
    
    .avatar span {
        font-size: 2.2rem;
    }
}