/* ==========================================
   BASE STYLES & TYPOGRAPHY
   ========================================== */
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #050505; 
    color: #E2E8F0; 
    overflow-x: hidden; 
}

section { 
    scroll-margin-top: 100px; 
}

/* ==========================================
   BACKGROUNDS & GLASSMORPHISM
   ========================================== */
.mesh-bg {
    background-color: #050505;
    background-image: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
                      radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
                      radial-gradient(at 0% 100%, rgba(168, 85, 247, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.nav-solid { 
    background-color: #000000 !important; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; 
    backdrop-filter: none !important; 
}

.text-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   FORM INPUTS & DROPDOWNS (THE FIX)
   ========================================== */
.checkout-input {
    background-color: #000000; /* Pure Black Background */
    border: 1px solid #333333; /* Dark Gray Border */
    color: #ffffff; /* Bright White Text */
    transition: all 0.2s ease;
}

.checkout-input:focus { 
    outline: none; 
    border-color: rgba(99, 102, 241, 0.8); /* Indigo focus ring */
    background-color: #050505;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); 
}

/* Forces the dropdown options to be black with white text */
.checkout-input option {
    background-color: #000000;
    color: #ffffff;
}

.file-zone { transition: all 0.2s ease; }
.file-zone:hover { 
    background: rgba(255, 255, 255, 0.06); 
    border-color: rgba(255, 255, 255, 0.3); 
}

/* ==========================================
   ANIMATIONS & TRANSITIONS
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible, .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

.animate-fade-in { animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.spinner { animation: spin 1s linear infinite; }
@keyframes spin { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

/* ==========================================
   COMPONENTS (Accordion, Modals, Buttons)
   ========================================== */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
}

.accordion-content.open {
    max-height: 500px;
    opacity: 1;
}

.accordion-content p {
    text-align: left;
    padding-top: 1.5rem !important; 
    padding-bottom: 1.5rem !important;
}

#backToTop { 
    visibility: hidden; 
    opacity: 0; 
    transition: all 0.3s ease; 
}
#backToTop.show { 
    visibility: visible; 
    opacity: 1; 
    pointer-events: auto; 
}

.modal-overlay { 
    background: rgba(0,0,0,0.85); 
    backdrop-filter: blur(8px); 
}

/* COPY BUTTON LOGIC */
.btn-copy {
    padding: 0.65rem 1.4rem;
    border-radius: 0.85rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
}
.btn-copy:hover {
    background: rgba(99, 102, 241, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
    color: #fff;
}
.btn-copy:active { 
    transform: scale(0.96); 
}
.btn-copy.copied {
    background-color: #22c55e !important;
    border-color: #22c55e !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35) !important;
    transform: scale(1.05);
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }