#hero {
    --hero-blue: #1a71ee;
    --navy: #0b1220;
    --navy-80: rgba(11, 18, 32, 0.8);
    --navy-50: rgba(11, 18, 32, 0.5);
}

#hero .font-hand {
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

#hero .btn3d {
    position: relative;
    display: block;
}

#hero .btn3d .base {
    position: absolute;
    inset: 0;
    top: 4px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.2);
}

#hero .btn3d .top {
    position: relative;
    z-index: 1;
}

#hero .btn3d .glare {
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
    animation: hero-glare 4.2s ease-in-out infinite;
    animation-delay: var(--glare-delay, 0s);
    pointer-events: none;
}

@keyframes hero-glare {
    0%, 72%, 100% { left: -120%; opacity: 0; }
    8% { opacity: 1; }
    38% { left: 140%; opacity: 1; }
    45% { opacity: 0; }
}

#hero .marquee-row {
    display: flex;
    overflow: hidden;
    width: 100%;
}

#hero .marquee-track {
    display: flex;
    width: max-content;
    animation: hero-marquee var(--marquee-duration, 70s) linear infinite;
}

@keyframes hero-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

#hero .service-chip {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 4px 16px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

#hero .hero-app-icon-wrap {
    padding: 2.547px;
    border-radius: 20.13px;
    background: #fff;
    box-shadow: 0 11px 48px rgba(38, 199, 254, 0.7);
}

#hero .hero-app-icon {
    width: 67.9px;
    height: 67.9px;
    border-radius: 17.58px;
    display: block;
}

#hero .phone-stage {
    position: relative;
    height: 455px;
    width: 296px;
    transform: translateX(16px);
}

#hero .phone-bezel {
    pointer-events: none;
    position: absolute;
    top: -15.5px;
    left: -15.5px;
    width: 296px;
    height: 620px;
    max-width: none;
    z-index: 1;
}

#hero .phone-canvas {
    position: relative;
    width: 296px;
    height: 455px;
}

#hero .phone-status-time {
    position: absolute;
    top: 16.5px;
    left: 35px;
    height: 8.5px;
    width: 22.5px;
    z-index: 22;
}

#hero .phone-status-icons {
    position: absolute;
    top: 16.5px;
    left: 187px;
    height: 9px;
    width: 51px;
    z-index: 22;
}

#hero .phone-app-bar {
    position: absolute;
    top: 50.2px;
    left: 132px;
    z-index: 22;
    display: flex;
    transform: translateX(-50%);
    align-items: center;
    gap: 3.3px;
}

#hero .phone-app-icon-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 0.7px;
    border-radius: 4.35px;
    box-shadow:
        0 2.06px 1.03px rgba(17, 157, 228, 0.09),
        0 0.46px 0.57px rgba(17, 157, 228, 0.1);
}

#hero .phone-app-icon {
    width: 18.3px;
    height: 18.3px;
    border-radius: 3.7px;
    display: block;
}

#hero .phone-app-name {
    font-size: 13.1px;
    font-weight: 700;
    letter-spacing: -0.13px;
    white-space: nowrap;
    color: var(--navy);
}

#hero .service-icon-wrap {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero .service-icon-wrap.lg { width: 33.9px; height: 33.9px; }
#hero .service-icon-wrap.sm { width: 26.4px; height: 26.4px; }

#hero .service-icon-wrap.lg img.service-icon { width: 28.3px; height: 28.3px; border-radius: 6.2px; object-fit: cover; display: block; }
#hero .service-icon-wrap.sm img.service-icon { width: 22px; height: 22px; border-radius: 4.8px; object-fit: cover; display: block; }

#hero .service-flag {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    border: 1.5px solid #fff;
    background: #fff;
}

#hero .service-icon-wrap.lg .service-flag { width: 19px; height: 19px; }
#hero .service-icon-wrap.sm .service-flag { width: 15px; height: 15px; border-width: 1.2px; right: -1.5px; bottom: -1.5px; }

#hero .service-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero .phone-number-pill {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f2f2f2;
    color: var(--navy-50);
    font-weight: 500;
    white-space: pre;
}

#hero .phone-number-pill.lg {
    padding: 8.5px 10.4px;
    font-size: 17px;
    line-height: 1;
}

#hero .phone-number-pill.sm {
    padding: 6.6px 8.1px;
    font-size: 13.2px;
    line-height: 1;
}

#hero .phone-number-pill .copy-icon {
    position: absolute;
    right: 10.4px;
    width: 17px;
    height: 17px;
}

#hero .phone-number-pill.sm .copy-icon {
    right: 8.1px;
    width: 13.2px;
    height: 13.2px;
}

#hero .bubble {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    border-radius: 20px;
    background: #307aff;
    color: #fff;
    overflow: visible;
}

#hero .bubble::before,
#hero .bubble::after {
    content: "";
    position: absolute;
    bottom: 0;
}

#hero .bubble::before {
    background: #307aff;
}

#hero .bubble::after {
    background: #fff;
}

#hero .bubble-lg::before {
    border-bottom-left-radius: 16px 14px;
    width: 20px;
    height: 25px;
    right: -7px;
}

#hero .bubble-lg::after {
    border-bottom-left-radius: 10px;
    width: 26px;
    height: 25px;
    right: -26px;
}

#hero .bubble-sm::before {
    border-bottom-left-radius: 13px 11px;
    width: 16px;
    height: 20px;
    right: -5.5px;
}

#hero .bubble-sm::after {
    border-bottom-left-radius: 8px;
    width: 20px;
    height: 20px;
    right: -20px;
}

#hero .bubble-lg {
    min-height: 46.3px;
    border-radius: 20px;
}

#hero .bubble-sm {
    min-height: 35.9px;
    border-radius: 15px;
}

#hero .bubble-lg p { font-size: 17.8px; line-height: 1; padding: 0 17.8px; }
#hero .bubble-sm p { font-size: 13.8px; line-height: 1; padding: 0 13.8px; }

#hero .bubble .tail-light {
    position: absolute;
    bottom: 0;
    mix-blend-mode: hard-light;
    background: linear-gradient(122deg, rgba(255, 255, 255, 0) 37%, rgba(255, 255, 255, 0.6));
    pointer-events: none;
}

#hero .bubble-lg .tail-light {
    border-bottom-left-radius: 12px 13.5px;
    width: 12px;
    height: 30px;
    right: -7px;
}

#hero .bubble-sm .tail-light {
    border-bottom-left-radius: 9.6px 10.8px;
    width: 9.6px;
    height: 24px;
    right: -5.5px;
}

#hero .text-navy { color: var(--navy); }
#hero .text-navy-80 { color: var(--navy-80); }
#hero .text-navy-50 { color: var(--navy-50); }
