/* Demo Landing Page Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 25%, #E8F4F8 50%, #F0F9FF 75%, #FFF0E8 100%);
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(100px, -100px); }
    50% { transform: translate(200px, 50px); }
    75% { transform: translate(-50px, 100px); }
}

.particle-1 { width: 6px; height: 6px; background: #2563EB; top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { width: 8px; height: 8px; background: #FF6B6B; top: 60%; left: 80%; animation-delay: 5s; }
.particle-3 { width: 10px; height: 10px; background: #14B8A6; top: 40%; left: 50%; animation-delay: 10s; }
.particle-4 { width: 7px; height: 7px; background: #F59E0B; top: 80%; left: 30%; animation-delay: 15s; }
.particle-5 { width: 5px; height: 5px; background: #60A5FA; top: 10%; left: 70%; animation-delay: 7s; }

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    animation: float-orb 25s infinite ease-in-out;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

.orb-1 { width: 500px; height: 500px; background: #2563EB; top: -200px; left: -200px; }
.orb-2 { width: 400px; height: 400px; background: #FF6B6B; bottom: -150px; right: -150px; animation-delay: 10s; }

/* Main Container */
.demo-landing-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* Header */
.demo-header {
    text-align: center;
    margin-bottom: 1rem;
}

.logo-wrapper {
    margin-bottom: 1rem;
}

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

.demo-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #2563EB 0%, #0EA5E9 50%, #14B8A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Demo Cards */
.demo-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.demo-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.voice-icon {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
}

.document-icon {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
}

.invoice-icon {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
}

.reception-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
}

.card-icon {
    width: 36px;
    height: 36px;
    color: white;
}

.card-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.document-card .card-badge {
    background: rgba(20, 184, 166, 0.1);
    color: #0D9488;
}

.invoice-card .card-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.reception-card .card-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #7C3AED;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.card-features {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 1.5rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #4B5563;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 18px;
    height: 18px;
    color: #10B981;
    flex-shrink: 0;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.voice-cta {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: white;
}

.voice-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.document-cta {
    background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    color: white;
}

.document-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.35);
}

.invoice-cta {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: white;
}

.invoice-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.reception-cta {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    color: white;
}

.reception-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
}

.document-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.35);
}

.cta-icon {
    width: 18px;
    height: 18px;
}

/* Session Request Section */
.session-request-section {
    width: 100%;
}

.session-request-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.session-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F59E0B 0%, #EAB308 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.session-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.session-content {
    flex: 1;
}

.session-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.session-text {
    font-size: 0.875rem;
    color: #6B7280;
}

.session-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #F59E0B 0%, #EAB308 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.session-request-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Enterprise Section */
.enterprise-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.enterprise-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.enterprise-text {
    font-size: 0.95rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.enterprise-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.enterprise-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4B5563;
    font-weight: 500;
}

.enterprise-icon {
    width: 20px;
    height: 20px;
    color: #2563EB;
}

.enterprise-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.enterprise-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* Footer */
.demo-footer {
    text-align: center;
    color: #9CA3AF;
    font-size: 0.85rem;
}

.demo-footer a {
    color: #6B7280;
    text-decoration: none;
}

.demo-footer a:hover {
    color: #2563EB;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: 50%;
    font-size: 1.25rem;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #E5E7EB;
    color: #1F2937;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4B5563;
    margin-bottom: 0.35rem;
}

.required {
    color: #EF4444;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4B5563;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2563EB;
}

.error-text {
    color: #EF4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: white;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.submit-btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Success State */
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.success-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.success-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.5rem;
    text-align: center;
}

.success-text {
    font-size: 0.95rem;
    color: #6B7280;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .demo-title {
        font-size: 1.75rem;
    }

    .demo-subtitle {
        font-size: 1rem;
    }

    .demo-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .demo-card {
        padding: 1.5rem;
    }

    .session-request-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

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

    .enterprise-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .enterprise-feature {
        justify-content: center;
    }
}
