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

:root {
    --primary-gradient: linear-gradient(90deg, #3a0ca3, #7209b7, #f72585);
    --primary-color: #3a0ca3;
    --secondary-color: #7209b7;
    --accent-color: #f72585;
    --bg-dark: #ffffff;
    --bg-darker: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-light: #1a1a1a;
    --text-gray: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
}

/* ===== CONTACT PAGE STYLES WITH ADVANCED ANIMATIONS ===== */

/* Enhanced Animation Keyframes for Contact */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes iconGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(58, 12, 163, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(58, 12, 163, 0.6), 0 0 40px rgba(247, 37, 133, 0.3);
    }
}

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

@keyframes inputFocus {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 12, 163, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(58, 12, 163, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 12, 163, 0);
    }
}

/* Contact Hero */
.contact-hero {
    padding: 8rem 0 4rem;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(58, 12, 163, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(247, 37, 133, 0.08) 0%, transparent 50%),
        var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(58,12,163,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23contactGrid)"/></svg>');
    animation: float 15s ease-in-out infinite;
}

.contact-hero-content {
    text-align: center;
    animation: slideInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.contact-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-content p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.3s both;
}

  .launch-section {
            background: var(--bg-darker);
            border-radius: 20px;
            padding: 60px 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .launch-title {
            font-size: 2rem;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 15px;
        }

        .launch-subtitle {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 40px;
            color: #1a1a1a;
        }

        .launch-highlight {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .idea-input-container {
            background: var(--bg-dark);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 30px;
            border: 2px solid #e2e8f0;
            transition: all 0.3s ease;
        }

        .idea-input-container:focus-within {
            border-color: var(--primary-gradient);
            box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
        }

        .idea-input {
            width: 100%;
            background: transparent;
            border: none;
            padding: 10px 0;
            font-size: 1.1rem;
            color: #374151;
            outline: none;
        }

        .idea-input::placeholder {
            color: #9ca3af;
        }

        .input-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
        }

        .add-btn {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            border: 2px dashed #d1d5db;
            background: white;
            color: var(--primary-gradient);
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .add-btn:hover {
            border-color: #f59e0b;
            color: #f59e0b;
        }

        .build-btn {
            background: var(--primary-gradient);
            color: white;
            padding: 12px 24px;
            border-radius: 10px;
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .build-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-top: 30px;
        }

        .tag {
            background: #f1f5f9;
            color: #475569;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .tag:hover {
            background: #e2e8f0;
            transform: translateY(-1px);
        }

        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }

            .content {
                padding-right: 0;
            }

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

            .launch-subtitle {
                font-size: 2rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .launch-section {
                padding: 40px 20px;
            }
        }



/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--bg-darker);
    position: relative;
}

.contact-container {

    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(58, 12, 163, 0.05);
    border: 1px solid var(--border-color);
    animation: slideInFromLeft 1s ease-out;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(58, 12, 163, 0.1);
}

.contact-form:hover::before {
    opacity: 0.02;
}

.form-header {
    margin-bottom: 3rem;
    animation: formSlideUp 1s ease-out 0.2s both;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
    animation: formSlideUp 1s ease-out;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-darker);
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(58, 12, 163, 0.15),
        0 0 0 3px rgba(58, 12, 163, 0.1);
    animation: inputFocus 0.6s ease-out;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: var(--primary-color);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2"><polyline points="6,9 12,15 18,9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    appearance: none;
}

/* Form Button */
.contact-form .cta-button {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: formSlideUp 1s ease-out 0.7s both;
}

.contact-form .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.contact-form .cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.contact-form .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(58, 12, 163, 0.4);
}

