/* ==========================================
   ALT.CSS
   ==========================================

   Purpose:
   - Page-specific styles and customizations
   - Overrides for components used on this page
   - Custom layouts and sections unique to this page

   DO NOT put here:
   - Reusable components (those go in core.css)
   - Semantic HTML element base styles (those go in layout.css)

   ========================================== */
/* Links */
a {
    color: var(--nadiyno-pink);
    text-decoration: none;
    transition: var(--link-transition);
}

a:hover {
    color: var(--nadiyno-navy);
}

/* Text selection */
::selection {
    background: var(--nadiyno-pink);
    color: black;
}

::-moz-selection {
    background: var(--nadiyno-pink);
    color: black;
}

::-webkit-selection {
    background: var(--nadiyno-pink);
    color: black;
}

/* ==========================================
   Hero Section
   ========================================== */
#hero {
    background-color: var(--nadiyno-navy);
    border-radius: 0 0 var(--border-radius-l) var(--border-radius-l);
    height: calc(100dvh - var(--header-height));
    color: var(--nadiyno-white);
    gap: var(--gap-xl);
    padding: var(--paddding);
    animation: fadeIn var(--duration-slower) ease-out;

    /* Performance optimizations */
    will-change: opacity;
    contain: layout style;

    .hero__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        animation: fadeInDown var(--duration-slow) ease-out 0.2s;
        animation-fill-mode: both;

        .hero__title {
            animation: fadeInLeft var(--duration-slow) ease-out 0.3s;
            animation-fill-mode: both;
        }

        .hero__icon {
            max-height: 200px;
            cursor: pointer;
            transition: transform var(--transition-smooth);
            &:hover {
                transform: scale(1.1);
                animation: float 3s ease-in-out infinite;
            }
        }
    }

    .hero__body {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: var(--gap-s);

        .hero__subtitle {
            align-content: center;
            flex: 0 0 calc(31% - var(--gap-s));
        }

        .hero__stats {
            display: flex;
            flex-wrap: wrap;
            gap: var(--gap-s);
            flex: 0 0 69%;

            > div {
                text-align: center;
                padding: var(--gap-l) var(--gap-s);
                background-color: var(--nadiyno-pink);
                border-radius: var(--border-radius-m);
                flex: 0 0 calc((100% - 2 * var(--gap-s)) / 3);
            }
        }
    }

    /* Tablet */
    @media (max-width: 900px) {
        height: auto;
        padding: var(--gap-xl);
        border-radius: 0 0 var(--border-radius-m) var(--border-radius-m);

        .hero__header {
            flex-direction: column;
            gap: var(--gap-m);
            text-align: center;
        }

        .hero__icon {
            max-height: 150px;
        }

        .hero__body {
            .hero__subtitle {
                flex-basis: 100%;
                text-align: center;
            }

            .hero__stats {
                flex-basis: 100%;

                > div {
                    flex-basis: calc((100% - var(--gap-s)) / 2);
                }
            }
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        padding: var(--gap-m) var(--gap-s);
        border-radius: 0 0 var(--border-radius-s) var(--border-radius-s);

        .hero__header {
            gap: var(--gap-s);
        }

        .hero__icon {
            max-height: 120px;
        }

        .hero__body {
            .hero__stats {
                > div {
                    flex-basis: 100%;
                    padding: var(--gap-m) var(--gap-s);
                }
            }
        }
    }
}

#intro {
    display: flex;
    gap: var(--gap-m);
    padding: var(--gap-xl) calc(var(--gap-xl) * 3);

    .intro__block {
        border-radius: var(--border-radius-s);
        background-color: var(--nadiyno-navy);
        color: var(--nadiyno-white);
        padding: var(--gap-s);
        margin-left: calc(-1 * var(--gap-l));
        margin-right: calc(-1 * var(--gap-l));
    }

    .intro__list {
        display: flex;
        flex-direction: column;
        gap: var(--gap-s);
        align-items: flex-start;

        > div {
            background-color: rgba(255, 224, 248, 1);
            padding: var(--gap-xs);
            border-radius: var(--border-radius-s);
        }
    }

    /* Tablet */
    @media (max-width: 900px) {
        padding: var(--gap-l) var(--gap-xl);

        .intro__block {
            margin-left: calc(-1 * var(--gap-m));
            margin-right: calc(-1 * var(--gap-m));
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        flex-direction: column;
        padding: var(--gap-m) var(--gap-s);

        .intro__block {
            margin-left: 0;
            margin-right: 0;
        }
    }
}

