/* Auto World Section */
.auto-world {
    display: grid;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

@media (min-width: 960px) {
    .auto-world {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: var(--space-xl);
        row-gap: var(--space-md);
    }

    .auto-world__visual {
        grid-column: 2;
        grid-row: 1 / -1;
    }
}

.auto-world__copy {
    display: grid;
    gap: 0;
}

.auto-world__copy .section__eyebrow {
    margin-bottom: var(--space-xs);
}

.auto-world__title {
    margin-bottom: var(--space-sm);
    max-width: 16ch;
}

.auto-world__copy .section__text + .section__text {
    margin-top: var(--space-xs);
}

.auto-world__action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
}

@media (min-width: 960px) {
    .auto-world__action {
        align-items: flex-start;
    }
}

.auto-world__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem 0.75rem;
}

.auto-world__tag {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(180, 191, 208, 0.82);
}

.auto-world__tag-divider {
    width: 1.25rem;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(77, 212, 255, 0.05),
        rgba(77, 212, 255, 0.45),
        rgba(123, 92, 240, 0.25),
        rgba(77, 212, 255, 0.05)
    );
    box-shadow: 0 0 8px rgba(77, 212, 255, 0.2);
}

.auto-world__visual {
    position: relative;
    min-height: 0;
}

@media (min-width: 960px) {
    .auto-world__visual {
        align-self: center;
    }
}

/* Auto Portal Visual */
.auto-portal {
    --apx: 0px;
    --apy: 0px;
    position: relative;
    width: 100%;
    perspective: 900px;
    transform-style: preserve-3d;
}

.auto-portal__halo {
    position: absolute;
    inset: 0;
    top: 2%;
    bottom: 2%;
    background:
        radial-gradient(ellipse 75% 68% at 50% 52%, rgba(77, 212, 255, 0.22) 0%, transparent 64%),
        radial-gradient(ellipse 95% 82% at 50% 50%, rgba(91, 154, 255, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 100% 90% at 50% 50%, rgba(123, 92, 240, 0.08) 0%, transparent 76%);
    filter: blur(34px);
    pointer-events: none;
    animation: auto-portal-glow 9s ease-in-out infinite;
}

.auto-portal__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    pointer-events: none;
}

.auto-portal__glow--cyan {
    width: 42%;
    height: 38%;
    bottom: 10%;
    right: 8%;
    background: rgba(77, 212, 255, 0.14);
    animation: glow-pulse 10s ease-in-out infinite;
}

.auto-portal__glow--violet {
    width: 36%;
    height: 32%;
    top: 12%;
    left: 6%;
    background: rgba(123, 92, 240, 0.12);
    animation: glow-pulse 12s ease-in-out infinite reverse;
}

.auto-portal__surface {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    transform-style: preserve-3d;
    transform:
        rotateY(-10deg) rotateX(5deg)
        translate(calc(var(--apx) * 0.35), calc(var(--apy) * 0.25));
}

.auto-portal__grid {
    position: absolute;
    inset: 12%;
    background-image:
        linear-gradient(rgba(180, 191, 208, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 191, 208, 0.015) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 78%);
    pointer-events: none;
    opacity: 0.38;
}

