* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
    width: 100%;
    max-width: 100vw;
}

/* 3D Background Support */
#landing-container, .landing-container {
    position: relative;
    z-index: 1;
    background: transparent;
    min-height: 100vh;
    color: #ffffff;
    direction: rtl;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* Landing Page Styles */

/* Navigation Menu */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-bottom: 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-logo a:hover {
    color: #ffed4e;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 80%;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

.landing-header {
    text-align: center;
    padding: 60px 20px;
    background: transparent;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #cccccc;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-intro {
    margin-bottom: 2.5rem;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hook-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hook-subtext {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    font-style: italic;
    opacity: 0.9;
}

.subtitle-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.subtitle-description strong {
    color: #4ecdc4;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-primary, .cta-secondary, .cta-tertiary, .cta-quaternary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-primary {
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7aa 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.cta-primary:hover {
    background: linear-gradient(135deg, #45b7aa 0%, #3aa89a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.cta-tertiary {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.cta-tertiary:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
}

.cta-quaternary {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.cta-quaternary:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: translateY(-3px);
}

.features-section {
    padding: 80px 20px;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.how-it-works .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.step-content p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Animation for how-it-works steps */
.step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.step:nth-child(1).visible { transition-delay: 0.2s; }
.step:nth-child(2).visible { transition-delay: 0.5s; }
.step:nth-child(3).visible { transition-delay: 0.8s; }

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, background 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card:nth-child(1).visible { transition-delay: 0.1s; }
.feature-card:nth-child(2).visible { transition-delay: 0.3s; }
.feature-card:nth-child(3).visible { transition-delay: 0.5s; }
.feature-card:nth-child(4).visible { transition-delay: 0.7s; }
.feature-card:nth-child(5).visible { transition-delay: 0.9s; }
.feature-card:nth-child(6).visible { transition-delay: 1.1s; }

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Demo Section Styles - Enhanced */
.demo-section {
    padding: 60px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(78, 205, 196, 0.08) 0%, transparent 60%);
    animation: demoBackgroundFloat 8s ease-in-out infinite;
}

@keyframes demoBackgroundFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-1deg); }
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.demo-text {
    text-align: center;
    position: relative;
}

.demo-text h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e6ff 30%, #4ecdc4 50%, #45b7aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(78, 205, 196, 0.3);
    letter-spacing: 1px;
    line-height: 1.1;
    position: relative;
}

.demo-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #ffd700);
    border-radius: 2px;
    opacity: 0;
    animation: titleUnderline 2s ease-in-out 1.5s forwards;
}

@keyframes titleUnderline {
    from { opacity: 0; width: 0; }
    to { opacity: 1; width: 80px; }
}