#researchResults {
    padding: var(--gap-xxl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
    background: linear-gradient(180deg, #D5DFFF 50%, #C8D6FF 100%);

    .section__body {
        display: flex;
        flex-direction: column;
        gap: calc(var(--gap-xl) + var(--gap-xxl));

        .research {
            padding: 0 calc(var(--gap-xl) * 3);
            display: flex;
            flex-direction: column;
            gap: var(--gap-m);
            font-size: var(--font-size-b3);
            font-weight: bold;

            ul {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: var(--gap-m);
                font-weight: normal;
                padding: 0 var(--gap-xl);
            }
        }
    }

    /* Tablet */
    @media (max-width: 900px) {
        padding: var(--gap-xl) 0;
        gap: var(--gap-l);

        .section__body {
            gap: var(--gap-xxl);

            .research {
                padding: 0 var(--gap-xl);

                ul {
                    padding: 0 var(--gap-m);
                }
            }
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        padding: var(--gap-l) 0;
        gap: var(--gap-m);

        .section__body {
            gap: var(--gap-xl);

            .research {
                padding: 0 var(--gap-s);

                ul {
                    padding: 0 var(--gap-s);
                }
            }
        }
    }
}

/* ==========================================
   Security Ratings Section - Tinder-Style Swipe Carousel
   HIGH-TECH, MODERN, DATING APP AESTHETIC
   ========================================== */
#securityRatings {
    padding: var(--gap-xxl) var(--gap-xl);
    background: linear-gradient(135deg,
        var(--nadiyno-light-blue) 0%,
        rgba(240, 243, 251, 0.69) 50%,
        var(--nadiyno-pink-alpha) 100%);
    overflow: visible;
    gap: var(--gap-xl);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);

    .section__header {
        margin: 0 calc(-1 * var(--gap-xl));
    }

    .matrix {
        padding: 0 var(--gap-xl);
        display: flex;
        flex-direction: column;
        gap: var(--gap-s);
    }
    .matrix__item {
        text-align: left;
        border-radius: var(--border-radius-s);
        padding: var(--gap-m) var(--gap-s);
        display: grid;
        grid-template-columns: 21% 69%;
        align-items: center;
        gap: 7%;
        .matrix__h {
            font-size: var(--font-size-b3);
            font-weight: bold;
            display: flex;
            flex-direction: column;
            p:nth-child(2) {
                font-weight: normal;
            }
        }
        .matrix__b {
            font-size: var(--font-size-b4);
        }
    }
    .matrix__item:nth-child(1) {
        background: var(--nadiyno-matrix-0);
    }
    .matrix__item:nth-child(2) {
        background: var(--nadiyno-matrix-1);
    }
    .matrix__item:nth-child(3) {
        background: var(--nadiyno-matrix-2);
    }
    .matrix__item:nth-child(4) {
        background: var(--nadiyno-matrix-3);
    }

    .section__body {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--gap-xl);
    }

    /* Reset list interference and remove hover effects */
    ul, ol { counter-reset: none; list-style: none; padding: 0; margin: 0; }
    li { counter-increment: none; animation: none !important; transition: none !important; padding: 0; gap: 0; display: block; align-items: initial; }
    li::before { content: none !important; }
    li:hover { transform: none !important; background-color: transparent; }

    /* Remove all hover effects from cards and checklists */
    .swipe-card:hover,
    .checklist:hover,
    .checklist__item:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Tablet responsiveness */
    @media (max-width: 900px) {
        padding: var(--gap-xl) var(--gap-m);

        .section__header {
            margin: 0 calc(-1 * var(--gap-m));
        }

        .matrix {
            padding: 0 var(--gap-m);
        }

        .matrix__item {
            grid-template-columns: 25% 70%;
            gap: 5%;
            padding: var(--gap-s) var(--gap-xs);
        }

        .section__body {
            gap: var(--gap-l);
        }
    }

    /* Mobile responsiveness */
    @media (max-width: 600px) {
        padding: var(--gap-l) var(--gap-s);

        .section__header {
            margin: 0 calc(-1 * var(--gap-s));
        }

        .matrix {
            padding: 0 var(--gap-s);
            gap: var(--gap-xs);
        }

        .matrix__item {
            grid-template-columns: 1fr;
            grid-template-rows: auto auto;
            gap: var(--gap-xs);
            padding: var(--gap-s);
            text-align: center;
        }

        .matrix__h {
            text-align: center;
        }

        .section__body {
            gap: var(--gap-m);
        }
    }
}

