/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #111111 100%);
    min-height: 100vh;
    color: white;
    line-height: 1.6;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header:hover {
    background: rgba(0, 0, 0, 0.98);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 2rem;
}

.nav-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-btn.active {
    background: white;
    color: black;
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    gap: 8px;
    flex-direction: column;
}

.mobile-nav.show {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1rem;
    padding: 12px 16px;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-btn.active {
    background: white;
    color: black;
    font-weight: 600;
}

/* Main Content */
.main-content {
    padding-top: 64px;
    min-height: 100vh;
}

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

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 48px;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

/* Tab Content */
.tab-content-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

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

.tab-content {
    display: none;
    text-align: center;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-intro {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* AI Chat Content */
.iframe-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.iframe-container iframe {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.iframe-container iframe:hover {
    transform: translateY(-2px);
}

/* Contact Content */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.contact-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    background: rgba(31, 41, 55, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.email-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #d1d5db;
}

.icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.linkedin-btn {
    background: #0e7490;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.linkedin-btn:hover {
    background: #0891b2;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(14, 116, 144, 0.3);
}

/* CV Content */
.cv-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.download-btn {
    background: white;
    color: black;
    border: none;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Selection Styles */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 32px 16px;
    }
    
    .iframe-container iframe {
        width: 100%;
        max-width: 100%;
        height: 350px;
    }
    
    .tab-intro {
        font-size: 1rem;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .iframe-container iframe {
        height: 300px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .linkedin-btn,
    .download-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}