:root {
    --ns-surface: #f5f8fc;
    --ns-surface-card: #ffffff;
    --ns-border: #d6dfec;
    --ns-title: #0f172a;
    --ns-text: #334155;
    --ns-subtle: #64748b;
    --ns-primary: #1d4ed8;
    --ns-primary-strong: #1e3a8a;
    --ns-accent: #06b6d4;
    --ns-shadow-soft: 0 16px 34px -26px rgba(15, 23, 42, 0.58);
    --ns-shadow-strong: 0 22px 40px -26px rgba(2, 6, 23, 0.72);
}

.home-page-content {
    padding-top: 1.05rem !important;
}

.home-cover.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 44px 0 58px !important;
    background-position: center 34% !important;
    background-size: cover !important;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.home-cover.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 0%, rgba(8, 145, 178, 0.28) 0%, rgba(8, 145, 178, 0) 42%),
        linear-gradient(120deg, rgba(2, 6, 23, 0.82) 0%, rgba(2, 6, 23, 0.48) 46%, rgba(2, 6, 23, 0.72) 100%);
    z-index: 0;
}

.home-hero .aaaa {
    z-index: 1;
}

.home-hero .home-hero-content {
    max-width: 1100px;
}

.home-hero-title {
    font-size: clamp(2rem, 4vw, 3.05rem);
    line-height: 1.05;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 9px 26px rgba(2, 6, 23, 0.46);
}

.home-hero-subtitle {
    max-width: 770px;
    font-size: clamp(1rem, 1.65vw, 1.3rem);
    line-height: 1.42;
    margin-bottom: 0.88rem;
    color: rgba(241, 245, 249, 0.98);
    text-wrap: balance;
    text-shadow: 0 6px 18px rgba(2, 6, 23, 0.4);
}

.home-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 0.92rem;
}

.home-hero-highlights span {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(2, 6, 23, 0.86) 100%);
    color: #f8fbff;
    border: 1px solid rgba(148, 163, 184, 0.38);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.home-hero-search {
    max-width: 930px;
    margin-bottom: 0.3rem;
}

.home-hero-search .form-control {
    border-radius: 15px !important;
    border: 1px solid rgba(148, 163, 184, 0.45) !important;
    background: rgba(248, 250, 252, 0.98) !important;
    box-shadow: 0 12px 24px -20px rgba(2, 6, 23, 0.72);
    color: #111827;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.home-hero-search .form-control::placeholder {
    color: #64748b;
}

.home-hero-search .form-control:focus {
    border-color: rgba(37, 99, 235, 0.8) !important;
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.18), 0 14px 28px -20px rgba(2, 6, 23, 0.78) !important;
    background: #fff !important;
}

.home-hero-search .btn-search {
    color: #4f46e5 !important;
}

.home-hero-popular {
    margin-top: 0.25rem !important;
    margin-bottom: 0.78rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    text-wrap: pretty;
}

.home-hero-popular a {
    color: #e2f3ff !important;
    font-weight: 700;
    text-decoration-thickness: 2px;
}

.home-hero-popular a:hover {
    color: #ffffff !important;
}

.home-hero-actions {
    max-width: 930px;
    margin-top: 0.58rem;
    padding: 1rem 1.08rem;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(6, 19, 40, 0.88) 0%, rgba(8, 21, 38, 0.7) 48%, rgba(8, 20, 34, 0.82) 100%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--ns-shadow-strong);
    backdrop-filter: blur(1.6px);
}

.home-hero-actions__heading {
    color: #ffffff;
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.34rem;
}

.home-hero-actions__text {
    color: rgba(241, 245, 249, 0.95);
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    line-height: 1.44;
}

.home-hero-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.home-hero-actions__buttons .btn {
    font-weight: 800;
    letter-spacing: 0.01em;
}

.home-hero-actions__buttons .btn-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    border-color: transparent;
}

.home-hero-actions__buttons .btn-primary:hover,
.home-hero-actions__buttons .btn-primary:focus {
    background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
    border-color: transparent;
}

