:root {
    --primary: #6b46c1;
    /* Cosmic Purple */
    --primary-hover: #553c9a;
    --secondary: #0ea5e9;
    /* Cyan highlight */
    --bg-dark: #0f172a;
    /* Deep Space Black */
    --bg-darker: #020617;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --brutalist-border: #000000;
    --brutalist-shadow: #000000;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --radius: 12px;
    --border-thick: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Stars + Nebula Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(107, 70, 193, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        url('assets/bg-pattern.svg');
    background-size: cover;
    pointer-events: none;
    z-index: -1;
    animation: bg-animate 20s ease-in-out infinite alternate;
}

@keyframes bg-animate {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1) rotate(2deg);
    }
}

/* Animations */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Neobrutalist + Glassmorphic Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-thick) solid var(--brutalist-border);
    border-radius: var(--radius);
    box-shadow: 8px 8px 0px var(--brutalist-shadow);
    padding: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px var(--brutalist-shadow);
}

/* Typography */
h1,
h2,
h3 {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border: var(--border-thick) solid var(--brutalist-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 4px 4px 0px var(--brutalist-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 8px 8px 0px var(--brutalist-shadow);
    transform: translate(-4px, -4px);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tech List */
.tech-tag {
    background: var(--brutalist-border);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: var(--border-thick) solid var(--brutalist-border);
    text-align: center;
    background: var(--bg-darker);
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-img {
    animation: float 6s ease-in-out infinite;
}