/* ============================================
   VISORIA LANDING PAGE - DESKTOP STYLES
   ============================================ */

/* Desktop-specific styles (default styles for screens wider than 968px) */

/* ============================================
   GLASSMORPHISM CARD - DESKTOP
   ============================================ */
.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 - DESKTOP
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
}

.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 {
    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));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 12px rgba(142, 112, 255, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.cta-btn-nav::after {
    display: none;
}

.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;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.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);
}

/* ============================================
   BUTTONS - DESKTOP
   ============================================ */
.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;
}

.cta-btn.large-XXL {
    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 - DESKTOP
   ============================================ */
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 - DESKTOP
   ============================================ */
.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    overflow: hidden;
    background-image: none;
}

.hero-video-mobile {
    display: none;
}

.hero-video-desktop {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(142, 112, 255, 0.3) 0%, rgba(226, 209, 249, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
    z-index: 2;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-cta {
    width: auto;
}

.hero-cta-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin: 0;
    text-align: center;
}

/* ============================================
   HOW IT WORKS SECTION - DESKTOP
   ============================================ */
.how-it-works {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(244, 240, 255, 0.3));
}

.how-it-works-mascot {
    display: none; /* Hide mobile mascot on desktop */
}

.how-it-works-desktop-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.how-it-works-desktop-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -5rem;
    width: 100%;
    position: relative;
    overflow: visible;
    min-width: 0;
}

.how-it-works-desktop-mascot-img {
    width: 140%;
    max-width: 800px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

/* Firefox-specific fix for percentage width issue */
@-moz-document url-prefix() {
    .how-it-works-desktop-mascot {
        overflow: visible;
        width: 100%;
    }
    
    .how-it-works-desktop-mascot-img {
        width: 140% !important;
        min-width: 140% !important;
        max-width: 800px !important;
        box-sizing: border-box;
    }
}

/* Alternative Firefox fix using supports */
@supports (-moz-appearance: none) {
    .how-it-works-desktop-mascot-img {
        width: 140% !important;
        min-width: 140% !important;
    }
}

.steps-grid {
    display: none; /* Hide regular steps-grid on desktop */
}

.steps-grid-desktop-story {
    display: grid !important; /* Show desktop story features grid */
}

.steps-grid-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0;
}

.step-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    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-card.glass-card {
    background: linear-gradient(90deg, rgba(226, 209, 249, 0.9) 0%, rgba(224, 247, 250, 0.9) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px var(--shadow-purple);
}

/* Hide number text on desktop, show SVG icon instead */
.steps-grid-desktop .step-number {
    font-size: 0;
    line-height: 0;
}

.steps-grid-desktop .step-number .step-icon {
    font-size: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-grid-desktop .step-number .step-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.steps-grid-desktop .step-title .step-number-text {
    display: inline-block;
}

.step-icon {
    font-size: 4.5rem;
    margin: 1.5rem 0 1rem;
}

.step-content {
    display: block;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.8rem;;
}

.step-number-text {
    font-weight: 700;
}

.step-description {
    color: var(--text-light);
    font-size: 1rem;
}

.how-it-works-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    grid-column: 2;
    margin-top: -10rem;
}

.how-it-works-cta {
    width: 60%;
}
/* ============================================
   BENEFITS SECTION - DESKTOP
   ============================================ */
.benefits {
    position: relative;
    overflow: hidden;
}

.benefits-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    margin-bottom: 3rem;
}

.benefits-mascot {
    display: none; /* Hide mobile mascot on desktop */
}