/* Contact Info */
.contact-info {
    animation: slideInFromRight 1s ease-out;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 4rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Contact Methods */
.contact-methods {
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounceIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

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

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(58, 12, 163, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px) translateX(10px);
    box-shadow: 
        0 20px 40px rgba(58, 12, 163, 0.1),
        -5px 0 20px rgba(247, 37, 133, 0.05);
    border-color: rgba(58, 12, 163, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: all 0.4s ease;
    animation: iconGlow 3s ease-in-out infinite;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    animation: iconGlow 1s ease-in-out infinite;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.contact-details strong {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details span {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-details span {
    color: var(--text-light);
}

/* Social Links */
.social-links {
    animation: fadeInScale 1s ease-out 0.5s both;
}

.social-links h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(58, 12, 163, 0.3);
}

.social-icon i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* FAQ Section for Contact */
.contact-faq {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.contact-faq .faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.contact-faq .faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

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

.contact-faq .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(58, 12, 163, 0.1);
    border-color: rgba(58, 12, 163, 0.2);
}

.contact-faq .faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-faq .faq-question:hover {
    background: rgba(58, 12, 163, 0.02);
}

.contact-faq .faq-question h3 {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-faq .faq-question:hover h3 {
    color: var(--primary-color);
}

.contact-faq .faq-question i {
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.contact-faq .faq-item.active .faq-question i {
    transform: rotate(180deg) scale(1.1);
    color: var(--accent-color);
}

.contact-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.contact-faq .faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 2rem;
}

.contact-faq .faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
    animation: slideInUp 0.3s ease-out;
}

/* Form Validation States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: slideInUp 0.3s ease-out;
}

.form-success {
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: slideInUp 0.3s ease-out;
}

/* Loading State */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-faq .faq-question {
        padding: 1.5rem;
    }
    
    .contact-faq .faq-answer {
        padding: 0 1.5rem;
    }
    
    .contact-faq .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
}

html {
  height: 100%;
  height: 100vh;
  height: -webkit-fill-available;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
    min-height: 100%;
    min-height: 100vh; 
    min-height: -webkit-fill-available;
    margin: 0;
    padding: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 4s ease-in-out infinite;
    cursor: pointer;
}

@keyframes logoGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a.active {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-light);
}

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

.cta-button {
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.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: left 0.5s;
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(114, 9, 183, 0.4);
}

/* Common Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(10deg); }
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;           /* cap on desktop */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  background: #000;
  margin-inline: auto;        /* center on narrow screens */
}

.video-container video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;       /* keep height proportional */
  object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

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

.play-button {
    width: 80px;
    height: 80px;
    background:  "--primary-gradient";
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--primary-gradient);
}

.play-button svg {
    margin-left: 4px; /* Center the play triangle */
}

/* Enhanced Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, rgba(58, 12, 163, 0.03) 0%, var(--bg-dark) 70%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: var(--primary-gradient);
    opacity: 0.02;
    transform: rotate(45deg);
    border-radius: 50%;
    animation: heroFloat 20s linear infinite;
}

@keyframes heroFloat {
    0% { transform: rotate(45deg) translateY(0); }
    100% { transform: rotate(45deg) translateY(-20px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    display: grid;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
    padding-right: 2rem;
}

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

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-hover);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(114, 9, 183, 0.3);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.stat-item {
    text-align: center;
    padding: 1rem 0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(58, 12, 163, 0.05);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

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

/* Modern Chat Mockup - Fixed and Enhanced */
.chat-mockup {
    width: 100%;
    max-width: 420px;
    height: 500px;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: transparent;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-info {
    flex: 1;
}

.chat-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.1rem;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: messageSlideIn 0.5s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-avatar {
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.message-bubble {
    background: var(--bg-darker);
    padding: 0.875rem 1.125rem;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 280px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.typing-bubble {
    min-height: 45px;
    display: flex;
    align-items: center;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    margin-right: 8px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-gray);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0ms; }
.typing-indicator span:nth-child(2) { animation-delay: 200ms; }
.typing-indicator span:nth-child(3) { animation-delay: 400ms; }

@keyframes typing {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.typed-text {
    font-weight: 500;
    color: var(--text-light);
    display: none;
}

.chat-input {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: var(--bg-card);
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-darker);
    color: var(--text-light);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 12, 163, 0.1);
}

.send-button {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(114, 9, 183, 0.3);
}

/* Enhanced Features */
.features-preview {
    padding: 10rem 0;
    background: var(--bg-darker);
    position: relative;
}



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

.feature-card {
    background: var(--bg-card);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(114, 9, 183, 0.15);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    color: white;
    transition: all 0.3s ease;
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-4px) rotate(-1deg); }
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(114, 9, 183, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
}

/* Product Page Specific Styles */
/* Niles Wizard Showcase */
.wizard-showcase {
    padding: 8rem 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.wizard-demo-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.wizard-screen {
    display: none;
    padding: 3rem;
    min-height: 500px;
}

.wizard-screen.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.screen-header {
    text-align: center;
    margin-bottom: 3rem;
}

.screen-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-darker);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 300px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 25%;
}

.screen-content {
    margin-top: 2rem;
}

.input-field {
    margin-bottom: 2rem;
}

