/* --- Document Foundations --- */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #2563eb;
}

body {
    background-color: #030813;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header Base Styling */
.site-header {
    background-color: #020612;
    width: 100%;
    padding: 24px 60px;
    border-bottom: 1px solid #0b1528;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo {
    font-size: 24px;
    letter-spacing: 0.5px;
    user-select: none;
    cursor: pointer;
}

.logo-white {
    color: #ffffff;
    font-weight: 800;
}

.logo-blue {
    color: #2563eb;
    font-weight: 700;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: auto;
    margin-right: 32px;
}

.nav-item {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #9ca3af;
    transition: color 0.2s ease-in-out;
}

.nav-item.active {
    color: #2563eb;
    font-weight: 600;
}

.nav-item:hover {
    color: #2563eb;
}

/* Circular Shopping Bag Button */
.cart-btn {
    background-color: #1e293b;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.cart-btn i {
    color: #2563eb;
    width: 20px;
    height: 20px;
}

.cart-btn:hover {
    background-color: #032153;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section {
    width: 100%;
    padding: 120px 24px 100px;
    display: flex;
    justify-content: center;
}

.faq-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.faq-container h2 {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.faq-subtitle {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 48px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.accordion-item {
    background-color: #060a15;
    border: 1px solid #0d1527;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.accordion-item.active {
    border-color: #3b82f6;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
}

.question-text {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.accordion-header .icon {
    flex-shrink: 0;
    color: #3b82f6;
    font-size: 18px;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(270deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-content p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
    padding: 0 24px 22px;
}

@media (max-width: 768px) {
    .faq-section { padding: 90px 20px 70px; }
    .faq-container h2 { font-size: 32px; }
    .faq-subtitle { font-size: 15px; margin-bottom: 36px; }
    .question-text { font-size: 14.5px; }
}

@media (max-width: 480px) {
    .faq-container h2 { font-size: 26px; }
    .accordion-header { padding: 16px 18px; }
    .accordion-content p { padding: 0 18px 18px; }
}

/* Footer Styling */
.footer {
    background-color: #00071d;
    color: #94a3b8;
    padding: 80px 40px 30px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.brand-logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.brand-logo span {
    color: #3b82f6;
}

.brand-text {
    font-size: 15px;
    line-height: 1.6;
    max-width: 250px;
    color: #94a3b8;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease-in-out;
}

.footer-col a:hover {
    color: #3b82f6;
}

.contact-col p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 4px;
    color: #94a3b8;
}

.contact-col .contact-space {
    margin-top: 20px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid #0f172a;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #64748b;
}
/* =========================================================
   ADDITIONS — Cart badge, mobile nav, scroll reveal, cart drawer
   (identical to the cart drawer used on the homepage, so the
   experience stays consistent across every page)
   ========================================================= */

.cart-btn { position: relative; }

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #3b82f6;
    color: #020612 !important;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #020612;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.cart-count.show { transform: scale(1); }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* =========================================================
   SCROLL / LOAD REVEAL — elements rise from bottom, staggered
   ========================================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.25,1,0.5,1), transform 0.8s cubic-bezier(0.25,1,0.5,1);
}
.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   CART DRAWER — matches "Your Cart" reference design (same as homepage)
   ========================================================= */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 18, 0.65);
    backdrop-filter: blur(3px);
    z-index: 960;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 402px;
    background-color: #060a15;
    border-left: 1px solid #0d1527;
    z-index: 961;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #0d1527;
}
.cart-drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-drawer-title i {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}
.cart-drawer-title h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}
.cart-items-count {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}
.cart-close {
    background: none;
    border: none;
    color: #9ca3af;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
}
.cart-close:hover { background-color: #111827; color: #ffffff; }
.cart-close i { width: 18px; height: 18px; }

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

/* Empty state */
.cart-empty {
    margin: auto;
    text-align: center;
    padding: 60px 0;
}
.cart-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 1.5px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-empty-icon i { width: 30px; height: 30px; color: #374151; }
.cart-empty-title {
    font-size: 17px;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 16px;
}
.cart-continue-link {
    color: #3b82f6;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.cart-continue-link:hover { color: #60a5fa; }

/* Filled state: item list */
.cart-items-list {
    display: none;
    flex-direction: column;
    gap: 14px;
}
.cart-items-list.show { display: flex; }

.cart-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background-color: #0b1122;
    border: 1px solid #131c30;
    border-radius: 10px;
    animation: cartLineIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes cartLineIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
.cart-line-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: #09142a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-line-icon i { width: 19px; height: 19px; color: #3b82f6; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-line-price {
    font-size: 13px;
    font-weight: 700;
    color: #3b82f6;
}
.cart-line-remove {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: none;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}
.cart-line-remove:hover { background-color: rgba(239, 68, 68, 0.12); color: #ef4444; }
.cart-line-remove i { width: 15px; height: 15px; }

.cart-drawer-footer {
    border-top: 1px solid #0d1527;
    padding: 20px 24px 24px;
    display: none;
}
.cart-drawer-footer.show { display: block; }
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}
.cart-total-row span:last-child { color: #3b82f6; }
.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}
.cart-checkout-btn:hover { background-color: #2563eb; transform: translateY(-1px); }

@media (max-width: 480px) {
    .cart-drawer { max-width: 100%; }
}

/* ===== CHECKOUT MODAL ===== */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 18, 0.75);
    backdrop-filter: blur(4px);
    z-index: 970;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.checkout-overlay.open { opacity: 1; visibility: visible; }

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    width: 92%;
    max-width: 440px;
    max-height: 88vh;
    overflow-y: auto;
    background-color: #060a15;
    border: 1px solid #0d1527;
    border-radius: 20px;
    padding: 32px 28px;
    z-index: 971;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.25,1,0.5,1), transform 0.35s cubic-bezier(0.25,1,0.5,1), visibility 0.35s;
}
.checkout-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    color: #8792a8;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    display: flex;
}
.checkout-close:hover { color: #ffffff; background: rgba(255,255,255,0.06); }
.checkout-close svg { width: 20px; height: 20px; }

.checkout-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
}
.checkout-subtitle {
    font-size: 13.5px;
    color: #8792a8;
    margin: 0 0 20px;
}

