﻿@import url('https://fonts.googleapis.com/css2?family=Syne:wght@800&family=DM+Sans:wght@300;400;500&display=swap');

.arc-adcard {
    position: relative;
    border-radius: 20px;
    padding: 26px 26px 22px;
    overflow: hidden;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'DM Sans', sans-serif;
    isolation: isolate;
    transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s ease;
}

.arc-adcard:hover {
    transform: translateY(-4px) scale(1.005);
}

.arc-motor {
    background: linear-gradient(135deg, #0b1120 0%, #0f1e3a 45%, #0d1629 100%);
    box-shadow: 0 0 0 1px rgba(96,165,250,.12), 0 20px 60px rgba(0,0,0,.5), 0 0 80px rgba(30,64,175,.15);
    color: #e2eaf8;
}

    .arc-motor:hover {
        box-shadow: 0 0 0 1px rgba(96,165,250,.25), 0 28px 70px rgba(0,0,0,.55), 0 0 100px rgba(30,64,175,.25);
    }

.arc-health {
    background: linear-gradient(135deg, #081a12 0%, #0d2b1c 45%, #081a10 100%);
    box-shadow: 0 0 0 1px rgba(52,211,153,.12), 0 20px 60px rgba(0,0,0,.5), 0 0 80px rgba(5,150,105,.15);
    color: #d6f0e4;
}

    .arc-health:hover {
        box-shadow: 0 0 0 1px rgba(52,211,153,.25), 0 28px 70px rgba(0,0,0,.55), 0 0 100px rgba(5,150,105,.25);
    }

/* Orbs */
.arc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(52px);
    pointer-events: none;
    z-index: 0;
    animation: arc-float 8s ease-in-out infinite;
}

.arc-motor .arc-orb-1 {
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, rgba(59,130,246,.3) 0%, transparent 70%);
    top: -55px;
    right: -35px;
}

.arc-motor .arc-orb-2 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(139,92,246,.2) 0%, transparent 70%);
    bottom: 20px;
    left: -25px;
    animation-delay: -3s;
}

.arc-health .arc-orb-h1 {
    width: 190px;
    height: 190px;
    background: radial-gradient(circle, rgba(16,185,129,.3) 0%, transparent 70%);
    top: -55px;
    right: -35px;
    animation-delay: -1.5s;
}

.arc-health .arc-orb-h2 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(251,191,36,.15) 0%, transparent 70%);
    bottom: 20px;
    left: -25px;
    animation-delay: -4s;
}

@keyframes arc-float {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    33% {
        transform: translate(14px,-18px) scale(1.08);
    }

    66% {
        transform: translate(-9px,14px) scale(.95);
    }
}

/* Grid */
.arc-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* Shimmer border */
.arc-adcard::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02), rgba(255,255,255,.12));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .5;
    transition: opacity .4s ease;
}

.arc-adcard:hover::after {
    opacity: 1;
}

/* Eyebrow */
.arc-eyebrow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 0;
    animation: arc-fadein .6s .1s ease forwards;
}

.arc-motor .arc-eyebrow {
    color: #93c5fd;
}

.arc-health .arc-eyebrow {
    color: #6ee7b7;
}

.arc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    animation: arc-pulse-dot 2s ease-in-out infinite;
}

.arc-dot-motor {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59,130,246,.8);
}

.arc-dot-health {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16,185,129,.8);
}

@keyframes arc-pulse-dot {
    0%,100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: .7;
    }
}

/* Headline */
.arc-headline {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    opacity: 0;
    animation: arc-slidein .7s .25s cubic-bezier(.16,1,.3,1) forwards;
}

