/* ============================================
   VISORIA LANDING PAGE - MOBILE STYLES
   ============================================ */

/* Mobile styles for screens up to 968px */
@media (max-width: 968px) {
    /* ============================================
       GLASSMORPHISM CARD - MOBILE
       ============================================ */
    .glass-card {
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 24px;
        box-shadow: 0 8px 32px 0 var(--shadow-purple);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .glass-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px 0 var(--shadow-strong);
    }

    /* ============================================
       HEADER & NAVIGATION - MOBILE
       ============================================ */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1rem;
        position: relative;
        z-index: 1;
    }

    .logo {
        display: flex;
        align-items: center;
        height: 50px;
    }

    .logo-image {
        height: 100%;
        width: auto;
        max-height: 50px;
        transition: transform 0.3s ease;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }

    .logo-image:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    }

    /* Mobile navbar scrolled state */
    .header.scrolled {
        background: rgba(142, 112, 255, 0.7) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: background 0.3s ease;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px var(--shadow-purple);
    }

    .nav-links a {
        color: var(--text-dark) !important;
        text-shadow: none !important;
    }

    .nav-links a::after {
        background: var(--primary-purple);
    }

    .nav-links a:hover {
        color: var(--primary-purple) !important;
    }

    .sign-in-link {
        color: var(--text-light) !important;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .sign-in-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .cta-btn-nav {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
        color: white !important;
        padding: 12px 28px;
        border-radius: 999px;
        font-weight: 600;
        text-decoration: none;
        box-shadow:
            0 10px 22px rgba(31, 41, 55, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.5) inset;
        transform: translateY(0);
        transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
        overflow: visible;
    }

    .cta-btn-nav:hover {
        transform: translateY(-2px) scale(1.02);
        filter: brightness(1.02);
        color: var(--text-dark) !important;
        box-shadow:
            0 14px 26px rgba(31, 41, 55, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    }

    .cta-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
        color: white;
        padding: 16px 40px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 1.1rem;
        text-decoration: none;
        box-shadow:
            0 12px 26px rgba(31, 41, 55, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.5) inset;
        transform: translateY(0);
        transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
        overflow: visible;
    }

    .cta-btn:hover {
        transform: translateY(-2px) scale(1.03);
        filter: brightness(1.02);
        color: var(--text-dark);
        box-shadow:
            0 16px 32px rgba(31, 41, 55, 0.55),
            0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    }

    .cta-btn.large {
        padding: 18px 42px;
        font-size: 1.2rem;
    }

    /* 3D button glow layer */
    .cta-btn::before,
    .cta-btn-nav::before,
    .pricing-btn::before {
        content: '';
        position: absolute;
        inset: 2px;
        border-radius: inherit;
        background:
            linear-gradient(
                120deg,
                rgba(255, 255, 255, 0.95),
                rgba(168, 85, 247, 0.9),
                rgba(56, 189, 248, 0.8),
                rgba(255, 255, 255, 0.95)
            );
        background-size: 300% 300%;
        opacity: 0.0;
        pointer-events: none;
        mix-blend-mode: screen;
        transition: opacity 0.25s ease;
        z-index: -1;
    }

    .cta-btn:hover::before,
    .cta-btn-nav:hover::before,
    .pricing-btn:hover::before {
        animation: glow-ring 1.4s linear infinite;
        opacity: 0.9;
    }

    /* ============================================
       SECTION STYLES - MOBILE
       ============================================ */
    section {
        padding: 50px 0;
        position: relative;
        animation: fadeIn 0.6s ease-out;
    }

    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        text-align: center;
        color: var(--text-dark);
        margin-bottom: 1rem;
        text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    }

    .section-subtitle {
        text-align: center;
        color: var(--text-light);
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    /* ============================================
       HERO SECTION - MOBILE
       ============================================ */
    .hero {
        min-height: 86vh;
        align-items: flex-start;
        position: relative;
        overflow: hidden;
    }

    .hero-video-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    .hero-video-desktop {
        display: none;
    }

    .hero-content {
        text-align: center;
        padding: 100px 1rem 1rem;
        margin: 0;
        position: relative;
        height: 100%;
        min-height: 86vh;
        display: flex;
        flex-direction: column;
        z-index: 1;
    }

    .hero-text {
        max-width: 100%;
        flex: 1;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subtext {
        font-size: 1.2rem;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }

    .hero-cta-wrapper {
        position: absolute;
        bottom: 0rem; /* 50px */
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.1rem;
    }

    .hero-cta {
        width: 100%;
    }

    .hero-cta-note {
        color: rgba(255, 255, 255, 0.95);
        font-size: 1rem;
        font-weight: 600;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        margin: 0;
        text-align: center;
    }

    /* ============================================
       HOW IT WORKS SECTION - MOBILE
       ============================================ */
    .how-it-works {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(244, 240, 255, 0.3));
    }

    .how-it-works-mascot {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -3rem;
    }

    .how-it-works-mascot-img {
        width: 100%;
        height: auto;
        animation: mascot-magic 6s ease-in-out infinite;
        transform-origin: center;
    }

    @keyframes mascot-magic {
        0%, 100% {
            transform: translateY(0) rotate(0deg) scale(1);
        }
        50% {
            transform: translateY(-8px) rotate(1deg) scale(1.02);
        }
    }

    .steps-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: -5rem;
    }

    .steps-grid-mobile {
        display: grid !important; /* Ensure mobile story features grid is shown */
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: -5rem !important; /* Override negative margin */
        position: relative !important;
        z-index: 1 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .story-features-mobile .step-card {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .step-card {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: left;
        background: linear-gradient(90deg, rgba(226, 209, 249, 0.9) 0%, rgba(224, 247, 250, 0.9) 100%);
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(142, 112, 255, 0.15);
        border: none;
    }

    .step-number {
        display: none;
    }

    .step-icon {
        font-size: 2rem;
        margin: 0;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border-radius: 50%;
        flex-shrink: 0;
        border: 3px solid transparent;
        background-clip: padding-box;
        position: relative;
        box-shadow: 0 2px 8px rgba(142, 112, 255, 0.2);
    }

    .step-icon::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(226, 209, 249, 1) 0%, rgba(224, 247, 250, 1) 100%);
        z-index: -1;
    }

    .step-content {
        flex: 1;
    }

    .step-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }

    .step-number-text {
        font-weight: 700;
    }

    .step-description {
        color: var(--text-dark);
        font-size: 1rem;
        font-weight: 400;
        margin: 0;
    }

    .step-number {
        display: hidden;
    }

    .features-grid,
    .pricing-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    /* ============================================
       TRUST & SAFETY SECTION - MOBILE
       ============================================ */
    .trust-safety {
        background: linear-gradient(180deg, rgba(255, 240, 246, 0.3), rgba(244, 240, 255, 0.3));
    }

    .trust-section-title {
        font-size: 2.5rem;
        font-weight: 700;
        text-align: center;
        color: var(--text-dark);
        margin-bottom: 1rem;
        text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    }


    /* Hide side mascot on mobile to focus on badges */
    .trust-illustration {
        display: none;
    }

    .trust-content-desktop {
        display: none !important; /* Hide desktop content wrapper on mobile */
    }

    .trust-content-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-top: 2.5rem;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .trust-badges-desktop {
        display: none !important; /* Hide desktop badges on mobile */
    }

    .trust-badges-mobile {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 1rem;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        margin-top: -8em;
    }

    .trust-badges {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
        margin-top: -8em;
    }

    .trust-badge {
        flex: 1;
        max-width: 8rem;
        padding: 0;
        background: transparent;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    /* Purple badge style */
    .trust-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%, #FDFBFF 0%, #E4D6FF 40%, #C4AFFF 70%, #B38CFF 100%);
        box-shadow:
            0 6px 18px rgba(96, 76, 178, 0.35),
            0 0 0 4px rgba(255, 255, 255, 0.65);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: #4B356F;
        margin-bottom: 0.25rem;
        margin-top: 1.25rem;
    }

    .trust-title {
        font-size: 1rem;
        font-weight: 800;
        color: var(--text-dark);
        margin: 0;
        line-height: 1.2rem;
    }

    .trust-description {
        font-size: 0.8rem;
        line-height: 1.3;
        color: var(--text-light);
        margin: 0;
    }

    .trust-illustration {
        text-align: center;
        font-size: 5rem;
    }

    .trust-safety-mascot-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin-top: -1rem;
        z-index: -1;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .trust-safety-mascot-desktop {
        display: none !important; /* Hide desktop mascot on mobile */
    }

    .trust-safety-mascot-img {
        width: 90%;
        height: auto;
        animation: mascot-magic 6s ease-in-out infinite;
        transform-origin: center;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        margin-bottom: 3rem;
    }

    /* ============================================
       FINAL CTA & FOOTER COMBINED - MOBILE
       ============================================ */

