@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

:root {
    --primary: #2563eb;       /* Blue 600 */
    --primary-dark: #1d4ed8;  /* Blue 700 */
    --secondary: #0f172a;     /* Slate 900 */
    --text-main: #1e293b;     /* Slate 800 */
    --text-muted: #64748b;    /* Slate 500 */
    --surface: #ffffff;
    --surface-alt: #f8fafc;   /* Slate 50 */
    --border-color: #e2e8f0;  /* Slate 200 */
}

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

body {
    background-color: #fafafa;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.03em;
}

/* Backgrounds */
.bg-mesh {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 10% 20%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(56, 189, 248, 0.05) 0px, transparent 50%),
        radial-gradient(at 50% 80%, rgba(139, 92, 246, 0.05) 0px, transparent 50%);
}

.bg-mesh-alt {
    background-color: var(--surface-alt);
    background-image: 
        radial-gradient(at 80% 80%, rgba(37, 99, 235, 0.04) 0px, transparent 50%),
        radial-gradient(at 20% 50%, rgba(16, 185, 129, 0.03) 0px, transparent 50%);
}

/* Glassmorphism for Light Theme */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.premium-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--secondary);
    background: var(--surface-alt);
    transform: translateY(-2px);
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ecfdf5; /* emerald-50 */
    border: 1px solid #a7f3d0; /* emerald-200 */
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #059669; /* emerald-600 */
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981; /* emerald-500 */
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* Progress Bars */
.progress-bg {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    border-radius: 999px;
    transition: width 1.5s ease-out;
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Portrait adjustments */
.hero-portrait-wrapper {
    position: relative;
    border-radius: 2rem;
    padding: 1rem;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-portrait-wrapper:hover {
    transform: rotate(0deg);
}

.hero-portrait-inner {
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    background: var(--surface-alt);
    aspect-ratio: 4/5;
}

/* Tags */
.tech-tag {
    padding: 0.35rem 1rem;
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}

.premium-card:hover .tech-tag {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--primary);
}

section {
    padding: 120px 0;
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
}
