/* =====================================================================
   Arrtha Motors – MG HECTOR TOMAHAWK EV SPECIFIC STYLING
   India's Segment-Defining All-Electric Flagship SUV | 69.2 kWh MAGIC Battery & V2H
   ===================================================================== */

:root {
    --hev-primary: #059669;
    --hev-primary-dark: #047857;
    --hev-primary-light: #10b981;
    --hev-primary-bg: #ecfdf5;
    --hev-primary-border: #a7f3d0;
    --hev-electric-cyan: #06b6d4;
    --hev-dark: #0f172a;
    --hev-dark-card: #1e293b;
    --hev-accent: #3b82f6;
    --hev-gold: #f59e0b;
    --hev-card-bg: #ffffff;
    --hev-border: #e2e8f0;
}

/* Page Scaffolding */
.hector-ev-page {
    background-color: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Badge */
.hev-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.08);
}

/* Price Highlight Card */
.hev-price-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 1.5px solid #a7f3d0;
    border-radius: 16px;
    padding: 18px 24px;
    margin: 22px 0 26px;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.07);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hev-price-main .hev-price-lbl {
    font-size: 12px;
    font-weight: 700;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.hev-price-main .hev-price-val {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.hev-price-main .hev-price-sub {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.hev-price-baas {
    text-align: right;
    border-left: 2px dashed #cbd5e1;
    padding-left: 20px;
}

@media (max-width: 575px) {
    .hev-price-baas {
        text-align: left;
        border-left: none;
        padding-left: 0;
        border-top: 1px dashed #cbd5e1;
        padding-top: 12px;
        width: 100%;
    }
}

.hev-price-baas .hev-baas-badge {
    background: #059669;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 4px;
}

.hev-price-baas .hev-baas-rate {
    font-size: 18px;
    font-weight: 800;
    color: #047857;
}

/* Color Switcher Container */
.hev-color-box {
    margin-top: 24px;
    padding: 18px 22px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hev-color-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hev-color-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hev-color-active-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--hev-primary);
}

.hev-color-swatches {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hev-swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #cbd5e1;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0;
    outline: none;
}

.hev-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--hev-primary);
}

.hev-swatch.active {
    transform: scale(1.18);
    box-shadow: 0 0 0 3px var(--hev-primary), 0 4px 12px rgba(5, 150, 105, 0.35);
}

/* Hero Showcase Image Transition */
.hev-showcase-img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.35s ease, transform 0.35s ease;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

/* Feature Pillars Grid */
.hev-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .hev-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hev-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.hev-pillar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hev-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(5, 150, 105, 0.1);
    border-color: #a7f3d0;
}

.hev-pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.hev-pillar-card:hover .hev-pillar-icon {
    background: #059669;
    color: #ffffff;
    transform: scale(1.05);
}

.hev-pillar-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.hev-pillar-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* V2X Spotlight Section */
.hev-v2x-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.hev-v2x-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hev-v2x-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 150, 105, 0.2);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
}

.hev-v2x-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.hev-v2x-title span {
    color: #34d399;
}

.hev-v2x-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.hev-v2x-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 211, 153, 0.4);
    transform: translateY(-4px);
}

.hev-v2x-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 14px;
}

.hev-v2x-b1 { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.hev-v2x-b2 { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.hev-v2x-b3 { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }

/* Charging Hub Showcase */
.hev-charging-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}

.hev-charging-pill:hover {
    border-color: #a7f3d0;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.08);
}

.hev-charging-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Specs Accordion and Tables */
.hev-spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.hev-spec-table th,
.hev-spec-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.hev-spec-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
    width: 38%;
}

.hev-spec-table td {
    color: #475569;
}

.hev-spec-table tr:last-child th,
.hev-spec-table tr:last-child td {
    border-bottom: none;
}

/* Variant Cards */
.hev-variant-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1.5px solid #e2e8f0;
    padding: 32px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.hev-variant-card:hover {
    border-color: #059669;
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.12);
    transform: translateY(-4px);
}

.hev-variant-card.featured {
    border-color: #059669;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.15);
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.hev-variant-ribbon {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.hev-variant-name {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.hev-variant-seating {
    font-size: 13px;
    font-weight: 700;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.hev-variant-price-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 22px;
    border: 1px solid #e2e8f0;
}

.hev-variant-price-main {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.hev-variant-price-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.hev-variant-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    flex-grow: 1;
}

.hev-variant-features li {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.hev-variant-features li i {
    color: #059669;
    margin-top: 3px;
    font-size: 14px;
    flex-shrink: 0;
}

/* FAQ Accordion */
.hev-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.hev-faq-item:hover {
    border-color: #cbd5e1;
}

.hev-faq-header {
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.hev-faq-header i {
    color: #059669;
    transition: transform 0.3s ease;
}

.hev-faq-item.active .hev-faq-header i {
    transform: rotate(180deg);
}

.hev-faq-body {
    padding: 0 22px 18px 22px;
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    display: none;
}

.hev-faq-item.active .hev-faq-body {
    display: block;
}
