:root {
    --dark-blue: #192231;
    --dark-blue-alt: #1d2739;
    --dark-green: #404a42;
    --gold: #c0b283;
    --gold-light: #d4c7a5;
    --gold-gradient: linear-gradient(135deg, var(--gold), var(--gold-light));
    --cream: #eddbcd;
    --white: #f4f4f4;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.3);
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--dark-blue);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-hidden {
    opacity: 0;
    pointer-events: none;
}

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

.loader-logo {
    width: 140px;
    height: 140px;
    position: relative;
    margin-bottom: 20px;
}

.loader-logo svg {
    width: 100%;
    height: 100%;
    animation: logoReveal 2s ease forwards;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gold);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes logoReveal {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

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

.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.035;
    z-index: -1;
    pointer-events: none;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(64, 74, 66, 0.3) 0%, transparent 50%),
                 radial-gradient(ellipse at bottom left, rgba(29, 39, 57, 0.4) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    animation: gradientPulse 15s ease infinite alternate;
}

@keyframes gradientPulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* Stars animation in background */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
    overflow: hidden;
}

.star-anim {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: var(--white);
    border-radius: 50%;
    opacity: 0;
    animation: twinkle-star 5s infinite;
}

@keyframes twinkle-star {
    0% { opacity: 0; }
    50% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px;
    perspective: 1500px;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 550px;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: titleReveal 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes titleReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-title span {
    position: relative;
    display: inline-block;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s linear infinite;
    background-size: 200% auto;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(192, 178, 131, 0.3);
    z-index: -1;
    opacity: 0.7;
    filter: blur(2px);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--cream);
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleReveal 1s ease forwards;
    animation-delay: 0.8s;
    max-width: 550px;
}

@keyframes subtitleReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 0.9; transform: translateY(0); }
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: ctaReveal 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes ctaReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-image-container {
    width: 30%; /* Reduced from 45% to make phone smaller on desktop */
    max-width: 400px; /* Reduced from 550px to make phone smaller */
    height: auto;
    z-index: 1;
    perspective: 1000px;
    transform-style: preserve-3d;
    opacity: 0;
    animation: fadeInRight 1.5s ease forwards;
    animation-delay: 0.8s;
    position: relative;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px) translateZ(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 105%;
    border-radius: 30px;
    background: radial-gradient(ellipse at center, rgba(192, 178, 131, 0.15), transparent 70%);
    filter: blur(20px);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.hero-image-container:hover .hero-image-glow {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    transform: rotateY(-5deg) rotateX(3deg);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 1;
}

.hero-image-container:hover .hero-image {
    transform: rotateY(-2deg) rotateX(1deg) scale(1.03);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
}

@keyframes float {
    0%, 100% { transform: rotateY(-5deg) rotateX(3deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-20px); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background-color: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: particles-animation linear infinite;
}

@keyframes particles-animation {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Features Section */
.features {
    padding: 150px 80px;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--dark-blue-alt) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--dark-blue), transparent);
    z-index: 1;
    pointer-events: none;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 30px;
    position: relative;
    background: linear-gradient(90deg, var(--cream), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--cream);
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0.9;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(25, 34, 49, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-lg), 0 15px 35px rgba(192, 178, 131, 0.1);
    border-color: rgba(192, 178, 131, 0.2);
    z-index: 1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--dark-blue-alt), var(--dark-blue));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--gold-gradient);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--gold);
    transition: var(--transition);
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    fill: var(--dark-blue);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--cream);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

/* How It Works Section */
.how-it-works {
    padding: 150px 80px;
    background: linear-gradient(180deg, var(--dark-blue-alt) 0%, var(--dark-green) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(64, 74, 66, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--cream));
    z-index: 0;
    opacity: 0.6;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 230px;
    position: relative;
    z-index: 1;
    transform: translateY(50px);
    opacity: 0;
    transition: var(--transition);
}

.step.animated {
    transform: translateY(0);
    opacity: 1;
}

.step-number {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, rgba(29, 39, 57, 0.9), rgba(25, 34, 49, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 25px;
    position: relative;
    box-shadow: var(--shadow-md), 0 0 0 8px rgba(192, 178, 131, 0.1);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg), 0 0 0 10px rgba(192, 178, 131, 0.15);
    color: var(--gold-light);
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-blue-alt));
}

