/* Explain: Styles for UI components including buttons, cards, and chat elements. */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--agent-border);
}

.brand-mark {
    background-image: linear-gradient(135deg, #037BFC 0%, #4B5BFF 100%);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.section-kicker-strong {
    color: var(--accent-color);
    font-size: 0.8rem;
    letter-spacing: 0.24em;
}

.section-kicker-strong::before {
    width: 3.4rem;
    height: 2px;
    background: var(--accent-color);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid #D7E3F2;
    border-radius: 999px;
    background: #FFFFFF;
    padding: 0.5rem 1rem;
    color: #0B2D5C;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 20px rgba(11, 45, 92, 0.06);
}

.hero-badge-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    flex: none;
    border-radius: 999px;
    background: #0B2D5C;
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 252, 255, 0.82), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.media-frame::after {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(250, 252, 255, 0.5);
    border-radius: 1.9rem;
    content: "";
    pointer-events: none;
}

.media-frame-tall {
    aspect-ratio: 4 / 5;
    max-height: 640px;
}

.floating-card {
    position: absolute;
    right: -1.25rem;
    bottom: 2.5rem;
    display: flex;
    max-width: 270px;
    align-items: center;
    gap: 0.9rem;
    border-radius: 1.6rem;
    padding: 1rem 1.2rem;
}

.service-card {
    height: 100%;
    border-radius: 2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    border-color: rgba(3, 123, 252, 0.45);
    box-shadow: 0 26px 80px rgba(11, 45, 92, 0.12);
    transform: translateY(-6px);
}

.service-icon {
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.15rem;
}

.step-card {
    height: 100%;
    border-radius: 1.8rem;
    padding: 1.75rem;
}

.step-number {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
    opacity: 0.55;
}

.stat-card {
    border-radius: 1.7rem;
    padding: 1.75rem;
}

.stat-value {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1;
}

.quote-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border-radius: 2rem;
    padding: 2rem;
}

.value-card {
    height: 100%;
    border-radius: 1.8rem;
    padding: 1.75rem;
}

.team-card {
    height: 100%;
    overflow: hidden;
    border-radius: 2rem;
}

.form-panel {
    border-radius: 2.2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #0B5FB0;
}

.form-status.error {
    color: #9B4A3D;
}

.footer-heading {
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

html.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

html.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html.reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .floating-card {
        position: static;
        max-width: 100%;
        margin: -2.25rem auto 0;
    }

    .media-frame-tall {
        aspect-ratio: auto;
        max-height: none;
        height: 440px;
    }
}

.pricing-section {
    position: relative;
    background-color: #F1F6FD;
    background-image:
        linear-gradient(rgba(11, 45, 92, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 45, 92, 0.05) 1px, transparent 1px);
    background-size: 54px 54px;
}

.pricing-title-gradient {
    background-image: linear-gradient(90deg, #0B2D5C 0%, #037BFC 45%, #4B5BFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.price-card {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    border: 1px solid #D5E2F3;
    border-radius: 1.5rem;
    background: #FFFFFF;
    padding: 2rem 1.6rem;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(11, 45, 92, 0.07);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.price-card:hover {
    box-shadow: 0 28px 65px rgba(11, 45, 92, 0.12);
    transform: translateY(-6px);
}

.price-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.price-card-featured {
    border-color: transparent;
    background: linear-gradient(165deg, #071426 0%, #0B2D5C 55%, #3341C4 100%);
    box-shadow: 0 24px 60px rgba(11, 45, 92, 0.3);
}

.price-badge {
    position: absolute;
    top: -0.95rem;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #DCE8FF;
    padding: 0.4rem 1.1rem;
    color: #0B2D5C;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(11, 45, 92, 0.16);
}

.price-approx {
    display: inline-block;
    border-radius: 999px;
    background: #E2EDFF;
    padding: 0.35rem 0.85rem;
    color: #037BFC;
    font-size: 0.78rem;
    font-weight: 600;
}

.price-card-featured .price-approx {
    background: rgba(255, 255, 255, 0.16);
    color: #C9DBFF;
}

.price-divider {
    margin: 1.25rem 0;
    border-top: 1px solid #E1E9F5;
}

.price-card-featured .price-divider {
    border-top-color: rgba(255, 255, 255, 0.22);
}

.price-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--pricing-navy);
    font-size: 0.875rem;
    line-height: 1.4rem;
}

.price-card-featured .price-feature {
    color: rgba(255, 255, 255, 0.95);
}

.price-feature.is-off {
    color: var(--pricing-muted);
}

.price-card-featured .price-feature.is-off {
    color: rgba(255, 255, 255, 0.6);
}

.price-feature.is-off > span:last-child {
    text-decoration: line-through;
}

.price-feature-icon {
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    flex: none;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 999px;
    background: #E2EDFF;
    color: #037BFC;
    font-size: 0.55rem;
}

.price-card-featured .price-feature-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #C9DBFF;
}