.home-hero-actions__buttons .btn-outline-light {
    border-width: 2px;
}

.home-intro-video-section {
    margin-top: 0.55rem;
    margin-bottom: 1.5rem;
}

.home-intro-video-card {
    border-radius: 18px;
    border: 1px solid var(--ns-border);
    background: var(--ns-surface-card);
    box-shadow: var(--ns-shadow-soft);
}

.home-intro-video-card--content {
    padding: 1.25rem 1.3rem;
    background: linear-gradient(160deg, #f8fbff 0%, #f2f7ff 42%, #ffffff 100%);
}

.home-intro-video-card--content h2 {
    font-size: clamp(1.35rem, 2.45vw, 1.92rem);
    font-weight: 900;
    color: var(--ns-title);
    margin: 0.35rem 0 0.45rem;
    letter-spacing: -0.015em;
}

.home-intro-video-card--content p {
    margin: 0 0 0.95rem;
    color: var(--ns-text);
    line-height: 1.48;
}

.home-intro-video-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1e3a8a;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-intro-video-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.home-intro-video-links .btn {
    font-weight: 800;
}

.home-intro-video-card--player {
    padding: 0.76rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f5f8fc 100%);
}

.home-intro-video-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 260px;
    border-radius: 13px;
    border: 1px dashed #9db2d6;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
    padding: 1.15rem 1.2rem;
}

.home-intro-video-empty__label {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1f3f7a;
    background: rgba(30, 78, 216, 0.12);
    margin-bottom: 0.65rem;
}

.home-intro-video-empty__title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 900;
    color: var(--ns-title);
}

.home-intro-video-empty__text {
    margin: 0;
    color: var(--ns-text);
    line-height: 1.45;
}

.home-intro-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #040914;
}

.home-intro-video-frame video,
.home-intro-video-frame iframe {
    width: 100%;
    height: 100%;
    max-height: none !important;
    border: 0;
    display: block;
    object-fit: cover;
}

.home-howto-reel {
    margin-top: 0.15rem;
    margin-bottom: 1.5rem;
}

.home-howto-reel__media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #0f2d50;
    background:
        radial-gradient(circle at 12% 16%, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 38%),
        radial-gradient(circle at 88% 86%, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 40%),
        linear-gradient(145deg, #020617 0%, #0f172a 52%, #0b2344 100%);
    box-shadow: 0 26px 44px -34px rgba(2, 6, 23, 0.95);
}

.home-howto-reel__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.16) 0%, rgba(37, 99, 235, 0.08) 24%, rgba(6, 182, 212, 0.16) 44%, rgba(37, 99, 235, 0.08) 70%, rgba(6, 182, 212, 0.16) 100%);
    background-size: 240% 100%;
    animation: homeHowtoScanline 12s linear infinite;
    mix-blend-mode: screen;
    pointer-events: none;
}

.home-howto-reel__frame {
    position: relative;
    z-index: 1;
    min-height: 240px;
    padding: 1.25rem 1.15rem 1.05rem;
}

.home-howto-reel__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    color: #e0f2fe;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(125, 211, 252, 0.42);
}

.home-howto-reel__frame h2 {
    margin: 0.62rem 0 0.36rem;
    color: #f8fafc;
    font-size: clamp(1.2rem, 2.3vw, 1.82rem);
    font-weight: 900;
    letter-spacing: -0.018em;
}

.home-howto-reel__frame p {
    margin: 0;
    max-width: 760px;
    color: rgba(226, 232, 240, 0.95);
    line-height: 1.45;
}

.home-howto-reel__caption-stack {
    position: relative;
    height: 2rem;
    margin-top: 0.9rem;
}

.home-howto-reel__caption-stack span {
    position: absolute;
    inset: 0 auto auto 0;
    color: #67e8f9;
    font-size: clamp(0.94rem, 1.25vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(4px);
    animation: homeHowtoCaption 12s linear infinite;
    animation-delay: calc(var(--reel-step, 0) * 2s);
}

.home-howto-reel__timeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.42rem;
    margin-top: 0.8rem;
}

