@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --deep-indigo: #0B0B4F;
    --electric-cyan: #0CC3DF;
    --vivid-magenta: #C92A7F;
    --neon-violet: #A709AD;
    --soft-aqua: #60E1E1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #050521;
    color: white;
    overflow-x: hidden;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.07;
    background: radial-gradient(circle at 10% 20%, var(--neon-violet), transparent 40%),
        radial-gradient(circle at 90% 80%, var(--electric-cyan), transparent 40%);
}

/* Floating Emojis Animation */
.floating-emojis-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.emoji {
    position: absolute;
    font-size: 24px;
    opacity: 0.6;
    /* Increased opacity */
    animation: float-up 15s linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
        /* Increased opacity */
    }

    90% {
        opacity: 0.6;
        /* Increased opacity */
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 10%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 11, 79, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
}

.logo-icon {
    margin-right: 10px;
    font-size: 2.5rem;
    color: var(--electric-cyan);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style-type: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--electric-cyan);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vivid-magenta);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(45deg, var(--vivid-magenta), var(--neon-violet));
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 42, 127, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 42, 127, 0.6);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    margin-top: 50px;
}

.hero-content {
    width: 50%;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(to right, var(--electric-cyan), var(--soft-aqua));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #b4b4d9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Video wrapper and mockup styling */
.video-wrapper {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

/* {
    position: relative;
    width: 100%;
    height: 450px;
    background: rgba(11, 11, 79, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(12, 195, 223, 0.3);
    z-index: 1;
} */

.mockup-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    /* Start hidden */
    transition: opacity 1s ease-in-out;
    /* Fade transition */
}

.mockup-container img.active {
    opacity: 1;
    /* Show active image */
}


.video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--electric-cyan), var(--vivid-magenta), var(--neon-violet),
            var(--electric-cyan));
    z-index: -1;
    border-radius: 12px;
    animation: animatedgradient 3s ease alternate infinite;
    background-size: 300% 300%;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.secondary-button {
    background: transparent;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--electric-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(12, 195, 223, 0.1);
    transform: translateY(-2px);
}

.hero-image {
    width: 45%;
    position: relative;
}

.glow-circle {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 195, 223, 0.3) 0%, rgba(12, 195, 223, 0.1) 30%, rgba(12, 195, 223, 0) 70%);
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 410px;
    background: rgba(11, 11, 79, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(12, 195, 223, 0.3);
}

.mockup {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* AR Overlay sticker - now a centered sticker */
.ar-overlay-sticker {
    width: 220px;
    background: linear-gradient(135deg, var(--vivid-magenta), var(--neon-violet));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    border-radius: 12px;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
    animation: bounce-rotate 3s ease-in-out infinite;
    transform-origin: center;
    padding: 15px 10px;
    margin: 20px 0;
    position: relative;
    z-index: 10;
}

/* Centered sticker styling */
.centered-sticker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

/* Video button sticker */
.video-button-sticker {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 30px;
    margin: 20px 0;
    width: fit-content;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse-button 2s infinite;
    font-size: 1.1rem;
}

.video-button-sticker:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

@keyframes pulse-button {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.video-button-sticker .emoji-icon {
    font-size: 1.4rem;
    margin-right: 10px;
}

/* AR Overlay sticker repositioned to corner - more outside */
.corner-sticker {
    position: absolute;
    top: -40px;
    right: -70px;
    margin: 0;
    transform-origin: top right;
    transform: rotate(5deg);
    z-index: 20;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 33, 0.9);
    z-index: 9999;
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: rgba(11, 11, 79, 0.8);
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--electric-cyan);
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(201, 42, 127, 0.7);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(201, 42, 127, 1);
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* New simpler animation combining bounce and rotate */
@keyframes bounce-rotate {
    0% {
        transform: scale(1) rotate(0deg);
    }

    10% {
        transform: scale(1.1) rotate(2deg);
    }

    20% {
        transform: scale(0.95) rotate(-1deg);
    }

    30% {
        transform: scale(1.05) rotate(1deg);
    }

    40% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Simplified before element with just a pulsing effect */
.ar-overlay-sticker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.6;
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.2;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.2;
    }
}

