/**
 * N2EXPRESS - Master Luxury Pricing Page (Dark Mode Edition)
 * File: assets/css/pricing.css
 * Palette: Obsidian Midnight Titanium, Royal Emerald, Champagne Gold
 */

/* ==========================================================================
   1. PRICING HERO SECTION
   ========================================================================== */
.n2-pricing-hero {
    padding: 65px 0 75px 0;
    background: 
        radial-gradient(circle at 50% 20%, rgba(5, 150, 105, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 45%),
        #090e17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.n2-pricing-hero-title {
    font-size: 38px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    max-width: 860px;
    margin: 0 auto 16px auto !important;
    font-family: var(--font-family-heading) !important;
    letter-spacing: -0.5px !important;
}

.n2-pricing-hero-p {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 28px auto;
}

/* Rate Calculator Widget Box */
.n2-rate-calc-box {
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(165deg, rgba(14, 21, 33, 0.95) 0%, rgba(7, 11, 18, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-top: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(5, 150, 105, 0.15);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    text-align: left;
}

.n2-calc-bar-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr auto;
    gap: 14px;
    align-items: flex-end;
}

.n2-cfield-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.n2-cfield-lbl {
    font-size: 12px;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-family-heading);
}

.n2-cfield-select,
.n2-cfield-input {
    background: rgba(4, 8, 15, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    height: 48px !important;
    line-height: 48px !important;
    font-size: 14px !important;
    font-family: var(--font-family-primary) !important;
    outline: none !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    transition: all 200ms ease !important;
}

.n2-cfield-select:focus,
.n2-cfield-input:focus {
    border-color: rgba(212, 175, 55, 0.7) !important;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.25) !important;
}

.n2-cfield-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 13px !important;
    padding-right: 36px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.n2-cfield-select option {
    background: #0e1522 !important;
    color: #ffffff !important;
    padding: 8px !important;
}

.n2-cfield-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.45);
    height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 200ms ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-family-heading);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.n2-cfield-btn:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    border-color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5);
}

.n2-calc-rate-result {
    margin-top: 18px;
    display: none;
    background: rgba(5, 150, 105, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 16px 20px;
}

.n2-calc-rate-result.active {
    display: block;
}

/* ==========================================================================
   2. INTERACTIVE PRICING TABLES SECTION (DARK LUXURY FULL BORDER)
   ========================================================================== */
.n2-pricing-tables-section {
    padding: 85px 0;
    background: #070b12;
}

.n2-ptab-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 35px auto;
    background: rgba(14, 21, 33, 0.6);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 780px;
}

.n2-ptab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 200ms ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family-heading);
}

.n2-ptab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.n2-ptab-btn.active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.35);
}

.n2-ptable-wrap {
    background: linear-gradient(160deg, rgba(14, 21, 33, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.n2-ptable-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 2px solid rgba(212, 175, 55, 0.4);
    flex-wrap: wrap;
    gap: 12px;
}

.n2-ptable-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-family: var(--font-family-heading) !important;
    margin: 0 !important;
}

.n2-ptable-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
}

.n2-table-responsive {
    overflow-x: auto;
}

.n2-luxury-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.n2-luxury-table th {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    color: #fbbf24;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 16px 24px;
    border-bottom: 2px solid #d4af37;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-family-heading);
}

.n2-luxury-table th:last-child {
    border-right: none;
}

.n2-luxury-table td {
    padding: 16px 24px;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.n2-luxury-table td:last-child {
    border-right: none;
}

.n2-luxury-table tr:nth-child(even) td {
    background: rgba(6, 10, 18, 0.6);
}

.n2-luxury-table tr:hover td {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.n2-price-val {
    font-size: 16px;
    font-weight: 800;
    color: #fbbf24;
    font-family: var(--font-family-heading);
}

.n2-price-note {
    font-size: 11.5px;
    color: #94a3b8;
    display: block;
}

.n2-btn-table-book {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 150ms ease;
    display: inline-block;
}

.n2-btn-table-book:hover {
    background: #059669;
    color: #ffffff !important;
    border-color: #34d399;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

/* ==========================================================================
   3. VOLUMETRIC WEIGHT & CARGO TYPES
   ========================================================================== */
.n2-pricing-rules-section {
    padding: 85px 0;
    background: #0b1019;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.n2-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.n2-rule-card {
    background: linear-gradient(160deg, rgba(16, 24, 38, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 30px;
}

.n2-rule-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
    font-family: var(--font-family-heading) !important;
}

.n2-formula-box {
    background: rgba(4, 8, 15, 0.7);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 18px;
    margin: 16px 0;
    text-align: center;
}

.n2-formula-txt {
    font-size: 16px;
    font-weight: 800;
    color: #fbbf24;
    font-family: var(--font-family-heading);
}

.n2-cargo-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.n2-cargo-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.n2-cargo-item:last-child {
    border-bottom: none;
}

.n2-cargo-icon {
    color: #34d399;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   4. CORPORATE VIP TIERS
   ========================================================================== */
.n2-vip-tiers-section {
    padding: 85px 0;
    background: #080d15;
}

.n2-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 45px;
}

.n2-tier-card {
    background: linear-gradient(160deg, rgba(14, 21, 33, 0.95) 0%, rgba(7, 11, 18, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    transition: all 300ms ease;
}

.n2-tier-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(5, 150, 105, 0.15);
}

.n2-tier-card.featured {
    border-color: rgba(212, 175, 55, 0.6);
    background: linear-gradient(160deg, rgba(20, 32, 50, 0.95) 0%, rgba(10, 18, 28, 0.98) 100%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.2);
}

.n2-tier-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #fbbf24, #d4af37);
    color: #080d15;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.n2-tier-name {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 4px !important;
    font-family: var(--font-family-heading) !important;
}

.n2-tier-discount {
    font-size: 32px;
    font-weight: 900;
    color: #34d399;
    font-family: var(--font-family-heading);
    margin: 14px 0;
}

.n2-tier-card.featured .n2-tier-discount {
    color: #fbbf24;
}

.n2-tier-feats {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.n2-tier-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.n2-tier-feat-item svg {
    color: #34d399;
    flex-shrink: 0;
}

.n2-btn-tier-cta {
    width: 100%;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    display: block;
    box-sizing: border-box;
    transition: all 150ms ease;
}

.n2-btn-tier-cta:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #fbbf24;
    transform: translateY(-2px);
}

/* ==========================================================================
   5. RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .n2-calc-bar-grid {
        grid-template-columns: 1fr 1fr;
    }
    .n2-rules-grid {
        grid-template-columns: 1fr;
    }
    .n2-tiers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .n2-calc-bar-grid {
        grid-template-columns: 1fr;
    }
    .n2-ptab-nav {
        flex-direction: column;
    }
    .n2-ptab-btn {
        width: 100%;
        justify-content: center;
    }
}