.home-howto-reel__timeline span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
    font-size: 0.74rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.01em;
    animation: homeHowtoChip 12s ease-in-out infinite;
    animation-delay: calc(var(--reel-step, 0) * 2s);
}

.home-howto-reel__progress {
    margin-top: 0.74rem;
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(125, 211, 252, 0.22);
    overflow: hidden;
}

.home-howto-reel__progress span {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left center;
    background: linear-gradient(90deg, #22d3ee 0%, #38bdf8 48%, #3b82f6 100%);
    animation: homeHowtoProgress 12s linear infinite;
}

.home-onboarding-journey {
    margin-top: 0.55rem;
    margin-bottom: 1.45rem;
    padding: 1.25rem 1.15rem 1.15rem;
    border-radius: 18px;
    border: 1px solid #d8e3f3;
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0) 44%),
        radial-gradient(circle at 0% 100%, rgba(29, 78, 216, 0.12) 0%, rgba(29, 78, 216, 0) 52%),
        #ffffff;
    box-shadow: var(--ns-shadow-soft);
}

.home-onboarding-journey__header {
    max-width: 880px;
    margin-bottom: 1rem;
}

.home-onboarding-journey__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.72rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1e3a8a;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.52rem;
}

.home-onboarding-journey__header h2 {
    margin: 0 0 0.42rem;
    color: var(--ns-title);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.018em;
}

.home-onboarding-journey__header p {
    margin: 0;
    color: var(--ns-text);
    line-height: 1.5;
}

.home-onboarding-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-onboarding-track::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 50%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0.1) 0%, rgba(14, 165, 233, 0.42) 50%, rgba(29, 78, 216, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.home-onboarding-track::after {
    content: "";
    position: absolute;
    top: calc(50% - 6px);
    left: 7%;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #0ea5e9;
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.16), 0 0 24px rgba(14, 165, 233, 0.58);
    pointer-events: none;
    z-index: 0;
    animation: homeOnboardingTravel 10.5s linear infinite;
}

.home-onboarding-step {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    border: 1px solid #d5e0ee;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    --home-onboarding-card-shadow: 0 14px 26px -20px rgba(15, 23, 42, 0.54);
    --home-onboarding-guide-delay: 0s;
    box-shadow: var(--home-onboarding-card-shadow);
    padding: 0.98rem 0.95rem 0.92rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    animation: homeOnboardingReveal 0.7s ease forwards, homeOnboardingGuide 12s ease-in-out infinite;
    animation-delay: var(--step-delay, 0s), calc(1.35s + var(--home-onboarding-guide-delay));
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.home-onboarding-step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 52%);
    pointer-events: none;
}

.home-onboarding-step::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(90deg, #1d4ed8 0%, #0ea5e9 50%, #22c55e 100%);
    transform: scaleX(0.2);
    transform-origin: left center;
    opacity: 0.58;
    transition: transform 0.28s ease, opacity 0.28s ease;
    pointer-events: none;
}

.home-onboarding-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -22px rgba(15, 23, 42, 0.64);
}

.home-onboarding-step:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.home-onboarding-step__count {
    position: absolute;
    top: 0.68rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 9px 18px -13px rgba(30, 78, 216, 0.88);
    animation: homeOnboardingCountBob 3.2s ease-in-out infinite;
    animation-delay: calc(var(--step-delay, 0s) + 0.45s);
}

.home-onboarding-step__icon {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #38bdf8;
    font-size: 1.18rem;
    margin-bottom: 0.58rem;
    box-shadow: 0 10px 18px -14px rgba(2, 6, 23, 0.95);
    animation: homeOnboardingPulse 2.3s ease-in-out infinite, homeOnboardingIconDrift 4.4s ease-in-out infinite;
    animation-delay: 0s, var(--step-delay, 0s);
}

.home-onboarding-step__icon::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(14, 165, 233, 0.34);
    border-radius: 14px;
    opacity: 0;
    animation: homeOnboardingRipple 2.8s ease-out infinite;
    animation-delay: calc(var(--step-delay, 0s) + 0.25s);
    pointer-events: none;
}