/* ==========================================
   Swipe Cards Container - Card Stack
   ========================================== */
.swipe-cards {
    position: relative;
    width: 96%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(69px / 2); /* Space between stack and controls */
}

.swipe-cards__stack {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1500px;
    transform: translateZ(0);
}

/* Mobile: Full width with adjusted layout */
@media (max-width: 900px) {
    .swipe-cards {
        width: 95%;
        gap: 24px;
    }

    .swipe-cards__stack {
        height: 520px;
    }
}

@media (max-width: 600px) {
    .swipe-cards {
        width: 100%;
        gap: 20px;
    }

    .swipe-cards__stack {
        height: auto; /* Remove height restriction on mobile */
        min-height: 960px;
    }
}

/* ==========================================
   Swipe Card - Dating Profile Style
   ========================================== */
.swipe-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-m);
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: none;
    transform-origin: 50% 100%;
    transition: none;

    /* GPU acceleration and performance */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;

    /* Paint containment for better performance */
    contain: layout style paint;
}

/* Stack positioning - cards behind active card */
/* IMPORTANT: These override entrance animations after cards are visible */
.swipe-card.visible:nth-last-child(1),
.swipe-card:nth-last-child(1) {
    z-index: 5;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}
.swipe-card.visible:nth-last-child(2),
.swipe-card:nth-last-child(2) {
    z-index: 4;
    transform: translate3d(0, 10px, 0) scale3d(0.97, 0.97, 1) !important;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Only animate transform - NOT opacity or box-shadow (performance) */
    transition: transform 0.3s ease-out;
}
.swipe-card.visible:nth-last-child(3),
.swipe-card:nth-last-child(3) {
    z-index: 3;
    transform: translate3d(0, 20px, 0) scale3d(0.94, 0.94, 1) !important;
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    /* Only animate transform - NOT opacity or box-shadow (performance) */
    transition: transform 0.3s ease-out 0.05s;
}
.swipe-card.visible:nth-last-child(4),
.swipe-card:nth-last-child(4) {
    z-index: 2;
    transform: translate3d(0, 30px, 0) scale3d(0.91, 0.91, 1) !important;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    /* Only animate transform - NOT opacity or box-shadow (performance) */
    transition: transform 0.3s ease-out 0.1s;
}
.swipe-card.visible:nth-last-child(5),
.swipe-card:nth-last-child(5) {
    z-index: 1;
    transform: translate3d(0, 40px, 0) scale3d(0.88, 0.88, 1) !important;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.01);
    /* Only animate transform - NOT opacity or box-shadow (performance) */
    transition: transform 0.3s ease-out 0.15s;
}

.swipe-card_active {
    cursor: grab;
}

.swipe-card_active:active {
    cursor: grabbing;
}

/* Swiping state - remove transitions for instant response */
.swipe-card_dragging {
    transition: none !important;
}

/* ==========================================
   Scroll Entrance Animations
   Cards appear one-by-one from alternating sides
   ========================================== */

/* Initial state: cards hidden off-screen */
.swipe-card {
    opacity: 0;
    transform: translate3d(-150%, 0, 0) scale3d(1, 1, 1);
    /* Transition only during entrance - removed to prevent conflicts */
}

/* Cards enter from alternating sides */
.swipe-card:nth-child(odd) {
    transform: translate3d(-150%, 0, 0) scale3d(1, 1, 1); /* From left */
}

.swipe-card:nth-child(even) {
    transform: translate3d(150%, 0, 0) scale3d(1, 1, 1); /* From right */
}