.container-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
}

    /* Hide desktop version on mobile */
    .final-cta-footer-desktop {
        display: none !important;
    }

    /* Mobile Final CTA Section & Footer */
    .final-cta-footer-mobile {
        background: transparent;
        padding-bottom: 0px;
        padding-top: 0px;
        position: relative;
        display: block !important;
    }

    .cta-footer-card-mobile {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        box-shadow: 0 8px 32px 0 rgba(142, 112, 255, 0.15);
        padding: 2rem 1.5rem;
        max-width: 100%;
        position: relative;
        overflow: visible;
    }

    .cta-section-mobile {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        padding-top: 1rem;
        border-bottom: 1px solid rgba(142, 112, 255, 0.15);
        position: relative;
    }

    .cta-text-wrapper-mobile {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-right: 0;
    }

    .cta-title-mobile {
        font-size: 1.55rem;
        font-weight: 800;
        color: var(--text-dark);
        margin: 0;
        line-height: 1.2;
        text-align: left;
        display: flex;
        flex-direction: column;
        margin-top: -2rem;
    }

    .cta-btn.large-XXL {
        font-size: 1.2rem !important;
        font-weight: 800;
        line-height: 1.2;
        text-align: left;
    }

    .cta-title-line1-mobile,
    .cta-title-line2-mobile {
        display: block;
    }

    .cta-mascot-mobile {
        position: absolute;
        top: -80px;
        right: -1rem;
        width: 85%;
        max-width: 200px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        z-index: 10;
    }

    .cta-mascot-img-mobile {
        width: 100%;
        height: auto;
        display: block;
    }

    .cta-section-mobile .cta-btn {
        margin-top: 3rem;
        width: 100%;
        align-self: stretch;
        padding: 20px 28px;
        font-size: 1rem;
        white-space: normal;
        text-align: center;
    }

    .footer-section-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .footer-links-row-mobile {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem 1.25rem;
        align-items: center;
        justify-content: center;
    }

    .footer-links-row-mobile a {
        color: var(--text-dark);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.3s ease;
        white-space: nowrap;
    }

    .footer-links-row-mobile a:hover {
        color: var(--primary-purple);
    }

    .footer-bottom-row-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footercopyright-mobile {
        color: var(--text-light);
        font-size: 0.65rem;
        margin: 0;
        text-align: center;
    }

    .footer-social-mobile {
        display: flex;
        gap: 0.75rem;
        align-items: center;
        justify-content: center;
    }

    .footer-social-mobile a {
        font-size: 1.4rem;
        text-decoration: none;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .footer-social-mobile a:hover {
        transform: scale(1.2);
    }

    /* ============================================
       FOOTER - MOBILE
       ============================================ */
    .footer {
        background: linear-gradient(180deg, rgba(142, 112, 255, 0.1), rgba(142, 112, 255, 0.2));
        padding: 60px 0 40px;
        position: relative;
    }

    .footer-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 1rem;
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: var(--text-light);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-links a:hover {
        color: var(--primary-purple);
    }

    .social-icons {
        display: flex;
        gap: 1rem;
    }

    .social-icons a {
        font-size: 1.5rem;
        text-decoration: none;
        transition: transform 0.3s ease;
    }

    .social-icons a:hover {
        transform: scale(1.2);
    }

    .footer-bottom {
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid rgba(142, 112, 255, 0.2);
        color: var(--text-light);
    }

    .footer-mascot {
        text-align: center;
        margin-top: 2rem;
        font-size: 3rem;
    }

    .mascot-footer {
        animation: float 6s ease-in-out infinite;
        filter: drop-shadow(0 2px 4px var(--shadow-purple));
    }

    /* Hide desktop wrappers on mobile */
    .how-it-works-desktop-wrapper {
        display: none;
    }

    .benefits-desktop-wrapper {
        display: none;
    }

    /* ============================================
       EMOTIONAL BENEFITS SECTION - MOBILE
       ============================================ */
    .benefits {
        position: relative;
        overflow: hidden;
        margin-bottom: -4rem !important;
        ;
    }

    .benefits-header {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 250px;
        margin-bottom: 2rem;
    }

    .benefits-mascot {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -3rem;
        z-index: -1;
    }

    .benefits-mascot-img {
        width: 100%;
        height: auto;
    }

    .benefits-title-wrapper {
        top: 11rem;
    }

    .benefits-title-wrapper .section-title {
        font-size: 1rem;
        font-weight: 800;
        margin-bottom: -0.3rem;;
    }

    .benefits-title-wrapper .section-subtitle {
        font-size: 1rem;
        font-weight: 600;
    }

    .benefits-title-wrapper {
        position: absolute;
        top: 150px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        text-align: center;
        width: 100%;
        pointer-events: none;
    }

    .benefits-title-wrapper .section-title {
        color: var(--text-dark);
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 0.1rem;
        text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
    }

    .benefits-carousel-wrapper {
        display: block !important;
        position: relative;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden;
        margin-top: 0;
    }

    .benefits-carousel {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        border-radius: 16px;
    }

    .benefits-carousel::-webkit-scrollbar {
        display: none;
    }

    .benefit-card {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        scroll-snap-align: center;
        padding: 1.5rem 1rem;
        text-align: center;
        background: linear-gradient(-180deg, rgba(226, 209, 249, 0.9) 0%, rgba(224, 247, 250, 0.9) 100%);
        border-radius: 0;
        box-shadow: none;
        border: none;
        opacity: 1;
        margin: 0;
        height: 75%;
        border-radius: 16px;
    }

    .benefit-card.active {
        opacity: 1;
    }

    .benefit-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: none !important;
    }

    .benefit-icon-img {
        width: 100%;
        height: auto;
    }

    .benefit-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

    .benefit-description {
        color: var(--text-light);
        font-size: 1.1rem;
    }

    .carousel-btn {
        position: absolute;
        top: 50%;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 2rem;
        color: var(--primary-purple);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .carousel-btn:hover {
        background: rgba(255, 255, 255, 0.9);
    }

    .carousel-btn-prev,
    .carousel-btn-next {
        display: none !important;
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.4rem;
        margin-top: 0.75rem;
        position: relative;
        padding: 0;
    }

    .carousel-dots .dot {
        width: 8px;
        height: 8px;
    }

    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(142, 112, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dot.active {
        background: var(--primary-purple);
        transform: scale(1.2);
    }

    /* ============================================
       STORY FEATURES SECTION - MOBILE
       ============================================ */

    .story-features-desktop {
        display: none !important; /* Hide desktop version on mobile */
    }

    .story-features-mobile {
        display: block !important;
        position: relative !important;
        z-index: 1 !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: auto !important;
    }

    .story-features-mobile * {
        visibility: visible !important;
    }

    .story-features-mascot-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -1rem;
        z-index: 0;
        position: relative;
    }
    .section-title.story-features {
        margin-top: rem;
    }

    .features-mascot {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -8rem;
        z-index: -1;
    }

    .features-mascot-img {
        width: 100%;
        height: auto;
    }

    .feature-card {
        padding: 2.5rem 2rem;
        text-align: center;
    }

    .feature-icon {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        animation: float 4s ease-in-out infinite;
    }

    .feature-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

    .feature-description {
        color: var(--text-light);
        font-size: 1rem;
    }

    /* ============================================
       PRICING SECTION - MOBILE
       ============================================ */
    .pricing {
        margin-top: -1rem;
        background: none;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.75rem;
        margin-top: -3.8rem;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card-wrapper {
        position: relative;
    }

    .pricing-card {
        position: relative;
        overflow: hidden;
        padding: 1.1rem 1.75rem;
        border-radius: 24px;
        background: linear-gradient(135deg, #f4f0ff 0%, #e0f7fa 50%, #fff0f6 100%);
        box-shadow: 0 14px 40px rgba(142, 112, 255, 0.25);
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        color: var(--text-dark);
        aspect-ratio: 16 / 9;
    }

    /* Subscription card uses same height as others (16:9) */
    /* .pricing-card-subscription has no overrides; it matches .pricing-card */

    /* Remove glass background so image + gradient are visible */
    .pricing-card.glass-card {
        background-color: transparent;
    }

    .pricing-card-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        z-index: 0;
        pointer-events: none;
    }

    .pricing-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background-repeat: no-repeat;
        background-position: left center;
        background-size: cover;
        opacity: 1;
        pointer-events: none;
        z-index: 0;
    }

    .pricing-card-free::before {
        background-image: url('_assets/pricing_free.jpg');
    }

    .pricing-card-pay::before {
        background-image: url('_assets/pricing_pay_per_story.jpg');
    }

    .pricing-card-subscription::before {
        background-image: url('_assets/pricing_subscription.jpg');
    }

    .pricing-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.8), transparent 55%);
        mix-blend-mode: screen;
        pointer-events: none;
    }

    .pricing-card-content {
        position: relative;
        z-index: 1;
        max-width: 60%;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-end;
        justify-content: center;
    }

    .pricing-card-content-subsciption {
        position: relative;
        z-index: 1;
        max-width: 60%;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-end;
        justify-content: center;
        line-height: 1.2;
    }
    .pricing-card-wrapper.featured .pricing-card {
        border: 2px solid var(--primary-purple);
        transform: scale(1.03);
    }

    .best-value-badge {
        position: absolute;
        top: -26px;
        right: 6px;
        display: inline-block;
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        z-index: 999;
    }

    .best-value-image {
        display: block;
        width: 80px;
        height: auto;
        filter: drop-shadow(0 6px 18px rgba(142, 112, 255, 0.5));
    }

    .pricing-title {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--text-dark);
    }

    .pricing-title.subscription {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--text-dark);
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .pricing-price {
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--primary-purple);
        margin-bottom: 0.35rem;
    }

    .pricing-price.subscription {
        margin-top: -1rem !important;

    }

    .pricing-description {
        color: var(--text-light);
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .pricing-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
        color: white;
        padding: 9px 30px;
        border-radius: 999px;
        font-weight: 600;
        text-decoration: none;
        box-shadow:
            0 10px 22px rgba(31, 41, 55, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.45) inset;
        transform: translateY(0);
        transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
        overflow: visible;
        
    }

    .pricing-btn-subsciption {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
        color: white;
        padding: 12px 30px;
        border-radius: 999px;
        font-weight: 600;
        text-decoration: none;
        box-shadow:
            0 10px 22px rgba(31, 41, 55, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.45) inset;
        transform: translateY(0);
        transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
        overflow: visible;
        margin-top: -1rem;
    }

    .pricing-btn:hover {
        transform: translateY(-2px) scale(1.02);
        filter: brightness(1.02);
        color: var(--text-dark);
        box-shadow:
            0 14px 28px rgba(31, 41, 55, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    }

    .pricing-btn-subsciption:hover {
        transform: translateY(-2px) scale(1.02);
        filter: brightness(1.02);
        color: var(--text-dark);
        box-shadow:
            0 14px 28px rgba(31, 41, 55, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    }

    .pricing-mascot-img {
        width: 80%;
        height: auto;
        animation: mascot-magic 6s ease-in-out infinite;
        transform-origin: center;
    }
}

/* Mobile styles for screens up to 640px */
@media (max-width: 640px) {
    .hero-headline {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .moon {
        font-size: 2.5rem;
        top: 5%;
        right: 5%;
    }

    .cta-btn {
        padding: 16px 10px;
        
    }

    .hero-cta {
        text-transform: uppercase;
        font-weight: 700 !important;
    }

    .trust-safety-mascot {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -1rem;
        z-index: -1;
    }

    .trust-safety-mascot-img {
        width: 90%;
        height: auto;
        animation: mascot-magic 6s ease-in-out infinite;
        transform-origin: center;
    }

    @keyframes mascot-magic {
        0%, 100% {
            transform: translateY(0) rotate(0deg) scale(1);
        }
        50% {
            transform: translateY(-8px) rotate(1deg) scale(1.02);
        }
    }

    .trust-section-title {
        font-size: 2rem;
        font-weight: 800;
        margin-top: -3rem;
        text-align: center;
    }
    .trust-content {
        font-size: 1rem;
        font-weight: 400;
        
    }
    .trust-safety-badges {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .trust-safety-badge {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}