/**
 * N2EXPRESS - Royal Emerald & Champagne Gold Components (Dark Mode Edition)
 * File: assets/css/components.css
 */

/* ==========================================================================
   1. TRACKING & ESTIMATE CARD COMPONENT (MASTER LUXURY DARK EDITION)
   ========================================================================== */
.n2-tracking-card {
    background: linear-gradient(165deg, rgba(14, 21, 33, 0.94) 0%, rgba(7, 11, 18, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-top: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(5, 150, 105, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    position: relative;
    max-width: 580px;
}

/* Card Header */
.n2-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    gap: 12px;
}

.n2-head-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.n2-live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981, 0 0 16px rgba(16, 185, 129, 0.6);
    display: inline-block;
    animation: n2PulseGlow 2s infinite ease-in-out;
}

@keyframes n2PulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px #10b981; }
    50% { transform: scale(1.35); opacity: 0.8; box-shadow: 0 0 14px #34d399; }
}

.n2-head-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: var(--font-family-heading);
}

.n2-head-right {
    display: flex;
    align-items: center;
}

.n2-badge-secure {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 0.6px;
    opacity: 0.9;
    padding: 3px 8px;
    border-radius: 9999px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Minimalist Luxury Tab Switcher */
.n2-tabs-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(4, 7, 13, 0.55);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.n2-tab-btn {
    flex: 1;
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 220ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-family-heading);
    user-select: none;
}

.n2-tab-btn svg {
    stroke: currentColor;
    transition: all 200ms ease;
}

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

.n2-tab-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.35) !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.n2-tab-btn.active svg {
    stroke: #fbbf24;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.5));
}

/* Unified Command Capsule (Tab 1) */
.n2-capsule-bar {
    display: flex;
    align-items: center;
    background: rgba(4, 8, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 5px 5px 5px 14px;
    gap: 10px;
    transition: all 250ms ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.n2-capsule-bar:focus-within {
    border-color: rgba(212, 175, 55, 0.65);
    background: rgba(6, 11, 20, 0.95);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.22), inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.n2-capsule-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.n2-capsule-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
    font-family: var(--font-family-primary) !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.n2-capsule-input::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
    font-size: 13.5px !important;
}

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

.n2-capsule-btn svg {
    transition: transform 200ms ease;
}

.n2-capsule-btn:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    border-color: rgba(251, 191, 36, 0.85);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45), 0 0 12px rgba(212, 175, 55, 0.3);
}

.n2-capsule-btn:hover svg {
    transform: translateX(3px);
}

/* Quick Sample Chips */
.n2-tracking-quick {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    font-size: 12px;
    flex-wrap: wrap;
}

.n2-quick-lbl {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.n2-quick-chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.n2-sample-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #cbd5e1;
    font-family: monospace;
    font-size: 11.5px;
    padding: 3px 10px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 150ms ease;
}

.n2-sample-chip:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
    transform: translateY(-1px);
}

/* Estimate Tab 2 Form Grid */
.n2-calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
    margin-bottom: 14px;
}

.n2-calc-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.n2-field-lbl {
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

.n2-calc-select,
.n2-calc-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: 44px !important;
    line-height: 44px !important;
    font-size: 13.5px !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-calc-select:focus,
.n2-calc-input:focus {
    border-color: rgba(212, 175, 55, 0.65) !important;
    background: rgba(6, 11, 20, 0.95) !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.2) !important;
}

.n2-calc-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 12px center !important;
    background-size: 13px !important;
    padding-right: 34px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

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

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

.n2-calc-submit-btn:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    border-color: rgba(251, 191, 36, 0.85);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.n2-result-box {
    margin-top: 16px;
    display: none;
}

.n2-result-box.active {
    display: block;
}

/* Tracking Result Card (Royal Emerald & Champagne Gold Sync) */
.n2-track-success-card {
    background: linear-gradient(145deg, rgba(14, 22, 36, 0.95) 0%, rgba(6, 10, 18, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 14px;
}

.n2-track-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 14px;
    gap: 10px;
    flex-wrap: wrap;
}

.n2-code-lbl {
    font-size: 11px;
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 2px;
}

.n2-code-val {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-family-heading);
    letter-spacing: 0.5px;
}

.n2-status-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 9999px;
    font-family: var(--font-family-heading);
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.n2-track-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.n2-dt-item {
    font-size: 13px;
}

.n2-dt-lbl {
    color: #94a3b8;
    margin-right: 4px;
}

.n2-dt-val {
    color: #ffffff;
    font-weight: 600;
}