/* Visible state: cards in position */
/* Note: Specific stack positioning rules above will override these with !important */
.swipe-card.visible {
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Stack positioning is handled above with .visible:nth-last-child() selectors */

/* Animated gradient background */
.swipe-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        var(--nadiyno-navy) 0%,
        #1a2332 50%,
        var(--nadiyno-navy) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    z-index: 0;

    /* Hardware acceleration and performance */
    will-change: background-position;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    contain: strict;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.swipe-card__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    grid-template-columns: 350px 1fr; /* Photo left, info right */
    gap: 0;
    color: var(--nadiyno-white);
    overflow: hidden;

    /* Performance optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    contain: layout style;
}

/* Mobile: Stack content vertically */
@media (max-width: 900px) {
    .swipe-card__content {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 600px) {
    .swipe-card__content {
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto;
        /* Performance: Fixed height prevents layout shift flickering */
        transform: translateZ(0);
    }

    /* Reduce padding on info section to save space */
    .swipe-card__info {
        padding: var(--gap-xs);
        gap: var(--gap-xs);
    }

    /* Reduce features section overflow to fit content better */
    .swipe-card__features {
        overflow-y: visible;
        flex: none;
    }
}

/* Dark overlay for inactive cards */
.swipe-card__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 44, 62, 0.85); /* Navy overlay */
    z-index: 10;
    pointer-events: none;
    /* Anti-flicker optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

/* Remove overlay from active card */
.swipe-card_active .swipe-card__content::before {
    opacity: 0;
    visibility: hidden;
}

/* ==========================================
   Dating Profile - Photo Section (Left)
   ========================================== */
.swipe-card__photo {
    position: relative;
    background: var(--nadiyno-navy);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0,0,0,0.21);
    background-blend-mode: multiply;

    /* Performance optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    contain: layout style;
}

.swipe-card__photo::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 0;
}

.swipe-card__photo-content {
    position: relative;
    z-index: 1;
}

.swipe-card__rank {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 48px;
    font-weight: bold;
    color: var(--nadiyno-white);
    font-family: var(--heading-font-family);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.96);
    z-index: 2;
}

.swipe-card__name {
    font-family: var(--heading-font-family);
    font-size: 42px;
    color: var(--nadiyno-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.swipe-card__location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-b3);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.swipe-card__location i {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;
    display: block;

    /* Performance optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.swipe-card__score {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.swipe-card__score-value {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    background: linear-gradient(135deg, var(--nadiyno-yellow), var(--nadiyno-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.swipe-card__score-max {
    font-size: var(--font-size-b2);
    color: var(--nadiyno-light-blue);
    opacity: 0.8;
}

/* ==========================================
   Dating Profile - Info Section (Right)
   ========================================== */
.swipe-card__info {
    color: var(--nadiyno-light-blue);
    display: flex;
    flex-direction: column;
    padding: var(--dd);
    gap: var(--dd);
    overflow: hidden;
    height: 100%;

    /* Performance optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    contain: layout style;
}

.swipe-card__badge {
    display: inline-flex;
    align-items: center;
    padding: var(--gap-3xs) var(--gap-xs);
    border-radius: var(--gap-xs);
    font-size: var(--font-size-b5);
    font-weight: bold;
    letter-spacing: 0.5px;
    width: fit-content;
    flex-shrink: 0;
}

.swipe-card__badge_success {
    background: rgba(135, 163, 243, 0.21);
    color: var(--nadiyno-matrix-0);
    border: 1px solid rgba(135, 163, 243, 0.69);
}

.swipe-card__badge_warning {
    background: rgba(200, 214, 255, 0.2);
    color: var(--nadiyno-light-blue);
    border: 1px solid var(--nadiyno-light-blue-alpha);
}

.swipe-card__badge_danger {
    background: rgba(225, 232, 255, 0.21);
    color: var(--nadiyno-matrix-3);
    border: 1px solid rgba(225, 232, 255, 0.69);
}

.swipe-card__about {
    padding-bottom: var(--gap-xs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.swipe-card__about h3 {
    font-family: var(--heading-font-family);
    font-size: var(--font-size-b4);
    color: var(--nadiyno-light-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--gap-2xs);
    line-height: 1;
}

.swipe-card__about p {
    font-size: var(--font-size-b5);
    color:  var(--nadiyno-light-blue);
}

/* ==========================================
   Pros & Cons Sections
   ========================================== */
.swipe-card__features {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */

    /* Performance optimizations to prevent flickering */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    contain: layout paint;
}

.swipe-card__section {
    border-radius: var(--border-radius-s);
    padding: var(--gap-xs);
    border: 2px solid;
    display: flex;
    flex-direction: column;
    gap: var(--gap-2xs);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* Hover effects only for devices with hover capability (prevents mobile flickering) */
@media (hover: hover) {
    .swipe-card__section:hover {
        transform: translate3d(0, -2px, 0);
        box-shadow: var(--shadow-md);
    }
}

/* Pros: Blue background */
.swipe-card__section_pros {
    background: var(--nadiyno-matrix-0);
    border-color: var(--nadiyno-navy);
    color: var(--nadiyno-navy);
}

/* Cons: Pink background */
.swipe-card__section_cons {
    background: var(--nadiyno-pink);
    border-color: var(--nadiyno-navy);
    color: var(--nadiyno-white);
}

.swipe-card__section-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gap-2xs);
}

.swipe-card__section-header i {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
    display: block;

    /* Performance optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.swipe-card__section-header h4 {
    font-family: var(--heading-font-family);
    font-size: var(--font-size-b5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
}

.swipe-card__section-body {
    display: flex;
    flex-direction: column;
    gap: var(--gap-3xs);
}

.swipe-card__section-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-2xs);
    padding: 0;
    font-size: var(--font-size-b5);
}

.swipe-card__section-item i {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2.5;
    margin-top: 3px;
    display: block;

    /* Performance optimizations */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ==========================================
   Swipe Controls - Like/Dislike Buttons
   ========================================== */
.swipe-controls {
    position: relative; /* Changed from absolute to work with flex parent */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-xs);
    z-index: 10;
    margin-top: var(--gap-s);
    width: 100%;
}

.swipe-btn {
    width: 77px;
    height: 77px;
    border-radius: 50%;
    border: 3px solid var(--nadiyno-navy);
    color: var(--nadiyno-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-lg);
}

.swipe-btn:active {
    transform: scale(0.95);
    box-shadow: var(--shadow-md);
}

.swipe-btn svg {
    width: 21px;
    height: 21px;
    stroke-width: 2;
}

.swipe-btn__skip {
    background: var(--nadiyno-pink-alpha);
}
.swipe-btn__match {
    background: var(--nadiyno-light-blue-alpha);
}
.swipe-btn__skip:hover {
    background: var(--nadiyno-pink);
    color: var(--nadiyno-white);
}
.swipe-btn__match:hover {
    background: var(--nadiyno-matrix-0);
    color: var(--nadiyno-white);
}

.swipe-counter {
    font-family: var(--heading-font-family);
    font-size: var(--font-size-b3);
    text-transform: uppercase;
    color: var(--nadiyno-white);
    font-weight: bold;
    padding: var(--gap-2xs) var(--dd);
    background: var(--nadiyno-navy);
    border-radius: var(--border-radius-s);
    box-shadow: var(--shadow-md);
    border: 3px solid rgba(37, 44, 62, 0.21);
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile: Smaller buttons and counter */
@media (max-width: 600px) {
    .swipe-btn {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }

    .swipe-btn svg {
        width: 18px;
        height: 18px;
    }

    .swipe-counter {
        min-width: 60px;
        font-size: 14px;
        padding: 6px 12px;
        border-width: 2px;
    }

    .swipe-controls {
        gap: 16px;
    }
}

/* ==========================================
   Swipe Hint Indicators - "SKIP" / "MATCH"
   ========================================== */
.swipe-hint {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--heading-font-family);
    font-size: 48px;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    text-shadow: 0 0 21px currentColor;
    z-index: 100;
}

.swipe-hint_left {
    left: 40px;
    color: var(--nadiyno-yellow);
    border: 4px solid var(--nadiyno-yellow);
    padding: 12px 24px;
    border-radius: var(--border-radius-s);
    transform: translateY(-50%) rotate(-15deg);
}

.swipe-hint_right {
    right: 40px;
    color: var(--nadiyno-matrix-0);
    border: 4px solid var(--nadiyno-matrix-0);
    padding: 12px 24px;
    border-radius: var(--border-radius-s);
    transform: translateY(-50%) rotate(15deg);
}

/* Show hints during drag */
.swipe-card_dragging-left ~ .swipe-hint_left {
    opacity: 1;
}

.swipe-card_dragging-right ~ .swipe-hint_right {
    opacity: 1;
}

/* Mobile: Smaller, repositioned hints */
@media (max-width: 900px) {
    .swipe-hint {
        font-size: 36px;
    }

    .swipe-hint_left {
        left: 20px;
    }

    .swipe-hint_right {
        right: 20px;
    }
}

@media (max-width: 600px) {
    #securityRatings {
        gap: 138px;
    }
    .swipe-hint {
        font-size: 28px;
    }

    .swipe-hint_left,
    .swipe-hint_right {
        border-width: 3px;
        padding: 8px 16px;
    }

    .swipe-hint_left {
        left: 10px;
    }

    .swipe-hint_right {
        right: 10px;
    }
}