.checkout-order-summary {
    background-color: #0a0f1e;
    border: 1px solid #0d1527;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}
.checkout-order-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #b4bcd0;
    padding: 6px 0;
}
.checkout-order-line.total {
    border-top: 1px solid #0d1527;
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
    color: #ffffff;
    font-size: 14.5px;
}
.checkout-order-line .price { color: #3b82f6; font-weight: 600; }

.checkout-form-group { margin-bottom: 14px; }
.checkout-form-row { display: flex; gap: 12px; }
.checkout-form-row .checkout-form-group { flex: 1; }
.checkout-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #b4bcd0;
    margin-bottom: 6px;
}
.checkout-form-group input {
    width: 100%;
    padding: 12px 14px;
    background-color: #0a0f1e;
    border: 1px solid #0d1527;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}
.checkout-form-group input:focus { border-color: #3b82f6; }
.checkout-form-group input::placeholder { color: #4a5268; }

.checkout-pay-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.checkout-pay-btn:hover { background-color: #2563eb; box-shadow: 0 4px 14px rgba(59,130,246,0.3); }
.checkout-pay-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.checkout-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: #5a6379;
    margin: 14px 0 0;
}
.checkout-secure-note svg { width: 13px; height: 13px; }

.checkout-success-step { text-align: center; padding-top: 10px; }
.checkout-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
}
.checkout-success-icon svg { width: 30px; height: 30px; }
.checkout-success-step .checkout-order-summary { text-align: left; }

@media (max-width: 480px) {
    .checkout-modal { padding: 26px 20px; }
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
@media (max-width: 860px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 190px;
        background-color: #020612;
        flex-direction: column;
        padding: 100px 32px;
        gap: 26px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        border-left: 1px solid #0d1527;
        z-index: 900;
        margin: 0 !important;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-toggle { display: flex; }
}

/* Hamburger -> X animation when mobile nav is open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Keep header (with the nav toggle / X button) above the mobile nav drawer */
.site-header {
    position: relative;
    z-index: 950;
}

/* Dedicated close (X) button inside the mobile nav drawer */
.nav-close {
    display: none;
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.nav-close:hover {
    background-color: rgba(255, 255, 255, 0.08);
}
.nav-close svg {
    width: 22px;
    height: 22px;
}
@media (max-width: 860px) {
    .nav-close { display: flex; }
}
@media (max-width: 860px) {
.logo-white {
    color: #ffffff;
    font-weight: 800; /* Extra bold "BE" */
    font-size: 15px;
}


.logo-blue {
    color: #2563eb; /* Vibrant exact blue for "PARAGON" */
    font-weight: 700;
    font-size: 15px;
}
}
@media (max-width: 860px) {
.brand-logo {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.brand-logo span {
    color: #3b82f6; /* Premium blue color for PARAGON */
    font-size: 20px;
}
}