@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --background: #0d0e11;
    --foreground: #f1f5f9;
    --card: #14161b;
    --card-foreground: #f1f5f9;
    --primary: #3b82f6;
    --primary-foreground: #0d0e11;
    --muted: #1e2128;
    --muted-foreground: #94a3b8;
    --accent: #8b5cf6;
    --border: rgba(255, 255, 255, 0.1);
    --radius: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* Background Effects */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 20s linear infinite;
    z-index: -1;
    opacity: 0.4;
}

@keyframes grid-move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

.radial-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 400px at 50% 40%,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(139, 92, 246, 0.05) 40%,
            transparent 70%);
    z-index: -1;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    animation: pulse-glow 8s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

/* Typography Utilities */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass {
    background: rgba(20, 22, 27, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.glass-hover:hover {
    background: rgba(20, 22, 27, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sections */
section {
    position: relative;
    padding: 100px 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    border-radius: 9999px;
    margin-bottom: 2rem;
    color: var(--muted-foreground);
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.5);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px -10px rgba(59, 130, 246, 0.7);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
    margin-top: 4rem;
}

.portfolio-card {
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.portfolio-card .status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
}

.status-live {
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dev {
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.portfolio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.portfolio-card .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-card .feature {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
}

.portfolio-card .link {
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.portfolio-card .link:hover {
    color: var(--primary);
}

/* Removed asymmetric Bento grid classes */

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Tech Section */
.tech-clouds {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.tech-tag {
    padding: 0.5rem 1.5rem;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer */
footer {
    padding: 6rem 0 4rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.875rem;
}