/* ==========================================
   Protection Checklist Section
   ========================================== */
#protectionChecklist {
    padding: calc(69px * 2) 0;
    background-color: var(--nadiyno-navy);
    color: var(--nadiyno-white);
    gap: var(--gap-l);
    margin: 0 calc(69px * 2);
    .section__header {
        margin: 0 -69px;
        .section__icon {
            .icon-accent-alt {
                transition: var(--transition-smooth);
            }
            &:hover .icon-accent-alt {
                transition: var(--transition-smooth);
                stroke: var(--nadiyno-matrix-0);
            }

        }
    }
    .section__body {
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 33px;
        .checklist__item {
            font-size: var(--font-size-b3);
            margin-left: calc(-69px * 2);
            padding: 33px 69px;
            padding-left: calc(69px * 3);
            gap: 69px;
            background-color: var(--nadiyno-white);
            border-radius: 0 var(--border-radius-m) var(--border-radius-m) 0;
            color: var(--nadiyno-navy);
            display: flex;
            align-items: center;
            width: 100%;

            /* Animation setup - slide from left like callout_left */
            opacity: 0;
            transform: translateX(-138px);
            transition:
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.8s ease-out,
                box-shadow var(--transition-smooth);

            /* Effects */
            position: relative;
            overflow: visible;
            cursor: pointer;

            .checklist__icon {
                max-width: unset;
                top: -9px;
                position: relative;
            }

            /* SVG check icon alt path - smooth fill animation */
            .checklist__icon_alt {
                transition: fill 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            }
        }

        /* Visible state - slide in */
        .checklist__item.visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* Active state - prevents sliding animation and fills check icon */
        .checklist__item.active {
            transform: translateX(69px) !important;
            opacity: 1 !important;

            .checklist__icon_alt {
                fill: var(--nadiyno-navy);
            }
        }

        /* Prevent slide animation for active items */
        .checklist__item.active.visible {
            transform: translateX(69px) !important;
        }

        /* Hover effects - only for non-active items */
        .checklist__item:not(.active):hover {
            transform: translateX(21px);
        }

    }

    /* Tablet (max-width: 900px) - Scale base unit from 69px to 42px */
    @media (max-width: 900px) {
        /* Section margin: 0 calc(42px * 2) = 0 84px */
        margin: 0 calc(42px * 2);
        padding: calc(42px * 2) 0;

        .section__header {
            /* Header margin: 0 -42px */
            margin: 0 -42px;
        }

        .section__body {
            gap: 21px; /* Was 33px, scaled proportionally */

            .checklist__item {
                /* Item margin-left: calc(-42px * 2) = -84px */
                margin-left: calc(-42px * 2);
                /* Padding: 21px 42px, then override left to calc(42px * 3) = 126px */
                padding: 21px 42px;
                padding-left: calc(42px * 3);
                gap: 42px; /* Was 69px */
                font-size: var(--font-size-b4);

                /* Scale transforms proportionally */
                transform: translateX(-84px); /* Was -138px */

                .checklist__icon {
                    width: 48px;
                    height: auto;
                }
            }

            .checklist__item.visible {
                transform: translateX(0);
            }

            .checklist__item.active,
            .checklist__item.active.visible {
                transform: translateX(42px) !important; /* Was 69px */
            }

            .checklist__item:not(.active):hover {
                transform: translateX(13px); /* Was 21px, scaled proportionally */
            }
        }
    }

    /* Mobile (max-width: 600px) - Scale base unit from 69px to 24px */
    @media (max-width: 600px) {
        /* Section margin: 0 calc(24px * 2) = 0 48px */
        margin: 0;
        padding: calc(24px * 2) 0;


        .section__header {
            /* Header margin: 0 -24px */
            margin: 0;
            .section__title  { font-size: var(--font-size-h4);}
            .section__subtitle { font-size: var(--font-size-b2); }
        }

        .section__body {
            gap: 12px; /* Was 33px, scaled proportionally */

            .checklist__item {
                /* Item margin-left: calc(-24px * 2) = -48px */
                margin-left: calc(-24px * 2);
                /* Padding: 12px 24px, then override left to calc(24px * 3) = 72px */
                padding: 12px 24px;
                padding-left: calc(24px * 3);
                gap: 24px; /* Was 69px */
                font-size: var(--font-size-b5);
                border-radius: var(--border-radius-s);

                /* Scale transforms proportionally */
                transform: translateX(-48px); /* Was -138px */

                .checklist__icon {
                    width: 36px;
                    height: auto;
                    top: -3px;
                }
            }

            .checklist__item.visible {
                transform: translateX(0);
            }

            .checklist__item.active,
            .checklist__item.active.visible {
                transform: translateX(24px) !important; /* Was 69px */
            }

            .checklist__item:not(.active):hover {
                transform: translateX(7px); /* Was 21px, scaled proportionally */
            }
        }
    }
}

