/* GOOUS Brand Colors */
:root {
    --pink: #ff007f;
    --purple: #8000ff;
    --indigo: #4b0082;
    --gray-dark: #1a1a1a;
    --gray-light: #333;
    --text-light: #ffffff;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--pink), var(--purple));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(to right, var(--pink), var(--purple));
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: bold;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 101;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        z-index: 100;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-logo img {
        height: 32px;
    }
}

/* Update hero section to account for navbar */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: var(--text-light);
    text-align: center;
    padding: 0 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0));
    background-size: 200px 200px;
    animation: parallaxStars 100s linear infinite;
}

.glow {
    background: radial-gradient(circle at 50% 50%, 
        rgba(255, 0, 127, 0.3) 0%,
        rgba(128, 0, 255, 0.2) 45%,
        rgba(75, 0, 130, 0.1) 70%,
        transparent 100%);
    filter: blur(40px);
    transform-origin: center;
    animation: glowPulse 8s ease-in-out infinite;
}

.gradient {
    background: linear-gradient(
        45deg,
        var(--pink) 0%,
        var(--purple) 50%,
        var(--indigo) 100%
    );
    opacity: 0.1;
    mix-blend-mode: overlay;
    animation: gradientShift 15s ease infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    color: var(--text-light);
    letter-spacing: 2px;
}

