/* ==========================================================================
   Luxury Brand System - Sponsoring Subpage
   ========================================================================== */

:root {
    --color-bg: #090a0f;
    --color-bg-card: rgba(14, 16, 23, 0.65);
    --color-bg-darker: #06070a;
    --color-gold: #c5a059;
    --color-gold-hover: #e5bf75;
    --color-neon-green: #30d158;
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --font-headers: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-border: 1px solid rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.02);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Background Stars overlay */
.stars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 150px 80px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 140px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 320px 220px, rgba(255,255,255,0.5), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 450px 310px, #ffffff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 550px 550px;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.2rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
}

.logo span.gold-text {
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-links a.nav-cta {
    background: linear-gradient(135deg, var(--color-gold) 0%, #b28e46 100%);
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-links a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    color: #000;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 6rem 0 4rem 0;
    background: radial-gradient(circle at center bottom, rgba(197, 160, 89, 0.05) 0%, rgba(9, 10, 15, 0) 70%);
}

.hero-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    background: rgba(197, 160, 89, 0.03);
}

.hero-title {
    font-family: var(--font-headers);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 30%, #e5bf75 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-description {
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, #b28e46 100%);
    color: #000;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid var(--color-gold);
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-gold);
    color: #000;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.packages-section, .tax-section, .contact-section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-headers);
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: #FFF;
}

.section-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

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

.text-center {
    text-align: center;
}

/* ==========================================================================
   Glass Panel Cards
   ========================================================================== */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--card-shadow);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.glass-panel-dark {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* ==========================================================================
   Packages Grid & Selectors
   ========================================================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.package-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.package-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

.package-card.active {
    background: rgba(197, 160, 89, 0.06);
    border-color: var(--color-gold);
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.15);
}

.package-card.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--color-gold) transparent;
    display: block;
    width: 0;
}

.package-header span {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.badge-strategic { background: rgba(197, 160, 89, 0.15); color: var(--color-gold); border: 1px solid rgba(197, 160, 89, 0.25); }
.badge-premium { background: rgba(197, 160, 89, 0.15); color: var(--color-gold); border: 1px solid rgba(197, 160, 89, 0.25); }
.badge-silver { background: rgba(255, 255, 255, 0.08); color: #FFF; border: 1px solid rgba(255, 255, 255, 0.15); }
.badge-bronze { background: rgba(48, 209, 88, 0.1); color: var(--color-neon-green); border: 1px solid rgba(48, 209, 88, 0.25); }
.badge-blue { background: rgba(47, 128, 237, 0.1); color: #2f80ed; border: 1px solid rgba(47, 128, 237, 0.2); }
.badge-yellow { background: rgba(234, 179, 8, 0.1); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.2); }

.package-header h3 {
    font-family: var(--font-headers);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: #FFF;
}

.package-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 0.2rem;
}

.package-efficiency {
    font-size: 0.72rem;
    color: var(--color-neon-green);
    font-weight: 600;
}

/* ==========================================================================
   Details Panel benefits & SVG Timeline
   ========================================================================== */
.gold-text {
    color: var(--color-gold);
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.benefits-list li {
    font-size: 0.8rem;
    color: var(--color-text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.benefits-list li span.bullet {
    color: var(--color-gold);
    font-weight: bold;
}

/* ==========================================================================
   CSR Tax Calculator elements
   ========================================================================== */
.premium-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    margin: 1rem 0;
}

.premium-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-gold);
    cursor: pointer;
    border: 2px solid #000;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
    transition: transform 0.1s ease;
}

.premium-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.chip-btn-sm {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip-btn-sm:hover, .chip-btn-sm.active {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
}

.pa-notes {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
}

.pa-notes h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    margin-top: 4rem;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .details-panel {
        grid-template-columns: 1fr;
    }
    .tax-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* simple hidden layout for mobile nav */
    }
    .form-row {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 900px) {
    .rtb-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .rtb-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Password Gate login layout
   ========================================================================== */
.gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #090a0f;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.gate-card {
    max-width: 440px;
    width: 100%;
    text-align: center;
}

.gate-header {
    margin-bottom: 2rem;
}

.gate-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 1.2rem;
}

.gate-card h2 {
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #ffffff 40%, #ebd390 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gate-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    font-weight: 600;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.gate-form input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    color: #f3f4f6;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    text-align: center;
    outline: none;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gate-form input:focus {
    border-color: var(--color-gold);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.gate-error-msg {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ef4444;
    margin-top: 0.3rem;
}

.submit-btn-gate {
    background: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 50px;
    padding: 1rem 2.2rem;
    color: #090a0f;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.submit-btn-gate:hover {
    background: #e5bf4c;
    border-color: #e5bf4c;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
    transform: translateY(-1px);
}

/* Pulsing animation for variant switcher arrows */
@keyframes arrowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.25); text-shadow: 0 0 10px rgba(212, 175, 55, 0.8); }
    100% { opacity: 0.6; transform: scale(1); }
}

.pulsing-arrow {
    animation: arrowPulse 2s infinite ease-in-out;
    display: inline-block;
}

/* Pillar card styling and hover scale effects */
.pillar-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.1) !important;
}

.pillar-card:hover img {
    transform: scale(1.08);
}

/* Sponsoring value rows (Checkerboard vertical layout) */
.rtb-rows-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.rtb-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.rtb-row.image-right {
    grid-template-columns: 1.1fr 0.9fr;
}

.rtb-row.image-right .rtb-row-image-container {
    grid-column: 2;
}

.rtb-row.image-right .rtb-row-content {
    grid-column: 1;
    grid-row: 1;
}

.rtb-row:hover {
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.rtb-row-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rtb-row-content h3 {
    font-family: var(--font-headers);
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFF;
    margin-top: 0;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 50%, #ebd390 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rtb-row-content .rtb-question {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.rtb-row-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.rtb-row-image-container {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rtb-row-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rtb-row:hover .rtb-row-image-container img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .rtb-row, .rtb-row.image-right {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 2rem;
    }
    
    .rtb-row-image-container {
        grid-column: 1 !important;
        grid-row: 1 !important;
        height: 220px;
    }
    
    .rtb-row-content {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
}

/* Custom Exit Confirmation Modal Overlay */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease-out;
}

.confirm-card {
    max-width: 380px;
    width: 100%;
    text-align: center;
    padding: 2.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.05);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: slideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.confirm-header {
    margin-bottom: 1.5rem;
}

.confirm-header h3 {
    font-family: var(--font-headers);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.confirm-header p {
    font-size: 0.88rem;
    color: var(--color-text-white);
    margin: 0;
}

.confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.confirm-btn {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    flex-grow: 1;
}

.btn-confirm-yes {
    background: var(--color-gold);
    border: 1px solid var(--color-gold);
    color: #090a0f;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-confirm-yes:hover {
    background: #e5bf4c;
    border-color: #e5bf4c;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}

.btn-confirm-no {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-white);
}

.btn-confirm-no:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Language Switcher Styling */
.lang-switch-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: var(--color-gold) !important;
}