.input-field label {
    display: block;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.input-field textarea {
    width: 100%;
    min-height: 150px;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-darker);
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(58, 12, 163, 0.1);
}

.design-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.design-card {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-card);
}

.design-card:hover, .design-card.selected {
    border-color: var(--primary-color);
    background: rgba(58, 12, 163, 0.05);
    transform: translateY(-5px);
}

.design-card span {
    font-weight: 600;
    color: var(--text-light);
}

.design-preview {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.design-preview.modern {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.design-preview.minimal {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.design-preview.classic {
    background: linear-gradient(135deg, #059669, #10b981);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-card);
}

.feature-option:hover, .feature-option.selected {
    border-color: var(--primary-color);
    background: rgba(58, 12, 163, 0.05);
}

.feature-option svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-option span {
    color: var(--text-light);
    font-weight: 500;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.theme-card {
    text-align: center;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-card);
}

.theme-card:hover, .theme-card.selected {
    border-color: var(--primary-color);
    background: rgba(58, 12, 163, 0.05);
    transform: translateY(-5px);
}

.theme-card span {
    font-weight: 600;
    color: var(--text-light);
}

.theme-preview {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.color-bar {
    width: 100%;
    height: 20px;
}

.theme-content {
    height: 80px;
    background: #f8fafc;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4px;
    padding: 4px;
}

.theme-header {
    grid-column: 1 / -1;
    height: 12px;
    background: #e2e8f0;
    border-radius: 2px;
}

.theme-sidebar {
    height: 60px;
    background: #cbd5e1;
    border-radius: 2px;
}

.wizard-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-darker);
}

.wizard-btn {
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.wizard-btn.primary {
    background: var(--primary-gradient);
    color: white;
}

.wizard-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(58, 12, 163, 0.3);
}

.wizard-btn.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.wizard-btn.secondary:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.wizard-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive fixes for wizard */
@media (max-width: 768px) {
    .wizard-demo-container {
        margin: 0 1rem;
    }
    
    .wizard-screen {
        padding: 2rem;
        min-height: 400px;
    }
    
    .design-options {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-options {
        grid-template-columns: 1fr;
    }
    
    .wizard-controls {
        padding: 1.5rem 2rem;
    }
}

/* No Iterations Section */
.no-iterations {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.no-iterations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gradient);
    opacity: 0.3;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.traditional-side, .niles-side {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
}

.traditional-side {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(220, 38, 38, 0.03));
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.niles-side {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.03));
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.traditional-side h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ef4444;
    position: relative;
}

.traditional-side h3::after {
    content: '😩';
    position: absolute;
    right: -40px;
    top: 0;
    font-size: 1.5rem;
}

.niles-side h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #10b981;
    position: relative;
}

.niles-side h3::after {
    content: '✨';
    position: absolute;
    right: -40px;
    top: 0;
    font-size: 1.5rem;
}

.iteration-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
    min-height: 400px;
}

.iteration-attempt {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out;
    position: relative;
}

.iteration-attempt.failed {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-left: 6px solid #ef4444;
}

.iteration-attempt.partial {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-left: 6px solid #f59e0b;
}

.iteration-attempt.perfect {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-left: 6px solid #10b981;
    animation: slideInRight 0.6s ease-out;
}