.price-feature-icon.is-off {
    background: #EDF1F0;
    color: #A0ADA8;
}

.price-card-featured .price-feature-icon.is-off {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
}

.price-button {
    display: inline-flex;
    width: 100%;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #037BFC;
    border-radius: 999px;
    background: #FFFFFF;
    color: #037BFC;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

.price-card:hover .price-button {
    background: #EAF2FF;
}

.price-card-featured .price-button {
    border-color: transparent;
    background: #FFFFFF;
    color: #0B2D5C;
}

.price-card-featured:hover .price-button {
    background: #E6EFFF;
}

.seenit-section {
    border-top: 1px solid rgba(11, 45, 92, 0.08);
    border-bottom: 1px solid rgba(11, 45, 92, 0.08);
    background: #F0F6FD;
}

.seenit-kicker {
    display: inline-block;
    color: #037BFC;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.seenit-title {
    color: #0B2D5C;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.seenit-desc {
    color: #5B6B73;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.seenit-slideshow {
    position: relative;
    width: 100%;
    max-width: 68rem;
    margin-right: auto;
    margin-left: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #D7E3F2;
    border-radius: 1.5rem;
    background: #FFFFFF;
    box-shadow: 0 24px 60px rgba(11, 45, 92, 0.08);
}

.seenit-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 500ms ease;
    will-change: opacity;
}

.seenit-slide.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .seenit-slide {
        transition: none;
    }
}

@media (max-width: 767px) {
    .seenit-slideshow {
        aspect-ratio: 4 / 3;
        border-radius: 1.25rem;
    }
}

.form-label-ui {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--agent-navy);
    font-size: 0.85rem;
    font-weight: 600;
}

.faq-section {
    background: #F0F6FD;
}

.faq-eyebrow {
    color: #037BFC;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.faq-title {
    color: #0B2D5C;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.2vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.faq-list {
    display: grid;
    gap: 19px;
}

.faq-card {
    border: 1px solid #D7E3F2;
    border-radius: 17px;
    background: #FFFFFF;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(11, 45, 92, 0.06);
    transition: box-shadow 300ms ease;
}

.faq-card:hover {
    box-shadow: 0 18px 40px rgba(11, 45, 92, 0.09);
}

.faq-question-head {
    margin: 0;
}

.faq-question {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    font-family: var(--font-ui);
    color: #0B2D5C;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-question:focus-visible {
    outline: 2px solid #0B2D5C;
    outline-offset: 4px;
    border-radius: 6px;
}

.faq-question-text {
    flex: 1;
}

.faq-symbol {
    position: relative;
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: none;
    align-items: center;
    justify-content: center;
}

.faq-symbol::before,
.faq-symbol::after {
    position: absolute;
    background: #0B2D5C;
    border-radius: 2px;
    content: "";
    transition: transform 300ms ease, opacity 300ms ease;
}

.faq-symbol::before {
    width: 18px;
    height: 2px;
}

.faq-symbol::after {
    width: 2px;
    height: 18px;
}

.faq-card.is-collapsed .faq-symbol::after {
    transform: scaleY(0);
    opacity: 0;
}

.faq-answer {
    overflow: hidden;
    max-height: 40rem;
    opacity: 1;
    transition: max-height 350ms ease, opacity 300ms ease, margin-top 350ms ease;
}