/* ==========================================
   Industry Recommendations Section - MIRRORED Checklist
   COMPLETE MIRROR: Everything on x-axis is reversed
   ========================================== */
#industryRecommendations {
    /* Section container - same as original */
    padding: calc(69px * 2) 0;
    background-color: var(--nadiyno-navy);
    color: var(--nadiyno-white);
    gap: var(--gap-l);
    margin: 0 calc(69px * 2); /* Same: 138px horizontal margins both sides */

    .section__header {
        /* Header pulls back - same as original */
        margin: 0 -69px; /* Same: -69px both sides */
    }

    .section__body {
        /* Body container - same as original */
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 33px;

        /* ==========================================
           MIRRORED CHECKLIST ITEMS
           ========================================== */
        .checklist__item_mirrored {
            /* Typography - same */
            font-size: var(--font-size-b3);

            /* X-AXIS MIRRORED: Pull item RIGHT beyond section bounds */
            margin-right: calc(-69px * 2); /* ORIGINAL: margin-left: calc(-69px * 2) */

            /* X-AXIS MIRRORED: Base padding, then override RIGHT */
            padding: 33px 69px;
            padding-right: calc(69px * 3); /* ORIGINAL: padding-left: calc(69px * 3) */

            /* Flex gap - same */
            gap: 69px;

            /* Colors - same */
            background-color: var(--nadiyno-white);
            color: var(--nadiyno-navy);

            /* X-AXIS MIRRORED: Round LEFT corners instead of RIGHT */
            border-radius: var(--border-radius-m) 0 0 var(--border-radius-m);
            /* ORIGINAL: border-radius: 0 var(--border-radius-m) var(--border-radius-m) 0 */

            /* Layout - MIRRORED: row-reverse puts icon on RIGHT */
            display: flex;
            flex-direction: row-reverse; /* ORIGINAL: flex-direction: row (default) */
            align-items: center;

            /* X-AXIS: Full width - same */
            width: 100%;

            /* ==========================================
               Animation setup - slide from RIGHT
               ========================================== */
            opacity: 0;
            /* X-AXIS MIRRORED: Start off-screen RIGHT */
            transform: translateX(138px); /* ORIGINAL: translateX(-138px) */
            transition:
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.8s ease-out,
                box-shadow var(--transition-smooth);

            /* Effects - same */
            position: relative;
            overflow: visible;
            cursor: pointer;

            .checklist__icon {
                /* Icon positioning - same */
                max-width: unset;
                top: -9px;
                position: relative;
            }

            /* SVG check icon alt path - smooth fill animation */
            .checklist__icon_alt {
                transition: fill 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            }
        }

        /* ==========================================
           VISIBLE STATE - base position
           ========================================== */
        .checklist__item_mirrored.visible {
            opacity: 1;
            /* X-AXIS: Base position at 138px */
            transform: translateX(138px);
        }

        /* ==========================================
           ACTIVE STATE - slide RIGHT +69px and fill check
           ========================================== */
        .checklist__item_mirrored.active {
            /* X-AXIS: Slide RIGHT when active (138px + 69px) */
            transform: translateX(69px) !important; /* Base 138px + 69px */
            opacity: 1 !important;

            .checklist__icon_alt {
                fill: var(--nadiyno-navy);
            }
        }

        /* Prevent slide animation override for active items */
        .checklist__item_mirrored.active.visible {
            /* X-AXIS: Keep RIGHT position */
            transform: translateX(69px) !important; /* Base 138px + 69px */
        }

        /* ==========================================
           HOVER STATE - slide RIGHT +21px on hover
           ========================================== */
        .checklist__item_mirrored:not(.active):hover {
            /* X-AXIS: Gentle RIGHT nudge on hover (138px + 21px) */
            transform: translateX(117px); /* Base 138px + 21px */
        }
    }

    /* Tablet (max-width: 900px) - Scale base unit from 69px to 42px */
    @media (max-width: 900px) {
        /* Section margin: 0 calc(42px * 2) = 0 84px */
        margin: 0 calc(42px * 2);
        padding: calc(42px * 2) 0;

        .section__header {
            /* Header margin: 0 -42px */
            margin: 0 -42px;
        }

        .section__body {
            gap: 21px; /* Was 33px, scaled proportionally */

            .checklist__item_mirrored {
                /* Item margin-right: calc(-42px * 2) = -84px */
                margin-right: calc(-42px * 2);
                /* Padding: 21px 42px, then override right to calc(42px * 3) = 126px */
                padding: 21px 42px;
                padding-right: calc(42px * 3);
                gap: 42px; /* Was 69px */
                font-size: var(--font-size-b4);

                /* Scale transforms proportionally */
                transform: translateX(84px); /* Was 138px */

                .checklist__icon {
                    width: 48px;
                    height: auto;
                }
            }

            .checklist__item_mirrored.visible {
                transform: translateX(84px); /* Was 138px */
            }

            .checklist__item_mirrored.active,
            .checklist__item_mirrored.active.visible {
                transform: translateX(42px) !important; /* Was 69px */
            }

            .checklist__item_mirrored:not(.active):hover {
                transform: translateX(71px); /* Was 117px (138-21), scaled to 84-13 */
            }
        }
    }

    /* Mobile (max-width: 600px) - Scale base unit from 69px to 24px */
    @media (max-width: 600px) {
        /* Section margin: 0 calc(24px * 2) = 0 48px */
        margin: 0;
        padding: calc(24px * 2) 0;

        .section__header {
            /* Header margin: 0 -24px */
            margin: 0;
            .section__title  { font-size: var(--font-size-h4);}
            .section__subtitle { font-size: var(--font-size-b2); }
        }

        .section__body {
            gap: 12px; /* Was 33px, scaled proportionally */

            .checklist__item_mirrored {
                /* Item margin-right: calc(-24px * 2) = -48px */
                margin-right: calc(-24px * 2);
                /* Padding: 12px 24px, then override right to calc(24px * 3) = 72px */
                padding: 12px 24px;
                padding-right: calc(24px * 3);
                gap: 24px; /* Was 69px */
                font-size: var(--font-size-b5);
                border-radius: var(--border-radius-s);

                /* Scale transforms proportionally */
                transform: translateX(48px); /* Was 138px */

                .checklist__icon {
                    width: 36px;
                    height: auto;
                    top: -3px;
                }
            }

            .checklist__item_mirrored.visible {
                transform: translateX(48px); /* Was 138px */
            }

            .checklist__item_mirrored.active,
            .checklist__item_mirrored.active.visible {
                transform: translateX(24px) !important; /* Was 69px */
            }

            .checklist__item_mirrored:not(.active):hover {
                transform: translateX(41px); /* Was 117px (138-21), scaled to 48-7 */
            }
        }
    }
}