/* Interactive Shipment Timeline */
.n2-track-timeline {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.n2-timeline-title {
    font-size: 13px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 12px;
    font-family: var(--font-family-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.n2-timeline-count-badge {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.n2-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 10px;
    border-left: 2px solid rgba(16, 185, 129, 0.3);
}

.n2-timeline-item {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
}

.n2-timeline-item:last-child {
    margin-bottom: 0;
}

.n2-tl-point {
    position: absolute;
    left: -16px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #059669;
    border: 2px solid #34d399;
}

.n2-timeline-item.latest .n2-tl-point {
    background: #d4af37;
    border-color: #fbbf24;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.n2-tl-time {
    font-size: 11.5px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.n2-tl-desc {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Collapsible Timeline & Custom Scrollbar */
.n2-timeline-more {
    display: none;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.n2-timeline-more.open {
    display: block;
}

.n2-timeline-scroll {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 8px;
}

.n2-timeline-scroll::-webkit-scrollbar {
    width: 5px;
}

.n2-timeline-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}

.n2-timeline-scroll::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.35);
    border-radius: 4px;
}

.n2-timeline-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.7);
}

.n2-timeline-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.n2-timeline-toggle-btn:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
}

.n2-timeline-toggle-btn svg {
    transition: transform 0.25s ease;
}

.n2-timeline-toggle-btn.active svg {
    transform: rotate(180deg);
}

/* ==========================================================================
   2. SERVICE CARD COMPONENT (MASTER LUXURY ROYAL EMERALD WITH CINEMATIC IMAGES)
   ========================================================================== */
.n2-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.n2-service-card {
    background: linear-gradient(145deg, rgba(16, 24, 38, 0.92) 0%, rgba(10, 16, 26, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    position: relative;
}

.n2-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(5, 150, 105, 0.2);
    background: linear-gradient(145deg, rgba(20, 32, 50, 0.95) 0%, rgba(12, 20, 32, 0.98) 100%);
}

.n2-card-img-holder {
    position: relative;
    height: 195px;
    overflow: hidden;
    width: 100%;
}

.n2-service-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.n2-service-card:hover .n2-service-thumb {
    transform: scale(1.08);
}

.n2-img-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

.n2-service-icon-floating {
    position: absolute;
    bottom: 14px;
    left: 18px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 250ms ease;
}

.n2-service-card:hover .n2-service-icon-floating {
    background: #059669;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.5);
    transform: rotate(-4deg) scale(1.06);
}

.n2-service-tag-floating {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(10, 15, 24, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 4px 12px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    font-family: var(--font-family-heading);
}

.n2-service-body {
    padding: 22px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.n2-service-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.35;
    font-family: var(--font-family-heading) !important;
}

.n2-service-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.n2-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

.n2-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    font-family: var(--font-family-heading);
    transition: all 200ms ease;
}

.n2-service-link svg {
    transition: transform 200ms ease;
}

.n2-service-card:hover .n2-service-link {
    color: #34d399;
}

.n2-service-card:hover .n2-service-link svg {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .n2-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .n2-services-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   3. PROCESS STEPS COMPONENT (MASTER LUXURY ROYAL EMERALD & GOLD)
   ========================================================================== */
.n2-process-grid-wrapper {
    position: relative;
    margin-top: 20px;
}

.n2-process-track-line {
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        #10b981 30%, 
        #d4af37 70%, 
        rgba(255, 255, 255, 0.05) 100%
    );
    z-index: 1;
    display: block;
}

.n2-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.n2-step-card {
    background: linear-gradient(145deg, rgba(16, 24, 38, 0.9) 0%, rgba(10, 16, 26, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    text-align: left;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
}

.n2-step-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.15);
    background: linear-gradient(145deg, rgba(20, 32, 50, 0.95) 0%, rgba(12, 20, 32, 0.98) 100%);
}

.n2-step-thumb-wrap {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #080d16;
}

.n2-step-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.n2-step-card:hover .n2-step-thumb-img {
    transform: scale(1.08);
}

.n2-step-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 24, 0.1) 0%, rgba(10, 15, 24, 0.75) 100%);
    pointer-events: none;
}

.n2-step-num-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 16, 26, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #fbbf24;
    font-size: 15px;
    font-weight: 900;
    font-family: var(--font-family-heading) !important;
    padding: 4px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.n2-step-icon-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(10, 16, 26, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: all 300ms ease;
}

.n2-step-card:hover .n2-step-icon-badge {
    background: #059669;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.5);
    transform: scale(1.06);
}

.n2-step-body {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.n2-step-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.35;
    font-family: var(--font-family-heading) !important;
}

.n2-step-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .n2-process-track-line {
        display: none;
    }
    .n2-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .n2-process-grid {
        grid-template-columns: 1fr;
    }
}

/* Global Dark Code & Formula Styling */
code, .n2-formula-badge {
    background: rgba(15, 23, 42, 0.9) !important;
    color: #38bdf8 !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}