/* Removed problematic after element completely */

.made-in-finland {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 8px;
}

.finland-flag {
    width: 24px;
    height: 16px;
    margin-top: 3px;
    background: linear-gradient(to bottom,
            #FFFFFF 0%,
            #FFFFFF 36%,
            #0053A5 36%,
            #0053A5 64%,
            #FFFFFF 64%,
            #FFFFFF 100%);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.finland-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            transparent 30%,
            #0053A5 30%,
            #0053A5 45%,
            transparent 45%,
            transparent 100%);
}

.comic-text {
    display: inline-block;
    transform: rotate(-5deg);
    font-family: 'Bangers', 'Impact', sans-serif;
    font-size: 1.4rem;
}

.section {
    padding: 6rem 10%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title span {
    background: linear-gradient(to right, var(--electric-cyan), var(--vivid-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background: rgba(11, 11, 79, 0.4);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 195, 223, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(12, 195, 223, 0.4);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--electric-cyan), var(--vivid-magenta));
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--electric-cyan), var(--soft-aqua));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: #b4b4d9;
    line-height: 1.6;
}

.users-section {
    background: rgba(11, 11, 79, 0.2);
    position: relative;
    overflow: hidden;
}

.users-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(167, 9, 173, 0.1), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(12, 195, 223, 0.1), transparent 40%);
    z-index: -1;
}

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

.user-card {
    background: rgba(11, 11, 79, 0.4);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 195, 223, 0.1);
}

.user-card:hover {
    transform: translateY(-5px);
    border-color: rgba(12, 195, 223, 0.4);
}

.user-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--electric-cyan), var(--soft-aqua));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--deep-indigo);
    margin-bottom: 1.5rem;
}

.user-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.user-description {
    color: #b4b4d9;
    line-height: 1.6;
}

.why-section {
    position: relative;
}

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

.why-card {
    background: rgba(11, 11, 79, 0.4);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 195, 223, 0.1);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 42, 127, 0.4);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--vivid-magenta);
}

.why-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-description {
    color: #b4b4d9;
    line-height: 1.6;
}

.plans-section {
    background: rgba(11, 11, 79, 0.2);
    position: relative;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(167, 9, 173, 0.1), transparent 30%),
        radial-gradient(circle at 70% 30%, rgba(12, 195, 223, 0.1), transparent 30%);
    z-index: -1;
}

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

.plan-card {
    background: rgba(11, 11, 79, 0.4);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 195, 223, 0.1);
    position: relative;
    overflow: hidden;
}

.plan-card.popular {
    transform: scale(1.05);
    border-color: var(--vivid-magenta);
    box-shadow: 0 10px 30px rgba(201, 42, 127, 0.2);
}

.plan-card.popular::before {
    content: ' MOST POPULAR';
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--vivid-magenta);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 40px;
    transform: rotate(45deg);
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: rgba(12, 195, 223, 0.4);
}

.plan-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    color: white;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #b4b4d9;
}

.plan-description {
    font-size: 0.9rem;
    color: #b4b4d9;
    margin-bottom: 1.5rem;
    text-align: center;
}

.plan-features {
    list-style-type: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: #b4b4d9;
}

.plan-features li::before {
    content: '✓';
    margin-right: 0.5rem;
    color: var(--electric-cyan);
    font-weight: 700;
}

.plan-button {
    background: linear-gradient(45deg, var(--electric-cyan), var(--soft-aqua));
    color: var(--deep-indigo);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(12, 195, 223, 0.3);
    width: 100%;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 195, 223, 0.5);
}

.plan-card.popular .plan-button {
    background: linear-gradient(45deg, var(--vivid-magenta), var(--neon-violet));
    color: white;
    box-shadow: 0 4px 15px rgba(201, 42, 127, 0.4);
}