.auto-portal__glass {
    position: relative;
    width: min(100%, 26rem);
    aspect-ratio: 1.15;
    overflow: hidden;
    border-radius: 1.625rem;
    background: linear-gradient(
        152deg,
        rgba(28, 46, 78, 0.24) 0%,
        rgba(14, 24, 44, 0.1) 48%,
        rgba(20, 34, 58, 0.18) 100%
    );
    backdrop-filter: blur(28px) saturate(1.08);
    -webkit-backdrop-filter: blur(28px) saturate(1.08);
    border: 1px solid rgba(77, 212, 255, 0.11);
    box-shadow:
        0 52px 104px rgba(0, 0, 0, 0.26),
        0 28px 56px rgba(0, 0, 0, 0.14),
        0 0 72px rgba(77, 212, 255, 0.07),
        0 0 128px rgba(91, 154, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 0 48px rgba(77, 212, 255, 0.03);
    transform: translateZ(16px);
}

.auto-portal__light {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 58% 48% at 50% 54%, rgba(77, 212, 255, 0.2) 0%, transparent 58%),
        radial-gradient(ellipse 78% 62% at 50% 50%, rgba(91, 154, 255, 0.11) 0%, transparent 64%),
        radial-gradient(ellipse 88% 72% at 50% 50%, rgba(123, 92, 240, 0.06) 0%, transparent 68%),
        radial-gradient(ellipse 75% 55% at 22% 18%, rgba(77, 212, 255, 0.07) 0%, transparent 54%),
        radial-gradient(ellipse 65% 50% at 82% 82%, rgba(123, 92, 240, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.auto-portal__reflection {
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 42%,
        rgba(77, 212, 255, 0.06) 50%,
        rgba(214, 185, 120, 0.02) 56%,
        transparent 100%
    );
    animation: showcase-shimmer 11s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.auto-portal__edge {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 1px 0 0 rgba(77, 212, 255, 0.04),
        inset 0 -1px 0 rgba(123, 92, 240, 0.03);
    opacity: 0.75;
    animation: showcase-edge-pulse 8s ease-in-out infinite;
    z-index: 3;
}

.auto-portal__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
}

.auto-portal__line {
    fill: none;
    stroke: url(#auto-portal-line-grad);
    stroke-width: 1;
    stroke-linecap: round;
    animation: auto-portal-line-drift 14s ease-in-out infinite;
}

.auto-portal__line--2 {
    stroke-width: 0.7;
    opacity: 0.6;
    animation-delay: 1.5s;
}

.auto-portal__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.auto-portal__particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px rgba(77, 212, 255, 0.5);
}

.auto-portal__particle:nth-child(1) { top: 22%; left: 78%; animation: particle-float 15s ease-in-out infinite; }
.auto-portal__particle:nth-child(2) { top: 68%; left: 16%; animation: particle-float 17s ease-in-out infinite 1s; opacity: 0.45; }
.auto-portal__particle:nth-child(3) { top: 38%; left: 12%; animation: particle-float 13s ease-in-out infinite 0.5s; opacity: 0.35; }
.auto-portal__particle:nth-child(4) { top: 58%; left: 84%; animation: particle-float 16s ease-in-out infinite 2s; opacity: 0.4; }

.auto-portal__logo-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.75rem;
    z-index: 4;
}

.auto-world__visual.is-visible .auto-portal__logo-wrap {
    animation: auto-logo-emerge 1.1s var(--ease-out) both;
}

.auto-portal__logo {
    display: block;
    width: min(100%, 17rem);
    height: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    filter:
        brightness(0) invert(1) contrast(1.06)
        drop-shadow(0 0 10px rgba(180, 220, 255, 0.24))
        drop-shadow(0 0 22px rgba(77, 212, 255, 0.2))
        drop-shadow(0 0 40px rgba(91, 154, 255, 0.1))
        drop-shadow(0 4px 16px rgba(0, 0, 0, 0.28));
}

@media (max-width: 959px) {
    .auto-portal__line--2 {
        display: none;
    }

    .auto-portal__surface {
        transform: rotateY(-6deg) rotateX(3deg);
    }

    .auto-portal__logo {
        width: min(100%, 14.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auto-portal__halo,
    .auto-portal__glow,
    .auto-portal__reflection,
    .auto-portal__edge,
    .auto-portal__line,
    .auto-portal__particle,
    .auto-world__visual.is-visible .auto-portal__logo-wrap {
        animation: none;
    }

    .section__backdrop--auto-aurora {
        animation: none;
    }
}

/* Vision Section */
.vision__header {
    margin-bottom: var(--space-lg);
    max-width: 44rem;
}

.vision__title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--space-md);
    background: linear-gradient(
        135deg,
        var(--text-primary) 0%,
        rgba(180, 191, 208, 0.85) 60%,
        var(--violet) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vision__text {
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 40rem;
}

.vision__grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .vision__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

.vision__item {
    position: relative;
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(
        145deg,
        rgba(23, 38, 64, 0.5) 0%,
        rgba(16, 27, 50, 0.35) 100%
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        border-color var(--duration-base) var(--ease-soft),
        box-shadow var(--duration-base) var(--ease-soft);
}

.vision__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 60% at 100% 0%,
        rgba(91, 154, 255, 0.06) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.vision__item:first-child {
    padding: var(--space-md) var(--space-md);
    border-color: rgba(180, 191, 208, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.vision__item:first-child::before {
    background: radial-gradient(
        ellipse 80% 60% at 80% 20%,
        rgba(91, 154, 255, 0.06) 0%,
        transparent 65%
    );
}

.vision__item:first-child .vision__number {
    font-size: clamp(1.625rem, 3.2vw, 2.125rem);
    color: rgba(180, 191, 208, 0.7);
    opacity: 0.75;
    text-shadow: none;
}

.vision__item:first-child .vision__item-title {
    font-size: 1rem;
}

.vision__item:first-child .vision__status--active {
    font-size: 0.6875rem;
    text-shadow: none;
    color: rgba(77, 212, 255, 0.75);
}

.vision__item:last-child {
    opacity: 1;
    padding: var(--space-lg);
    border-color: rgba(123, 92, 240, 0.18);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.22),
        0 0 40px rgba(123, 92, 240, 0.08),
        0 0 64px rgba(91, 154, 255, 0.05);
}

.vision__item:last-child::before {
    background:
        radial-gradient(ellipse 85% 70% at 20% 15%, rgba(123, 92, 240, 0.12) 0%, transparent 58%),
        radial-gradient(ellipse 75% 60% at 85% 85%, rgba(77, 212, 255, 0.08) 0%, transparent 55%);
}

.vision__item:last-child::after {
    content: "";
    position: absolute;
    bottom: 22%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(123, 92, 240, 0.28) 30%,
        rgba(77, 212, 255, 0.22) 70%,
        transparent 100%
    );
    box-shadow: 0 0 12px rgba(123, 92, 240, 0.15);
    pointer-events: none;
    opacity: 0.7;
}

.vision__item:last-child .vision__number {
    color: var(--violet);
    opacity: 0.85;
    text-shadow: 0 0 20px rgba(123, 92, 240, 0.25);
}

.vision__item:last-child:hover {
    opacity: 1;
    border-color: rgba(123, 92, 240, 0.28);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.24),
        0 0 48px rgba(123, 92, 240, 0.1),
        0 0 72px rgba(91, 154, 255, 0.06);
}

.vision__item:hover {
    border-color: rgba(180, 191, 208, 0.18);
}

.vision__number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.vision__item-body {
    position: relative;
    z-index: 1;
}

.vision__item-title {
    font-size: 1.125rem;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-xs);
}

.vision__status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.vision__status--active {
    color: var(--cyan);
    text-shadow: 0 0 12px rgba(77, 212, 255, 0.25);
}

/* Brand Section */
.brand-statement {
    margin-bottom: calc(var(--space-xl) * 0.85);
    padding-bottom: calc(var(--space-lg) * 0.9);
    border-bottom: 1px solid var(--border-subtle);
}

.brand-statement__title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    max-width: 18ch;
}

.brand-statement__accent {
    background: linear-gradient(135deg, var(--champagne) 0%, var(--blue-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-pillars {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .brand-pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: calc(var(--space-xl) * 0.85);
    }
}

.brand-pillar {
    position: relative;
    padding: var(--space-md) 0 var(--space-md) var(--space-md);
}

.brand-pillar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 2px;
    background: linear-gradient(
        180deg,
        var(--blue-accent) 0%,
        var(--violet) 50%,
        var(--champagne) 100%
    );
    border-radius: 1px;
    opacity: 0.7;
    box-shadow: 0 0 12px rgba(91, 154, 255, 0.2);
}

.brand-pillar__title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--champagne);
    margin-bottom: var(--space-xs);
}