.home-onboarding-step:nth-child(2) .home-onboarding-step__icon {
    color: #f59e0b;
}

.home-onboarding-step:nth-child(3) .home-onboarding-step__icon {
    color: #22c55e;
}

.home-onboarding-step:nth-child(4) .home-onboarding-step__icon {
    color: #a78bfa;
}

.home-onboarding-step:nth-child(5) .home-onboarding-step__icon {
    color: #f97316;
}

.home-onboarding-step:nth-child(6) .home-onboarding-step__icon {
    color: #fb7185;
}

.home-onboarding-step:nth-child(1) {
    --home-onboarding-guide-delay: 0s;
}

.home-onboarding-step:nth-child(2) {
    --home-onboarding-guide-delay: 2s;
}

.home-onboarding-step:nth-child(3) {
    --home-onboarding-guide-delay: 4s;
}

.home-onboarding-step:nth-child(4) {
    --home-onboarding-guide-delay: 6s;
}

.home-onboarding-step:nth-child(5) {
    --home-onboarding-guide-delay: 8s;
}

.home-onboarding-step:nth-child(6) {
    --home-onboarding-guide-delay: 10s;
}

.home-onboarding-step h3 {
    margin: 0 0 0.35rem;
    color: var(--ns-title);
    font-size: 1.04rem;
    font-weight: 900;
    line-height: 1.28;
}

.home-onboarding-step p {
    margin: 0;
    color: #425168;
    font-size: 0.93rem;
    line-height: 1.45;
}

.home-onboarding-step__link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.56rem;
    font-weight: 800;
    font-size: 0.86rem;
    color: #1d4ed8;
    text-decoration: none;
}

.home-onboarding-step__link:hover {
    color: #1e40af;
    text-decoration: underline;
}

.home-onboarding-journey__footer {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
}

.home-onboarding-journey__footer .btn {
    font-weight: 800;
}

@keyframes homeOnboardingReveal {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes homeHowtoScanline {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 240% 0;
    }
}

@keyframes homeHowtoCaption {
    0%,
    100% {
        opacity: 0;
        transform: translateY(4px);
    }
    5%,
    14% {
        opacity: 1;
        transform: translateY(0);
    }
    20% {
        opacity: 0;
        transform: translateY(-4px);
    }
}

@keyframes homeHowtoChip {
    0%,
    100% {
        color: #cbd5e1;
        border-color: rgba(148, 163, 184, 0.34);
        background: rgba(15, 23, 42, 0.55);
        box-shadow: none;
    }
    4%,
    15% {
        color: #f8fafc;
        border-color: rgba(103, 232, 249, 0.8);
        background: rgba(8, 47, 73, 0.8);
        box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.22), 0 10px 18px -14px rgba(14, 165, 233, 0.88);
    }
    24% {
        color: #cbd5e1;
        border-color: rgba(148, 163, 184, 0.34);
        background: rgba(15, 23, 42, 0.55);
        box-shadow: none;
    }
}

@keyframes homeHowtoProgress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes homeOnboardingGuide {
    0%,
    100% {
        border-color: #d5e0ee;
        background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
        box-shadow: var(--home-onboarding-card-shadow);
    }
    8%,
    18% {
        border-color: rgba(14, 165, 233, 0.72);
        background: linear-gradient(180deg, #ffffff 0%, #eef7ff 52%, #f8fcff 100%);
        box-shadow:
            0 20px 34px -24px rgba(14, 165, 233, 0.9),
            0 16px 26px -20px rgba(15, 23, 42, 0.64);
    }
    26%,
    92% {
        border-color: #d5e0ee;
        background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
        box-shadow: var(--home-onboarding-card-shadow);
    }
}

@keyframes homeOnboardingTravel {
    0% {
        left: 7%;
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(93% - 12px);
        opacity: 0;
    }
}

@keyframes homeOnboardingPulse {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 10px 18px -14px rgba(2, 6, 23, 0.95);
    }
    50% {
        transform: translateY(-1px);
        box-shadow: 0 12px 22px -14px rgba(14, 165, 233, 0.75);
    }
}

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