.demo-text p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.demo-btn {
    display: inline-block;
    background:
        linear-gradient(135deg, #4ecdc4 0%, #45b7aa 100%),
        linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    background-blend-mode: screen;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 25px rgba(78, 205, 196, 0.4),
        0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.demo-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.demo-btn:hover {
    background:
        linear-gradient(135deg, #45b7aa 0%, #3aa89a 100%),
        linear-gradient(135deg, #685dff 0%, #00ffff 100%);
    background-blend-mode: screen;
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(78, 205, 196, 0.6),
        0 10px 30px rgba(0,0,0,0.2),
        0 0 50px rgba(2, 103, 255, 0.3);
    border-color: rgba(78,205,196,0.5);
}

.demo-btn:hover::before {
    width: 300px;
    height: 300px;
}

.demo-btn span {
    position: relative;
    z-index: 2;
}

.demo-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.phone-mockup {
    width: 325px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 30px;
    padding: 20px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
    overflow: hidden;
    overflow-x: hidden;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-5px) rotateX(-1deg) rotateY(1deg); }
    50% { transform: translateY(-2px) rotateX(0deg) rotateY(0deg); }
    75% { transform: translateY(-8px) rotateX(1deg) rotateY(-1deg); }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, #666, #444);
    border-radius: 3px;
    border: 1px solid #555;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    border: 1px solid #444;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid #333;
    pointer-events: none;
}

.phone-screen iframe {
    pointer-events: auto;
    transform: scale(1);
    transform-origin: top left;
    width: 100%;
    height: 100%;
}

.app-preview {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.preview-header {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 25px;
    padding-bottom: 12px;
    padding-top: 12px;
    border-bottom: 3px solid rgba(78, 205, 196, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-header::before {
    content: '🚀';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-question {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.4;
}

.preview-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.preview-option {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 18px 15px;
    border-radius: 15px;
    text-align: center;
    font-size: 1rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: optionFadeIn 0.8s ease-out both;
}

.preview-option:nth-child(1) { animation-delay: 0.1s; }
.preview-option:nth-child(2) { animation-delay: 0.2s; }
.preview-option:nth-child(3) { animation-delay: 0.3s; }
.preview-option:nth-child(4) { animation-delay: 0.4s; }

@keyframes optionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preview-option:hover {
    background: rgba(78, 205, 196, 0.6);
    border-color: rgba(78,205,196,0.8);
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 15px 30px rgba(78,205,196,0.4),
        0 5px 15px rgba(0,0,0,0.2);
    color: #ffffff;
}

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

.preview-option:hover::before {
    left: 100%;
}

/* Responsive Design for Demo Section */
@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .demo-text {
        text-align: center;
    }
    
    .phone-mockup {
        width: 380px;
        height: 700px;
    }
    
    .demo-text h3 {
        font-size: 2rem;
    }
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4ecdc4;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Buyer Area Styles */
.buyer-area {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.buyer-area h3 {
    color: #4ecdc4;
    margin-bottom: 20px;
    text-align: center;
}

.buyer-login {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #cccccc;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-login {
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7aa 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-login:hover {
    background: linear-gradient(135deg, #45b7aa 0%, #3aa89a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.btn-login:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Quiz List Styles */
.quiz-list {
    margin-top: 30px;
}

.quiz-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-item h4 {
    color: #4ecdc4;
    margin-bottom: 10px;
}

.quiz-item p {
    color: #cccccc;
    margin-bottom: 5px;
}

.quiz-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-edit, .btn-edit-emails, .btn-delete, .btn-logout {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-edit {
    background: #ffa726;
    color: white;
}

.btn-edit:hover {
    background: #ff9800;
    transform: translateY(-2px);
}

.btn-edit-emails {
    background: #ffa726;
    color: white;
}

.btn-edit-emails:hover {
    background: #ff9800;
    transform: translateY(-2px);
}

.btn-delete {
    background: #666;
    color: white;
}

.btn-delete:hover {
    background: #555;
    transform: translateY(-2px);
}

.btn-logout {
    background: #666;
    color: white;
    margin-top: 20px;
}

.btn-logout:hover {
    background: #555;
    transform: translateY(-2px);
}

/* Message Styles */
.message {
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}

.message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 45px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #45b7aa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(78, 205, 196, 0.3);
}

.pricing-card.premium {
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.pricing-card.premium:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
}

.pricing-badge {
    position: absolute;
    top: 8px;
    right: 6px;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: #4ecdc4;
    margin-bottom: 10px;
    font-weight: 700;
}

.pricing-card.premium .pricing-header h3 {
    color: #ffd700;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.pricing-card.premium .price {
    color: #ffd700;
}

.pricing-features {
    list-style: none;
    margin: 25px 0;
    text-align: right;
}

.pricing-features li {
    padding: 8px 0;
    color: #cccccc;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.pricing-features li:hover {
    color: #4ecdc4;
    padding-right: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7aa 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.pricing-btn:hover {
    background: linear-gradient(135deg, #45b7aa 0%, #3aa89a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.pricing-card.premium .pricing-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.pricing-card.premium .pricing-btn:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ff9800 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 80px 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #45b7aa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(78, 205, 196, 0.3);
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: rgba(78, 205, 196, 0.3);
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: serif;
    line-height: 1;
}

.testimonial-content p::after {
    content: '"';
    font-size: 4rem;
    color: rgba(78, 205, 196, 0.3);
    position: absolute;
    bottom: -40px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    position: relative;
    z-index: 2;
}

.testimonial-author strong {
    color: #4ecdc4;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Animation for testimonials */
.testimonial-card {
    animation: fadeInUp 0.8s ease-out both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }
.testimonial-card:nth-child(4) { animation-delay: 0.8s; }
.testimonial-card:nth-child(5) { animation-delay: 1.0s; }
.testimonial-card:nth-child(6) { animation-delay: 1.2s; }

/* Responsive Design for testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 2rem;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 2.5rem;
    }

    .testimonial-content p::before {
        top: -15px;
        right: 15px;
    }

    .testimonial-content p::after {
        bottom: -30px;
        left: 15px;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 0fr;
    transition: grid-template-rows 0.4s ease;
}

.faq-item.active {
    grid-template-rows: auto 1fr;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #45b7aa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.faq-item:hover::before {
    transform: scaleX(1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 25px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4ecdc4;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-align: right;
    user-select: none;
    -webkit-user-select: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #ffd700;
    transition: all 0.3s ease;
    font-weight: bold;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item.active .faq-question {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.faq-answer {
    overflow: hidden;
    transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                padding 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    padding: 0;
}

.faq-item.active .faq-answer {
    padding: 15px 30px 25px 30px;
    opacity: 1;
}

.faq-answer p {
    margin: 0;
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    text-align: right;
}

/* FAQ Animations - removed to prevent conflicts with toggle */

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .faq-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .faq-question {
        padding: 20px 25px;
        font-size: 1.1rem;
    }

    .faq-answer p {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 25px 20px 25px;
    }
}

/* Final CTA Section Styles */
.final-cta {
    padding: 100px 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(78, 205, 196, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.12) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(78, 205, 196, 0.08) 100%);
    animation: finalCtaBackground 10s ease-in-out infinite alternate;
}

@keyframes finalCtaBackground {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-10px) scale(1.02); }
}

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

.final-cta h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 30%, #4ecdc4 70%, #45b7aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(78, 205, 196, 0.4);
    letter-spacing: 2px;
    line-height: 1.1;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 40px rgba(78, 205, 196, 0.4); }
    100% { text-shadow: 0 0 60px rgba(255, 215, 0, 0.6), 0 0 80px rgba(78, 205, 196, 0.3); }
}

.final-cta p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.final-cta .cta-primary {
    font-size: 1.3rem;
    padding: 20px 50px;
    border-radius: 60px;
    background:
        linear-gradient(135deg, #4ecdc4 0%, #45b7aa 50%, #ffd700 100%),
        linear-gradient(135deg, #ffd700 0%, #ffb300 50%, #4ecdc4 100%);
    background-blend-mode: screen;
    background-size: 200% 200%;
    animation: ctaButtonShimmer 4s ease-in-out infinite;
    box-shadow:
        0 10px 30px rgba(78, 205, 196, 0.5),
        0 5px 15px rgba(255, 215, 0, 0.3),
        0 0 50px rgba(78, 205, 196, 0.2);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.final-cta .cta-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.final-cta .cta-primary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 20px 50px rgba(78, 205, 196, 0.8),
        0 15px 30px rgba(255, 215, 0, 0.5),
        0 0 80px rgba(78, 205, 196, 0.4),
        0 0 120px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    background-position: 100% 50%;
}

.final-cta .cta-primary:hover::before {
    opacity: 1;
    animation: buttonShine 1.5s ease-in-out;
}

@keyframes buttonShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.final-cta .cta-primary.large {
    font-size: 1.4rem;
    padding: 25px 60px;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Responsive Design for Final CTA */
@media (max-width: 768px) {
    .final-cta {
        padding: 60px 20px;
    }

    .final-cta h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .final-cta p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .final-cta .cta-primary.large {
        font-size: 1.2rem;
        padding: 20px 40px;
    }
}

@media (max-width: 480px) {
    .final-cta {
        padding: 40px 15px;
    }

    .final-cta h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .final-cta p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .final-cta .cta-primary.large {
        font-size: 1.1rem;
        padding: 18px 35px;
    }
}

/* Landing Footer Styles */
.landing-footer {
    background: transparent;
    padding: 60px 20px 30px 20px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.landing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(78, 205, 196, 0.08) 0%, transparent 70%),
                radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.landing-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    text-align: right;
}

.footer-section h4 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #4ecdc4);
    border-radius: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: block;
    border-radius: 5px;
}

.footer-section ul li a:hover {
    color: #4ecdc4;
    padding-right: 10px;
    background: rgba(78, 205, 196, 0.1);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer Animations */
.footer-section {
    animation: fadeInUp 0.6s ease-out both;
}

.footer-section:nth-child(1) { animation-delay: 0.2s; }
.footer-section:nth-child(2) { animation-delay: 0.4s; }
.footer-section:nth-child(3) { animation-delay: 0.6s; }

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .landing-footer {
        padding: 40px 20px 20px 20px;
        margin-top: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-bottom {
        padding-top: 20px;
        margin-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .landing-footer {
        padding: 30px 15px 15px 15px;
    }

    .footer-content {
        gap: 25px;
        margin-bottom: 25px;
    }

    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }
}

/* Demo Section Styles - Millionaire Quiz Theme */
.demo-section {
    padding: 60px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(78, 205, 196, 0.08) 0%, transparent 60%);
    animation: demoBackgroundFloat 8s ease-in-out infinite;
}

@keyframes demoBackgroundFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-1deg); }
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.demo-text {
    text-align: center;
    position: relative;
}

.demo-text h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e6ff 30%, #4ecdc4 50%, #45b7aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(78, 205, 196, 0.3);
    letter-spacing: 1px;
    line-height: 1.1;
    position: relative;
}

.demo-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #ffd700);
    border-radius: 2px;
    opacity: 0;
    animation: titleUnderline 2s ease-in-out 1.5s forwards;
}

@keyframes titleUnderline {
    from { opacity: 0; width: 0; }
    to { opacity: 1; width: 80px; }
}

.demo-text p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.demo-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7aa 50%, #00276d 100%), linear-gradient(135deg, #0046fd 0%, #00baff 50%, #1514ff 100%);
    background-blend-mode: screen;
    color: black;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 25px rgba(78, 205, 196, 0.4),
        0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.demo-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.demo-btn:hover {
    background:
    linear-gradient(135deg, #45b7aa 0%, #3aa89a 100%),
    linear-gradient(135deg, #685dff 0%, #00ffff 100%);
    background-blend-mode: screen;
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(78, 205, 196, 0.6),
        0 10px 30px rgba(0,0,0,0.2),
        0 0 50px rgba(104, 175, 255, 0.3);
    border-color: rgba(0, 255, 238, 0.5);
}

.demo-btn:hover::before {
    width: 300px;
    height: 300px;
}

.demo-btn span {
    position: relative;
    z-index: 2;
}

.demo-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.phone-mockup {
    width: 325px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 30px;
    padding: 20px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
    overflow: hidden;
    overflow-x: hidden;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-5px) rotateX(-1deg) rotateY(1deg); }
    50% { transform: translateY(-2px) rotateX(0deg) rotateY(0deg); }
    75% { transform: translateY(-8px) rotateX(1deg) rotateY(-1deg); }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, #666, #444);
    border-radius: 3px;
    border: 1px solid #555;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    border: 1px solid #444;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid #333;
    pointer-events: none;
}

.phone-screen iframe {
    pointer-events: auto;
    transform: scale(1);
    transform-origin: top left;
    width: 100%;
    height: 100%;
}

.app-preview {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.preview-header {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #4ecdc4;
    margin-bottom: 25px;
    padding-bottom: 12px;
    
    padding-top: 12px;
    border-bottom: 3px solid rgba(78, 205, 196, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-header::before {
    content: '🚀';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-question {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.4;
}

.preview-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.preview-option {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 18px 15px;
    border-radius: 15px;
    text-align: center;
    font-size: 1rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: optionFadeIn 0.8s ease-out both;
}

.preview-option:nth-child(1) { animation-delay: 0.1s; }
.preview-option:nth-child(2) { animation-delay: 0.2s; }
.preview-option:nth-child(3) { animation-delay: 0.3s; }
.preview-option:nth-child(4) { animation-delay: 0.4s; }

@keyframes optionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preview-option:hover {
    background: rgba(78, 205, 196, 0.6);
    border-color: rgba(78,205,196,0.8);
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 15px 30px rgba(78,205,196,0.4),
        0 5px 15px rgba(0,0,0,0.2);
    color: #ffffff;
}

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

.preview-option:hover::before {
    left: 100%;
}

/* Millionaire Quiz Theme for Demo Preview */
.demo-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
  
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.demo-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 30px 30px;
    animation: starTwinkle 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.phone-screen {
    background: linear-gradient(135deg, #0a0a2e 0%, #16213e 50%, #0f3460 100%);
}

.preview-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: 3px solid #ffd700;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-question {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: 3px solid #5d8aa8;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    font-family: 'Varela Round', Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 25px 20px;
    margin-bottom: 20px;
}

.preview-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.preview-option {
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    border: 3px solid #5d8aa8;
    height: 120px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.preview-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: #ffd700;
}

.preview-option .option-letter {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2;
    letter-spacing: 0.5px;
}

.preview-option .option-text {
    font-size: 1.2rem;
    font-weight: 200;
    letter-spacing: 0.5px;
    text-align: center;
    color: #ffffff;
    line-height: 1.3;
    flex: 1;
    padding: 0 30px;
    font-family: 'Varela Round', Arial, sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Demo iframe mobile styles */
.phone-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    transform: scale(1);
    transform-origin: top center;
    overflow: hidden;
    overflow-x: hidden;
    pointer-events: auto;
    transform: scale(1);
    transform-origin: top left;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Responsive iframe scaling for mobile */
@media (max-width: 768px) {
    .phone-screen iframe {
     
        transform-origin: top center;
    }
}

@media (max-width: 480px) {
    .phone-screen iframe {
     
        transform-origin: top center;
    }
}

/* Responsive Design for Demo Section */
@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .demo-text {
        text-align: center;
    }

    .phone-mockup {
        width: 380px;
        height: 600px;
    }

    .demo-text h3 {
        font-size: 2rem;
    }
}

/* Buyer Area Styles - moved to dashboard.html */

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary, .cta-tertiary, .cta-quaternary {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
    
    /* Quiz actions styles moved to dashboard.html */
}

/* Process Explanation Section - Improved */
.process-explanation {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.process-explanation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(78, 205, 196, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.06) 0%, transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: backgroundMove 20s ease-in-out infinite;
}

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

.process-explanation .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.process-explanation .section-title {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 3.2em;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff 0%, #e0e6ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.1;
}

.process-explanation .section-subtitle {
    text-align: center;
    margin-bottom: 80px;
    font-size: 1.4em;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
    position: relative;
}

.process-explanation .section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #ffffff, #4ecdc4);
    border-radius: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 50px;
    margin-bottom: 100px;
}

.process-step {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(78,205,196,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.15);
    border-color: rgba(78,205,196,0.4);
}

.process-step:hover::before {
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.step-icon {
    font-size: 4em;
    margin-left: 30px;
    margin-right: auto;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(78,205,196,0.2), rgba(255,255,255,0.1));
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(78,205,196,0.2);
    transition: all 0.4s ease;
    position: relative;
}

.step-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4ecdc4, #ffffff, #4ecdc4);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-step:hover .step-icon::after {
    opacity: 0.7;
}

.step-content {
    flex: 1;
    text-align: right;
}

.step-content h3 {
    margin: 0 0 18px 0;
    font-size: 1.8em;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

.step-content p {
    margin: 0;
    line-height: 1.9;
    opacity: 0.95;
    font-size: 1.1em;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.step-content strong {
    color: #4ecdc4;
    font-weight: 700;
    background: rgba(78,205,196,0.15);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(78,205,196,0.3);
    box-shadow: 0 2px 8px rgba(78,205,196,0.2);
}

.process-summary {
    text-align: center;
}

.summary-box {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: inline-block;
    max-width: 700px;
    transition: all 0.3s ease;
}

.summary-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.15);
}

.summary-box h4 {
    color: white;
    margin: 0 0 30px 0;
    font-size: 1.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.summary-box ul {
    text-align: right;
    margin: 0;
    padding: 0;
    list-style: none;
}

.summary-box li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.summary-box li:hover {
    padding-right: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: #4ecdc4;
}

.summary-box li:last-child {
    border-bottom: none;
}

/* Mobile responsiveness for process section */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .step-icon {
        margin: 0 0 25px 0;
        order: -1;
    }

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

    .process-explanation .section-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 0;
    }

    .how-it-works .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 2rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step-content h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .step-content p {
        font-size: 1rem;
    }

    .process-explanation {
        padding: 80px 0;
    }

    .process-explanation .section-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .process-explanation .section-subtitle {
        font-size: 1.2em;
        margin-bottom: 60px;
    }

    .process-step {
        padding: 25px 20px;
    }

    .step-content h3 {
        font-size: 1.5em;
    }

    .step-icon {
        font-size: 3em;
        width: 60px;
        height: 60px;
    }

    .summary-box {
        padding: 30px 20px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .how-it-works {
        padding: 40px 0;
    }

    .how-it-works .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .steps-container {
        gap: 15px;
        margin-top: 1.5rem;
    }

    .step {
        padding: 20px 15px;
        gap: 12px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .step-content p {
        font-size: 0.95rem;
    }
}

/* Loading animation for process steps */
.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }
.process-step:nth-child(4) { animation-delay: 0.8s; }
.process-step:nth-child(5) { animation-delay: 1s; }
.process-step:nth-child(6) { animation-delay: 1.2s; }

.process-step {
    animation: fadeInUp 0.8s ease-out both;
}