.arc-hl-line {
    font-family: 'Syne', sans-serif;
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

.arc-accent-motor {
    background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.arc-accent-health {
    background: linear-gradient(90deg, #34d399 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtext */
.arc-sub {
    position: relative;
    z-index: 1;
    font-size: 12.5px;
    line-height: 1.6;
    font-weight: 300;
    color: #94a3b8;
    opacity: 0;
    animation: arc-fadein .7s .45s ease forwards;
}

/* Motor tiers */
.arc-tiers {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    animation: arc-slidein .7s .6s cubic-bezier(.16,1,.3,1) forwards;
}

.arc-tier {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 13px;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

    .arc-tier:hover {
        background: rgba(255,255,255,.08);
        border-color: rgba(96,165,250,.3);
        transform: translateX(5px);
    }

    .arc-tier > div:last-child {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .arc-tier strong {
        font-size: 13px;
        font-weight: 500;
        color: #e2eaf8;
        display: block;
    }

    .arc-tier span {
        font-size: 10.5px;
        color: #64748b;
        font-weight: 300;
    }

.arc-tier-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arc-icon-monthly {
    background: rgba(59,130,246,.15);
    color: #60a5fa;
}

    .arc-icon-monthly svg, .arc-icon-tp svg, .arc-icon-comp svg {
        width: 16px;
        height: 16px;
    }

.arc-icon-tp {
    background: rgba(139,92,246,.15);
    color: #a78bfa;
}

.arc-icon-comp {
    background: rgba(16,185,129,.15);
    color: #34d399;
}

/* Health chips */
.arc-chips-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    opacity: 0;
    animation: arc-fadein .7s .55s ease forwards;
}

.arc-chip {
    padding: 8px 14px;
    font-size: 12.5px;
    gap: 7px;
}

    .arc-chip:hover {
        transform: translateY(-2px) scale(1.04);
    }

.arc-chip-1, .arc-chip-3, .arc-chip-5 {
    background: rgba(16,185,129,.1);
    border-color: rgba(16,185,129,.25);
    color: #6ee7b7;
}

.arc-chip-2, .arc-chip-4, .arc-chip-6 {
    background: rgba(251,191,36,.08);
    border-color: rgba(251,191,36,.2);
    color: #fcd34d;
}

.arc-chip-1 {
    animation: arc-chipIn .4s .6s ease both;
}

.arc-chip-2 {
    animation: arc-chipIn .4s .7s ease both;
}

.arc-chip-3 {
    animation: arc-chipIn .4s .8s ease both;
}

.arc-chip-4 {
    animation: arc-chipIn .4s .9s ease both;
}

.arc-chip-5 {
    animation: arc-chipIn .4s 1.0s ease both;
}

.arc-chip-6 {
    animation: arc-chipIn .4s 1.1s ease both;
}

@keyframes arc-chipIn {
    from {
        opacity: 0;
        transform: scale(.75) translateY(6px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Heartbeat */
.arc-pulse-bar {
    position: relative;
    z-index: 1;
    height: 56px;
    opacity: 0;
    animation: arc-fadein .5s 1.1s ease forwards;
}

    .arc-pulse-bar svg {
        width: 100%;
        height: 56px;
    }

.arc-hb-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: arc-hb-draw 1.4s 1.2s cubic-bezier(.4,0,.2,1) forwards, arc-hb-glow 2s 2.6s ease-in-out infinite;
}

@keyframes arc-hb-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes arc-hb-glow {
    0%,100% {
        opacity: .7;
        filter: drop-shadow(0 0 2px rgba(16,185,129,.4));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(16,185,129,.8));
    }
}

/* Car silhouette */
.arc-car-silhouette {
    position: absolute;
    bottom: 58px;
    right: -8px;
    width: 240px;
    z-index: 0;
    pointer-events: none;
    color: #3b82f6;
    opacity: 0;
    animation: arc-carin 1s .8s ease forwards;
}

@keyframes arc-carin {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Footer */
.arc-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    opacity: 0;
    animation: arc-fadein .6s .9s ease forwards;
}

.arc-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s cubic-bezier(.23,1,.32,1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

    .arc-cta::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
        transform: translateX(-100%);
        transition: transform .5s ease;
    }

    .arc-cta:hover::before {
        transform: translateX(100%);
    }

.arc-cta-motor {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59,130,246,.35);
}

    .arc-cta-motor:hover {
        box-shadow: 0 6px 28px rgba(59,130,246,.55);
        transform: translateY(-2px);
        color: #fff;
    }

.arc-cta-health {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16,185,129,.35);
}

    .arc-cta-health:hover {
        box-shadow: 0 6px 28px rgba(16,185,129,.55);
        transform: translateY(-2px);
        color: #fff;
    }

.arc-badge-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.arc-badge {
    font-size: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.45);
    font-weight: 400;
    letter-spacing: .03em;
}

.arc-badge-h {
    color: rgba(110,231,183,.6);
    border-color: rgba(16,185,129,.15);
    background: rgba(16,185,129,.06);
}

@keyframes arc-fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes arc-slidein {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}