:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #ec4899;
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background */
.background-blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; filter: blur(100px); border-radius: 50%; opacity: 0.15; animation: drift 20s infinite alternate; }
.blob-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -100px; }
.blob-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -100px; right: -100px; animation-delay: -5s; }
.blob-3 { width: 400px; height: 400px; background: var(--accent); top: 50%; right: 20%; animation-delay: -10s; }

@keyframes drift {
    from { transform: translate(0,0) scale(1); }
    to { transform: translate(80px, 120px) scale(1.1); }
}

.hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem;
    width: 100%;
    margin-bottom: 6rem;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.7);
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

header { text-align: center; margin-bottom: 4rem; }
.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(16, 185, 129, 0.1); color: #10b981;
    padding: 6px 14px; border-radius: 50px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 1.5rem; border: 1px solid rgba(16, 185, 129, 0.2);
}
.pulse { width: 6px; height: 6px; background: #10b981; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

h1 { font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -2px; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.subtitle { font-size: 1.25rem; color: var(--text-muted); font-weight: 300; max-width: 500px; margin: 0 auto; line-height: 1.6; }

/* Featured Project */
.featured-project {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    background: rgba(0,0,0,0.2); padding: 3rem; border-radius: 32px;
    margin-bottom: 3rem; border: 1px solid rgba(255,255,255,0.03);
    align-items: center;
}

.tag { color: var(--primary); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.featured-project h2 { font-size: 2rem; margin-bottom: 1rem; }
.featured-project p { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }

.mini-metrics { display: flex; gap: 2rem; }
.metric { display: flex; flex-direction: column; }
.m-label { font-size: 0.7rem; color: #475569; text-transform: uppercase; font-weight: 700; }
.m-value { font-size: 1.25rem; font-weight: 700; color: var(--primary); }

.project-preview {
    height: 100%; min-height: 240px; background: rgba(0,0,0,0.4); border-radius: 20px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 40px rgba(99, 102, 241, 0.1);
    position: relative;
}
.preview-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}
.featured-project:hover .preview-img { transform: scale(1.05); opacity: 1; }
.project-preview::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.4), transparent);
    pointer-events: none;
}

/* Buttons */
.actions { display: flex; justify-content: center; }
.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; padding: 1.25rem 3.5rem; border-radius: 100px;
    font-size: 1.1rem; font-weight: 700; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px -10px rgba(99,102,241,0.5);
}
.primary-btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 30px 60px -12px rgba(99,102,241,0.6); }

/* Projects Grid */
.other-projects { width: 100%; }
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 3rem; opacity: 0.6; text-align: center; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }

.project-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 28px; padding: 2.5rem; text-decoration: none; color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column; gap: 1.5rem;
}
.project-card:hover { transform: translateY(-12px); border-color: var(--primary); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.project-image { font-size: 3rem; }
.project-card h3 { font-size: 1.5rem; }
.project-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.project-link { font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.project-link::after { content: '→'; transition: transform 0.3s; }
.project-card:hover .project-link::after { transform: translateX(6px); }

.coming-soon { opacity: 0.6; filter: grayscale(1); cursor: default; }
.coming-soon:hover { transform: none; border-color: var(--glass-border); box-shadow: none; }

footer { padding: 4rem; text-align: center; color: #475569; font-size: 0.85rem; }

@media (max-width: 900px) {
    h1 { font-size: 3rem; }
    .featured-project { grid-template-columns: 1fr; }
    .glass-container { padding: 2rem; border-radius: 30px; }
}

@media (max-width: 480px) {
    .hero { padding: 4rem 1rem; }
    h1 { font-size: 2.2rem; letter-spacing: -1px; }
    .subtitle { font-size: 1.1rem; }
    .glass-container { padding: 1.5rem; border-radius: 24px; margin-bottom: 4rem; }
    header { margin-bottom: 2.5rem; }
    .featured-project { padding: 1.5rem; border-radius: 24px; gap: 2rem; }
    .project-preview { min-height: 180px; height: 180px; }
    .featured-project h2 { font-size: 1.5rem; }
    .mini-metrics { gap: 1rem; flex-wrap: wrap; }
    .primary-btn { padding: 1rem 2.5rem; font-size: 1rem; }
    .section-title { font-size: 1.25rem; margin-bottom: 2rem; }
    .projects-grid { gap: 1.5rem; }
    .project-card { padding: 1.5rem; }
}