@keyframes homeOnboardingRipple {
    0% {
        opacity: 0.45;
        transform: scale(0.88);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

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

.home-photo-gallery-section {
    margin-top: 1.3rem;
    margin-bottom: 1.8rem;
}

.home-photo-gallery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.home-photo-gallery-heading {
    max-width: 840px;
}

.home-photo-gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.72rem;
    margin-bottom: 0.45rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1f4cb5;
    background: rgba(33, 80, 168, 0.1);
}

.home-photo-gallery-heading h3 {
    font-size: clamp(1.36rem, 2.1vw, 1.78rem);
    font-weight: 900 !important;
    color: var(--ns-title);
    margin-bottom: 0.35rem !important;
    letter-spacing: -0.014em;
}

.home-photo-gallery-heading p {
    color: #3d4a5d;
    font-size: 0.95rem;
    margin: 0;
}

.home-photo-gallery-cta {
    white-space: nowrap;
    font-weight: 800;
    box-shadow: 0 9px 21px -14px rgba(0, 0, 0, 0.65);
}

.home-photo-gallery-grid {
    padding: 0.6rem;
    border: 1px solid #dce2eb;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 14px 32px -25px rgba(15, 23, 42, 0.44);
    overflow: hidden;
}

.home-photo-gallery-grid #imagesFlex {
    margin: 0 !important;
}

.home-photo-gallery-grid #imagesFlex .item {
    border-radius: 0.8rem !important;
    overflow: hidden;
    box-shadow: 0 10px 20px -16px rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(18, 25, 38, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 4px !important;
}

.home-photo-gallery-grid #imagesFlex .item:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -18px rgba(15, 23, 42, 0.72);
}

.home-photo-gallery-grid #imagesFlex .item img {
    border: 0 !important;
    border-radius: 0 !important;
}

.home-photo-gallery-grid #imagesFlex .hover-content {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.06) 0%, rgba(2, 6, 23, 0.76) 100%);
}

.home-discovery-strip {
    margin-top: 1.45rem;
    margin-bottom: 0.35rem;
    padding: 1.35rem 1.2rem;
    border-radius: 18px;
    border: 1px solid var(--ns-border);
    background:
        radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 40%),
        radial-gradient(circle at 0% 0%, rgba(29, 78, 216, 0.08) 0%, rgba(29, 78, 216, 0) 58%),
        #ffffff;
    box-shadow: var(--ns-shadow-soft);
}

.home-discovery-strip__copy {
    max-width: 920px;
}

.home-discovery-strip__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.1);
    color: #1e3a8a;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.home-discovery-strip__copy h3 {
    margin: 0 0 0.45rem;
    color: var(--ns-title);
    font-size: clamp(1.32rem, 2vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.015em;
}

.home-discovery-strip__copy p {
    margin: 0;
    color: var(--ns-text);
    line-height: 1.5;
}

.home-discovery-strip__actions {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.home-discovery-strip__actions .btn {
    font-weight: 800;
}

.home-discovery-strip__actions .btn-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    border-color: transparent;
}

.home-discovery-strip__actions .btn-primary:hover,
.home-discovery-strip__actions .btn-primary:focus {
    background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
}

.home-mid-ad-shell {
    margin-top: 1rem;
    border-radius: 16px;
    border: 1px solid #dbe4f1;
    background: #ffffff;
    box-shadow: var(--ns-shadow-soft);
    overflow: hidden;
}

.home-mid-ad-shell__label {
    padding: 0.72rem 1rem;
    background: linear-gradient(90deg, #1e40af 0%, #0f172a 100%);
    color: #e2e8f0;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-mid-ad-shell__content {
    padding: 0.95rem;
    background: #f8fbff;
}

.responsive-ad {
    margin: 0 auto;
    width: min(100%, 980px);
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--ns-border);
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
    box-shadow: var(--ns-shadow-soft);
    text-align: center;
    overflow: hidden;
}

