:root {
    --primary-text-color: #f5f5f5; 
    --secondary-text-color: #cccccc;
    --button-primary-bg: #ff6b6b;
    --button-secondary-bg: #ffd700;
    --border-color: #ffd700;
}

body {
    background: linear-gradient(to bottom left, #ff0000 0%, #22223b 70%, #4a4e69 100%);
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-text-color);
}

html {
    scroll-behavior: smooth;
}

.navbar {
    background: transparent;
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}
.logo-badge {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border-radius: 50%;
    transition: background 0.3s;
}
.logo-badge:hover {
    background: var(--primary-text-color);
}

.nav-links {
    margin-left: -10px;
}
.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--button-primary-bg);
}


.main {
    margin-top: auto;
    padding-top: 30px;
}

h1, h3, h4, h5, h6, p, span {
    color: var(--primary-text-color);
}

.services-hero-section {
    background: transparent; /* Let the gradient show through */
    padding: 60px 0;
}

.services-hero-section .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-description {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.services-section-title {
    color: #fff;
    margin-top: 40px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-section-badge.free {
    color: #b2ffb2;
    font-size: 1rem;
}

.service-section-badge.premium {
    color: #ffd700;
    font-size: 1rem;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}

.service-card {
    background: rgba(255,255,255,0.90);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(34, 34, 59, 0.18);
    padding: 30px 24px;
    width: 220px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 10px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(34, 34, 59, 0.26);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #22223b;
    margin-bottom: 12px;
}

.service-card p {
    color: #4a4e69;
    font-size: 1rem;
    margin: 0;
}

.service-pricing {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #22223b;
    font-weight: 600;
}
.service-badge.free {
    display: inline-block;
    background: #b2ffb2;
    color: #22223b;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.service-price {
    display: block;
    color: #ff6b6b;
    font-size: 1rem;
    font-weight: 600;
}

.service-card.premium {
    border: 2px solid var(--border-color);
}

.subscribe-btn {
    margin-top: 16px;
    padding: 8px 20px;
    background: var(--button-secondary-bg);
    color: #22223b;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.subscribe-btn:hover {
    background: #ffb300;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
}

.profile-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #ffd700; 
    background: #eee;
}

.user-name {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.08rem;
    text-shadow: 0 1px 4px #000, 0 0px 2px #fff;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 48px;
    right: 0;
    background: #22223b;
    color: #ffd700;
    min-width: 240px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(34,34,59,0.18);
    padding: 18px 22px;
    z-index: 2000;
    font-size: 1.08rem;
    font-weight: 600;
    border: 2px solid #ffd700;
}

.user-profile.open .profile-dropdown {
    display: block;
}

.dropdown-item {
    margin-bottom: 12px;
    color: #ffd700;
    text-shadow: 0 1px 4px #000, 0 0px 2px #fff;
}

.dropdown-item strong {
    color: #fff;
    text-shadow: 0 1px 4px #000;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.logout-btn {
    margin-top: 10px;
    width: 100%;
    padding: 8px 0;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.logout-btn:hover {
    background: #d32f2f;
}
.delete-account-btn {
    margin-top: 10px;
    width: 100%;
    padding: 8px 0;
    background: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.delete-account-btn:hover {
    background: #b71c1c;
}

.logo-mobile {
    display: none;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    z-index: 1100;
}
.menu-toggle .bar {
    width: 24px;
    height: 3px;
    background: #ffd700;
    margin: 3px 0;
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .logo {
        display: none;
    }
    .logo-mobile {
        display: flex;
        align-items: center;
        margin-right: 10px;
    }
    .logo-mobile .logo-badge {
        width: 40px;
        height: 40px;
    }
    .nav-links {
        position: absolute;
        top: 70px;
        right: 20px;
        background: #22223b;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(34,34,59,0.18);
        padding: 20px 30px;
        display: none;
        flex-direction: column;
        gap: 20px;
        z-index: 1050;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links ul {
        flex-direction: column;
        gap: 20px;
    }
    .menu-toggle {
        display: flex;
    }
    .user-profile {
        display: flex !important;
        align-items: center;
        margin-left: 10px;
        margin-right: 0;
        position: static;
    }
}