/* Supplemental Avian site enhancements */

.logo-icon,
.legacy-hero {
    display: none !important;
}

.logo-brand {
    gap: 0.9rem;
}

.brand-mark {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(23, 133, 130, 0.18), rgba(10, 24, 40, 0.04));
    box-shadow: 0 16px 32px rgba(10, 24, 40, 0.12);
    flex-shrink: 0;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-wordmark {
    display: block;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.logo-text.logo-stack {
    gap: 0.18rem;
}

.logo-stack .logo-accent {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1.05;
}

.footer-logo {
    gap: 1rem;
    align-items: center;
}

.footer-logo .brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.footer-logo .logo-wordmark {
    color: var(--white);
}

.footer-logo .logo-accent {
    color: rgba(255, 255, 255, 0.72);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 124px 0 88px;
    background:
        radial-gradient(circle at top left, rgba(23, 133, 130, 0.18), transparent 34%),
        radial-gradient(circle at 85% 18%, rgba(255, 107, 53, 0.14), transparent 20%),
        linear-gradient(135deg, #f7fcfd 0%, #edf8fb 46%, #d8edf4 100%);
}

.hero::before {
    content: '';
    position: absolute;
    right: -8%;
    bottom: -28%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(23, 133, 130, 0.2), transparent 70%);
    animation: ambientPulse 10s ease-in-out infinite;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
}

.orb-one {
    top: 160px;
    right: 12%;
    width: 170px;
    height: 170px;
    background: rgba(23, 133, 130, 0.16);
    animation: drift 12s ease-in-out infinite;
}

.orb-two {
    bottom: 90px;
    left: -34px;
    width: 140px;
    height: 140px;
    background: rgba(255, 107, 53, 0.14);
    animation: drift 14s ease-in-out infinite reverse;
}

.hero-container {
    align-items: center;
    gap: 3.5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.4s ease;
}

.hero-brand-line {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1.3rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(23, 133, 130, 0.15);
    border-radius: 999px;
    box-shadow: 0 16px 30px rgba(10, 24, 40, 0.08);
}

.hero-inline-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(10, 24, 40, 0.16);
}

.hero-brand-line span {
    font-weight: 700;
    color: var(--primary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #178582 0%, #1095b4 44%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    max-width: 40rem;
}

.hero-mini-highlights {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.75rem;
    max-width: 41rem;
}

.mini-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(10, 24, 40, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(10, 24, 40, 0.06);
}

.mini-highlight i {
    color: var(--secondary);
    margin-top: 0.2rem;
}

.mini-highlight span {
    color: var(--text);
    font-weight: 600;
}

.hero-media-shell {
    display: block;
    position: relative;
    height: auto;
    min-height: 0;
    animation: fadeInRight 0.45s ease;
}

.hero-video-card {
    position: relative;
    padding: 1.2rem;
    background:
        linear-gradient(160deg, rgba(10, 24, 40, 0.98) 0%, rgba(12, 46, 72, 0.96) 60%, rgba(23, 133, 130, 0.88) 100%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 70px rgba(10, 24, 40, 0.24);
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.hero-video-card::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.24), transparent 70%);
    pointer-events: none;
}

.video-card-top,
.hero-stat-strip,
.video-fallback-note {
    position: relative;
    z-index: 1;
}

.video-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.video-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-card-top a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
    font-size: 0.92rem;
}

.video-card-top a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #08131f;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 9;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-fallback-note {
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
}

.hero-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.stat-pill {
    padding: 0.9rem 0.85rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.stat-pill strong {
    display: block;
    margin-bottom: 0.22rem;
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1.1;
}

.stat-pill span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 40px rgba(10, 24, 40, 0.14);
    font-weight: 700;
    color: var(--primary);
    animation: floatBadge 7s ease-in-out infinite;
}

.floating-badge i {
    color: var(--secondary);
}

.badge-report {
    top: -18px;
    right: 38px;
}

.badge-mobile {
    left: 28px;
    bottom: -18px;
    animation-delay: 1.4s;
}

.media-card {
    position: relative;
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(10, 24, 40, 0.08);
    box-shadow: 0 24px 48px rgba(10, 24, 40, 0.08);
    overflow: hidden;
}

.media-card::after {
    content: '';
    position: absolute;
    right: -12%;
    bottom: -26%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 133, 130, 0.12), transparent 68%);
    pointer-events: none;
}

.media-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, #f6fbfc 0%, #eef7f9 100%);
}

.media-card figcaption,
.media-card .media-caption {
    position: relative;
    margin-top: 1rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.98rem;
}

.problem-storyboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0 auto 2.5rem;
}

.authority-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.6rem;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.authority-story {
    padding: 2rem;
    border-radius: 26px;
    background: var(--white);
    box-shadow: 0 24px 48px rgba(10, 24, 40, 0.08);
    border: 1px solid rgba(10, 24, 40, 0.08);
}

.authority-story p {
    color: var(--text);
}

.authority-checks {
    display: grid;
    gap: 0.95rem;
    margin-top: 1rem;
}

.authority-checks li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: var(--text);
    font-weight: 600;
}

.authority-checks i {
    color: var(--secondary);
    margin-top: 0.28rem;
}

.client-logos-grid {
    gap: 1.1rem;
}