.responsive-ad img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

#mid-container {
    width: min(100%, 920px);
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    border: 1px solid var(--ns-border);
    border-radius: 14px;
    padding: 1.1rem;
    box-shadow: var(--ns-shadow-soft);
    overflow: hidden;
}

#mid-container img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.button-style {
    background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);
    color: #ffffff;
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 24px -20px rgba(29, 78, 216, 0.95);
}

.button-style:hover {
    background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
}

.text-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--ns-border);
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
}

.text-content {
    color: var(--ns-title);
}

.video-container {
    margin: 20px auto;
    width: min(100%, 640px);
    border-radius: 14px;
    border: 1px solid var(--ns-border);
    background: linear-gradient(180deg, #f7fbff 0%, #eef4ff 100%);
    padding: 0.9rem;
    box-shadow: var(--ns-shadow-soft);
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    max-height: none;
    border-radius: 10px;
}

@keyframes flashing {
    0% { color: #f59e0b; }
    50% { color: #f97316; }
    100% { color: #f59e0b; }
}

.flashing-text {
    animation: flashing 1.2s linear infinite;
}

.counter-stats {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%) !important;
}

.counter-stats h3,
.counter-stats h5 {
    color: #f8fafc;
}

.counter-stats .display-4 {
    color: rgba(56, 189, 248, 0.92);
}

@media (max-width: 991px) {
    .home-cover.home-hero {
        padding: 36px 0 45px !important;
    }

    .home-onboarding-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-howto-reel__timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-onboarding-track::before,
    .home-onboarding-track::after {
        display: none;
    }

    .home-photo-gallery-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-photo-gallery-heading h3 {
        font-size: 1.45rem;
    }
}

@media (max-width: 767px) {
    .home-intro-video-section {
        margin-top: 0.35rem;
    }

    .home-intro-video-card--content {
        padding: 0.95rem;
    }

    .home-intro-video-card--player {
        padding: 0.55rem;
    }

    .home-intro-video-links .btn {
        width: 100%;
    }

    .home-howto-reel__frame {
        padding: 1rem 0.88rem 0.9rem;
        min-height: 220px;
    }

    .home-howto-reel__caption-stack {
        height: 2.3rem;
    }

    .home-onboarding-journey {
        padding: 1rem 0.85rem 0.9rem;
    }

    .home-onboarding-track {
        grid-template-columns: 1fr;
    }

    .home-onboarding-step {
        padding: 0.86rem 0.82rem 0.82rem;
    }

    .home-onboarding-journey__footer .btn {
        width: 100%;
    }

    .home-discovery-strip {
        padding: 1rem 0.9rem;
    }
}

@media (max-width: 575px) {
    .home-cover.home-hero {
        padding: 24px 0 30px !important;
    }

    .home-hero-highlights span {
        font-size: 0.74rem;
    }

    .home-hero-actions {
        padding: 0.75rem;
    }

    .home-hero-actions__heading {
        font-size: 1.08rem;
    }

    .home-hero-actions__text {
        font-size: 0.94rem;
        margin-bottom: 0.56rem;
    }

    .home-hero-actions__buttons .btn,
    .home-onboarding-journey__footer .btn,
    .home-discovery-strip__actions .btn,
    .home-photo-gallery-cta {
        width: 100%;
        text-align: center;
    }

    .home-photo-gallery-grid {
        padding: 0.52rem;
    }

    .home-photo-gallery-heading h3 {
        font-size: 1.24rem;
    }

    .home-photo-gallery-heading p {
        font-size: 0.94rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-howto-reel__media::before,
    .home-howto-reel__caption-stack span,
    .home-howto-reel__timeline span,
    .home-howto-reel__progress span,
    .home-onboarding-step,
    .home-onboarding-step__icon,
    .home-onboarding-step__count,
    .home-onboarding-track::after,
    .home-onboarding-step__icon::after {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .home-howto-reel__caption-stack span {
        position: static;
    }

    .home-howto-reel__caption-stack span:not(:first-child) {
        display: none;
    }
}
