:root {
    --bg-dark: #0a0a0a;
    --primary: #8A2BE2;
    /* BlueViolet */
    --secondary: #E0B0FF;
    /* Mauve */
    --accent: #FF00FF;
    /* Magenta/Fuchsia for pop */
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

/* Dynamic Background */
.background-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    animation: pulse 10s infinite alternate;
}

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

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

/* Nav */
.navbar {
    position: sticky;
    top: 0;
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 1px;
}

.dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Nav Dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 10px;
    list-style: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu li {
    padding: 5px 20px;
}

.dropdown-menu li a {
    display: block;
    color: var(--text-gray);
}

.dropdown-menu li a:hover {
    color: var(--primary);
}

.btn-pro {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 10px 20px;
    border-radius: 30px;
    color: white !important;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* Main Content */
.content {
    flex: 1;
    padding: 40px 0;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.gradient-text {
    background: linear-gradient(to right, var(--text-white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    background-color: #222;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 5px;
    background: rgba(138, 43, 226, 0.2);
    color: var(--secondary);
}

/* Footer */
.footer {
    padding: 30px 0;
    margin-top: auto;
    text-align: center;
    color: var(--text-gray);
}

.socials {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: var(--text-gray);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary);
}