.gradient-text {
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.sliding-text {
    height: 80px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.sliding-text span {
    display: block;
    height: 100%;
    animation: slide 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.primary-btn, .secondary-btn {
    padding: 1.2rem 3rem;
    font-size: 1.35rem;
    font-weight: bold;
    border-radius: 3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.primary-btn {
    background: linear-gradient(to right, var(--pink), var(--purple));
    color: white;
    border: none;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.5);
}

.secondary-btn:hover {
    border-color: var(--pink);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scrollMouse 2s ease-in-out infinite;
}

@keyframes parallaxStars {
    from { background-position: 0 0; }
    to { background-position: -400px 400px; }
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slide {
    0%, 25% { transform: translateY(0); }
    33%, 58% { transform: translateY(-80px); }
    66%, 91% { transform: translateY(-160px); }
    100% { transform: translateY(0); }
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 6rem 0;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .sliding-text {
        height: 60px;
        margin-top: 0.25rem;
    }

    .sliding-text span {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
        padding: 0;
        line-height: 1.5;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
        padding: 0 2rem;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1.125rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .mouse {
        width: 24px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .sliding-text span {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        padding: 0 1rem;
    }

    .primary-btn, .secondary-btn {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

/* Global Styles */
body {
    background-color: var(--gray-dark);
    color: var(--text-light);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background: linear-gradient(to right, var(--pink), var(--purple));
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: var(--gray-dark);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        var(--pink) 0%,
        var(--purple) 50%,
        var(--indigo) 100%
    );
    opacity: 0.8;
    z-index: 0;
    transform: translateZ(0);
    animation: gradientMove 15s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.pricing-container {
    position: relative;
    z-index: 1;
}

/* Update existing elements to be above background */
.pricing-toggle,
.pricing-grid,
.text-3xl,
.mb-8 {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

/* Pricing Cards */
.package-card {
    background-color: var(--gray-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.package-card:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    background-color: var(--pink);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--purple);
}

/* Footer */
footer {
    background-color: var(--gray-light);
    padding: 15px;
    font-size: 14px;
    color: #aaa;
}

/* Hidden Easter Egg */
.hidden-easter-egg {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 0, 127, 0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.hidden-clue {
    color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.hidden-clue:hover {
    color: #ff007f;
}
.hidden-star {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    cursor: pointer;
    display: none;
}

/* Star Rating Styles */
.star-rating-demo {
    padding: 6rem 2rem;
    background: var(--gray-dark);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 2rem;
}

.rating-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.rating-content {
    text-align: center;
}

.rating-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.rating-interactive {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.star {
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.star:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.star.inactive {
    opacity: 0.3;
    filter: none;
}

.click-instruction {
    font-size: 1.1rem;
    color: var(--pink);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

#rating-message {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .rating-content h2 {
        font-size: 2.5rem;
    }

    .rating-interactive {
        max-width: 90%;
        padding: 2rem;
    }

    .star {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .star-rating-demo {
        padding: 4rem 1rem;
    }

    .rating-content h2 {
        font-size: 2rem;
    }

    .rating-interactive {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .star {
        font-size: 2rem;
    }

    #rating-message {
        font-size: 1.2rem;
    }
}

/* Easter Egg Star Styles */
#hiddenStar {
    position: fixed;
    top: -50px;
    width: 30px;
    height: 30px;
    transition: top 8s linear;
    cursor: pointer;
    z-index: 9999;
    display: none;
    pointer-events: auto;
    user-select: none;
    font-size: 24px;
    line-height: 1;
    text-align: center;
}

#hiddenStar.falling {
    display: block;
    top: calc(100vh - 80px);
}

#hiddenStar.falling::before,
#hiddenStar.falling::after {
    content: '✦';
    position: absolute;
    color: var(--pink);
    font-size: 16px;
    animation: sparkle 2s infinite;
    opacity: 0;
}

#hiddenStar.falling::before {
    left: -15px;
    top: 10px;
    animation-delay: 0.5s;
}

#hiddenStar.falling::after {
    right: -15px;
    top: 5px;
    animation-delay: 1s;
}

@keyframes sparkle {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-10px, 10px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-20px, 20px) scale(0);
        opacity: 0;
    }
}

/* Add multiple sparkles using box-shadow */
#hiddenStar.falling {
    display: block;
    top: calc(100vh - 80px);
    box-shadow: 
        10px 10px 5px var(--pink),
        -10px 10px 5px var(--purple),
        5px 15px 5px var(--pink),
        -5px 15px 5px var(--purple);
    animation: trailEffect 2s infinite;
}

@keyframes trailEffect {
    0% {
        box-shadow: 
            10px 10px 0 -5px var(--pink),
            -10px 10px 0 -5px var(--purple),
            5px 15px 0 -5px var(--pink),
            -5px 15px 0 -5px var(--purple);
    }
    50% {
        box-shadow: 
            10px 10px 5px var(--pink),
            -10px 10px 5px var(--purple),
            5px 15px 5px var(--pink),
            -5px 15px 5px var(--purple);
    }
    100% {
        box-shadow: 
            10px 10px 0 -5px var(--pink),
            -10px 10px 0 -5px var(--purple),
            5px 15px 0 -5px var(--pink),
            -5px 15px 0 -5px var(--purple);
    }
}

#hiddenStar.reset {
    transition: none;
    display: none;
    top: -50px;
    box-shadow: none;
}

.hidden-clue {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1000;
    color: rgba(255, 255, 255, 0.5) !important;
    user-select: none;
}

.hidden-clue:hover {
    opacity: 1;
    color: #ff007f !important;
}

/* Easter Egg Popup Styles */
.hidden-easter-egg {
    display: none;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: white !important;
    color: black !important;
    padding: 2rem !important;
    border-radius: 10px !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.2) !important;
    z-index: 1001;
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background-color 0.3s;
    color: black !important;
}

.close-button:hover {
    background-color: rgba(0,0,0,0.1);
}

.hidden-easter-egg.show {
    display: block !important;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Pricing Section Styles */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    background: var(--gray-light);
    padding: 0.5rem;
    border-radius: 2rem;
    margin: 2rem auto;
    max-width: 500px;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border-radius: 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: linear-gradient(to right, var(--pink), var(--purple));
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--gray-light);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--pink), var(--purple));
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.amount {
    display: none;
}

.amount.active {
    display: inline;
}

.period {
    font-size: 1rem;
    opacity: 0.7;
}

.feature-list {
    margin: 2rem 0;
}

.tier {
    display: none;
}

.tier.active {
    display: block;
}

.feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--pink);
    font-weight: bold;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: -3rem;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1;
    display: none;
}

/* Show badge only on Starter Package */
.pricing-card[data-popular="starter"] .popular-badge {
    display: block;
}

/* Common Features Box */
.common-features {
    margin: 4rem auto;
    padding: 3rem;
    background: linear-gradient(145deg, var(--gray-light), rgba(51, 51, 51, 0.8));
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
}