.brand-pillar__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Brand Closure */
.brand-closure {
    position: relative;
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
    padding-block: calc(var(--space-md) * 0.85);
}

.brand-closure__beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 48rem);
    height: 1px;
    transform: translate(-50%, -50%);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(77, 212, 255, 0.08) 15%,
        rgba(91, 154, 255, 0.35) 50%,
        rgba(123, 92, 240, 0.2) 85%,
        transparent 100%
    );
    box-shadow: 0 0 24px rgba(77, 212, 255, 0.12);
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

.brand-closure__title {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: var(--space-md);
    background: linear-gradient(
        135deg,
        var(--text-primary) 0%,
        rgba(180, 191, 208, 0.9) 55%,
        var(--cyan) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 32px rgba(91, 154, 255, 0.12));
}

.brand-closure__text {
    position: relative;
    z-index: 1;
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.brand-closure__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(180, 191, 208, 0.88);
    text-decoration: none;
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(77, 212, 255, 0.18);
    transition:
        color var(--duration-base) var(--ease-soft),
        border-color var(--duration-base) var(--ease-soft);
}

.brand-closure__link:hover {
    color: var(--text-primary);
    border-color: rgba(77, 212, 255, 0.38);
}

.brand-closure__link-arrow {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.75;
    transition: transform var(--duration-base) var(--ease-out);
}

.brand-closure__link:hover .brand-closure__link-arrow {
    transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
    .brand-closure__link:hover .brand-closure__link-arrow {
        transform: none;
    }
}
