:root {
    --primary-pink: #ff0051;
    --dark-bg: #111;
    --text-dark: #111;
    --text-light: #fff;
    --gray-bg: #e6e6e6;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "OpenRunde", "Inter", -apple-system, sans-serif;
}

body {
    background-color: var(--dark-bg); 
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

/* =========================================================
   TYPOGRAPHY SPECIFICS (Clash Display Headings)
========================================================= */
.hero-section h1,                  
.white-card h2,                    
.featured-in > span,               
.section-title,                    
.q-title,                          
.report-ready-modal h1,            
.payment-container h1 {            
    font-family: "Clash Display", sans-serif !important;
}

/* --- The App Window Wrapper --- */
.page-wrapper {
    background-color: #ffffff; 
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    margin-top: 8px; 
    min-height: 100vh;
    position: relative;
}

/* --- Top Radial Gradient --- */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px; 
    background-blend-mode: normal;
    background-image: radial-gradient(230% 89% at 48.3% 6%, #fff0 80%, #fff 100%), 
                      radial-gradient(50% 67% at 84.5% 30.1%, #ff5e00, #ff085e 75%, #ff004f);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    border-top-left-radius: 36px; 
    border-top-right-radius: 36px; 
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px 20px;
    color: white;
    position: relative;
    z-index: 2; 
}

@media (min-width: 901px) {
    .navbar {
        max-width: 1200px;
        padding-left: 25px;
        padding-right: 25px;
    }
}

.highlight {
    color: #ff004f;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.lang-selector {
    background: white;
    color: black;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- Main Layout Setup --- */
.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px; 
    align-items: flex-start;
    position: relative;
    z-index: 2; 
    padding: 0 25px;
}

.content-left {
    flex: 1; 
    min-width: 0; 
}

/* Sticky Sidebar Wrapper */
.sidebar-right {
    width: 420px; 
    flex-shrink: 0;
    position: sticky;
    top: 40px; 
}

/* --- The Glass Panel Wrapper --- */
.glass-panel {
    width: 100%;
    height: auto; 
    background-color: rgba(0, 0, 0, 0.08); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
    border-radius: 32px;
    padding: 10px 10px 16px 10px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- The Inner White Card --- */
.white-card {
    background: white;
    border-radius: 24px;
    padding: 30px 15px 15px 21px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.white-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: -0.5px;
}

/* --- Gender Selection Grid --- */
.gender-selection {
    display: flex;
    gap: 15px;
    margin-top: 40px; 
}

.gender-card {
    flex: 1;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 145px;
    overflow: visible; 
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.gender-card img {
    position: absolute;
    bottom: 35px; 
    left: 50%;
    transform: translateX(-50%);
    width: 125%; 
    max-width: 160px; 
    z-index: 10;
    pointer-events: none; 
}

.gender-card .label {
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 1rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 11;
    letter-spacing: -0.2px;
}

.gender-card {
    background-color: #e6e6e6; 
}
.gender-card .label {
    background-color: #d4d4d4; 
    color: #555;
}

.gender-card.active {
    background-color: #ffd6e4; 
    border-color: var(--primary-pink);
}
.gender-card.active .label {
    background-color: var(--primary-pink);
    color: white;
}

.gender-card:hover {
    transform: translateY(-2px);
}

/* --- Big Search Button --- */
.start-search-btn {
    width: 100%;
    background: black;
    color: white;
    border: none;
    border-radius: 999px; 
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
}

.start-search-btn:hover {
    transform: scale(1.02);
}

.pointer-wrapper {
    position: absolute;
    right: 10px;
    bottom: -35px; 
    width: 65px; 
    z-index: 20;
    pointer-events: none; 
    animation: animate-point 1.2s ease-in-out infinite;
}

.pointer-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 8px 12px rgba(0,0,0,0.15)); 
}

@keyframes animate-point {
    0%, 100% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.start-search-btn .btn-text {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.start-search-btn .btn-subtext {
    font-size: 0.75rem;
    color: #999;
    margin-top: 2px;
}

.start-search-btn .arrow {
    position: absolute;
    right: 25px;
    display: flex;
    align-items: center;
}

.stats-text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
}

.text-pink { color: var(--primary-pink); }
.text-gray { color: #666; font-weight: 400; }
.text-center { text-align: center; }

/* --- Footer Area (Inside Glass Panel) --- */
.features-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px; 
    font-size: 0.85rem;
    font-weight: 500;
    color: #F9FAFB; 
    padding-bottom: 6px;
    margin-top: 10px;
    transition: color 0.3s ease; 
}

.features-footer.scrolled-dark {
    color: #000; 
}

.features-footer span {
    display: flex;
    align-items: flex-start;
    gap: 6px; 
    opacity: 0.9;
    flex: 1;
    line-height: 1.25;
}

.features-footer svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Left Content Styling (Hero & Text) --- */
.text-white { color: white; }

.hero-section {
    padding-top: 20px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.laurel {
    width: 20px;
    height: auto;
    opacity: 0.9;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0px;
}

.stars {
    color: white;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 2px;
}

.hero-section h1 {
    font-size: 4.2rem; 
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2.5px; 
    margin-bottom: 25px;
}

.hero-section p {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 460px;
    opacity: 0.95;
    line-height: 1.4;
}

/* --- Scrolling Marquee (Featured in) --- */
.featured-in {
    margin-top: 20px;
}

.featured-in > span {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
    display: block;
    margin-bottom: 15px;
}

.logos-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    max-width: 500px;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-right: 50px;
    animation: scroll 35s linear infinite;
}

.logos img {
    height: 32px; 
    width: auto; 
    opacity: 0.8;
    object-fit: contain; 
    filter: brightness(0) invert(1); 
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- How it Works Section --- */
.how-it-works {
    margin-top: 80px;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px; 
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 35px;
    max-width: 95%;
    line-height: 1.5;
}

.steps-card {
    background-color: #F0F0F0; 
    border-radius: 24px;
    padding: 35px;
}

.step {
    display: flex;
    flex-direction: column;
}

.step-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-pill {
    background: white;
    border-radius: 50px;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.step-num {
    color: var(--primary-pink);
    font-weight: 800;
    font-size: 1.2rem;
}

.step-divider {
    width: 1px;
    height: 18px;
    background-color: #e4e4e4;
    margin: 0 12px;
}

.step-icon {
    color: var(--primary-pink);
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.step-title {
    font-weight: 700;
    color: #111;
    font-size: 1.05rem;
}

.time-badge {
    background-color: var(--primary-pink);
    color: white;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 0, 81, 0.2);
}

.step-body {
    margin-left: 30px; 
    padding-left: 25px;
    border-left: 3px solid var(--primary-pink);
    padding-top: 15px;
    padding-bottom: 30px;
}

.step-body p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    max-width: 90%;
}

.step-body.last-step {
    border-left: 3px solid transparent; 
    padding-bottom: 0;
}

/* --- What you'll get Section --- */
.what-you-get {
    margin-top: 60px;
    margin-bottom: 60px;
    width: 100%; 
    position: relative; 
}

.what-you-get::before {
    content: '';
    position: absolute;
    top: -60px;
    bottom: -60px;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    background-image: 
        radial-gradient(75% 50% at -4.3% 50%, #ff87ad 8%, #ffffff 96.85%), 
        radial-gradient(37.82% 31% at 46.8% 65%, rgba(255,0,80,0.2), rgba(171,171,171,0));
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: normal;
    z-index: -1;
    pointer-events: none;
}

.what-you-get .section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.header-video-wrapper {
    width: 75px;
    height: 110px;
    background-color: #111;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.header-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.header-text .section-title {
    margin-bottom: 8px; 
    white-space: normal; 
}

.header-text .section-subtitle {
    white-space: nowrap; 
    max-width: none; 
    margin-bottom: 0;
    color: #666;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%; 
}

.full-width { grid-column: span 2; }
.half-width { grid-column: span 1; }

.bento-card {
    background: #fff;
    border-radius: 24px;
    padding: 0; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #eaeaea;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.card-image-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f5f5f5;
}

.double-img-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px; 
    padding-top: 25px; 
}

.double-img-wrapper img {
    width: auto;
    height: 100%;
    max-height: 220px; 
    object-fit: contain;
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    height: 45%; 
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 25%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none; 
    z-index: 5;
}

.gray-bg { background-color: #f7f9fa; }
.white-bg { background-color: #ffffff; }

.full-width .card-image-wrapper { height: 260px; }
.half-width .card-image-wrapper { height: 180px; }

.cover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
}

.contain-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 20px; 
    display: block;
}

.subscription-wrapper {
    height: 220px !important; 
}

.subscription-wrapper img {
    padding: 30px; 
    max-width: 320px; 
    margin: 0 auto; 
}

.card-content {
    padding: 22px 26px 26px 26px;
    background: white;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.card-icon {
    font-size: 1.2rem; 
}

.card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* --- Why people love Infedetect --- */
.why-love-us {
    margin-top: 80px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 15px; 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fdf2f6; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-pink);
}

.icon-circle svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    letter-spacing: -0.2px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* --- Infedetect in Action Section --- */
.in-action-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.relative { position: relative; }
.z-10 { z-index: 10; }

.bg-sparkle {
    position: absolute;
    top: -15px;
    right: 0px;
    width: 120px;
    height: 120px;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}
.bg-sparkle svg {
    width: 100%;
    height: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.stat-card {
    background: #fff;
    border: 1px solid rgba(48, 48, 48, 0.1);
    border-radius: 22px;
    padding: 8px; 
    height: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.stat-inner {
    background-color: #F5F5F5;
    border-radius: 16px;
    height: 100%;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.text-blue { color: #2E7CF6; }
.text-purple { color: #8D1CFF; }

.stat-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #171717;
    margin: 0;
}

.stat-text {
    font-size: 0.95rem;
    color: rgba(23, 23, 23, 0.6);
    line-height: 1.4;
    margin: 0;
}

/* --- Reviews Intro Section --- */
.reviews-intro {
    margin-top: 80px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars-svg {
    display: flex;
    color: #ffa600; 
    gap: 4px;
}

.stars-svg svg {
    width: 16px;
    height: 16px;
}

.rating-badge p {
    font-size: 1.1rem;
    color: rgba(48, 48, 48, 0.64);
    font-weight: 500;
    margin: 0;
}

/* --- Scrolling Reviews Track --- */
.reviews-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    padding: 10px 0;
}

.reviews-track {
    display: flex;
    gap: 20px;
    width: max-content; 
    animation: scroll 45s linear infinite; 
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card {
    min-width: 320px;
    max-width: 320px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-stars {
    color: #ffa600; 
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.review-time {
    font-size: 0.85rem;
    color: #999;
}

.review-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; 
}

.review-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

/* --- FAQ Section --- */
.faq-section {
    margin-top: 80px;
    margin-bottom: 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    background-color: #f3f4f6; 
} 

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    font-family: inherit;
}

.faq-question span:first-child {
    padding-right: 20px;
    line-height: 1.4;
}

.faq-icon {
    color: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; 
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s ease-out; 
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
}

.faq-item.active {
    border-color: rgba(0, 0, 0, 0.15);
    background-color: #fff; 
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); 
}

.faq-item.active .faq-answer {
    max-height: 400px; 
}

/* Hide mobile sticky bar on desktop */
.mobile-sticky-bar {
    display: none;
}

/* =========================================================
   MOBILE ONLY OVERRIDES (Cleaned & Consolidated)
========================================================= */
@media (max-width: 900px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }
    
    /* Safely clips elements like .what-you-get::before that bleed out */
    .page-wrapper {
        overflow-x: hidden; 
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0 15px; 
    }
    
    .content-left, 
    .hero-section {
        display: contents; 
    }

    .hero-badge { order: 1; justify-content: center; margin-top: 15px; width: 100%; margin-bottom: -15px; }
    .hero-section h1 { order: 2; text-align: center; width: 100%; margin-bottom: 15px; }
    .hero-section p { order: 3; text-align: center; width: 100%; margin: 0 auto 30px auto; }
    
    .sidebar-right { 
        order: 4; 
        width: 100%; 
        max-width: 100%; 
        position: relative; 
        top: 0; 
        margin: 0 0 0 0; 
    }
    
    .featured-in { order: 5; text-align: center; width: 100%; margin-top: 0px !important; margin-bottom: 40px; }
    .featured-in > span { text-align: center; }
    .logos-wrapper { margin: 0 auto; width: 100%; }
    
    .how-it-works { order: 6; width: 100%; margin-top: 0; }
    .what-you-get { order: 7; width: 100%; margin-top: 20px; }
    .why-love-us { order: 8; width: 100%; margin-top: 20px; }
    .in-action-section { order: 9; width: 100%; margin-top: 20px; }
    .reviews-intro { order: 10; width: 100%; margin-top: 20px; }
    .faq-section { order: 11; width: 100%; margin-top: 20px; }
    
    .content-left > div[style*="height: 100px"] { display: none; }
    
    .bg-gradient { height: 1500px; }
}

@media (max-width: 768px) {
    body:not(.payment-body) { 
        padding-bottom: 120px; 
    }

    .bg-sparkle {
        top: -50px !important;
    }
    
    .how-it-works .section-title {
        padding-top: 50px !important;
    }

    .hero-section h1 { font-size: 2.6rem; letter-spacing: -1px; }
    .hero-section p { font-size: 1.05rem; }
    .section-title { font-size: 2.2rem; letter-spacing: -1px; }
    .section-subtitle { font-size: 1rem; }
    
    .bento-grid, 
    .features-grid, 
    .stats-grid { 
        grid-template-columns: 1fr; 
        gap: 15px; 
    }
    
    .full-width, .half-width { grid-column: span 1; }
    .double-img-wrapper { gap: 15px; padding-top: 15px; }
    .double-img-wrapper img { max-height: 140px; }
    
    .white-card { padding: 25px 20px; }
    .gender-card { height: 125px; }
    .gender-card img { max-width: 140px; bottom: 30px; }
    
    .steps-card { padding: 25px 20px; }
    .step-body { margin-left: 20px; padding-left: 20px; }

    .what-you-get::before {
        left: -50%;
        width: 200%;
        background-image: 
            radial-gradient(120% 20% at -5% 25%, rgb(255, 135, 173) 8%, rgb(255, 255, 255) 96.85%), 
            radial-gradient(60% 15% at 50% 40%, rgba(255, 0, 80, 0.15), rgba(171, 171, 171, 0));
    }

    .mobile-sticky-bar {
        display: block; 
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        width: 92%; 
        max-width: 370px;
    }
    
    .mobile-sticky-card {
        background: white;
        border: 2px solid var(--primary-pink);
        border-radius: 20px;
        padding: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
    .mobile-sticky-genders {
        display: flex;
        gap: 8px;
    }
    .mobile-gender-mini {
        width: 52px;
        height: 52px;
        background: #e6e6e6;
        border-radius: 10px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        border: 2px solid transparent;
        cursor: pointer;
    }
    .mobile-gender-mini img {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }
    .mobile-gender-mini .mini-label {
        text-align: center;
        font-size: 0.6rem;
        font-weight: 700;
        background: #d4d4d4;
        color: #555;
        padding: 2px 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
    .mobile-gender-mini.active {
        background: #ffd6e4;
        border-color: var(--primary-pink);
    }
    .mobile-gender-mini.active .mini-label {
        background: var(--primary-pink);
        color: white;
    }
    .mobile-start-btn {
        background: black;
        color: white;
        border: none;
        border-radius: 50px;
        padding: 0 18px;
        height: 48px;
        font-size: 1.05rem;
        font-weight: 600;
        font-family: inherit;
    }
}

/* =========================================================
   QUESTIONNAIRE MODAL OVERLAY STYLES
========================================================= */

.q-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;   
    bottom: 0;  
    width: 100%;  
    height: 100%; 
    background: #ffffff;
    z-index: 99999;
    display: none; 
    overflow-y: auto;
}

.q-modal-content {
    width: 100%;
    max-width: 460px; 
    margin: 0 auto;
    padding: 12px 22px; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.q-header {
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
    height: 36px;
}

.q-back-btn {
    position: absolute;
    left: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

.q-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: #000;
}

.q-progress-bar {
    display: flex;
    gap: 8px; 
    margin-bottom: 20px;
    width: 100%;
}

.q-segment {
    flex: 1;
    height: 7px; 
    background: rgb(239, 239, 239); 
    border-radius: 999px; 
    transition: background 0.3s ease;
}

.q-segment.active {
    background: linear-gradient(to right, rgb(255, 0, 79), rgb(255, 8, 94), rgb(255, 94, 0)); 
}

.q-step-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.q-step {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.q-title {
    font-size: 25px; 
    font-weight: 700;
    color: #000;
    letter-spacing: 1px; 
    line-height: 1.2;
    margin-bottom: 12px;
}

.q-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 4px; 
}

.q-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.q-input-icon img {
    width: 100%;
    height: auto;
    animation: animate-nudge 2s infinite; 
}

.q-input {
    width: 100%;
    background: rgba(48, 48, 48, 0.07); 
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    padding: 12px 12px 12px 56px; 
    font-size: 20px;
    font-family: inherit;
    color: #000;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.q-input::placeholder {
    color: rgba(116, 115, 115, 0.64); 
}

.q-input:focus {
    border-color: #a5a5a5;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
}

.q-input-hint {
    font-size: 14px;
    color: rgba(48, 48, 48, 0.64); 
    margin-bottom: 20px;
}

.q-input.has-error {
    border-color: #ff0051 !important;
    background-color: #fff0f4 !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 81, 0.1) !important;
}

.q-pro-tip {
    background: #F6F6F6;
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.q-tip-line {
    width: 5px;
    height: 64px;
    background-color: #FF004F;
    border-radius: 2px;
    flex-shrink: 0;
}

.q-tip-text {
    padding-left: 20px;
    font-size: 14px;
    color: rgba(48, 48, 48, 0.64);
    line-height: 1.3;
    margin: 0;
}

.q-tip-label {
    color: #FF0000;
    font-weight: 600;
}

.q-next-btn {
    background: linear-gradient(90deg, #ff0051, #ff5e00); 
    color: white;
    border: none;
    border-radius: 50px;
    height: 56px;
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    margin-top: 0; 
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(255, 0, 81, 0.3); 
    transition: transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.q-next-text {
    display: block;
    text-align: center;
}

.q-next-icon {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.q-next-btn:active {
    transform: scale(0.98);
}

.q-footer-text, .q-footer-rating {
    text-align: center;
    font-size: 14px;
    color: #000;
    font-weight: 500;
    padding-bottom: 10px;
}

.q-footer-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.q-text-red {
    color: #FF0000;
}

@keyframes animate-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* =========================================================
   PAYMENT PAGE STYLES
========================================================= */
.payment-body {
    background-color: #f7f9fa;
    color: #111;
    font-family: 'Inter', -apple-system, sans-serif;
}

.payment-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px 25px;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

@media (max-width: 600px) {
    .payment-container {
        margin: 15px auto;
        width: 95%;
        padding: 20px 15px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }
}

.payment-header-pills {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 0.85rem;
    font-weight: 700;
}
.offer-pill {
    color: #666;
    background: #f5f5f5;
    padding: 6px 14px;
    border-radius: 50px;
}
.offer-pill .timer { color: #ff0051; }
.action-pill {
    color: white;
    background: #ff0051;
    padding: 6px 14px;
    border-radius: 50px;
}

.payment-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}
.payment-subtitle {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.match-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 30px;
}
.match-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.05rem;
}
.match-percent {
    color: #ff0051;
}
.match-bar-container {
    position: relative;
}
.match-bar {
    height: 18px;
    background: linear-gradient(90deg, #32d74b, #ffcc00, #ff3b30);
    border-radius: 50px;
    width: 100%;
    position: relative;
}
.match-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 12px, rgba(255,255,255,0.4) 12px, rgba(255,255,255,0.4) 14px);
    border-radius: 50px;
}
.match-tooltip {
    position: absolute;
    right: 5%;
    bottom: -32px;
    background: black;
    color: white;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 10;
}
.match-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

.section-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 35px;
}
.profile-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 160px;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.example-card {
    border: 2px solid #ff0051;
}
.example-badge {
    position: absolute;
    top: 0; left: 0;
    background: #ff0051;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-bottom-right-radius: 8px;
    z-index: 10;
}
.profile-card img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.blurred-card img {
    filter: blur(12px);
    opacity: 0.7;
    transform: scale(1.2); 
}
.profile-info {
    position: relative;
    z-index: 10;
    color: white;
    font-size: 0.7rem;
    padding: 10px;
    line-height: 1.4;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.see-report-btn {
    position: relative;
    z-index: 10;
    margin: 10px;
    background: white;
    color: black;
    border: none;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 0;
    cursor: pointer;
}

.pricing-card {
    border: 2px solid #ff0051;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}
.pricing-header {
    background: #ff0051;
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px;
}
.pricing-body {
    padding: 20px;
    background: #fff5f8;
}
.pricing-body h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.features-list {
    list-style: none;
    font-size: 0.85rem;
    color: #444;
}
.features-list li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price-current {
    font-weight: 800;
    color: #ff0051;
    font-size: 1.25rem;
}
.price-old {
    text-decoration: line-through;
    color: #999;
    font-weight: 600;
}

.payment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}
.payment-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: #666;
}
.payment-tabs .tab.active {
    border-color: #2E7CF6;
    color: #2E7CF6;
    background: rgba(46, 124, 246, 0.05);
}

.form-group {
    margin-bottom: 16px;
    flex: 1;
}
.form-row {
    display: flex;
    gap: 15px;
}
.pay-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}
.pay-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    color: #333;
}
.pay-input::placeholder { color: #bbb; }
.pay-input:focus { border-color: #2E7CF6; }

.pay-btn {
    width: 100%;
    background: linear-gradient(90deg, #ff0051, #ff5e00);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 0, 81, 0.2);
}
.secure-text {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

.match-icon {
    width: 18px; 
    height: auto;
    vertical-align: middle;
    margin-right: 6px; 
    margin-bottom: 3px; 
}

.error-text {
    color: #ef4444; 
    font-size: 13px;
    margin-top: 4px;
    display: block;
    min-height: 18px; 
}

.pay-input.has-error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

.pac-container {
    z-index: 99999 !important;
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    font-family: inherit;
    padding: 6px 0;
    max-height: 250px;
    overflow-y: auto;
}

.pac-item {
    padding: 14px 16px;
    font-size: 15px;
    border-top: none;
    cursor: pointer;
    line-height: 1.4;
}

.pac-item:hover {
    background: #f7f7f7;
}

.pac-icon {
    display: none;
}

.pac-item-query {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.pac-item span:not(.pac-item-query) {
    font-size: 14px;
    color: #777;
    font-weight: 400;
}

.pac-logo:after {
    margin-right: 10px;
}

/* =========================================================
   SCANNING SEQUENCE (Mobile Container on Gray Backdrop)
========================================================= */

.scanning-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f4f6; 
    font-family: 'Inter', sans-serif;
}

.scanning-mobile-container {
    width: 100%;
    max-width: 460px; 
    height: 100%;
    max-height: 95vh; 
    position: relative;
    overflow: hidden;
    background: #ffffff; 
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .scanning-mobile-container {
        width: 92% !important;
        max-width: 400px !important;
        border-radius: 24px !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    }
}

.scanning-bg-map {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.65; 
    z-index: 1;
    pointer-events: none; 
}

.scanning-header {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 160px;
    background: linear-gradient(to bottom, #ff0051 15%, transparent);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    color: white;
}

.scan-target-info strong {
    background: rgba(0, 0, 0, 0.45);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    display: inline-block;
    backdrop-filter: blur(4px);
}

.scan-match-info strong {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    display: block;
    text-align: right;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.phase-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 20;
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.phase-container.active { display: flex; }

.scanner-eye {
    position: relative;
    width: 70px; height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 25px rgba(255, 0, 81, 0.5);
    margin-top: -80px; 
}
.pulse-ring {
    position: absolute;
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    border: 3px solid #ff0051;
    border-radius: 50%;
    animation: pulseEye 1.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulseEye {
    0% { transform: scale(0.8); opacity: 1; border-width: 5px; }
    100% { transform: scale(1.8); opacity: 0; border-width: 1px; }
}

.profiles-analyzed-pill {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    backdrop-filter: blur(4px);
}
.profiles-analyzed-pill span {
    color: #ff0051;
    font-weight: 800;
    font-size: 12px;
    margin-left: 4px;
}

.bottom-progress-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
}
.bottom-progress-track {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    height: 48px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.bottom-progress-fill {
    position: absolute;
    left: 0; top: 0;
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #ff0051, #ff87ad);
    z-index: 1;
}
.bottom-progress-text {
    position: relative;
    z-index: 2;
    color: #555;
    font-weight: 700;
    font-size: 13px;
    transition: color 0.1s linear; 
}

.scanning-dark-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 40;
    display: none;
    backdrop-filter: none; 
}

.download-modal {
    background: white;
    padding: 30px 25px;
    border-radius: 24px;
    width: 80%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.download-modal p {
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
    font-size: 15px;
}

.dl-progress-track {
    background: #f0f0f0;
    height: 12px;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.dl-progress-fill {
    background: linear-gradient(90deg, #ff0051, #ff3371);
    height: 100%;
    width: 0%;
    border-radius: 50px;
}

.dl-progress-text {
    font-weight: 800;
    color: #111;
    font-size: 18px;
}

/* =========================================================
   REPORT READY MODAL
========================================================= */

.report-ready-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%; 
    max-width: 384px; 
    height: auto; 
    background-color: #ffffff;
    border-radius: 1.5rem; 
    padding: 30px 24px 50px 24px; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); 
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 50;
}

.report-ready-modal .q-input {
    background-color: #f3f4f6 !important;
    border: 2px solid transparent !important; 
    box-shadow: inset 0 0 0 1px #e5e7eb !important; 
    color: #111;
    font-size: 15px !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.report-ready-modal .q-input:focus,
.report-ready-modal .q-input:not(:placeholder-shown) {
    background-color: #ffffff !important;
    border: 2px solid #000000 !important; 
    box-shadow: none !important;
    outline: none;
}

@media (min-width: 640px) {
    .report-ready-modal {
        width: 90%; 
    }
}

.success-badge {
    position: absolute;
    top: -24px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #00d816; 
    width: 48px;  
    height: 48px; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    z-index: 60;
}

#phase-2-email, 
#phase-3-download {
    z-index: 50 !important; 
}

/* =========================================================
   SCANNING BLURRED PROFILES
========================================================= */
.scanning-profiles-track {
    position: absolute;
    top: 90px; 
    left: 15px; 
    width: calc(100% - 30px); 
    display: flex;
    gap: 8px; 
    z-index: 12;
}

.scan-mini-card {
    width: calc((100% - 32px) / 5); 
    height: 90px;
    background-color: #000;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scan-mini-card.show {
    opacity: 1;
    transform: translateY(0);
}

.scan-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    opacity: 0.7;
    transform: scale(1.2); 
}

.scan-mini-card-top {
    position: absolute;
    top: 6px;
    right: 6px;
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.scan-mini-card-bottom {
    position: absolute;
    bottom: 6px;
    left: 6px;
    color: white;
    font-size: 8px;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.scan-mini-card-bottom strong {
    font-size: 11px;
    font-weight: 800;
    display: block;
}

/* =========================================================
   PAYMENT OFFER POPUP (Matches Infidetect Brand Colors)
========================================================= */
.offer-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.offer-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.offer-popup-content {
    background-color: #f9f9f9;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px rgba(255, 0, 81, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 45px 35px;
    width: 90%;
    max-width: 520px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.offer-popup-overlay.show .offer-popup-content {
    transform: translateY(0);
}

.offer-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.offer-popup-close:hover {
    color: #000;
}

.offer-subtitle {
    color: #090909;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.offer-title {
    font-family: "Clash Display", sans-serif !important;
    font-size: 2.2rem;
    background: linear-gradient(to right, #ff5e00, #ff085e 75%, #ff004f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.offer-text {
    color: #090909;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 35px;
    max-width: 420px;
    margin-inline: auto;
    font-weight: 300;
}

.offer-btn {
    background: linear-gradient(90deg, var(--primary-pink), #ff5e00); 
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    padding: 16px 30px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    max-width: 340px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 25px;
}

.offer-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(255, 0, 81, 0.4); 
}

.offer-progress-container {
    width: 220px;
    height: 6px;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.offer-progress-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-pink), #ff5e00);
    border-radius: 10px;
    animation: shrinkBar 15s linear forwards; 
}

@keyframes shrinkBar {
    0% { width: 100%; }
    100% { width: 0%; }
}

@media (max-width: 480px) {
    .offer-popup-content { padding: 35px 20px; }
    .offer-title { font-size: 1.8rem; }
    .offer-text { font-size: 0.95rem; }
    .offer-btn { font-size: 0.95rem; padding: 14px 20px; }
}