/* Base Variables */
:root {
    --primary-turquoise: #009B8F;
    --primary-purple: #7C338C;
    --primary-lime: #8DC63F;
    --gradient-primary: linear-gradient(135deg, var(--primary-turquoise), var(--primary-purple));
    --gradient-secondary: linear-gradient(135deg, var(--primary-turquoise), var(--primary-lime));
    --gradient-hover: linear-gradient(135deg, var(--primary-purple), var(--primary-turquoise));
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 16px;
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------------------------
   Privileges page — brand Bootstrap overrides (remove stock blue)
   Scoped via body.privileges-page to avoid side effects
------------------------------------------------------------- */
body.privileges-page {
    --bs-primary: var(--primary-turquoise);
    --bs-primary-rgb: 0, 155, 143;
    --bs-link-color: var(--primary-turquoise);
    --bs-link-hover-color: var(--primary-purple);
    --bs-focus-ring-color: rgba(0, 155, 143, 0.25);
    --bs-border-color: rgba(0, 155, 143, 0.14);
}

body.privileges-page .btn-outline-primary {
    --bs-btn-color: var(--primary-turquoise);
    --bs-btn-border-color: rgba(0, 155, 143, 0.75);
    --bs-btn-hover-bg: var(--primary-turquoise);
    --bs-btn-hover-border-color: var(--primary-turquoise);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #008478;
    --bs-btn-active-border-color: #008478;
    --bs-btn-disabled-color: rgba(0, 155, 143, 0.55);
    --bs-btn-disabled-border-color: rgba(0, 155, 143, 0.35);
}

body.privileges-page .form-check-input:checked {
    background-color: var(--primary-turquoise);
    border-color: var(--primary-turquoise);
}

body.privileges-page .form-check-input:focus {
    border-color: rgba(0, 155, 143, 0.7);
    box-shadow: 0 0 0 0.25rem rgba(0, 155, 143, 0.18);
}

/* Footer links: simple white hover (no glow/shift) */
body.privileges-page .footer .footer-link:hover {
    color: #fff !important;
    text-shadow: none !important;
    transform: none !important;
}

body.privileges-page .footer .footer-link::after {
    display: none !important;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Century Gothic', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Century Gothic', Arial, sans-serif;
    font-weight: bold;
    color: var(--primary-turquoise);
}

/* Header/Hero Section */
.privileges-hero {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #009B8F 0%, #7C338C 100%);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privileges-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
    animation: backgroundPulse 15s ease-in-out infinite;
}

.privileges-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
    animation: rotate 240s linear infinite;
}

/* Hero polish to match the rest of the site */
.privileges-hero {
    background-blend-mode: multiply;
    border-radius: 0 0 26px 26px;
    margin-bottom: 0.5rem;
}

.privileges-hero .container {
    position: relative;
    z-index: 1;
}

.privileges-hero h1 {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.privileges-hero p {
    max-width: 920px;
}

.privileges-hero-chips {
    margin-top: 0.25rem;
}

.priv-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
}

.priv-chip.secondary {
    background: rgba(0, 0, 0, 0.12);
}

.privileges-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    text-shadow: var(--text-shadow);
    color: white;
}

.privileges-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.login-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Keep .card global hover from style.css from affecting partner cards layout too aggressively */
.partner-card.card:hover {
    transform: translateY(-5px);
}

/* Modal header title must be white (global h5 makes it turquoise) */
.modal-header .modal-title,
.modal-header h5 {
    color: #fff !important;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.login-button:hover::before {
    transform: translateX(0);
}

.login-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.login-button:hover i {
    transform: translateX(3px);
}

/* Privilege Cards */
.privileges-grid {
    padding: 6rem 0;
    background: var(--light-gray);
}

.privilege-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: none;
    margin-bottom: 2rem;
    position: relative;
}

.privilege-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.privilege-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.privilege-card:hover::after {
    transform: scaleX(1);
}

.privilege-card__image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

.privilege-card:hover .privilege-card__image {
    transform: scale(1.05);
}

.privilege-card__content {
    padding: 2.5rem;
}

.privilege-card__title {
    color: var(--primary-turquoise);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.privilege-card__text {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Categories */
.privilege-categories {
    padding: 4rem 0;
    background: white;
}

.category-button {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    background: white;
    color: var(--primary-turquoise);
    border: 2px solid var(--primary-turquoise);
    transition: var(--transition);
    margin: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.category-button:hover,
.category-button.active {
    background: var(--primary-turquoise);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.partner-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.partner-logo {
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-card__title {
    color: var(--primary-turquoise);
    margin-bottom: 1rem;
}

.partner-card__description {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

/* How to Get Section */
.how-to-get {
    padding: 5rem 0;
    background: white;
}

.step-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: var(--box-shadow);
}

/* CTA Section */
.privileges-cta {
    padding: 6rem 0;
    background: var(--gradient-secondary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    background: white;
    color: var(--primary-turquoise);
    border: none;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--box-shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
    background: var(--primary-purple);
    color: white;
}

/* Animations */
@keyframes backgroundPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .privileges-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .privileges-hero {
        padding: 6rem 0;
    }
    .privileges-hero h1 {
        font-size: 2.5rem;
    }
    .privilege-card__image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .privileges-hero {
        padding: 3rem 1rem;
    }
    .privileges-hero h1 {
        font-size: 2rem;
    }
    .privilege-card {
        margin-bottom: 1.5rem;
    }
    .privilege-card__content {
        padding: 1.5rem;
    }
    .category-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    .login-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .privileges-hero h1 {
        font-size: 1.75rem;
    }
    .privilege-card__content {
        padding: 1.25rem;
    }
} 