.client-logo-card {
    min-height: 172px;
    padding: 1.15rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(10, 24, 40, 0.08);
}

.client-logo-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 48px rgba(10, 24, 40, 0.12);
}

.client-logo-mark {
    width: 100%;
    min-height: 82px;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(10, 24, 40, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-mark.is-dark {
    background: var(--primary);
    border-color: transparent;
}

.client-logo-mark img {
    width: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.client-logo-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.process-visual-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.15rem;
    margin-bottom: var(--spacing-lg);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(10, 24, 40, 0.98) 0%, rgba(16, 63, 91, 0.97) 58%, rgba(23, 133, 130, 0.92) 100%);
    box-shadow: 0 28px 60px rgba(10, 24, 40, 0.18);
}

.process-visual-banner img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.process-visual-copy {
    padding: 0.75rem 0.9rem;
}

.process-visual-copy h3 {
    color: var(--white);
    margin-bottom: 0.9rem;
}

.process-visual-copy p {
    color: rgba(255, 255, 255, 0.88);
}

.process-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.process-badges span {
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-weight: 600;
    font-size: 0.92rem;
}

.service-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.9rem;
}

.spotlight-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(10, 24, 40, 0.08);
    box-shadow: 0 20px 40px rgba(10, 24, 40, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spotlight-card:hover {
    transform: translateY(-8px) rotate(0.4deg);
    box-shadow: 0 28px 56px rgba(10, 24, 40, 0.13);
}

.spotlight-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

.spotlight-card-body {
    padding: 1.2rem 1.2rem 1.35rem;
}

.spotlight-card-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.18rem;
}

.spotlight-card-body p {
    margin: 0;
    font-size: 0.96rem;
}

.benefits-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.6rem;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.benefits-copy {
    padding: 2rem;
    border-radius: 26px;
    background: var(--white);
    border: 1px solid rgba(10, 24, 40, 0.08);
    box-shadow: 0 24px 48px rgba(10, 24, 40, 0.08);
}

.benefits-copy p {
    color: var(--text);
}

.benefits-checklist {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.benefits-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 600;
}

.benefits-checklist i {
    color: var(--success);
    margin-top: 0.24rem;
}

.contact-cta-box {
    position: relative;
    overflow: hidden;
}

.contact-cta-box::before {
    content: '';
    position: absolute;
    inset: auto -12% -38% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 72%);
}

.downloads-hero {
    padding-top: 132px;
    padding-bottom: 72px;
}

.downloads-hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.downloads-hero-content {
    text-align: left;
}

.downloads-hero-content .section-intro {
    margin: 0;
    max-width: 38rem;
}

.downloads-hero-visual {
    justify-self: end;
}

.downloads-hero-visual img {
    width: min(100%, 420px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.24);
}

.downloads-grid-simple .download-card-simple {
    animation: cardPop 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.downloads-grid-simple .download-card-simple:nth-child(2) {
    animation-delay: 0.08s;
}

.downloads-grid-simple .download-card-simple:nth-child(3) {
    animation-delay: 0.16s;
}

.downloads-grid-simple .download-card-simple:nth-child(4) {
    animation-delay: 0.24s;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal="left"] {
    transform: translateX(-20px);
}

[data-reveal="right"] {
    transform: translateX(20px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@keyframes floatBadge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(18px, -24px, 0);
    }
}

@keyframes ambientPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes cardPop {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.downloads-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.downloads-grid .download-card {
    height: 100%;
    align-items: start;
}

@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding-bottom: 72px;
    }

    .hero-container,
    .authority-showcase,
    .benefits-feature,
    .process-visual-banner,
    .downloads-hero-split {
        grid-template-columns: 1fr;
    }

    .hero-media-shell {
        display: block;
    }

    .service-spotlight-grid {
        grid-template-columns: 1fr;
    }

    .client-logo-card {
        min-height: 0;
    }

    .downloads-hero-content {
        text-align: center;
    }

    .downloads-hero-content .section-intro {
        margin: 0 auto;
    }

    .downloads-hero-visual {
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .logo-wordmark {
        font-size: 1.08rem;
        letter-spacing: 0.14em;
    }

    .logo-stack .logo-accent {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }

    .hero {
        padding-top: 108px;
    }

    .hero-brand-line,
    .mini-highlight,
    .video-card-top,
    .floating-badge {
        border-radius: 18px;
    }

    .problem-storyboard,
    .hero-stat-strip {
        grid-template-columns: 1fr;
    }

    .video-card-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .badge-report,
    .badge-mobile {
        position: static;
        margin-top: 1rem;
    }

    .hero-media-shell {
        margin-top: 0.5rem;
    }

    .process-badges {
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .logo-stack .logo-accent {
        font-size: 0.6rem;
        letter-spacing: 0.12em;
    }

    .authority-story,
    .benefits-copy,
    .media-card,
    .hero-video-card {
        padding: 1rem;
    }

    .process-visual-copy {
        padding: 0.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero-orb,
    .floating-badge,
    .downloads-grid-simple .download-card-simple {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-video-card,
    .spotlight-card,
    .download-card-simple,
    .problem-card,
    .service-card,
    .benefit-card {
        transition: none;
    }
}
