/* ============================================
       HERO SECTION
    ============================================ */
.auto-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 100px;
    background: var(--bg-darkest);
    overflow: hidden;
}

/* Layered background */
.auto-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.auto-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 99, 207, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 99, 207, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* Diagonal speed lines - automotive feel */
.auto-hero__lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.auto-hero__lines::before,
.auto-hero__lines::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(59, 99, 207, 0.2) 20%, rgba(59, 99, 207, 0.2) 80%, transparent);
    transform: skewX(-18deg);
}

.auto-hero__lines::before {
    left: 58%;
}

.auto-hero__lines::after {
    left: 68%;
    background: linear-gradient(to bottom, transparent, rgba(14, 165, 233, 0.12) 20%, rgba(14, 165, 233, 0.12) 80%, transparent);
}

.auto-hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 12% 52%, rgba(59, 99, 207, 0.12) 0%, transparent 65%),
        radial-gradient(ellipse 45% 35% at 82% 18%, rgba(14, 165, 233, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 35% 55% at 92% 82%, rgba(59, 99, 207, 0.06) 0%, transparent 50%);
}

.auto-hero__content {
    position: relative;
    z-index: 2;
}

.auto-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-family: var(--font-head);
    font-size: 11.5px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.auto-hero__breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.auto-hero__breadcrumb a:hover {
    color: var(--text-white);
}

.auto-hero__breadcrumb svg {
    width: 10px;
    height: 10px;
    opacity: 0.4;
}

.auto-hero__breadcrumb span {
    color: var(--color-primary-light);
}

.auto-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(59, 99, 207, 0.1);
    border: 1px solid rgba(59, 99, 207, 0.22);
    border-radius: 100px;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.auto-hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary-light);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(91, 130, 224, 0.5);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 4px rgba(91, 130, 224, 0);
    }
}

.auto-hero__title {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 28px;
}

.auto-hero__title .accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-werqai) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auto-hero__desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 960px;
    margin-bottom: 44px;
}

@media (max-width: 640px) {
    .auto-hero__desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 32px;
    }
}

.auto-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 56px;
}

/* Stats bar below hero CTAs */
.auto-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border: 1px solid var(--bg-dark-border);
    border-radius: 12px;
    background: rgba(13, 21, 37, 0.7);
    backdrop-filter: blur(8px);
    overflow: hidden;
    max-width: 560px;
}

.auto-hero__stat {
    flex: 1;
    padding: 18px 24px;
    border-right: 1px solid var(--bg-dark-border);
}

.auto-hero__stat:last-child {
    border-right: none;
}

.auto-hero__stat-n {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.auto-hero__stat-l {
    font-size: 11.5px;
    text-wrap: nowrap;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Floating stat cards on the right */
.auto-hero__visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    z-index: 2;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding-right: 40px;
}

@media (min-width: 1280px) {
    .auto-hero__visual {
        display: flex;
    }
}

.auto-stat-card {
    background: rgba(13, 21, 37, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-dark-border);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.auto-stat-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--color-primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    flex-shrink: 0;
    border: 1px solid rgba(59, 99, 207, 0.18);
}

.auto-stat-card__value {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.auto-stat-card__label {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ============================================
       TRUSTED PARTNER SECTION
    ============================================ */
.trusted-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

@media (min-width: 1024px) {
    .trusted-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.trusted-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--bg-dark-border);
}

.trusted-feature:last-child {
    border-bottom: none;
}

.trusted-feature__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--color-primary-50);
    border: 1px solid rgba(59, 99, 207, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    flex-shrink: 0;
    margin-top: 1px;
}

.trusted-feature__title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 3px;
}

.trusted-feature__text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================
       SERVICE CARDS
    ============================================ */
.service-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-border);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-werqai));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: rgba(59, 99, 207, 0.38);
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(59, 99, 207, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__number {
    font-family: var(--font-head);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    opacity: 0.65;
}

.service-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--color-primary-50);
    border: 1px solid rgba(59, 99, 207, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.service-card__title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 22px;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-card__tag {
    font-family: var(--font-head);
    font-size: 10.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(59, 99, 207, 0.08);
    border: 1px solid rgba(59, 99, 207, 0.14);
    color: var(--color-primary-light);
    letter-spacing: 0.03em;
}

/* ============================================
       SYSTEMS GRID
    ============================================ */
.systems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .systems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.system-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-border);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.system-item:hover {
    border-color: rgba(59, 99, 207, 0.3);
    background: rgba(13, 21, 37, 0.95);
}

.system-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--color-primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.system-item__text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.4;
}

/* ============================================
       SECTOR CARDS
    ============================================ */
.sector-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-border);
    border-radius: 14px;
    padding: 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sector-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-werqai), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.sector-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(14, 165, 233, 0.07);
}