.step-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: pulse 3s infinite;
    opacity: 0.7;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 0.2; }
    100% { transform: scale(1.5); opacity: 0; }
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    color: var(--white);
}

.step-description {
    font-size: 1rem;
    color: var(--cream);
    text-align: center;
    line-height: 1.7;
}

/* Integration Section Styles */
.integrations {
    padding: 150px 80px;
    background: linear-gradient(180deg, var(--dark-green) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
}

.integration-logos {
    position: relative;
    min-height: 500px; /* Increased height for better vertical distribution */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin-top: 80px;
}

.integration-logo {
    position: absolute;
    width: 130px;
    height: 100px; /* Increased height to accommodate visible name */
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 2.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Slower, smoother transition */
    transform-style: preserve-3d;
    will-change: transform, left, top;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
    transform: translateY(30px);
    opacity: 0;
    padding-top: 10px; /* Add padding for logo */
}

.integration-logo.animated {
    transform: translateY(0);
    opacity: 1;
    animation: float 8s ease-in-out infinite; /* Slow floating animation */
}

.integration-logo.highlighted {
    animation: highlight-pulse 3s ease-in-out infinite !important;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(192, 178, 131, 0.4);
    z-index: 5;
    box-shadow: 0 0 20px rgba(192, 178, 131, 0.3);
}

.logo-name {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    color: var(--gold);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 0;
    background: rgba(25, 34, 49, 0.8);
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
    z-index: 2;
    /* Names are always visible now */
    opacity: 1;
}

.integration-logo img {
    max-width: 70%;
    max-height: 55%;
    margin-bottom: 25px; /* Add space for the name */
    filter: grayscale(70%) brightness(1.3) contrast(1.1); /* Slightly reduced grayscale */
    transition: var(--transition);
    position: relative;
}

.integration-logo.highlighted img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* Animation keyframes */
@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2px, -2px) rotate(0.5deg); }
    50% { transform: translate(0, -3px) rotate(0deg); }
    75% { transform: translate(-2px, -1px) rotate(-0.5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes highlight-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(192, 178, 131, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(192, 178, 131, 0.6); 
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(192, 178, 131, 0.3);
    }
}

/* Media queries for better responsive layout */
@media (max-width: 768px) {
    .integration-logos {
        min-height: auto;
        padding: 20px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .integration-logo {
        position: relative !important; /* Use relative positioning on mobile */
        margin: 10px;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        transition: transform 0.3s ease-out !important;
        height: 100px; /* Fixed height for mobile */
        width: 130px;
        animation: none !important; /* No animation on mobile */
    }
    
    .integration-logo.animated {
        opacity: 1;
        transform: none !important;
    }
    
    .integration-logo.highlighted {
        animation: none !important;
        transform: none !important;
    }
    
    .integration-logos {
        margin-top: 40px;
    }
    
    /* Adjust padding on mobile */
    .integrations {
        padding: 100px 20px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 150px 80px;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--dark-blue-alt) 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-slider-container {
    max-width: 1200px;
    margin: 80px auto 0;
    position: relative;
}

.testimonial-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    gap: 30px;
    padding: 20px 10px;
}

.testimonial-card {
    min-width: 400px;
    flex: 0 0 auto;
    background: rgba(29, 39, 57, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px;
    transition: var(--transition);
    transform: scale(0.95);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.testimonial-card.animated {
    transform: scale(1);
    opacity: 1;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 178, 131, 0.1) 0%, rgba(29, 39, 57, 0) 70%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
    transform: rotate(30deg);
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192, 178, 131, 0.1);
}

.testimonial-card:hover::before {
    opacity: 1;
    animation: testimonialGlow 4s ease infinite alternate;
}

@keyframes testimonialGlow {
    0% { transform: translate(-10%, -10%) rotate(0deg); }
    100% { transform: translate(10%, 10%) rotate(60deg); }
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-text::before {
    content: '"';
    font-size: 5rem;
    color: var(--gold);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--gold);
    margin-right: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 3px solid rgba(192, 178, 131, 0.3);
    transition: var(--transition);
}

.testimonial-card:hover .author-avatar {
    border-color: rgba(192, 178, 131, 0.6);
    transform: scale(1.05);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gold);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.testimonial-control:hover {
    background-color: var(--gold);
    transform: scale(1.1);
    box-shadow: var(--shadow-md), 0 0 15px rgba(192, 178, 131, 0.3);
}

.testimonial-control svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    transition: var(--transition);
}

.testimonial-control:hover svg {
    transform: scale(1.1);
}

/* Pricing Section */
.pricing {
    padding: 150px 80px;
    background: linear-gradient(180deg, var(--dark-blue-alt) 0%, var(--dark-green) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.pricing-option {
    padding: 12px 20px;
    cursor: pointer;
    color: var(--cream);
    transition: var(--transition);
    font-size: 1.1rem;
    position: relative;
}

.pricing-option.active {
    color: var(--gold);
    font-weight: 600;
}

.pricing-option.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.pricing-toggle-switch {
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 0 15px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--gold-gradient);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.pricing-toggle-switch.yearly::after {
    left: calc(100% - 27px);
}

.pricing-toggle-switch:hover {
    background: rgba(255, 255, 255, 0.15);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    width: 380px;
    background: rgba(29, 39, 57, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 35px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(50px);
    opacity: 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pricing-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 178, 131, 0.1) 0%, rgba(29, 39, 57, 0) 70%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(192, 178, 131, 0.1);
    border-color: rgba(192, 178, 131, 0.2);
    z-index: 1;
}

.pricing-card:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

.pricing-plan {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.pricing-amount {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-amount span {
    font-size: 1rem;
    color: var(--cream);
    font-weight: 400;
    opacity: 0.8;
    -webkit-text-fill-color: var(--cream);
}

.pricing-features {
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: var(--cream);
    font-size: 1.05rem;
}

.pricing-feature svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
    margin-right: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}

.pricing-card:hover .pricing-feature svg {
    transform: scale(1.1);
}

.pricing-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta {
    padding: 120px 80px;
    background: linear-gradient(180deg, var(--dark-green) 0%, var(--dark-blue) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-title {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--white), var(--cream));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 45px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-bg {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: calc(100% + 200px);
    background: linear-gradient(135deg, rgba(192, 178, 131, 0.1) 0%, rgba(64, 74, 66, 0.1) 100%);
    transform: skewY(-5deg);
    z-index: 0;
}

/* Button Styles */
.cta-button {
    background: var(--gold-gradient);
    color: var(--dark-blue);
    border: none;
    padding: 15px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-md), 0 0 15px rgba(192, 178, 131, 0.2);
}

.cta-button::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: var(--transition);
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 5px 25px rgba(192, 178, 131, 0.4);
    color: var(--dark-blue);
}

.cta-button:hover::before {
    left: 100%;
    transition: 0.7s;
}

.outline-button {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--white);
    padding: 15px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.outline-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    z-index: -1;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.outline-button:hover {
    color: var(--dark-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.outline-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
    opacity: 1;
}

/* Footer */
footer {
    padding: 100px 80px 40px;
    background-color: var(--dark-blue);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: var(--gold-gradient);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md), 0 5px 15px rgba(192, 178, 131, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    transition: var(--transition);
}

.social-link:hover svg {
    transform: rotate(10deg);
    fill: var(--dark-blue);
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

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

.footer-link {
    margin-bottom: 15px;
}

.footer-link a {
    color: var(--cream);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
    font-size: 1.05rem;
    opacity: 0.9;
}

.footer-link a:hover {
    color: var(--gold);
    padding-left: 8px;
    opacity: 1;
}

.footer-link a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.footer-link a:hover::before {
    width: 100%;
}

.footer-bottom {
    margin-top: 70px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    color: var(--cream);
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
    position: relative;
}

.footer-nav a:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

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

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    perspective: 1500px;
    backdrop-filter: blur(8px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, rgba(29, 39, 57, 0.95), rgba(25, 34, 49, 0.95));
    border-radius: 20px;
    width: 90%;
    max-width: 520px;
    padding: 50px 40px;
    position: relative;
    box-shadow: var(--shadow-xl), 0 30px 100px rgba(0, 0, 0, 0.3);
    transform: translateY(80px) rotateX(10deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.modal.active .modal-content {
    transform: translateY(0) rotateX(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gold-gradient);
    z-index: 2;
}

.modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(192, 178, 131, 0.2) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 0;
    transition: all 10s ease;
}

.modal.active .modal-content::after {
    left: 0;
    transition-delay: 0.5s;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-close span {
    position: relative;
    width: 16px;
    height: 16px;
}

.modal-close span::before,
.modal-close span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    top: 50%;
    left: 0;
}

.modal-close span::before {
    transform: rotate(45deg);
}

.modal-close span::after {
    transform: rotate(-45deg);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.modal-subtitle {
    color: var(--cream);
    text-align: center;
    margin-bottom: 35px;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--cream);
    font-size: 1.05rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(192, 178, 131, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-button {
    width: 100%;
    padding: 16px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 10px;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md), 0 5px 15px rgba(192, 178, 131, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.form-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
    z-index: -1;
}

.form-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 15px 30px rgba(192, 178, 131, 0.3);
}

.form-button:hover::before {
    left: 100%;
    transition: 0.7s;
}

.form-error {
    color: #ff6b6b;
    margin-top: 15px;
    text-align: center;
    font-size: 0.95rem;
    animation: errorShake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Theater Modal */
.theater-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    perspective: 1500px;
}

.theater-modal.active {
    opacity: 1;
    visibility: visible;
}

.theater-ceiling {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #000, transparent);
    z-index: 3;
}

.theater-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #1a1a1a, transparent);
    z-index: 3;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: bottom;
}

.theater-seats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: radial-gradient(ellipse at center, rgba(50, 50, 50, 0.6) 0%, rgba(20, 20, 20, 0.2) 100%);
    z-index: 2;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: bottom;
    opacity: 0;
    transition: opacity 1s ease;
    transition-delay: 1.5s;
}

.theater-modal.active .theater-seats {
    opacity: 1;
}

.seat-row {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 20%;
}

.seat-row:nth-child(1) {
    bottom: 10px;
}

.seat-row:nth-child(2) {
    bottom: 40px;
}

.seat-row:nth-child(3) {
    bottom: 70px;
}

.seat-row:nth-child(4) {
    bottom: 100px;
}

.seat {
    width: 15px;
    height: 15px;
    background-color: #333;
    border-radius: 5px 5px 0 0;
    margin: 0 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.theater-modal.active .seat {
    animation: seatAppear 0.5s ease forwards;
    animation-delay: calc(var(--seat-index) * 0.03s);
}

@keyframes seatAppear {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

.theater-curtains {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.curtain-left,
.curtain-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #8b0000 0%, #a00 50%, #600 100%);
    transition: transform 2.5s cubic-bezier(0.7, 0, 0.3, 1);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.curtain-left {
    left: 0;
    transform: translateX(-5%);
    background-image: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0, 0, 0, 0.1) 40px, rgba(0, 0, 0, 0.1) 80px);
}

.curtain-right {
    right: 0;
    transform: translateX(5%);
    background-image: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0, 0, 0, 0.1) 40px, rgba(0, 0, 0, 0.1) 80px);
}

.theater-modal.active .curtain-left {
    transform: translateX(-98%);
    transition-delay: 0.5s;
}

.theater-modal.active .curtain-right {
    transform: translateX(98%);
    transition-delay: 0.5s;
}

.curtain-fold {
    position: absolute;
    top: 0;
    width: 5%;
    height: 100%;
    background-color: #600;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.curtain-left .curtain-fold {
    right: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

.curtain-right .curtain-fold {
    left: 0;
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent);
}

.curtain-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-image: radial-gradient(ellipse at bottom, #600 0%, transparent 70%);
    opacity: 0.3;
    animation: curtainWave 8s ease-in-out infinite alternate;
}

@keyframes curtainWave {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(1.1); }
    100% { transform: scaleY(1); }
}

.theater-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.theater-marquee {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(192, 178, 131, 0.5);
    border-radius: 10px;
    padding: 12px 30px;
    color: var(--gold);
    font-size: 1.3rem;
    text-align: center;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 2.5s;
    box-shadow: 0 0 30px rgba(192, 178, 131, 0.4);
    text-shadow: 0 0 10px rgba(192, 178, 131, 0.5);
    font-weight: 600;
    letter-spacing: 1px;
}

.theater-modal.active .theater-marquee {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.theater-trial-btn {
    position: absolute;
    top: 30px;
    right: 80px;
    background: var(--gold-gradient);
    color: var(--dark-blue);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(192, 178, 131, 0.4);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
    transition-delay: 3s;
}

.theater-modal.active .theater-trial-btn {
opacity: 1;
transform: translateX(-50%);
}

.theater-trial-btn:hover {
transform: translateX(-50%) translateY(-3px);
}

.theater-video-time {
    position: absolute;
    bottom: 100px;
    right: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 8px 15px;
    color: var(--white);
    font-size: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease;
    transition-delay: 3s;
}

.theater-modal.active .theater-video-time {
    opacity: 1;
}

.theater-timer-icon {
    width: 18px;
    height: 18px;
    fill: var(--white);
    margin-right: 8px;
}

.theater-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 1s ease;
    transition-delay: 1.8s;
}

.theater-modal.active .theater-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.theater-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.theater-close:hover {
    background-color: rgba(200, 0, 0, 0.7);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

.theater-close span {
    position: relative;
    width: 20px;
    height: 20px;
}

.theater-close span::before,
.theater-close span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    top: 50%;
    left: 0;
}

.theater-close span::before {
    transform: rotate(45deg);
}

.theater-close span::after {
    transform: rotate(-45deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(192, 178, 131, 0.2);
    border: 1px solid rgba(192, 178, 131, 0.1);
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.5s ease;
}

.video-container:hover {
    transform: perspective(1000px) rotateX(2deg);
}

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

.theater-lights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.theater-light {
    position: absolute;
    width: 300px;
    height: 100px;
    background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: perspective(500px) rotateX(60deg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
    transition-delay: 2s;
    filter: blur(5px);
}

.theater-modal.active .theater-light {
    opacity: 1;
    animation: lightFlicker 8s infinite, lightMove 15s ease-in-out infinite alternate;
}

@keyframes lightFlicker {
    0%, 100% { opacity: 1; }
    95% { opacity: 1; }
    96% { opacity: 0.8; }
    97% { opacity: 1; }
    98% { opacity: 0.6; }
    99% { opacity: 1; }
}

@keyframes lightMove {
    0% { transform: perspective(500px) rotateX(60deg) translateX(0); }
    50% { transform: perspective(500px) rotateX(60deg) translateX(30px); }
    100% { transform: perspective(500px) rotateX(60deg) translateX(-30px); }
}

.theater-light.left {
    top: -50px;
    left: 20%;
    transform-origin: bottom center;
}

.theater-light.right {
    top: -50px;
    right: 20%;
    transform-origin: bottom center;
}

.theater-ambience {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(30, 30, 30, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 0;
}

.theater-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease;
    transition-delay: 2.2s;
}

.theater-modal.active .theater-stars {
    opacity: 0.7;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero {
        padding: 0 40px;
        height: auto;
        min-height: 90vh;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 100px 0;
    }
    
    .hero-content {
        margin-bottom: 60px;
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image-container {
        position: relative;
        width: 80%;
        max-width: 500px;
        margin: 40px auto 0; /* Moved down on mobile */
        right: auto;
        bottom: auto;
    }
    
    .features, .how-it-works, .integrations, .testimonials, .pricing, .cta, footer {
        padding: 100px 40px;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }
    
    .steps::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--gold), var(--cream));
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .features, .how-it-works, .integrations, .testimonials, .pricing, .cta, footer {
        padding: 80px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        min-width: 300px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .modal-content {
        padding: 40px 25px;
    }
    
    .theater-trial-btn {
        /* Move button to bottom of the modal instead of top right */
        top: auto;
        right: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.5s ease;
        margin-bottom: 60px; /* Space above the video time */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 20px;
    }
    
    .hero-container {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image-container {
        width: 100%;
        margin-top: 60px; /* Increased spacing on mobile */
    }
    
    .pricing-cards {
        gap: 20px;
    }
    
    /* Iframe container for testimonials */
.testimonial-iframe-container {
    width: 100%;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.testimonial-iframe {
    width: 100%;
    height: 600px; /* Adjust based on how tall your widget is */
    border: none;
    overflow: hidden;
}

/* Responsive height adjustment */
@media (max-width: 768px) {
    .testimonial-iframe {
        height: 800px; /* More height on mobile */
    }
}
    
    .pricing-card {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .theater-light {
        width: 150px;
        height: 60px;
    }
    
    .theater-marquee {
        font-size: 1rem;
        padding: 8px 20px;
        top: 25px;
    }
    
    .theater-video-time {
        bottom: 50px;
        right: 15px;
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}