.common-features h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.feature-icon i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Add subtle animation for the features */
@keyframes featureFloat {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.feature-item:hover .feature-icon {
    animation: featureFloat 2s ease-in-out infinite;
}

/* Live Support CTA Section */
.live-support-cta {
    position: relative;
    padding: 6rem 2rem;
    margin: 4rem 0;
    overflow: hidden;
    background: var(--gray-dark);
}

.live-support-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        var(--pink) 0%,
        var(--purple) 50%,
        var(--indigo) 100%
    );
    opacity: 0.8;
    z-index: 1;
    transform: translateZ(0);
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.live-support-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.live-support-cta h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.live-support-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.support-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.support-badge span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    color: var(--pink);
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    animation: float 20s infinite;
}

.shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 40%;
    right: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Remove floating squares styles */
.floating-squares {
    display: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 2rem;
    background: var(--gray-dark);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    touch-action: pan-y;
}

.testimonials-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

.testimonials-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    width: max-content;
    touch-action: pan-x pan-y;
}

.testimonial-card {
    flex: 0 0 350px;
    background: rgba(51, 51, 51, 0.5);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    touch-action: pan-y;
    pointer-events: auto;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(5px);
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.scroll-indicator {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--pink);
    transform: scale(1.2);
}

/* Add this to your existing testimonial styles */
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--pink), var(--purple));
    border-radius: 20px 20px 0 0;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    color: #FFD700;
}

.testimonial-rating i {
    margin-right: 0.25rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-light);
    margin: 0;
}

.author-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 1rem;
        touch-action: pan-y pinch-zoom;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

.testimonials-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Video Section Styles */
.video-section {
    padding: 6rem 2rem;
    background: var(--gray-dark);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 2rem;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.video-content {
    text-align: center;
}

.video-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/9;
    background: var(--gray-light);
    margin: 2rem auto;
    max-width: 1000px;
    width: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--gray-dark);
}

/* Video controls styling */
.video-wrapper video::-webkit-media-controls {
    background: transparent;
}

.video-wrapper video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}

.video-wrapper video::-webkit-media-controls-play-button {
    background: linear-gradient(45deg, var(--pink), var(--purple));
    border-radius: 50%;
    width: 44px;
    height: 44px;
    position: relative;
}

.video-wrapper video::-webkit-media-controls-timeline {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 15px;
}

.video-wrapper video::-webkit-media-controls-current-time-display,
.video-wrapper video::-webkit-media-controls-time-remaining-display {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.video-wrapper video::-webkit-media-controls-volume-slider {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0 5px;
}

.video-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.video-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: var(--text-light);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.video-features .feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.video-features .feature i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 1024px) {
    .video-content h2 {
        font-size: 2.5rem;
    }

    .video-wrapper {
        max-width: 90%;
    }

    .video-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 4rem 0;
    }

    .video-content h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .video-features .feature {
        font-size: 1.1rem;
    }

    .video-wrapper {
        margin: 1.5rem auto;
        width: 100%;
        border-radius: 0;
    }

    .video-wrapper video {
        border-radius: 0;
    }
}