/* ==========================================
   researchLink Section
   ========================================== */
#researchLink {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--gap-m);
    padding-bottom: calc(var(--gap-m) + 21px); /* Extra space for half-button */

    width: 69%;
    margin: 0 auto;

    background: #FFE0F8;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
}

#researchLink .section__body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-s);
    text-align: center;
}

#researchLink .section__title {
    font-family: var(--heading-font-family);
    font-weight: 800;
    font-size: var(--font-size-h2);
    line-height: 110%;
    text-transform: uppercase;
    color: var(--nadiyno-navy);
    margin: 0;
    text-align: center !important;
}

#researchLink .section__subtitle {
    font-family: var(--body-font-family);
    font-size: var(--font-size-b3);
    line-height: 130%;
    color: var(--nadiyno-navy);
    margin: 0;
    text-align: center !important;
}

#analyzed {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);

    padding: var(--gap-xs) var(--gap-l);
    background: var(--nadiyno-navy);
    color: var(--nadiyno-white);
    border: none;
    border-radius: var(--border-radius-m);

    font-family: var(--heading-font-family);
    font-size: var(--font-size-b3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    box-shadow: 0px 4px 8px rgba(37, 44, 62, 0.3);
    cursor: pointer;
    transition: transform var(--transition-smooth),
                box-shadow var(--transition-smooth),
                background-color var(--transition-smooth);
}

#analyzed a {
    color: var(--nadiyno-white);
    text-decoration: none;
}

#analyzed:hover {
    transform: translate(-50%, 50%) translateY(-2px);
    box-shadow: 0px 6px 12px rgba(37, 44, 62, 0.4);
    background: var(--nadiyno-pink);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    #researchLink {
        width: 90%;
        padding: var(--gap-m) var(--gap-s);
        padding-bottom: calc(var(--gap-m) + 25px);
    }

    #researchLink .section__body {
        gap: var(--gap-xs);
    }

    #researchLink .section__title {
        font-size: var(--font-size-h4);
    }

    #researchLink .section__subtitle {
        font-size: var(--font-size-b5);
    }

    #analyzed {
        padding: var(--gap-3xs) var(--gap-s);
        font-size: var(--font-size-b5);
    }
}