.faq-answer > p {
    margin: 22px 0 0;
    color: #526A8D;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.faq-card.is-collapsed .faq-answer {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer,
    .faq-symbol::before,
    .faq-symbol::after {
        transition: none;
    }
}

@media (max-width: 767px) {
    .faq-card {
        padding: 20px;
    }

    .faq-question {
        gap: 1rem;
    }
}

.cta-band {
    border-radius: 1.75rem;
    padding: clamp(2.25rem, 5vw, 3.5rem);
    background-image: linear-gradient(90deg, #071426 0%, #0B2D5C 50%, #3341C4 100%);
    box-shadow: 0 26px 60px rgba(11, 45, 92, 0.25);
}

@media (max-width: 767px) {
    .cta-band {
        border-radius: 1.5rem;
    }
}

.chat-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: transparent;
    padding: 34px 18px 40px;
}

.chat-device {
    max-width: 340px;
    margin: 0 auto;
    background: #0B1F35;
    border-radius: 2.6rem;
    padding: 12px;
    box-shadow: 0 30px 70px rgba(11, 31, 53, 0.28);
}

.chat-shell {
    background: #F7F7F5;
    border-radius: 2.1rem;
    padding: 5px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.chat-screen {
    border-radius: 1.9rem;
    overflow: hidden;
    background: #ffffff;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #0B2D5C;
    padding: 13px 15px;
}

.chat-avatar {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #C7DCF6;
    color: #0B2D5C;
    font-size: 16px;
}

.chat-name {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.chat-status {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    line-height: 1.2;
}

.chat-body {
    display: flex;
    height: 360px;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    background: #EEF2F7;
    padding: 16px 14px;
    scrollbar-width: none;
}

.chat-body::-webkit-scrollbar {
    display: none;
}

.chat-msg {
    display: none;
    max-width: 80%;
    flex-direction: column;
    padding: 9px 12px 6px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.chat-msg p {
    margin: 0;
}

.chat-msg.is-shown {
    display: flex;
    animation: chatPop 300ms ease;
}

.chat-in {
    align-self: flex-start;
    background: #ffffff;
    color: #20303B;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(11, 31, 53, 0.08);
}

.chat-out {
    align-self: flex-end;
    background: #DCE7FF;
    color: #10224A;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(11, 31, 53, 0.08);
}

.chat-time {
    align-self: flex-end;
    margin-top: 3px;
    color: #8FA3AD;
    font-size: 10px;
    line-height: 1;
}

.chat-typing {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 13px 14px;
}

.chat-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    animation: chatDotPulse 1.2s infinite ease-in-out;
}

.chat-typing.chat-out .chat-dot {
    background: #4B7FE0;
}

.chat-typing.chat-in .chat-dot {
    background: #B9C2C8;
}

.chat-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-dot:nth-child(3) {
    animation-delay: 0.3s;
}

.chat-badge {
    position: absolute;
    top: 14px;
    right: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(11, 31, 53, 0.16);
}

.chat-badge-label {
    color: #7C8B93;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.chat-badge-value {
    color: #0B2D5C;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.chat-appt {
    position: absolute;
    left: 2px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(11, 31, 53, 0.18);
}

.chat-appt-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #DCE8FF;
    color: #0B2D5C;
    font-size: 16px;
}

.chat-appt-title {
    margin: 0;
    color: #0B1F35;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.chat-appt-sub {
    margin: 2px 0 0;
    color: #7C8B93;
    font-size: 11px;
    line-height: 1.2;
}

.chat-appt.is-pulse {
    animation: chatApptPulse 900ms ease;
}

@keyframes chatPop {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes chatDotPulse {
    0%, 60%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@keyframes chatApptPulse {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-msg.is-shown,
    .chat-appt.is-pulse,
    .chat-dot {
        animation: none;
    }
}

@media (max-width: 1023px) {
    .chat-stage {
        max-width: 380px;
    }
}

@media (max-width: 480px) {
    .chat-stage {
        padding: 26px 12px 34px;
    }

    .chat-badge {
        top: 10px;
        right: 0;
    }

    .chat-appt {
        left: 0;
        bottom: 12px;
    }

    .chat-body {
        height: 300px;
    }
}