/* Demo Page Styles */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --border-primary: rgba(255, 255, 255, 0.06);
    --border-secondary: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --accent-primary: #635bff;
    --accent-success: #00d4aa;
    --gradient-primary: linear-gradient(135deg, #635bff 0%, #00d4aa 100%);
    --font-main: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; background: rgba(10, 10, 15, 0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-primary); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; background: var(--gradient-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: white; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--text-primary); }
.back-link { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.back-link:hover { color: var(--text-primary); }
.back-link svg { width: 18px; height: 18px; }

.demo-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }

.demo-info { background: var(--bg-secondary); padding: 120px 60px 60px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.demo-info::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(99, 91, 255, 0.08) 0%, transparent 50%); }
.demo-info-content { position: relative; z-index: 1; max-width: 480px; }
.demo-badge { display: inline-flex; padding: 8px 16px; background: rgba(99, 91, 255, 0.1); border: 1px solid rgba(99, 91, 255, 0.2); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.demo-info h1 { font-size: 40px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.demo-info h1 span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.demo-info-content > p { font-size: 18px; color: var(--text-secondary); margin-bottom: 48px; }

.demo-benefits { display: flex; flex-direction: column; gap: 24px; }
.benefit-item { display: flex; gap: 16px; }
.benefit-icon { width: 48px; height: 48px; background: var(--bg-tertiary); border: 1px solid var(--border-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-icon svg { width: 24px; height: 24px; color: var(--accent-primary); }
.benefit-content h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.benefit-content p { font-size: 14px; color: var(--text-tertiary); }

.demo-form-section { padding: 120px 60px 60px; display: flex; align-items: center; justify-content: center; }
.demo-form-container { width: 100%; max-width: 480px; }
.demo-form-header { margin-bottom: 32px; }
.demo-form-header h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.demo-form-header p { font-size: 14px; color: var(--text-tertiary); }

.demo-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.form-label .required { color: var(--accent-primary); }
.form-input { padding: 14px 16px; background: var(--bg-secondary); border: 1px solid var(--border-primary); border-radius: 10px; color: var(--text-primary); font-size: 14px; font-family: inherit; transition: all 0.2s; width: 100%; }
.form-input:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15); }
.form-input::placeholder { color: var(--text-tertiary); }
select.form-input { cursor: pointer; }
textarea.form-input { min-height: 100px; resize: vertical; }

.form-divider { height: 1px; background: var(--border-primary); margin: 12px 0; }
.form-section-title { font-size: 14px; font-weight: 600; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }

.btn-submit { width: 100%; padding: 16px 32px; background: var(--gradient-primary); border: none; border-radius: 12px; color: white; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99, 91, 255, 0.4); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn-submit svg { width: 20px; height: 20px; }

.form-note { font-size: 12px; color: var(--text-tertiary); text-align: center; margin-top: 16px; }
.form-note a { color: var(--accent-primary); text-decoration: none; }

.success-message { display: none; text-align: center; padding: 60px 20px; }
.success-message.active { display: block; }
.success-icon { width: 80px; height: 80px; background: rgba(0, 212, 170, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.success-icon svg { width: 40px; height: 40px; color: var(--accent-success); }
.success-message h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.success-message p { color: var(--text-secondary); margin-bottom: 32px; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--bg-tertiary); border: 1px solid var(--border-secondary); border-radius: 10px; color: var(--text-primary); text-decoration: none; font-weight: 500; transition: all 0.2s; }
.btn-back:hover { border-color: var(--accent-primary); }

.loading-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: white; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
    .demo-page { grid-template-columns: 1fr; }
    .demo-info { display: none; }
    .demo-form-section { padding: 100px 24px 40px; }
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .demo-form-header h2 { font-size: 24px; }
}