.plan-card.popular .plan-button:hover {
    box-shadow: 0 6px 20px rgba(201, 42, 127, 0.6);
}

.enterprise-card {
    background: linear-gradient(135deg, rgba(11, 11, 79, 0.8), rgba(11, 11, 79, 0.4));
    border: 1px solid rgba(167, 9, 173, 0.3);
}

.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8rem 10%;
    background: linear-gradient(135deg, rgba(11, 11, 79, 0.9), rgba(11, 11, 79, 0.7)),
        url('/api/placeholder/1200/800') center/cover;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(167, 9, 173, 0.2), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(12, 195, 223, 0.2), transparent 50%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--electric-cyan), var(--soft-aqua), var(--vivid-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #b4b4d9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.promo-video-container {
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(12, 195, 223, 0.6);
    max-width: 700px;
    position: relative;
    z-index: 10;
}

.promo-video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--electric-cyan), var(--vivid-magenta), var(--neon-violet),
            var(--electric-cyan));
    z-index: -1;
    border-radius: 12px;
    animation: animatedgradient 3s ease alternate infinite;
    background-size: 300% 300%;
}

footer {
    background: var(--deep-indigo);
    padding: 4rem 10% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--electric-cyan), var(--soft-aqua));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #b4b4d9;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(12, 195, 223, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-cyan);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--electric-cyan);
    color: var(--deep-indigo);
}

.footer-links h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style-type: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #b4b4d9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a {
    color: var(--electric-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--soft-aqua);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(12, 195, 223, 0.1);
    color: #b4b4d9;
    font-size: 0.9rem;
}

