/* ==========================================================================
   SWAM SHARED UI COMPONENTS
   Reusable glassmorphism components, ambient glows, badges, cards, and headers
   ========================================================================== */

/* 1. Ambient Background Glow Elements */
.swam-ambient-glow-1,
.privacy-ambient-glow-1,
.cookie-ambient-glow-1 {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(232, 186, 85, 0.16) 0%, rgba(232, 186, 85, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.swam-ambient-glow-2,
.privacy-ambient-glow-2,
.cookie-ambient-glow-2 {
    position: absolute;
    bottom: 10%;
    right: 8%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(14, 56, 150, 0.55) 0%, rgba(2, 14, 46, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* 2. Large Blurry Watermark "SW AM" */
.swam-bg-text-container,
.privacy-bg-text-container,
.cookie-bg-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: 0.55;
}

.swam-bg-text-sw,
.swam-bg-text-am,
.privacy-bg-text-sw,
.privacy-bg-text-am,
.cookie-bg-text-sw,
.cookie-bg-text-am {
    font-size: 26vw;
    font-weight: 900;
    color: rgba(232, 186, 85, 0.025);
    line-height: 0.75;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-family: var(--font-cormorant, 'Cormorant Garamond', serif);
    filter: blur(18px);
}

/* 3. Glassmorphism Hero Badge */
.swam-glass-badge,
.privacy-glass-badge,
.cookie-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.swam-glass-badge:hover,
.privacy-glass-badge:hover,
.cookie-hero-badge:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(245, 212, 130, 0.5);
    color: #ffffff;
}

.swam-glass-badge i,
.privacy-glass-badge i,
.cookie-hero-badge i {
    font-size: 15px;
    color: var(--swam-gold-400, #f5d482);
}

/* 4. Glowing Divider */
.swam-divider,
.privacy-divider,
.cookie-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
    margin: 32px 0;
    border: none;
}

/* 5. FAQ Showcase & Accordion Component */
.faq-accordion-wrap {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.faq-question-btn {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: none;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-plus-jakarta-sans, 'Plus Jakarta Sans', sans-serif);
    transition: background 0.3s ease;
}

.faq-toggle-icon {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.3s ease;
    min-width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq-item-card.open {
    border-color: rgba(255, 255, 255, 0.28);
}

.faq-item-card.open .faq-question-btn {
    background: linear-gradient(90deg, #ebe8e03d 0%, #ebe8e000 70%, #ebe8e000 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item-card.open .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer-box {
    display: none;
    padding: 20px 28px 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    font-family: var(--font-plus-jakarta-sans, 'Plus Jakarta Sans', sans-serif);
}

.faq-item-card.open .faq-answer-box {
    display: block;
    background: transparent;
}