* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: #0f1419;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(25px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.05em;
}

.btn-back {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

/* Demo Hero Section */
.demo-hero {
    background: linear-gradient(135deg, #0f1419 0%, #1e293b 50%, #0f172a 100%);
    padding: 8rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.demo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(29, 78, 216, 0.08) 0%, transparent 50%);
}

.demo-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.demo-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.demo-hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.demo-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.benefit-icon {
    color: #3b82f6;
    font-weight: bold;
    font-size: 0.9rem;
}

.benefit-item span {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Form Section */
.demo-form-section {
    padding: 4rem 0 6rem 0;
    background: #111827;
}

.demo-form-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-container {
    background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.form-header p {
    color: #94a3b8;
    font-size: 1rem;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(15, 20, 25, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: #f1f5f9;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    letter-spacing: 0.025em;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit::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 ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.form-note {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    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 1.5rem auto;
    font-size: 2rem;
    color: white;
    font-weight: bold;
}

.success-message h3 {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.success-message p {
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-home {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Contact Info */
.contact-info {
    background: rgba(15, 20, 25, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.contact-info h3 {
    color: #f1f5f9;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-item {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-item strong {
    color: #cbd5e1;
    display: block;
    margin-bottom: 0.25rem;
}

/* Footer */
footer {
    background: #0f1419;
    color: #64748b;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .demo-form-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .demo-hero h1 {
        font-size: 2.5rem;
    }
    
    .demo-hero p {
        font-size: 1.1rem;
    }
    
    .demo-benefits {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-info {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .demo-hero {
        padding: 6rem 0 3rem 0;
    }
}

@media (max-width: 480px) {
    .demo-hero h1 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

/* Form Animations */
.form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.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; }

.btn-submit {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}