.made-with-love {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.company-info {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.company-info p {
    margin-bottom: 0.5rem;
}

.waiting-message {
    font-style: italic;
    margin-top: 1rem;
    color: var(--electric-cyan);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile and tablet responsiveness improvements */
@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        padding-top: 150px;
        height: auto;
    }

    .hero-content,
    .hero-image {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .mockup-container {
        margin-top: 50px;
        margin-bottom: 30px;
        height: 400px;
    }

    /* Center the video button on mobile */
    .video-button-sticker {
        margin-left: auto;
        margin-right: auto;
    }

    /* Make sure the corner sticker is visible on smaller screens */
    .corner-sticker {
        top: -30px;
        right: -40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 5%;
    }

    .nav-menu {
        display: none;
    }

    .section {
        padding: 4rem 5%;
    }

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

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

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .plan-card.popular {
        transform: scale(1);
    }

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

    .footer-content {
        flex-direction: column;
    }

    /* Further optimize sticker for mobile */
    .corner-sticker {
        top: -20px;
        right: -20px;
        transform: scale(0.8) rotate(5deg);
    }

    /* Make modal content wider on mobile */
    .modal-content {
        width: 95%;
    }

    .mockup-container {
        height: 350px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .corner-sticker {
        transform: scale(0.7) rotate(5deg);
        right: -15px;
        top: -15px;
    }

    .mockup-container {
        height: 300px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .signINBtn{
        background: transparent;
        color: white;
        padding: 3px 7px;
        border-radius: 30px;
        font-weight: 300;
        border: 1px solid var(--electric-cyan);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .signUPBtn{
        background: transparent;
        color: white;
        padding: 3px 7px;
        border-radius: 30px;
        font-weight: 300;
        border: 1px solid var(--electric-cyan);
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: -15% !important;
    }
}

/* Custom hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

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

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

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* How it works section styles */
.how-it-works-section {
    background: rgba(11, 11, 79, 0.2);
    position: relative;
    overflow: hidden;
    padding: 6rem 10%;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(167, 9, 173, 0.2), transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(12, 195, 223, 0.2), transparent 40%);
    z-index: -1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title span {
    background: linear-gradient(to right, var(--electric-cyan), var(--vivid-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #b4b4d9;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Comparison slider styles */
.comparison-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.cd-image-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 4rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(167, 9, 173, 0.3);
    border: 2px solid rgba(12, 195, 223, 0.4);
}

.cd-image-container img {
    display: block;
    width: 100%;
}

.cd-image-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: white;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--vivid-magenta), var(--neon-violet));
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s 0.7s, opacity 0.3s 0.7s;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cd-image-label.is-hidden {
    visibility: hidden;
}

.is-visible .cd-image-label {
    opacity: 1;
    transform: translateY(0);
}

.cd-resize-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    border-right: 3px solid white;
    box-shadow: 0 0 20px rgba(167, 9, 173, 0.8);
}

.cd-resize-img img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
}

.cd-resize-img .cd-image-label {
    right: auto;
    left: 15px;
    background: linear-gradient(135deg, var(--electric-cyan), var(--soft-aqua));
    color: var(--deep-indigo);
}

.is-visible .cd-resize-img {
    width: 50%;
    animation: cd-reveal 0.5s;
}

@keyframes cd-reveal {
    0% {
        width: 0;
    }

    100% {
        width: 50%;
    }
}

.cd-handle {
    position: absolute;
    height: 50px;
    width: 50px;
    left: 50%;
    top: 50%;
    margin-left: -25px;
    margin-top: -25px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--electric-cyan), var(--soft-aqua));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: move;
    box-shadow: 0 0 15px rgba(167, 9, 173, 0.9),
        0 0 0 4px rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 10;
}

.cd-handle::after {
    content: "↔";
    color: var(--deep-indigo);
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.cd-handle.draggable {
    box-shadow: 0 0 0 6px white, 0 0 20px rgba(167, 9, 173, 1);
    transform: scale(1.05);
}

.is-visible .cd-handle {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 0.3s 0.7s, opacity 0s 0.7s;
}

/* How steps styles */
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    background: rgba(11, 11, 79, 0.4);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(12, 195, 223, 0.2);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--electric-cyan), var(--vivid-magenta));
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(12, 195, 223, 0.4);
    box-shadow: 0 10px 30px rgba(12, 195, 223, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--electric-cyan), var(--soft-aqua));
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--deep-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(12, 195, 223, 0.4);
    position: relative;
    z-index: 1;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px dashed rgba(12, 195, 223, 0.4);
    z-index: -1;
    animation: spin 20s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.step-description {
    color: #b4b4d9;
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer styles */
footer {
    background: var(--deep-indigo);
    padding: 4rem 10% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--electric-cyan), var(--soft-aqua));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #b4b4d9;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(12, 195, 223, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-cyan);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--electric-cyan);
    color: var(--deep-indigo);
}

.footer-links h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style-type: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #b4b4d9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a {
    color: var(--electric-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--soft-aqua);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(12, 195, 223, 0.1);
    color: #b4b4d9;
    font-size: 0.9rem;
}

.made-with-love {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 5%;
    }

    .nav-menu {
        display: none;
    }

    .how-it-works-section {
        padding: 4rem 5%;
    }

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

    .how-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .cd-image-label {
        font-size: 12px;
        padding: 5px 10px;
    }

    .cd-handle {
        width: 36px;
        height: 36px;
        margin-left: -18px;
        margin-top: -18px;
    }

    .footer-content {
        flex-direction: column;
    }
}

/* Popup Container */
.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 43%;
    transform: translate(-40%, -50%);
    background: #0d0d4d;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 22px 244px rgb(245 243 243);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.popup-container.show {
    opacity: 1;
}

/* Close Button */
.closeDownloadBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* Popup Header */
.popup-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Download Buttons */
.popup-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.download-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.download-btn.stable {
    background: #28a745;
    color: #fff;
}

.download-btn.stable:hover {
    background: #218838;
}

.download-btn.beta {
    background: #ffc107;
    color: #000;
}

.download-btn.beta:hover {
    background: #e0a800;
}

