*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;background:#f8fafc;color:#1e293b;line-height:1.6;min-height:100vh}
.container{max-width:640px;margin:0 auto;padding:48px 20px}
.header{text-align:center;margin-bottom:32px}
.header h1{font-size:1.5rem;font-weight:700;letter-spacing:-0.02em}
.header p{color:#64748b;font-size:0.9rem;margin-top:4px}
.lang-bar{text-align:right;margin-bottom:16px}
.lang-bar a{font-size:0.8rem;color:#64748b;text-decoration:none;margin-left:8px;padding:4px 8px;border-radius:4px;cursor:pointer}
.lang-bar a:hover{background:#f1f5f9}
.lang-bar a.active{color:#1e293b;font-weight:600;background:#e2e8f0}
.steps{display:flex;justify-content:center;gap:8px;margin-bottom:28px}
.step-dot{width:32px;height:8px;border-radius:4px;background:#e2e8f0;transition:background .3s}
.step-dot.active{background:#1e293b}
.step-dot.done{background:#16a34a}
.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:28px}
#trialForm.card{max-width:440px;margin:0 auto}
.form-group{margin-bottom:16px}
.form-group label{display:block;font-size:.8rem;font-weight:600;color:#475569;margin-bottom:4px}
.form-group input,.form-group select{width:100%;padding:9px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:.9rem;font-family:inherit;color:#1e293b;background:#fff;transition:border-color .2s}
.form-group input:focus,.form-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}
.form-group .hint{font-size:.75rem;color:#94a3b8;margin-top:3px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.toggle-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.toggle{flex:1;min-width:100px;padding:10px 8px;border:1px solid #e2e8f0;border-radius:8px;text-align:center;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s;background:#fff;color:#64748b}
.toggle:hover{border-color:#94a3b8}
.toggle.selected{border-color:#3b82f6;background:#eff6ff;color:#1e40af}
.btn-row{display:flex;gap:12px;margin-top:24px}
.btn{flex:1;padding:12px 20px;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s}
.btn-primary{background:#1e293b;color:#fff}
.btn-primary:hover{background:#334155}
.btn-primary:disabled{background:#94a3b8;cursor:not-allowed}
.btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}
.btn-secondary:hover{background:#e2e8f0}
.btn-full{width:100%}
.alert{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:.85rem}
.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
.alert-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}
.summary-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f1f5f9;font-size:.85rem}
.summary-item:last-child{border-bottom:none}
.summary-label{color:#64748b}
.summary-value{font-weight:600}
.spinner{display:inline-block;width:16px;height:16px;border:2px solid #e2e8f0;border-top-color:#1e293b;border-radius:50%;animation:spin .6s linear infinite;vertical-align:middle;margin-right:8px}
.spinner-lg{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#1e293b;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 20px}
@keyframes spin{to{transform:rotate(360deg)}}
.hidden{display:none}
.order-info{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:16px;margin-bottom:20px;font-size:.85rem}
.order-info p{margin-bottom:4px}
.order-info strong{color:#166534}
.integrations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;margin-bottom:16px}
.integration-item{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:.85rem;transition:all .2s}
.integration-item:hover{border-color:#94a3b8}
.integration-item.selected{border-color:#3b82f6;background:#eff6ff}
.integration-item input[type=checkbox]{display:none}
.integration-item label{cursor:pointer;margin:0}
.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}
.home-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;text-decoration:none;color:#1e293b;transition:all .2s;text-align:center}
.home-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px rgba(59,130,246,.1)}
.home-card h2{font-size:1.1rem;margin-bottom:8px}
.home-card p{font-size:.85rem;color:#64748b}
.phone-row{display:flex;gap:8px}
.phone-row .phone-code{width:120px;flex-shrink:0;padding:9px 8px;border:1px solid #cbd5e1;border-radius:8px;font-size:.9rem;font-family:inherit;color:#1e293b;background:#fff}
.phone-row .phone-code:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}
.phone-row input{flex:1}
.sms-row{display:flex;gap:12px;align-items:flex-end;margin-bottom:16px}
.sms-row .form-group{flex:1;margin-bottom:0}
.sms-btn{flex:none;width:120px;height:2.3rem;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;font-size:.85rem;white-space:nowrap}
@media(max-width:480px){
.container{padding:24px 12px}
.form-row{grid-template-columns:1fr}
.home-grid{grid-template-columns:1fr}
}