/* Wheel Section Styles */
.wheel-section {
    padding: 4rem 1rem;
    background: var(--gray-dark);
    position: relative;
    overflow: visible;
    scroll-margin-top: 2rem;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
        linear-gradient(90deg, rgba(255, 0, 127, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(128, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
    background-position: center;
}

.wheel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.wheel-wrapper {
    position: relative;
    width: min(500px, 90vw);
    height: min(500px, 90vw);
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 10;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.wheel {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    background: var(--gray-dark);
    box-shadow: 
        0 0 50px rgba(255, 0, 127, 0.3),
        0 0 100px rgba(128, 0, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    transform: rotate(0deg);
    border: 15px solid rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.wheel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.wheel-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transition: filter 0.3s ease;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #1a1a1a, #333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    z-index: 2;
    border: 8px solid rgba(255, 255, 255, 0.1);
}

.spin-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.spin-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

.spin-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.wheel-verbiage {
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Ensure wheel segments are visible */
.wheel-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transition: filter 0.3s ease;
    opacity: 1;
    visibility: visible;
}

/* Add this to ensure the wheel container is visible */
.wheel-container {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Update popup type colors */
.popup-type.fact {
    background: linear-gradient(45deg, var(--pink), rgba(255, 0, 127, 0.7));
    color: white;
}

.popup-type.myth {
    background: linear-gradient(45deg, var(--purple), rgba(128, 0, 255, 0.7));
    color: white;
}

.popup-type.bonus {
    background: linear-gradient(45deg, #FFD700, rgba(255, 215, 0, 0.7));
    color: black;
}

/* Enhance wheel glow effect when spinning */
.wheel.spinning {
    animation: wheelGlow 0.5s ease-in-out infinite;
}

@keyframes wheelGlow {
    0%, 100% {
        box-shadow: 
            0 0 50px rgba(255, 0, 127, 0.3),
            0 0 100px rgba(128, 0, 255, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 70px rgba(255, 0, 127, 0.4),
            0 0 120px rgba(128, 0, 255, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

.wheel-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

.wheel-segment::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wheel-segment:hover::after {
    opacity: 1;
}

/* Enhanced center button styles */
.wheel-center::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    border-radius: 50%;
    z-index: -1;
    animation: centerGlow 4s linear infinite;
}

@keyframes centerGlow {
    0%, 100% {
        opacity: 0.5;
        filter: blur(3px);
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        filter: blur(5px);
        transform: scale(1.05);
    }
}

/* Add cyberpunk section background */
.wheel-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 50%, rgba(255, 0, 127, 0.05) 50%),
        linear-gradient(0deg, transparent 50%, rgba(128, 0, 255, 0.05) 50%);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(40px);
    }
}

.wheel-container h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

/* Wheel Popup Styles */
.wheel-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.wheel-popup.active {
    display: flex;
}

.popup-content {
    background: var(--gray-dark);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.close-popup:hover {
    transform: scale(1.1);
}

.popup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-type {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.popup-body {
    margin-bottom: 2rem;
}

.popup-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.did-you-know {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: var(--text-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 0.5rem 0;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.did-you-know::before {
    content: "Did you know?";
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.additional-info {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

.popup-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.next-spin-btn,
.claim-bonus-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.next-spin-btn {
    background: linear-gradient(to right, var(--pink), var(--purple));
    color: white;
}

.claim-bonus-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: black;
}

.next-spin-btn:hover,
.claim-bonus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

/* Scoreboard Styles */
.spin-scoreboard {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 600px;
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    min-width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.score-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-family: 'Arial', sans-serif;
}

@media (max-width: 768px) {
    .score-item {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }

    .score-label {
        font-size: 0.8rem;
    }

    .score-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 380px) {
    .score-item {
        min-width: 80px;
        padding: 0.5rem;
    }

    .score-value {
        font-size: 1.5rem;
    }
}

.bonus-cards {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.bonus-card {
    background: linear-gradient(145deg, #FFD700, #B8860B);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
}

.bonus-card:hover::before {
    left: 100%;
}

.bonus-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000;
    text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
    position: relative;
}

.bonus-card p {
    color: #222;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
}

/* Bonus Card Popup Styles */
.bonus-card-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.bonus-card-popup.active {
    display: flex;
}

.bonus-popup-content {
    background: linear-gradient(145deg, #FFD700, #B8860B);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 50px rgba(255, 255, 255, 0.2);
}

.bonus-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    z-index: 1;
}

.bonus-popup-close:hover {
    transform: scale(1.1);
}

.bonus-popup-title {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
}

.bonus-popup-description {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.bonus-popup-details {
    background: rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .bonus-popup-content {
        width: 95%;
        margin: 1rem;
        padding: 1.5rem;
    }

    .bonus-popup-title {
        font-size: 1.5rem;
    }

    .bonus-popup-description {
        font-size: 1.1rem;
    }
}

/* Smart Reply Section Styles */
.smart-reply-section {
    background: var(--gray-dark);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.smart-reply-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(128, 0, 255, 0.1), rgba(255, 0, 127, 0.1));
    pointer-events: none;
}

.smart-reply-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.smart-reply-section h2 {
    text-align: center;
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.smart-reply-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.smart-reply-box {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#reviewInput {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    padding: 1rem;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

#reviewInput:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 10px rgba(128, 0, 255, 0.2);
}

.reply-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.tone-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
}

.tone-selector label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.tone-dropdown {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-grow: 1;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.tone-dropdown:hover, .tone-dropdown:focus {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.tone-dropdown option {
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .reply-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tone-selector {
        width: 100%;
    }
    
    .generate-btn {
        width: 100%;
    }
}

.generate-btn {
    background: linear-gradient(45deg, var(--purple), var(--pink));
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 0, 255, 0.3);
}

.tries-left {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

.reply-output {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.typing-indicator {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--purple);
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

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

.generated-reply {
    color: var(--text-light);
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Upgrade Popup Styles */
.upgrade-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.upgrade-popup.active {
    display: flex;
}

.upgrade-popup-content {
    background: linear-gradient(45deg, var(--gray-dark), var(--gray-light));
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.upgrade-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.upgrade-popup-close:hover {
    opacity: 1;
}

.upgrade-popup h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.upgrade-popup p {
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.upgrade-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--purple), var(--pink));
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 0, 255, 0.3);
}

@media (max-width: 768px) {
    .smart-reply-section {
        padding: 3rem 1rem;
    }

    .smart-reply-section h2 {
        font-size: 2rem;
    }

    .reply-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .tries-left {
        text-align: center;
    }
}

.answer-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.answer-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.true-btn {
    background: linear-gradient(135deg, var(--pink), #ff007f);
    color: white;
}

.false-btn {
    background: linear-gradient(135deg, var(--purple), #8000ff);
    color: white;
}

.answer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.answer-btn:active {
    transform: translateY(0);
}

.answer-history {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.answer-history h3 {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.answer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.answer-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.answer-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.answer-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.user-answer {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.did-you-know {
    background: var(--pink);
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.5rem;
    position: relative;
}

.did-you-know::before {
    content: "Did you know?";
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

.answer-result {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.9rem;
}

.answer-correct {
    background: var(--pink);
    color: white;
}

.answer-incorrect {
    background: var(--purple);
    color: white;
}

@media (max-width: 768px) {
    .answer-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .answer-result {
        align-self: flex-start;
    }

    .question-text {
        font-size: 1rem;
    }

    .did-you-know {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
}

/* Bottom Navigation Styles */
.bottom-nav {
    background: var(--gray-light);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.bottom-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.bottom-nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
}

.bottom-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--pink), var(--purple));
    transition: width 0.3s ease;
}

.bottom-nav-link:hover {
    opacity: 1;
}

.bottom-nav-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .bottom-nav {
        padding: 1rem 0;
    }
    
    .bottom-nav-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.terms-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.terms-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.terms-section ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.terms-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    position: relative;
}

.terms-section li::before {
    content: '•';
    color: var(--pink);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .terms-section {
        padding: 1rem;
    }

    .terms-section h2 {
        font-size: 1.25rem;
    }
}

/* Interactive Flip Card Section - Redesigned */
.flip-card-section {
    padding: 6rem 2rem; /* Keep default padding */
    background: var(--gray-dark); /* Match site background */
    position: relative;
    overflow: hidden; /* Changed from visible to contain potential pseudo-elements */
}

/* Match site's gradient background overlay pattern */
.flip-card-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, /* Adjusted angle */
        rgba(255, 0, 127, 0.1) 0%, /* Pink with opacity */
        rgba(128, 0, 255, 0.1) 100% /* Purple with opacity */
    );
    opacity: 0.6; /* Adjusted opacity */
    z-index: 0;
    /* Removed animation for static overlay */
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem; /* Adjusted size */
    font-weight: 800; /* Bold */
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem; /* Adjusted size */
    color: rgba(255, 255, 255, 0.8); /* Lighter text */
    max-width: 700px; /* Adjusted width */
    margin: 0 auto;
}

.flip-card-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    perspective: 1500px; /* Increased perspective */
    z-index: 3;
    padding: 0; /* Remove previous padding */
}

/* Restyled Flip Button */
.flip-button {
    margin-top: 2.5rem; /* Increased margin */
    padding: 0.8rem 2rem; /* Adjusted padding */
    background: linear-gradient(45deg, var(--purple), var(--pink)); /* Swapped gradient */
    color: var(--text-light);
    border: none;
    border-radius: 3rem; /* Match CTA */
    font-size: 1rem; /* Adjusted size */
    font-weight: bold; /* Bolder */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Match CTA shadow */
    text-transform: uppercase;
    letter-spacing: 1px;
    width: auto;
    max-width: 250px; /* Adjusted max-width */
    min-width: auto; /* Remove min-width */
    text-align: center;
}

.flip-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.4); /* Enhance hover shadow */
}

/* Base Flip Card styles (Desktop first) */
.flip-card {
    position: relative;
    width: 100%;
    max-width: 700px; /* Slightly smaller max-width */
    height: auto; /* Explicitly set height to auto */
    /* min-height: 380px; Removed - Let content dictate height */
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: auto; /* Added explicit auto height */
    /* height: 100%; */ /* Commented out in duplicate block */
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); /* Added height transition */
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* Restyled Card Faces */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: auto !important; /* Re-added !important */
    /* height: 100%; */ /* Commented out in duplicate block */
    backface-visibility: hidden;
    border-radius: 20px; /* Consistent border radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    overflow: visible; /* Changed from hidden in duplicate block */
    padding: 1.5rem 2.5rem !important; /* Re-added !important */
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(30, 30, 30, 0.8); /* Darker background */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.flip-card-back {
    transform: rotateY(180deg);
    background: rgba(30, 30, 30, 0.8); /* Consistent background */
}

/* Restyled Content Inside Faces */
.flip-content {
    color: var(--text-light);
    z-index: 4;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically center */
    justify-content: space-between;
    gap: 2rem; /* Add gap between left/right */
    /* height: 100%; Removed, let flexbox handle height */
}

.flip-left {
    flex: 1.2; /* Give slightly more space */
    text-align: left;
    padding: 0; /* Remove padding, handled by face */
}

.flip-right {
    flex: 0.8; /* Give slightly less space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1); /* Lighter border */
    padding-left: 2rem;
    /* height: 100%; */ /* Commented out in duplicate block */
}

/* Restyled Icon */
.flip-icon {
    font-size: 3rem; /* Adjusted size */
    margin-bottom: 1rem;
    animation: none; /* Remove bounce */
    line-height: 1;
}

.flip-card-front .flip-icon i {
     /* background: linear-gradient(45deg, #00FF7F, #32CD32); Green gradient for happy */
     background: linear-gradient(45deg, #FFEB3B, #FBC02D); /* Yellow gradient for happy */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.flip-card-back .flip-icon i {
    background: linear-gradient(45deg, #FF6347, #DC143C); /* Red gradient for sad */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Restyled Text */
.flip-content h3 {
    font-size: 1.8rem; /* Adjusted size */
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    text-shadow: none;
}

.flip-content p {
    font-size: 1rem; /* Adjusted size */
    margin-bottom: 1.5rem; /* Adjusted margin */
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

/* Restyled Features List */
.flip-features {
    margin: 1rem 0;
    text-align: left;
}

.flip-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem; /* Adjusted size */
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.flip-features .feature-item i {
    margin-right: 0.75rem;
    font-size: 1rem; /* Adjusted size */
    color: var(--pink); /* Use brand color */
    width: 16px; /* Align icons */
    text-align: center;
}

/* QR Code */
.qr-code {
    width: 140px; /* Adjusted size */
    height: 176px; /* Adjusted ratio */
    margin: 0 auto 1rem;
    padding: 0;
    border-radius: 8px;
    position: relative;
    z-index: 5;
}

.qr-code img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Restyled CTA Buttons */
.flip-cta {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.6rem 1.2rem; /* Adjusted padding */
    background: linear-gradient(45deg, var(--purple), var(--pink)); /* Match button gradient */
    color: white;
    text-decoration: none;
    border-radius: 2rem; /* Match button radius */
    font-weight: bold; /* Match button weight */
    font-size: 0.9rem; /* Adjusted size */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 5;
}

.flip-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 0, 127, 0.3);
}

/* Restyled Benefits Section - Match .common-features */
.flip-card-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted minmax */
    gap: 1.5rem; /* Reduced gap */
    margin: 3rem auto 0; /* Center and adjust margin */
    padding: 2rem; /* Reduced padding */
    background: linear-gradient(145deg, var(--gray-light), rgba(51, 51, 51, 0.8)); /* Match common features */
    border-radius: 20px;
    border: none; /* Remove border */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Adjusted shadow */
    position: relative;
    z-index: 1;
    max-width: 1000px; /* Match common features width */
}

/* Restyled Benefit Item - Match .feature-item */
.benefit-item {
    text-align: center;
    padding: 1.5rem; /* Adjusted padding */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Match .feature-icon style */
.benefit-item i {
    font-size: 1.5rem; /* Match feature icon */
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: 3.5rem; /* Smaller icon container */
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    position: relative;
}

.benefit-item i::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.benefit-item h4 {
    font-size: 1.1rem; /* Adjusted size */
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.85rem; /* Adjusted size */
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    opacity: 1;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    /* Reduce section padding */
    .flip-card-section {
        padding: 4rem 1rem;
    }

    /* Adjust header size */
     .section-header h2 {
        font-size: 2rem; /* Further adjust */
    }

    .section-description {
        font-size: 1rem;
    }

    /* Mobile Flip Card - Let default flip apply, adjust layout inside */
    .flip-card {
        max-width: 95%; /* Use more width */
        /* min-height: 450px; Remove fallback min-height */
        height: auto; /* Ensure height is auto */
        overflow: visible; /* Ensure card itself doesn't clip */
    }

    .flip-card-inner {
        overflow: visible; /* Ensure inner doesn't clip */
        height: auto; /* Ensure inner height is auto */
        /* ... existing properties ... */
    }

    /* Adjust face padding */
    .flip-card-front,
    .flip-card-back {
        padding: 1.5rem;
        flex-direction: column; /* Stack content */
        overflow: visible; /* Ensure content isn't clipped by faces */
        height: auto; /* Explicitly set height auto for faces */
        /* ... other existing properties ... */
    }

    /* Adjust layout for stacked content */
    .flip-content {
        flex-direction: column;
        gap: 1.5rem; /* Adjust gap */
        width: 100%;
    }

    .flip-left {
        padding-right: 0;
        padding-bottom: 1.5rem;
        text-align: center;
        width: 100%;
        flex: none; /* Reset flex */
    }

    .flip-right {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 1.5rem;
        width: 100%;
        flex: none; /* Reset flex */
        height: auto; /* Ensure height adjusts */
    }

    /* Adjust sizes for mobile */
    .flip-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .flip-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .flip-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .flip-features {
        text-align: center;
        margin: 0.75rem 0;
    }
     .flip-features .feature-item {
        justify-content: center;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
     .flip-features .feature-item i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }

    .qr-code {
        width: 120px;
        height: 151px;
        margin-bottom: 0.75rem;
    }

    .flip-cta {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .flip-button {
        margin-top: 1.5rem;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        max-width: 200px;
    }

    /* Adjust benefits */
    .flip-card-benefits {
        padding: 1.5rem;
        margin-top: 2.5rem;
        gap: 1rem;
    }

    .benefit-item {
        padding: 1rem;
    }

    .benefit-item i {
    font-size: 1.2rem;
        width: 3rem;
        height: 3rem;
    }

    .benefit-item h4 {
        font-size: 1rem;
    }
     .benefit-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .flip-card-section {
        padding: 3rem 0.5rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
     .flip-card-front,
    .flip-card-back {
        padding: 1rem;
    }
    .flip-content h3 {
        font-size: 1.3rem;
    }
    .qr-code {
        width: 100px;
        height: 126px;
    }
     .benefit-item {
        padding: 0.8rem;
    }
     .benefit-item h4 {
        font-size: 0.9rem;
    }
     .benefit-item p {
        font-size: 0.75rem;
    }
} /* Make sure this closing brace is present */




/* Restyled Benefits Section - Match .common-features */
.flip-card-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted minmax */
    gap: 1.5rem; /* Reduced gap */
    margin: 3rem auto 0; /* Center and adjust margin */
    padding: 2rem; /* Reduced padding */
    background: linear-gradient(145deg, var(--gray-light), rgba(51, 51, 51, 0.8)); /* Match common features */
    border-radius: 20px;
    border: none; /* Remove border */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Adjusted shadow */
    position: relative;
    z-index: 1;
    max-width: 1000px; /* Match common features width */
}

/* Restyled Benefit Item - Match .feature-item */
.benefit-item {
    text-align: center;
    padding: 1.5rem; /* Adjusted padding */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Match .feature-icon style */
.benefit-item i {
    font-size: 1.5rem; /* Match feature icon */
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: 3.5rem; /* Smaller icon container */
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    position: relative;
}

.benefit-item i::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.benefit-item h4 {
    font-size: 1.1rem; /* Adjusted size */
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.85rem; /* Adjusted size */
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    opacity: 1;
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    /* Reduce section padding */
    .flip-card-section {
        padding: 4rem 1rem;
    }

    /* Adjust header size */
     .section-header h2 {
        font-size: 2rem; /* Further adjust */
    }

    .section-description {
        font-size: 1rem;
    }

    /* Mobile Flip Card - Hide original, show mobile versions */
    .flip-card {
        display: none; /* Hide original 3D flip card on mobile */
    }

    /* Styles for the mobile cards */
    .mobile-card {
        display: flex; /* Show happy card by default */
        flex-direction: column;
        padding: 1.5rem;
        background: rgba(30, 30, 30, 0.8); /* Match redesigned face background */
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.1); /* Match redesigned face border */
        border-radius: 20px; /* Match redesigned face radius */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Match redesigned face shadow */
        width: 100%; /* Take full available width */
        max-width: 95%; /* Consistent max width */
        margin: 0 auto; /* Center */
        height: auto; /* Ensure height fits content */
        position: relative; /* Needed for potential absolute children if any */
        z-index: 4; /* Ensure it's above background */
    }

    /* Hide sad card initially on mobile */
    #mobile-sad-card {
        display: none;
    }

    /* Apply mobile content styles directly to mobile cards */
    .mobile-card .flip-content {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        align-items: center; /* Center content */
        /* Remove height: auto as flex handles it */
    }

    .mobile-card .flip-left {
        padding: 0; /* Remove extra padding */
        text-align: center;
        width: 100%;
        flex: none;
    }

    .mobile-card .flip-right {
        border: none; /* No border needed */
        padding: 0; /* Remove extra padding */
        width: 100%;
        flex: none;
        height: auto;
        align-items: center; /* Center content */
    }

    /* Adjust sizes for mobile inside mobile cards */
    .mobile-card .flip-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    /* Apply correct icon colors to mobile cards */
    #mobile-happy-card .flip-icon i {
        /* background: linear-gradient(45deg, #00FF7F, #32CD32); */
        background: linear-gradient(45deg, #FFEB3B, #FBC02D); /* Yellow gradient for happy */
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    #mobile-sad-card .flip-icon i {
        background: linear-gradient(45deg, #FF6347, #DC143C);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .mobile-card .flip-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .mobile-card .flip-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .mobile-card .flip-features {
        text-align: center;
        margin: 0.75rem 0;
    }
    .mobile-card .flip-features .feature-item {
        justify-content: center;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    .mobile-card .flip-features .feature-item i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
        color: var(--pink);
        width: 16px;
        text-align: center;
    }

    .mobile-card .qr-code {
        width: 120px;
        height: 151px;
        margin-bottom: 0.75rem;
    }

    .mobile-card .flip-cta {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        background: linear-gradient(45deg, var(--purple), var(--pink));
        color: white;
        border-radius: 2rem;
        font-weight: bold;
    }

    /* Ensure flip button is still visible */
    .flip-button {
        margin-top: 1.5rem;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        max-width: 200px;
    }

    /* Adjust benefits */
    .flip-card-benefits {
        padding: 1.5rem;
        margin-top: 2.5rem;
        gap: 1rem;
    }

    .benefit-item {
        padding: 1rem;
    }

    .benefit-item i {
    font-size: 1.2rem;
        width: 3rem;
        height: 3rem;
    }

    .benefit-item h4 {
        font-size: 1rem;
    }
     .benefit-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .flip-card-section {
        padding: 3rem 0.5rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
     .flip-card-front,
    .flip-card-back {
        padding: 1rem;
    }
    .flip-content h3 {
        font-size: 1.3rem;
    }
    .qr-code {
        width: 100px;
        height: 126px;
    }
     .benefit-item {
        padding: 0.8rem;
    }
     .benefit-item h4 {
        font-size: 0.9rem;
    }
     .benefit-item p {
        font-size: 0.75rem;
    }
} /* Make sure this closing brace is present */

.toggle-description {
    font-size: 1rem;
    color: #333;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

.toggle-descriptions {
    text-align: center;
    margin-top: 1rem;
}

.toggle-description {
    display: none;
    font-size: 1rem;
    color: #333;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

.toggle-description.active {
    display: block;
}