/* Beta Warning Message */
.warning-message {
    margin-top: 20px;
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    color: #856404;

    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
    display: none;
}

.warning-message p {
    margin: 0;
    font-size: 14px;
}

a{
    text-decoration: none !important;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #001f3f;
    color: white;
    padding: 20px;
    font-family: sans-serif;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cookie-options {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
  }

  .cookie-options label {
    margin: 5px;
    font-size: 14px;
  }

  .cookie-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    color: white;
    transition: transform 0.2s ease;
  }

  .cookie-btn:hover {
    transform: scale(1.05);
  }

  @media (max-width: 768px) {
    .nav-menu {
      display: none;
      position: absolute;
      top: 70px;
      right: 0;
      background-color: #001f3f;
      width: 100%;
    }

    .nav-menu.active {
      display: block;
    }

    .nav-menu ul {
      flex-direction: column;
      align-items: center;
    }

    .cta-button {
      display: none;
    }

    .hamburger {
      display: flex;
    }
  }

  .whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp green */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 999999; /* Max visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: bounce 2s infinite;
  }
  
  .whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: #fff;
  }
  
  /* Subtle bounce animation */
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
  }

  .text-white{
    color: #fff;
  }

  /* popup */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .popup-content {
    background: #000000bd;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid #fff;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
  
  .popup-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .popup-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .popup-content a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 7px;
  }
  
  .close-btn {
    position: relative;
    top: 0%;
    left: 100%;
    font-size: 17px;
    font-weight: bold;
    color: #e20101;
    cursor: pointer;
    transition: color 0.3s ease;
    background: transparent;
  }
  
  .close-btn:hover {
    color: #e63946;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Sticky Video Widget Styles */
  .sticky-video-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    height: 180px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.sticky-video-container:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.sticky-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Close button */
.close_btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 1001;
}

.close_btn:hover {
    background: rgba(255, 0, 0, 0.8);
}

/* Play/Pause overlay */
.video-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.sticky-video-container:hover .video-controls {
    opacity: 1;
}

.play-pause-btn {
    border: none;
    width: 18px;
    height: 20px;
    background: #efefef !important;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 1%;
}

.play-pause-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* Video title overlay */
.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 10px 10px;
    font-size: 12px;
    font-weight: 500;
}

/* Minimized state */
.sticky-video-container.minimized {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.sticky-video-container.minimized .video-title,
.sticky-video-container.minimized .video-controls {
    display: none;
}

.sticky-video-container.minimized .close-btn {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .sticky-video-container {
        width: 280px;
        height: 158px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .sticky-video-container {
        width: 240px;
        height: 135px;
        bottom: 10px;
        right: 10px;
    }
}

/* Hidden state */
.sticky-video-container.hidden {
    display: none;
}

/* .sticky-video-container.minimized {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
} */

.sticky-video-container.minimized {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    content-visibility: hidden;
    background-image: url('https://popstream.net/img/icon.ico');
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    right: 40px;
    bottom: 40px;
    animation: bounce 4s infinite;
}

.sticky-video-container.minimized .video-title,
.sticky-video-container.minimized .video-controls,
.sticky-video-container.minimized .close_btn {
    display: none;
}

.sticky-video-container.minimized .video-title,
.sticky-video-container.minimized .video-controls,
.sticky-video-container.minimized .close_btn,
.sticky-video-container.minimized iframe {
    pointer-events: none; /* Prevent controls from being clickable */
}

.sticky-video-container.minimized iframe {
    mask-image: radial-gradient(circle at center, black 60%, transparent 65%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 65%);
    border-radius: 50%;
}

.sticky-video-container.minimized {
    cursor: pointer;
    pointer-events: auto;
}

.sticky-video-container.minimized * {
    pointer-events: none;
}

.sticky-video-container {
    transition: all 0.3s ease;
}

.sticky-video-container iframe {
    transition: border-radius 0.3s ease, mask-image 0.3s ease;
}