.benefits-mascot-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.benefits-title-wrapper {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    z-index: 2;
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.benefits-title-wrapper .section-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.benefits-title-wrapper .section-subtitle {
    color: var(--primary-purple);
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* Desktop Benefits Layout */
.benefits-desktop-wrapper {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.benefits-carousel-desktop-wrapper {
    position: relative;
    width: 84%; /* Increased by 20% from 70% */
}

.benefits-carousel-desktop-wrapper .carousel-btn {
    display: none; /* Hide arrows on desktop carousel */
}

.benefits-carousel-desktop {
    display: flex;
    gap: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: 100%;
}

.benefits-cards-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefits-desktop-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -7rem;
}

.benefits-desktop-mascot-img {
    
    max-width: 650px;
    height: auto;
    display: block;
    animation: mascot-float-desktop 6s ease-in-out infinite;
    transform-origin: center;
    filter: drop-shadow(0 10px 30px rgba(142, 112, 255, 0.3));
}

@keyframes mascot-float-desktop {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(2deg) scale(1.02);
    }
    50% {
        transform: translateY(-25px) rotate(0deg) scale(1.05);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg) scale(1.02);
    }
}

@keyframes mascot-magic {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-8px) rotate(1deg) scale(1.02);
    }
}

.carousel-dots-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot-desktop {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(142, 112, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-desktop.active {
    background: var(--primary-purple);
    transform: scale(1.2);
}

.benefits-carousel-wrapper {
    display: none; /* Hide mobile carousel on desktop */
}

.benefits-carousel {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    scroll-behavior: smooth;
}

.benefit-card {
    padding: 3rem 2rem;
    text-align: center;
    opacity: 0.5;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.benefits-carousel-desktop .benefit-card {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    opacity: 1;
    transform: scale(1);
    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;
    padding: 2.5rem 2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.benefits-carousel-desktop .benefit-card.glass-card {
    background: linear-gradient(90deg, rgba(226, 209, 249, 0.9) 0%, rgba(224, 247, 250, 0.9) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.benefits-cards-desktop .benefit-card {
    opacity: 1;
    transform: scale(1);
    min-width: auto;
    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;
}

.benefits-cards-desktop .benefit-card.glass-card {
    background: linear-gradient(90deg, rgba(226, 209, 249, 0.9) 0%, rgba(224, 247, 250, 0.9) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.benefit-card.active {
    opacity: 1;
    transform: scale(1);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-cards-desktop .benefit-icon {
    margin-bottom: 1.5rem;
    width: 100%;
}

.benefit-icon-img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    display: block;
}

.benefits-carousel-desktop .benefit-icon {
    margin-bottom: 1.5rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.benefits-carousel-desktop .benefit-icon-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.benefits-cards-desktop .benefit-icon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.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%;
    transform: translateY(-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;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.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);
}

.benefits-illustration {
    text-align: center;
    margin-top: 3rem;
    font-size: 4rem;
}

.mascot-hearts {
    display: inline-block;
    animation: float 5s ease-in-out infinite;
}

.moon-sleeping {
    display: inline-block;
    margin-left: 1rem;
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* ============================================
   STORY FEATURES SECTION - DESKTOP
   ============================================ */

.story-features-mobile {
    display: none !important; /* Hide mobile version on desktop */
}

.story-features-desktop {
    display: block;
}

.story-mascot-desktop{
    width: 60%;
    animation: mascot-magic 6s ease-in-out infinite;            
    
}
.story-features-mascot-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.steps-grid-desktop-story {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -12rem;
    position: relative;
    z-index: 2;
}

.steps-grid-desktop-story .step-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 2.5rem 2rem 4rem;
    background: linear-gradient(90deg, rgba(226, 209, 249, 0.85) 0%, rgba(250, 245, 255, 0.9) 100%);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(142, 112, 255, 0.15);
    border: none;
    position: relative;
    margin-top: 2.5rem;
}

.steps-grid-desktop-story .step-card.glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.steps-grid-desktop-story .step-icon {
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-purple);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(142, 112, 255, 0.3);
}

.steps-grid-desktop-story .step-icon svg {
    width: 40px;
    height: 40px;
    color: white !important;
}

.steps-grid-desktop-story .step-icon svg * {
    stroke: white !important;

    color: white !important;
}

.steps-grid-desktop-story .step-icon svg path {
    stroke: white !important;

}

.steps-grid-desktop-story .step-icon svg g {
    stroke: white !important;

}

.steps-grid-desktop-story .step-icon svg g path {
    stroke: white !important;

}

.steps-grid-desktop-story .step-content {
    width: 100%;
    margin-top: 1rem;
}

.steps-grid-desktop-story .step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center !important;
    margin-top: 2rem;
}

.steps-grid-desktop-story .step-description {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    text-align: center !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.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;
}

.story-features-cta {
    width: 40%;
    text-align: center;
    margin: 0 auto;
}

.story-features-cta-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ============================================
   TRUST & SAFETY SECTION - DESKTOP
   ============================================ */
.trust-safety {
    background: none;
}

.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);
}


.trust-badges-mobile {
    display: none !important; /* Hide mobile badges on desktop */
}

.trust-content-mobile {
    display: none !important; /* Hide mobile content wrapper on desktop */
}

.trust-content-desktop {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.trust-badges-desktop {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-safety-mascot-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-badge {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    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);
}

.trust-badge.glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.trust-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(142, 112, 255, 0.2);
    position: relative;
}

.trust-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;
}

.trust-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-purple);
    overflow: visible;
    display: block;
}

.trust-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-purple);
    overflow: visible;
    display: block;
}

