/* Modern Design CSS - Tailwind-inspired */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Color Palette */
:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --accent-100: #f3e8ff;
    --accent-300: #d8b4fe;
    --accent-400: #c084fc;
    --accent-500: #a855f7;
    --accent-600: #9333ea;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links.desktop {
    display: flex;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-600);
}

.mobile-menu-button {
    display: block;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--gray-100);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    padding: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.mobile-menu-link:hover {
    background: var(--gray-50);
    color: var(--primary-600);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 4rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: #fde047;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e9d5ff;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #e9d5ff;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #7e22ce;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #fde047;
    color: #581c87;
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #7e22ce;
}

.btn-icon {
    margin-left: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-image-container {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: #fde047;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.hero-image {
    position: relative;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-divider {
    width: 6rem;
    height: 4px;
    background: linear-gradient(to right, var(--primary-500), var(--accent-500));
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-top: 4px solid var(--primary-500);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card:nth-child(2) {
    border-top-color: var(--accent-500);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary-100);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card:nth-child(2) .card-icon {
    background: var(--accent-100);
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary-600);
}

.card:nth-child(2) .card-icon svg {
    color: var(--accent-600);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Connect Section */
.connect-section {
    padding: 5rem 0;
    background: white;
}

.connect-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.connect-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.social-link.twitter {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    color: var(--primary-700);
}

.social-link.twitter:hover {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
}

.social-link.github {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    color: var(--gray-700);
}

.social-link.github:hover {
    background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-900) 100%);
    color: white;
}

.social-link.linkedin {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.social-link.linkedin:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 3rem 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-400);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gray-800);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    text-decoration: none;
    color: white;
}

.footer-social-link:hover {
    background: var(--primary-600);
}

.footer-social-link.github:hover {
    background: var(--gray-700);
}

.footer-social-link.linkedin:hover {
    background: #2563eb;
}

.footer-social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--primary-300);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-image {
        width: 20rem;
        height: 20rem;
    }
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }
    
    .nav-links.desktop {
        display: flex;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.75rem;
    }
    
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-image {
        width: 24rem;
        height: 24rem;
    }
    
    .hero-image-wrapper {
        justify-content: flex-end;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}
