:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --bg-color: #0f172a;
    --text-muted-custom: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.text-muted-custom {
    color: var(--text-muted-custom) !important;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, rgba(15, 23, 42, 0) 40%);
    animation: rotate 30s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Typography & Nav */
.logo {
    background: linear-gradient(to right, #f8fafc, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    transition: color 0.3s ease;
    font-weight: 400;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-custom:hover,
.btn-custom:focus {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4) !important;
}

.store-button,
.github-button {
    transition: all 0.3s ease;
}

.store-button {
    background-color: #f8fafc;
    color: var(--bg-color);
}

.store-button:hover {
    background-color: #e2e8f0;
    transform: scale(1.03);
}

.github-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.03);
    color: #f8fafc;
}

/* Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Accordion Specifics */
.accordion-button:not(.collapsed) {
    color: var(--secondary-color) !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.accordion-button::after {
    filter: invert(1);
    /* Make the arrow white */
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border) !important;
}

.accordion-item:last-child {
    border-bottom: none !important;
}

.subtitle {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.product-card .card-title {
    color: #f8fafc;
}


/* Focus and outlines */
a:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

/* Email link styling */
#email {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

#email:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(236, 72, 153, 0.4);
}