.trust-icon svg g {
    fill: none !important;
    stroke: var(--primary-purple) !important;
    stroke-width: 4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.trust-icon svg g circle {
    fill: var(--primary-purple) !important;
    stroke: var(--primary-purple) !important;
    stroke-width: 4 !important;
}

.trust-icon svg g path {
    fill: var(--primary-purple) !important;
    stroke: var(--primary-purple) !important;
    stroke-width: 4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.trust-badge:first-child .trust-icon svg {
    width: 40px;
    height: 40px;
    overflow: visible;
}

.trust-badge:first-child .trust-icon svg g {
    fill: none !important;
    stroke: var(--primary-purple) !important;
    stroke-width: 4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.trust-badge:first-child .trust-icon svg g circle {
    fill: var(--primary-purple) !important;
    stroke: var(--primary-purple) !important;
    stroke-width: 4 !important;
}

.trust-badge:first-child .trust-icon svg g path {
    fill: var(--primary-purple) !important;
    stroke: var(--primary-purple) !important;
    stroke-width: 4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.trust-content-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trust-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.trust-badge:first-child .trust-title {
    white-space: nowrap;
    word-break: keep-all;
}

.trust-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

.trust-illustration {
    text-align: center;
    font-size: 5rem;
}

.trust-safety-mascot-mobile {
    display: none !important; /* Hide mobile mascot on desktop */
}

.trust-safety-mascot-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-safety-mascot-img {
    max-width: 70%;
    height: auto;
    animation: mascot-float-desktop 6s ease-in-out infinite;
    transform-origin: center;
}


.mascot-shield {
    animation: float 5s ease-in-out infinite;
}

/* ============================================
   PRICING SECTION - DESKTOP
   ============================================ */
@media (min-width: 969px) {
.pricing {
    background: linear-gradient(180deg, rgba(244, 240, 255, 0.3), rgba(255, 255, 255, 0.3));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.pricing-card-wrapper {
    position: relative;
}

.pricing-card-wrapper.featured .pricing-card {
    border: 2px solid var(--primary-purple);
    transform: scale(1.05);
}

.pricing-card {
    position: relative;
    overflow: hidden;
    padding: 0rem 1rem;
    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);
    min-height: 180px;
}

/* 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;
    z-index: 0;
}

.pricing-card-content {
    position: relative;
    z-index: 1;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    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.5rem;
    align-items: flex-end;
    justify-content: center;
    line-height: 1.2;
}

.best-value-badge {
    position: absolute;
    top: -45px;
    left: -30px;
    background: transparent;
    padding: 0;
    z-index: 999;
}

.best-value-image {
    display: block;
    width: 120px;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(142, 112, 255, 0.5));
}

.pricing-mascot-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: mascot-magic 6s ease-in-out infinite;
    transform-origin: center;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: right;
}

.pricing-title.subscription {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top:1.5rem;
    text-align: right;
}

.pricing-title.one-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top:-0.5rem;
    text-align: right;
}

.pricing-title-subscription {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: right;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    text-align: right;
}

.pricing-price.subscription {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    text-align: right;
}

.pricing-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: right;
}

.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: 12px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    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: 0.5rem;
}

.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 {
    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;
    font-size: 1rem;
    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-bottom: 0.2rem;
}

.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-btn-subsciption::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;
}

.pricing-btn-subsciption:hover::before {
    animation: glow-ring 1.4s linear infinite;
    opacity: 0.9;
}
} /* End @media (min-width: 969px) for pricing section */

/* ============================================
   FINAL CTA SECTION - DESKTOP
   ============================================ */
.final-cta {
    background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.final-cta .section-title {
    color: white;
    margin-bottom: 2rem;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cta-illustration {
    font-size: 5rem;
}

.mascot-pajamas {
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.final-cta .cta-btn {
    background: white;
    color: var(--primary-purple);
}

.final-cta .cta-btn:hover {
    background: var(--lavender);
}

/* Hide mobile version on desktop */
.final-cta-footer-mobile {
    display: none !important;
}

/* Desktop Final CTA Section & Footer */
.final-cta-footer-desktop {
    background: linear-gradient(180deg, rgba(88, 0, 122, 0.645) 0%, rgba(88, 0, 122, 0.645) 100%);
    padding: 4rem 0;
    display: block;
}

.cta-footer-card-desktop {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: 100%;
}

.cta-footer-card-desktop.glass-card:hover {
    transform: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.final-cta-footer-desktop:hover .cta-footer-card-desktop {
    transform: none !important;
    box-shadow: none !important;
}

.cta-section-desktop {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 6rem;
    margin-top: -5rem;
}

.cta-text-wrapper-desktop {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: -4rem;
}

.cta-text-wrapper-desktop .footer-social-desktop {
    margin-top: 0.5rem;
}

.cta-title-desktop {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1.2;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-title-line1-desktop,
.cta-title-line2-desktop {
    display: block;
}

.cta-mascot-desktop {
    flex-shrink: 0;
    width: 35%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -7rem;
}

.cta-mascot-img-desktop {
    width: 130%;
    height: auto;
    display: block;
}

.cta-section-desktop .cta-btn {
    width: auto;
    align-self: flex-start;
    padding: 16px 32px;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section-desktop .cta-btn:hover {
    background: rgba(179, 153, 217, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-section-desktop {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
    padding-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-links-row-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    align-items: center;
    justify-content: center;
}

.footer-links-row-desktop a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    opacity: 0.9;
    position: relative;
}

.footer-links-row-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.footer-links-row-desktop a:hover {
    color: white;
    opacity: 1;
}

.footer-links-row-desktop a:hover::after {
    width: 100%;
}

.footer-bottom-row-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    min-height: 48px;
}

.footercopyright-desktop {
    color: white;
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
    opacity: 0.9;
    flex: 1;
    text-align: center;
}

.scroll-to-top-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    padding: 0;
    margin: 0;
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
    pointer-events: auto;
    z-index: 100;
}

.scroll-to-top-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.scroll-to-top-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.footer-social-desktop {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: -3rem;
    margin-bottom: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-desktop a {
    font-size: 1.75rem;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
    color: white;
    opacity: 0.9;
}

.footer-social-desktop a:hover {
    transform: scale(1.2);
    opacity: 1;
}

.footer-social-desktop a svg {
    fill: white !important;
    color: white !important;
    display: block;
}

.footer-social-desktop a svg path {
    fill: white !important;
    stroke: none !important;
}

.footer-social-desktop a svg circle {
    fill: white !important;
    stroke: white !important;
}

/* ============================================
   FOOTER - DESKTOP
   ============================================ */
.footer {
    background: linear-gradient(180deg, rgba(142, 112, 255, 0.1), rgba(142, 112, 255, 0.2));
    padding: 60px 0 40px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.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));
}