.sector-card:hover::after {
    opacity: 1;
}

.sector-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-werqai);
    margin-bottom: 18px;
}

.sector-card__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.sector-card__text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
       TECHNOLOGY STACK
    ============================================ */
.tech-stack-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-border);
    border-radius: 14px;
    padding: 28px;
}

.tech-stack-card__label {
    font-family: var(--font-head);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.tech-stack-card__label--primary {
    color: var(--color-primary-light);
}

.tech-stack-card__label--werqai {
    color: var(--color-werqai);
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bg-dark-border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.tech-pill:hover {
    border-color: var(--color-primary);
    color: var(--text-white);
    background: var(--color-primary-50);
}

.tech-pill__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-primary-light);
    flex-shrink: 0;
}

.tech-pill__dot--werqai {
    background: var(--color-werqai);
}

/* ============================================
       PROCESS STEPS - REDESIGNED
    ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0;
    }
}

.process-step-v2 {
    position: relative;
    padding: 32px 24px;
    border: 1px solid var(--bg-dark-border);
    border-right: none;
    background: var(--bg-dark-card);
    transition: all 0.3s ease;
}

.process-step-v2:first-child {
    border-radius: 14px 0 0 14px;
}

.process-step-v2:last-child {
    border-right: 1px solid var(--bg-dark-border);
    border-radius: 0 14px 14px 0;
}

.process-step-v2:hover {
    background: rgba(59, 99, 207, 0.05);
}

@media (max-width: 767px) {
    .process-step-v2 {
        border: 1px solid var(--bg-dark-border);
        border-bottom: none;
        border-radius: 0;
    }

    .process-step-v2:first-child {
        border-radius: 12px 12px 0 0;
    }

    .process-step-v2:last-child {
        border-bottom: 1px solid var(--bg-dark-border);
        border-radius: 0 0 12px 12px;
    }
}

/* Arrow connector between steps */
.process-step-v2::after {
    content: '';
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--bg-darkest);
    border-top: 1px solid var(--bg-dark-border);
    border-right: 1px solid var(--bg-dark-border);
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
}

.process-step-v2:last-child::after {
    display: none;
}

@media (max-width: 767px) {
    .process-step-v2::after {
        display: none;
    }
}

.process-step-v2__num {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-step-v2__num::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary-100);
    border: 1.5px solid rgba(59, 99, 207, 0.3);
    flex-shrink: 0;
}

.process-step-v2__title {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.process-step-v2__text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================
       WHY CHOOSE US CARDS
    ============================================ */
.why-card {
    padding: 26px;
    border-radius: 12px;
    border: 1px solid var(--bg-dark-border);
    background: var(--bg-dark-card);
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: rgba(59, 99, 207, 0.28);
    box-shadow: 0 0 0 1px rgba(59, 99, 207, 0.08) inset;
}

.why-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.why-card__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(59, 99, 207, 0.12);
    border: 1px solid rgba(59, 99, 207, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary-light);
}

.why-card__text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 33px;
}

/* ============================================
       TESTIMONIALS
    ============================================ */
.auto-testimonial {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-border);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auto-testimonial::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 24px;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.08;
    pointer-events: none;
}

.auto-testimonial:hover {
    border-color: rgba(59, 99, 207, 0.25);
}

.auto-testimonial__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.auto-testimonial__star {
    color: #F59E0B;
    font-size: 13.5px;
}

.auto-testimonial__text {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
    margin-bottom: 24px;
}

.auto-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auto-testimonial__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-primary-100);
    border: 1.5px solid rgba(59, 99, 207, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.auto-testimonial__name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-white);
}

.auto-testimonial__role {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
       CTA BAND
    ============================================ */
.cta-band {
    background: linear-gradient(135deg, rgba(59, 99, 207, 0.09) 0%, rgba(14, 165, 233, 0.06) 100%);
    border: 1px solid rgba(59, 99, 207, 0.16);
    border-radius: 20px;
    padding: 64px 48px;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 99, 207, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-band::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 8%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.07), transparent 70%);
    pointer-events: none;
}

@media (max-width: 640px) {
    .cta-band {
        padding: 44px 28px;
    }
}
/* ═══════════════════════════════════════
   MOBILE RESPONSIVE FIXES — May 2026
   ═══════════════════════════════════════ */

@media (max-width: 1023px) {
  .auto-hero__visual {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 40px;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .trusted-grid {
    gap: 32px;
  }
  .sector-card__title {
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .auto-hero {
    padding-bottom: 60px;
    padding-top: calc(var(--nav-height) + 40px);
  }
  .auto-hero__title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .auto-hero__desc {
    font-size: 0.9375rem;
  }
  .service-card__icon {
    width: 40px;
    height: 40px;
  }
  .why-card {
    padding: 18px;
  }
  .why-card__title {
    font-size: 0.95rem;
  }
}