.iteration-attempt:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.attempt-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.failed .attempt-number {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.partial .attempt-number {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.perfect .attempt-number {
    background: var(--primary-gradient);
    animation: pulse 2s ease-in-out infinite;
}

.attempt-description {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.attempt-description p {
    margin: 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.status-icon {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.iteration-dots {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-gray);
    padding: 1.5rem 0;
    font-weight: bold;
    opacity: 0.7;
}

.perfect-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    min-height: 400px;
    justify-content: center;
}

.perfect-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(58, 12, 163, 0.3);
}

.perfect-badge svg {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    font-weight: 900;
    font-size: 1.8rem;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(58, 12, 163, 0.4);
    position: relative;
    z-index: 10;
}

.vs-divider::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.2;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.timeline-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat:hover {
    transform: translateY(-5px);
}

.timeline-stats.bad .stat {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border-color: rgba(239, 68, 68, 0.2);
}

.timeline-stats.good .stat {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
    border-color: rgba(16, 185, 129, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-stats.bad .stat-number {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-stats.good .stat-number {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 600;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive Design for No Iterations */
@media (max-width: 768px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vs-divider {
        transform: rotate(90deg);
        margin: 2rem 0;
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .traditional-side h3::after,
    .niles-side h3::after {
        right: -30px;
        font-size: 1.2rem;
    }
    
    .iteration-timeline {
        min-height: auto;
    }
    
    .perfect-result {
        min-height: auto;
    }
    
    .timeline-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Smart Wizard Section */
/* Smart Wizard Section */
#smart-wizard {
  padding: 6rem 0;
}

.wizard-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--card);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.6s ease-out;
}

.wizard-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.wizard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: pulse 2s ease-in-out infinite;
}

.wizard-speech {
  background: var(--popover);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: var(--secondary);
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard-response {
  margin-top: 1rem;
}

.ai-suggestions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border-radius: 12px;
  font-weight: 500;
  color: var(--foreground);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, transform 0.3s ease;
}

.suggestion-item:hover {
  background: var(--muted);
  transform: translateX(5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.suggestion-item svg {
  stroke: var(--primary);
  flex-shrink: 0;
}

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

/* Responsive */
@media (max-width: 768px) {
  .wizard-flow {
    padding: 2rem;
  }

  .wizard-speech {
    font-size: 1rem;
  }

  .suggestion-item {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* Data Management Section */
.data-management {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.data-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.data-option {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.data-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.data-option:hover::before {
    transform: scaleX(1);
}

.data-option:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(58, 12, 163, 0.15);
}

.data-option.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.05), rgba(247, 37, 133, 0.05));
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.data-icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.data-option h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.data-option p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.data-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.feature-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.integration-demo {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.integration-demo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.integration-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.integration-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Live Code Demo Section */
.live-code-demo {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.live-demo-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.demo-input, .demo-output {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.input-header, .output-header {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-header h3, .output-header h3 {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
}

.user-avatar, .ai-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-avatar {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.ai-avatar {
    background: var(--primary-gradient);
}

.input-content {
    padding: 2rem;
    min-height: 150px;
    display: flex;
    align-items: center;
}

.typing-input {
    width: 100%;
}

.typing-input .input-field {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

#live-typing-text {
    font-style: italic;
}

.typing-cursor {
    animation: blink 1s infinite;
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.demo-arrow {
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.code-output {
    background: #1a1a1a;
}

.code-tabs {
    display: flex;
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
}

.code-tab {
    padding: 0.75rem 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.code-tab.active {
    color: white;
    background: #1a1a1a;
    border-bottom-color: var(--primary-color);
}

.code-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.code-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    min-height: 1.2rem;
}

.line-number {
    color: #6b7280;
    margin-right: 1rem;
    width: 2rem;
    text-align: right;
    flex-shrink: 0;
    user-select: none;
}

.code-text {
    color: #e5e7eb;
    flex: 1;
}

.code-keyword { color: #8b5cf6; }
.code-function { color: #10b981; }
.code-string { color: #f59e0b; }
.code-comment { color: #6b7280; }
.code-indent { color: #e5e7eb; }

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

.demo-control {
    text-align: center;
    margin-top: 2rem;
}

.demo-restart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(58, 12, 163, 0.3);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vs-divider {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .data-options {
        grid-template-columns: 1fr;
    }
    
    .live-demo-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .integration-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .wizard-demo-container {
        margin: 0 1rem;
    }
    
    .wizard-screen {
        padding: 2rem;
        min-height: 400px;
    }
    
    .design-options {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-options {
        grid-template-columns: 1fr;
    }
    
    .demo-stats {
        grid-template-columns: 1fr;
    }
}
/* Easy Deployment Feature */
.deployment-flow {
    max-width: 350px;
}

.deploy-button {
    text-align: center;
    margin-bottom: 2rem;
}

.deploy-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.deploy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(58, 12, 163, 0.3);
}

.deployment-progress {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.progress-step.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.progress-step.active {
    background: rgba(58, 12, 163, 0.1);
    color: var(--primary-color);
}

.progress-check {
    color: #10b981;
    font-weight: bold;
}

.progress-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(58, 12, 163, 0.3);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Code Demo Section */
.code-demo {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.code-demo-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.demo-input, .demo-output {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.input-header, .output-header {
    background: var(--bg-darker);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-header h3, .output-header h3 {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
}

.user-avatar, .ai-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-avatar {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.ai-avatar {
    background: var(--primary-gradient);
}

.input-content {
    padding: 2rem;
}

.input-content p {
    margin: 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.demo-arrow {
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.code-output {
    background: #1a1a1a;
}

.code-tabs {
    display: flex;
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
}

.code-tab {
    padding: 0.75rem 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.code-tab.active {
    color: white;
    background: #1a1a1a;
    border-bottom-color: var(--primary-color);
}

.code-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    min-height: 1.2rem;
}

.line-number {
    color: #6b7280;
    margin-right: 1rem;
    width: 2rem;
    text-align: right;
    flex-shrink: 0;
}

.code-text {
    color: #e5e7eb;
}

.code-keyword { color: #8b5cf6; }
.code-function { color: #10b981; }
.code-string { color: #f59e0b; }
.code-indent { color: #e5e7eb; }

.live-typing {
    position: relative;
}

.live-typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1rem;
    background: #10b981;
    margin-left: 2px;
    animation: blink 1s infinite;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-light);
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
    max-width: 300px;
}

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

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--text-light);
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-gray);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--bg-darker);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pricing Page Specific Styles */
/* ===== PRICING PAGE STYLES WITH ADVANCED ANIMATIONS ===== */

/* Enhanced Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(58, 12, 163, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(58, 12, 163, 0.6), 0 0 60px rgba(247, 37, 133, 0.3);
    }
}

@keyframes rainbow-glow {
    0% {
        box-shadow: 0 0 30px rgba(58, 12, 163, 0.5);
    }
    25% {
        box-shadow: 0 0 30px rgba(114, 9, 183, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(247, 37, 133, 0.5);
    }
    75% {
        box-shadow: 0 0 30px rgba(255, 0, 204, 0.5);
    }
    100% {
        box-shadow: 0 0 30px rgba(58, 12, 163, 0.5);
    }
}

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

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Global Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing Hero */
.pricing-hero {
    padding: 8rem 0 4rem;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(58, 12, 163, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(247, 37, 133, 0.1) 0%, transparent 50%),
        var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(58,12,163,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.pricing-hero-content {
    animation: slideInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.pricing-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

.pricing-hero-content p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.3s both;
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    background: var(--bg-darker);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 6rem;
}

/* Pricing Cards */
.pricing-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 3rem;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.8s ease-out;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(58, 12, 163, 0.15),
        0 0 0 1px rgba(58, 12, 163, 0.1);
    border-color: rgba(58, 12, 163, 0.3);
}

.pricing-card:hover::before {
    opacity: 0.02;
}

/* Featured Card */
.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    animation: rainbow-glow 4s ease-in-out infinite;
}

.pricing-card.featured:hover {
    transform: translateY(-15px) scale(1.08);
    animation: rainbow-glow 2s ease-in-out infinite;
}

/* Pro Card */
.pricing-card.pro {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(247, 37, 133, 0.02) 100%);
}

.pricing-card.pro:hover {
    box-shadow: 
        0 30px 60px rgba(247, 37, 133, 0.2),
        0 0 0 1px rgba(247, 37, 133, 0.1);
    border-color: var(--accent-color);
}

/* Badges */
.popular-badge, .pro-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(58, 12, 163, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.pro-badge {
    background: linear-gradient(135deg, var(--accent-color), #ff006e);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.3);
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.pricing-card:hover .plan-name {
    transform: scale(1.05);
    color: var(--primary-color);
}

.plan-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Plan Pricing */
.plan-pricing {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.pricing-card:hover .plan-price {
    transform: scale(1.05);
}

.currency {
    font-size: 1.8rem;
    color: var(--text-gray);
    font-weight: 600;
}

.amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-light);
    margin: 0 0.2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1.3rem;
    color: var(--text-gray);
    font-weight: 500;
}

.plan-subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Plan Features */
.plan-features {
    list-style: none;
    margin-bottom: 3rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    color: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.plan-features li:hover {
    background: rgba(58, 12, 163, 0.05);
    transform: translateX(10px);
}

.plan-features i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.plan-features i[data-lucide="check"] {
    color: #10b981;
}

.plan-features i[data-lucide="x"] {
    color: #ef4444;
}

.plan-features li:hover i[data-lucide="check"] {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #10b981);
}

/* Plan Button */
.plan-button {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(58, 12, 163, 0.3);
}

.plan-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.plan-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(58, 12, 163, 0.4);
}

.plan-button:hover::before {
    width: 400px;
    height: 400px;
}

.plan-button:active {
    transform: translateY(-1px) scale(0.98);
}

.pro .plan-button {
    background: linear-gradient(135deg, var(--accent-color), #ff006e);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.3);
}

.pro .plan-button:hover {
    box-shadow: 0 15px 40px rgba(247, 37, 133, 0.4);
}

/* Pricing Comparison Table */
.pricing-comparison {
    margin-top: 8rem;
    animation: slideInUp 1s ease-out;
}

.pricing-comparison h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-light);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-table {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    animation: slideInUp 1s ease-out 0.3s both;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.comparison-table th {
    background: var(--bg-darker);
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.1rem;
    position: relative;
}

.comparison-table th:nth-child(2)::after,
.comparison-table th:nth-child(3)::after,
.comparison-table th:nth-child(4)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.comparison-table th:hover::after {
    transform: scaleX(1);
}

.comparison-table td {
    color: var(--text-light);
    font-weight: 500;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-light);
}

.comparison-table tr:hover {
    background: rgba(58, 12, 163, 0.02);
}

.comparison-table tr:hover td {
    transform: scale(1.02);
}

.comparison-table i[data-lucide="check"] {
    color: #10b981;
    font-size: 1.2rem;
}

.comparison-table i[data-lucide="x"] {
    color: #ef4444;
    font-size: 1.2rem;
}

/* Usage Calculator */
.usage-calculator {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
}

.usage-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 70% 20%, rgba(58, 12, 163, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 50%);
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    animation: scaleIn 1s ease-out;
    position: relative;
    z-index: 1;
}

.calculator-input {
    text-align: center;
    margin-bottom: 4rem;
}

.calculator-input label {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.slider {
    width: 100%;
    max-width: 500px;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    margin: 2rem auto;
    position: relative;
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-gradient);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(58, 12, 163, 0.4);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 6px 25px rgba(58, 12, 163, 0.6);
}

.slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-gradient);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(58, 12, 163, 0.4);
}

.slider-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 1rem;
    animation: countUp 0.3s ease-out;
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.result-card {
    background: var(--bg-darker);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.result-card::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.6s ease;
}

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

.result-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.paygo-result:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(58, 12, 163, 0.2);
}

.pro-result {
    border-color: var(--accent-color);
}

.pro-result:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(247, 37, 133, 0.2);
    animation: glow 1s ease-in-out;
}

.result-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.result-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.result-price .currency {
    font-size: 1.5rem;
    color: var(--text-gray);
}

.result-price span:nth-child(2) {
    font-size: 3rem;
    color: var(--text-light);
    margin: 0 0.2rem;
    transition: all 0.3s ease;
}

.result-card:hover .result-price span:nth-child(2) {
    transform: scale(1.1);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-price .period {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.result-breakdown {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.savings {
    color: #10b981 !important;
    font-weight: 700;
    animation: pulse 2s ease-in-out infinite;
}

.calculator-recommendation {
    text-align: center;
    padding: 2rem;
    background: var(--primary-gradient);
    border-radius: 16px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    animation: glow 2s ease-in-out infinite;
}

.calculator-recommendation i {
    margin-right: 0.5rem;
    animation: shake 2s ease-in-out infinite;
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    overflow: hidden;
    animation: slideInLeft 0.6s ease-out;
}

.faq-item:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
}

.faq-item:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(58, 12, 163, 0.1);
    border-color: rgba(58, 12, 163, 0.2);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(58, 12, 163, 0.02);
}

.faq-question h3 {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--primary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) scale(1.1);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 2rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
    animation: slideInUp 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .calculator-container {
        padding: 2.5rem;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 100px;
        min-height: 100vh;
    }    

.hero-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 1rem;
}

    .hero-content {
        padding-right: 0;
    }
.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

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

    .feature-card {
        padding: 2.5rem;
    }

    .chat-mockup {
        max-width: 350px;
        height: 450px;
    }

    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .feature-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-nav-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-content.active {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .code-demo-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .iteration-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .speed-stats {
        grid-template-columns: 1fr;
    }
    
    .demo-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-section p {
        max-width: 100%;
    }

    .video-container {
    max-width: 300px;
    max-height: 200px;
    margin: 1rem auto;
}

.chat-mockup {
    max-width: 280px;
    height: 350px;
}

.hero-buttons { flex-direction: column; align-items: center; gap: 1rem; }
.hero-buttons a { width: 100%; }      /* full-width buttons on mobile */
.hero-visual { width: 100%; display: flex; justify-content: center; }

    
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.play-button {
  background: var(--primary-gradient);   /* fix background */
}

.contact-container {
  display: grid;
}
/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
