.voice-recorder{max-width:700px;margin:0 auto}.recorder-container{background:linear-gradient(135deg,#667eea,#764ba2);padding:3rem;border-radius:16px;margin:2rem 0;min-height:300px;display:flex;align-items:center;justify-content:center}.recorder-idle,.recorder-active,.recorder-complete{text-align:center;width:100%}.mic-icon{font-size:5rem;margin-bottom:2rem;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.btn-record{background:#fff;color:var(--primary);font-size:1.25rem;padding:1.25rem 3rem;border-radius:50px;border:none;cursor:pointer;font-weight:700;transition:all .3s;box-shadow:0 8px 16px #0003}.btn-record:hover{transform:scale(1.05);box-shadow:0 12px 24px #0000004d}.hint{color:#fffc;margin-top:1rem}.recording-indicator{display:flex;align-items:center;justify-content:center;gap:1rem;color:#fff;font-size:1.5rem;margin-bottom:2rem}.pulse{width:20px;height:20px;background:#ef4444;border-radius:50%;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.2)}}.timer{font-size:3rem;font-weight:700;color:#fff;margin:1rem 0;font-family:Courier New,monospace}.btn-stop{background:#ef4444;color:#fff;font-size:1.25rem;padding:1rem 2.5rem;border-radius:50px;border:none;cursor:pointer;font-weight:700;transition:all .3s}.btn-stop:hover{background:#dc2626;transform:scale(1.05)}.warning{color:#fbbf24;margin-top:1.5rem;font-weight:600}.success{color:#10b981;margin-top:1.5rem;font-weight:600}.checkmark{font-size:5rem;margin-bottom:1rem}.success-msg{color:#fff;font-size:1.5rem;font-weight:600;margin-bottom:1rem}.duration{color:#ffffffe6;font-size:1.1rem;margin-bottom:2rem}.audio-player{width:100%;margin:1.5rem 0;filter:invert(1)}.actions{display:flex;gap:1rem;justify-content:center;margin-top:2rem;flex-wrap:wrap}.uploading{color:#fff;margin-top:1rem;font-style:italic}.tips-card{background:#fffbeb;border:2px solid #fbbf24;border-radius:12px;padding:1.5rem}.tips-card h3{margin-top:0;color:#92400e}.tips-card ul{padding-left:1.5rem;margin:1rem 0 0}.tips-card li{margin:.75rem 0;color:#78350f;line-height:1.6}.tips-card strong{color:#92400e}.script-card{background:#f0f9ff;border:2px solid #3b82f6;border-radius:12px;padding:1.5rem;margin-top:1.5rem}.script-toggle{width:100%;background:#3b82f6;color:#fff;border:none;border-radius:8px;padding:1rem 1.5rem;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:.5rem}.script-toggle:hover{background:#2563eb;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.script-content{margin-top:1.5rem;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.script-intro{background:#fff;padding:1rem;border-radius:8px;border-left:4px solid #3b82f6;margin-bottom:1rem;color:#1e40af;font-weight:500}.script-text{background:#fff;padding:1.5rem;border-radius:8px;max-height:400px;overflow-y:auto;line-height:1.8;color:#1e3a8a}.script-text p{margin:1.2rem 0}.script-text p:first-child{margin-top:0}.script-text p:last-child{margin-bottom:0}.script-text::-webkit-scrollbar{width:8px}.script-text::-webkit-scrollbar-track{background:#e0f2fe;border-radius:4px}.script-text::-webkit-scrollbar-thumb{background:#3b82f6;border-radius:4px}.script-text::-webkit-scrollbar-thumb:hover{background:#2563eb}.scenario-builder{max-width:900px;margin:0 auto}.mode-selector{display:flex;gap:.5rem;margin:1.5rem 0;background:#f3f4f6;padding:.5rem;border-radius:12px}.mode-selector button{flex:1;padding:.75rem 1.5rem;background:transparent;border:none;border-radius:8px;cursor:pointer;font-weight:600;color:#6b7280;transition:all .2s}.mode-selector button.active{background:#fff;color:var(--primary);box-shadow:0 2px 4px #0000001a}.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin:2rem 0}.template-card{background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;padding:1.5rem;text-align:center;cursor:pointer;transition:all .2s}.template-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a;border-color:var(--primary)}.template-card.selected{background:linear-gradient(135deg,#667eea,#764ba2);border-color:var(--primary);color:#fff;transform:scale(1.05)}.template-emoji{font-size:2.5rem;margin-bottom:.5rem}.template-name{font-weight:600;font-size:.9rem}.template-card.selected .template-name{color:#fff}.scenario-form{margin-top:2rem}.form-group{margin:2rem 0}.form-group label{display:block;font-weight:600;margin-bottom:.5rem;color:var(--dark)}.help-text{font-size:.85rem;color:#6b7280;margin-top:.5rem;font-style:italic}.input-field{width:100%;padding:.75rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;transition:border-color .2s}.input-field:focus{outline:none;border-color:var(--primary)}textarea.input-field{resize:vertical;min-height:80px}.qa-list{display:flex;flex-direction:column;gap:1rem;margin:1rem 0}.qa-pair{display:flex;gap:.5rem;align-items:flex-start}.btn-remove{background:#ef4444;color:#fff;border:none;border-radius:8px;width:36px;height:36px;font-size:1.2rem;cursor:pointer;flex-shrink:0;transition:all .2s}.btn-remove:hover{background:#dc2626;transform:scale(1.1)}.btn-add{background:#10b981;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:8px;cursor:pointer;font-weight:600;transition:all .2s;margin-top:.5rem}.btn-add:hover{background:#059669}.btn-add-small{background:#10b981;color:#fff;padding:.5rem 1rem;border:none;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .2s;margin-top:.5rem}.btn-add-small:hover{background:#059669}.info-section{margin:1.5rem 0;padding:1rem;background:#f9fafb;border-radius:8px}.info-section .sublabel{display:block;font-weight:600;font-size:.9rem;color:#4b5563;margin-bottom:.75rem}.info-item{display:flex;gap:.5rem;align-items:center;margin-bottom:.5rem}.advanced-section{margin:2rem 0;padding:1.5rem;background:#f9fafb;border-radius:12px}.btn-toggle-advanced{background:transparent;border:none;color:var(--primary);font-weight:600;cursor:pointer;padding:.5rem;display:flex;align-items:center;gap:.5rem}.btn-toggle-advanced:hover{text-decoration:underline}.form-actions{margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb}.btn-submit{width:100%}.preview-card{margin-top:2rem;background:linear-gradient(135deg,#f3f4f6,#e5e7eb)}.preview-card h3{margin:0 0 1rem}.preview-content{display:flex;flex-direction:column;gap:1rem}.preview-item{display:flex;flex-direction:column;gap:.5rem}.preview-item strong{color:#374151;font-size:.9rem}.preview-item span{color:#6b7280}.preview-message{background:#fff;padding:1rem;border-radius:8px;border-left:4px solid var(--primary);font-style:italic;color:#374151}.ambient-sound-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin:1rem 0}.ambient-sound-option{background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;padding:1rem;text-align:center;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;gap:.5rem}.ambient-sound-option:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.ambient-sound-option.selected{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 4px 12px #3b82f64d}.ambient-emoji{font-size:2rem;margin-bottom:.25rem}.ambient-label{font-weight:600;font-size:.9rem}.ambient-sound-option.selected .ambient-label{color:#fff}.btn-preview{background:#fff;color:var(--primary);border:1px solid var(--primary);padding:.4rem .8rem;border-radius:6px;cursor:pointer;font-size:.75rem;font-weight:600;transition:all .2s;margin-top:.25rem}.btn-preview:hover{background:var(--primary);color:#fff}.ambient-sound-option.selected .btn-preview{background:#fff;color:var(--primary);border-color:#fff}.preview-playing{display:flex;align-items:center;justify-content:space-between;background:#dbeafe;padding:.75rem 1rem;border-radius:8px;margin-top:1rem;border:2px solid #3b82f6}.preview-playing span{color:#1e40af;font-weight:600;font-size:.9rem}.btn-stop-preview{background:#ef4444;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-weight:600;font-size:.85rem;transition:all .2s}.btn-stop-preview:hover{background:#dc2626}@media (max-width: 768px){.template-grid,.ambient-sound-grid{grid-template-columns:repeat(2,1fr)}.qa-pair{flex-direction:column}.btn-remove{align-self:flex-end}}.scenario-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.scenario-editor{background:#fff;border-radius:20px;width:100%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:2rem;border-bottom:2px solid #f0f0f0}.editor-header h2{margin:0;font-size:1.8rem;color:#333}.close-btn{background:#ef4444;color:#fff;border:none;width:40px;height:40px;border-radius:50%;font-size:1.5rem;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center}.close-btn:hover{background:#dc2626;transform:scale(1.1)}.editor-content{flex:1;overflow-y:auto;padding:2rem}.form-group{margin-bottom:2rem}.form-group label{display:block;font-weight:600;margin-bottom:.5rem;color:#333;font-size:1rem}.form-group input[type=text],.form-group textarea{width:100%;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:10px;font-size:1rem;font-family:inherit;transition:border-color .3s}.form-group input[type=text]:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.form-group textarea{resize:vertical;min-height:80px}.help-text{display:block;margin-top:.5rem;font-size:.9rem;color:#666}.qa-pair{display:flex;gap:.75rem;margin-bottom:1rem;align-items:flex-start}.qa-inputs{flex:1;display:flex;flex-direction:column;gap:.5rem}.btn-remove-qa{background:#ef4444;color:#fff;border:none;width:36px;height:36px;border-radius:50%;cursor:pointer;transition:all .3s;font-size:1.2rem;flex-shrink:0}.btn-remove-qa:hover{background:#dc2626;transform:scale(1.1)}.btn-add-qa{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:10px;font-weight:600;cursor:pointer;transition:all .3s;margin-top:.5rem}.btn-add-qa:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.editor-actions{display:flex;gap:1rem;padding:2rem;border-top:2px solid #f0f0f0;justify-content:flex-end}.btn-cancel{background:#6b7280;color:#fff;border:none;padding:1rem 2rem;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s}.btn-cancel:hover{background:#4b5563}.btn-save{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:1rem 2rem;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #10b9814d}.btn-save:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 12px #10b98166}.btn-save:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.scenario-editor-overlay{padding:1rem}.scenario-editor{max-height:95vh}.editor-header,.editor-content,.editor-actions{padding:1.5rem}.qa-pair{flex-direction:column}.btn-remove-qa{align-self:flex-end}.editor-actions{flex-direction:column}.btn-cancel,.btn-save{width:100%}}.scenario-list{max-width:900px;margin:0 auto}.list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;color:#fff}.list-header h2{margin:0}.scenario-count{background:#fff3;padding:.5rem 1rem;border-radius:20px;font-size:.9rem}.scenarios-grid{display:flex;flex-direction:column;gap:1.5rem}.scenario-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #0000001a;transition:all .3s}.scenario-card.active{border:2px solid #10b981;box-shadow:0 8px 16px #10b98133}.scenario-card.expanded{box-shadow:0 12px 24px #00000026}.scenario-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.scenario-title{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.scenario-title h3{margin:0;color:#1f2937;font-size:1.25rem}.badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.btn-expand{background:#f3f4f6;color:#6b7280;border:none;border-radius:8px;width:36px;height:36px;font-size:1rem;cursor:pointer;transition:all .2s;flex-shrink:0}.btn-expand:hover{background:#e5e7eb;transform:scale(1.1)}.scenario-quick-info{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem;padding:1rem;background:#f9fafb;border-radius:8px}.info-item{display:flex;justify-content:space-between;align-items:center;font-size:.9rem}.info-label{color:#6b7280;font-weight:500}.info-value{color:#374151;font-weight:600}.scenario-details{border-top:2px solid #e5e7eb;padding-top:1.5rem;margin-top:1rem}.detail-section strong{display:block;margin-bottom:.5rem;color:#374151;font-size:.95rem}.phone-number{font-size:1.25rem;font-weight:700;color:var(--primary);font-family:Courier New,monospace}.first-message{background:#fffbeb;border-left:4px solid #fbbf24;padding:1rem;border-radius:8px;color:#78350f;font-style:italic;line-height:1.6}.qa-list-display{display:flex;flex-direction:column;gap:1rem}.qa-item{background:#f9fafb;padding:1rem;border-radius:8px;border-left:3px solid var(--primary)}.question{font-weight:600;color:#374151;margin-bottom:.5rem}.answer{color:#6b7280;line-height:1.5}.active-instructions{margin-top:1.5rem}.instruction-box{background:#d1fae5;border:2px solid #10b981;padding:1.5rem;border-radius:12px}.instruction-box strong{display:block;color:#065f46;margin-bottom:.5rem}.instruction-box p{color:#047857;margin:.5rem 0}.deactivate-hint{font-size:.9rem;margin-top:1rem}.deactivate-hint code{background:#059669;color:#fff;padding:.25rem .5rem;border-radius:4px;font-family:Courier New,monospace;font-weight:700}.scenario-actions{margin-top:1.5rem;padding-top:1.5rem;border-top:2px solid #e5e7eb;display:flex;gap:1rem;flex-wrap:wrap}.btn-activate{flex:1;min-width:200px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:1rem 2rem;border:none;border-radius:12px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #10b9814d}.btn-activate:hover{transform:translateY(-2px);box-shadow:0 8px 12px #10b98166}.btn-call{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;padding:.8rem 1.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #3b82f64d}.btn-call:hover{transform:translateY(-2px);box-shadow:0 8px 12px #3b82f666}.btn-schedule{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:.8rem 1.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #f59e0b4d}.btn-schedule:hover{transform:translateY(-2px);box-shadow:0 8px 12px #f59e0b66}.btn-sms{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.8rem 1.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #10b9814d}.btn-sms:hover{transform:translateY(-2px);box-shadow:0 8px 12px #10b98166}.btn-schedule-sms{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;padding:.8rem 1.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #8b5cf64d}.btn-schedule-sms:hover{transform:translateY(-2px);box-shadow:0 8px 12px #8b5cf666}.btn-duplicate{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;padding:.8rem 1.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #8b5cf64d}.btn-duplicate:hover{transform:translateY(-2px);box-shadow:0 8px 12px #8b5cf666}.btn-edit{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.8rem 1.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #667eea4d}.btn-edit:hover{transform:translateY(-2px);box-shadow:0 8px 12px #667eea66}.btn-delete{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;padding:.8rem 1.5rem;border:none;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #ef44444d}.btn-delete:hover{transform:translateY(-2px);box-shadow:0 8px 12px #ef444466;background:linear-gradient(135deg,#dc2626,#b91c1c)}@media (max-width: 768px){.list-header{flex-direction:column;align-items:flex-start;gap:1rem;padding:1rem}.list-header h2{font-size:1.5rem}.scenario-card{padding:1.25rem}.scenario-title{flex-direction:column;align-items:flex-start;gap:.75rem}.scenario-title h3{font-size:1.125rem}.scenario-actions{flex-wrap:wrap;gap:.5rem}.scenario-actions button{padding:.5rem 1rem;font-size:.875rem}.scenario-details{padding:1.25rem}.details-grid{grid-template-columns:1fr;gap:1.25rem}.info-item{flex-direction:column;align-items:flex-start;gap:.25rem}.info-label{font-size:.8rem}.info-value{font-size:.95rem}.info-subtext{font-size:.8rem}.modal-content{max-width:100%;border-radius:12px;margin:.5rem}.modal-header{padding:1.25rem}.modal-header h2{font-size:1.25rem}.modal-body{padding:1.25rem}.modal-footer{padding:1.25rem;flex-direction:column-reverse}.modal-footer button{width:100%}.form-row{grid-template-columns:1fr}}@media (max-width: 480px){.list-header{padding:.75rem}.list-header h2{font-size:1.25rem}.scenario-card{padding:1rem;border-radius:10px}.scenario-title h3{font-size:1rem}.scenario-actions{width:100%}.scenario-actions button{flex:1;min-width:0;padding:.5rem .75rem;font-size:.8rem}.scenario-details{padding:1rem}.details-grid{gap:1rem}.info-label{font-size:.75rem}.info-value{font-size:.9rem}.modal-header{padding:1rem}.modal-header h2{font-size:1.125rem}.modal-body,.modal-footer{padding:1rem}.form-control{font-size:.95rem;padding:.625rem .875rem}.cost-notice,.schedule-example{padding:.875rem;font-size:.875rem}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:16px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:2px solid #e5e7eb}.modal-header h2{margin:0;color:#111827;font-size:1.5rem}.btn-close{background:none;border:none;font-size:2rem;color:#9ca3af;cursor:pointer;padding:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s}.btn-close:hover{background:#f3f4f6;color:#374151}.modal-body{padding:1.5rem}.modal-body p{margin-top:0;color:#6b7280}.form-group label{display:block;margin-bottom:.5rem;color:#374151;font-weight:600}.form-control{width:100%;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s}.form-control:focus{outline:none;border-color:var(--primary)}.form-hint{display:block;margin-top:.5rem;color:#9ca3af;font-size:.875rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.cost-notice{background:#fef3c7;border:2px solid #fbbf24;padding:1rem;border-radius:8px;margin-top:1rem;color:#78350f;font-size:.95rem}.schedule-example{background:#dbeafe;border-left:4px solid #3b82f6;padding:1rem;border-radius:8px;margin-top:1rem;color:#1e40af;font-size:.9rem;line-height:1.5}.modal-footer{padding:1.5rem;border-top:2px solid #e5e7eb;display:flex;gap:1rem;justify-content:flex-end}.btn-primary{background:linear-gradient(135deg,var(--primary) 0%,#2563eb 100%);color:#fff;padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 12px #3b82f64d}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:#f3f4f6;color:#374151;padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.call-history{max-width:900px;margin:0 auto}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;color:#fff}.history-header h2{margin:0}.call-count{background:#fff3;padding:.5rem 1rem;border-radius:20px;font-size:.9rem}.calls-list{display:flex;flex-direction:column;gap:1rem}.call-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;transition:all .3s}.call-card:hover{box-shadow:0 4px 8px #00000026}.call-card.expanded{box-shadow:0 8px 16px #0003}.call-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.call-info{flex:1}.caller-number{font-size:1.25rem;font-weight:700;color:#1f2937;margin-bottom:.5rem;font-family:Courier New,monospace}.call-meta{display:flex;align-items:center;gap:.5rem;color:#6b7280;font-size:.9rem}.call-separator{color:#d1d5db}.call-time{color:#6b7280}.call-duration{color:#9ca3af;font-weight:600}.call-status{display:flex;align-items:center;gap:.5rem}.badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.badge-success{background:#d1fae5;color:#065f46}.badge-warning{background:#fef3c7;color:#92400e}.badge-danger{background:#fee2e2;color:#991b1b}.badge-info{background:#dbeafe;color:#1e40af}.badge-default{background:#f3f4f6;color:#374151}.call-scenario{margin-top:.75rem;padding:.75rem;background:#f9fafb;border-radius:8px;display:flex;align-items:center;gap:.5rem}.scenario-label{color:#6b7280;font-size:.85rem;font-weight:600}.scenario-name{color:#374151;font-weight:600}.call-details{border-top:2px solid #e5e7eb;padding-top:1.5rem;margin-top:1.5rem}.detail-section{margin-bottom:1.5rem}.detail-section:last-child{margin-bottom:0}.detail-section strong{display:block;margin-bottom:.75rem;color:#374151;font-size:.95rem}.audio-player{width:100%;margin:.5rem 0 1rem}.btn-download{display:inline-block;background:var(--primary);color:#fff;padding:.5rem 1rem;border-radius:8px;text-decoration:none;font-size:.9rem;font-weight:600;transition:all .2s}.btn-download:hover{background:var(--primary-dark);transform:translateY(-2px)}.transcript{background:#f9fafb;border-left:4px solid var(--primary);padding:1rem;border-radius:8px;color:#374151;line-height:1.6;white-space:pre-wrap;font-size:.95rem}.summary{background:#fffbeb;border-left:4px solid #fbbf24;padding:1rem;border-radius:8px;color:#78350f;line-height:1.6}.call-metadata{display:flex;flex-direction:column;gap:.75rem;background:#f9fafb;padding:1rem;border-radius:8px}.metadata-item{display:flex;justify-content:space-between;align-items:center;gap:1rem}.metadata-label{color:#6b7280;font-weight:600;font-size:.9rem}.metadata-value{color:#374151;font-family:Courier New,monospace;font-size:.85rem}.empty-state{text-align:center;padding:3rem}.empty-icon{font-size:5rem;margin-bottom:1rem;opacity:.5}.empty-state h3{color:#374151;margin-bottom:.5rem}.empty-state p{color:#6b7280;margin:.5rem 0}.empty-state .help-text{color:#9ca3af;font-size:.9rem}.loading-state{text-align:center;padding:3rem;color:#6b7280}.loading-state .spinner{width:40px;height:40px;border:4px solid #e5e7eb;border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}@media (max-width: 768px){.history-header{flex-direction:column;align-items:flex-start;gap:1rem}.call-header{flex-direction:column}.call-status{width:100%;justify-content:space-between}.call-meta{flex-wrap:wrap}.metadata-item{flex-direction:column;align-items:flex-start;gap:.25rem}}.analytics{padding:20px;max-width:1400px;margin:0 auto}.analytics-header{margin-bottom:30px}.analytics-header h2{margin:0 0 8px;color:#333}.analytics-header .subtitle{color:#666;font-size:14px;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000001a;display:flex;align-items:center;gap:16px}.stat-icon{font-size:32px;width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px}.stat-content{flex:1}.stat-value{font-size:28px;font-weight:700;color:#333;line-height:1.2}.stat-label{font-size:13px;color:#666;margin-top:4px}.stat-trend{font-size:12px;color:#888;margin-top:4px}.scenario-breakdown{display:flex;flex-direction:column;gap:16px}.scenario-stat{padding:16px;background:#f8f9fa;border-radius:8px}.scenario-name{font-weight:600;color:#333;margin-bottom:8px}.scenario-metrics{font-size:13px;color:#666;margin-bottom:12px}.metric-separator{margin:0 8px}.scenario-bar{height:8px;background:#e0e0e0;border-radius:4px;overflow:hidden}.scenario-bar-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:4px;transition:width .3s ease}.recent-calls-list{display:flex;flex-direction:column;gap:12px}.call-item{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f8f9fa;border-radius:8px;cursor:pointer;transition:all .2s ease;border:2px solid transparent}.call-item:hover{background:#e9ecef;transform:translate(4px)}.call-item.selected{border-color:#667eea;background:#f0f3ff}.call-info .caller{font-weight:600;color:#333;margin-bottom:4px}.call-info .call-meta{font-size:13px;color:#666}.btn-insights{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .2s}.btn-insights:hover{opacity:.9}.insights-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:fadeIn .2s ease-in-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.insights-modal{background:#fff;border-radius:16px;width:100%;max-width:1200px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.insights-modal-header{position:sticky;top:0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:24px 30px;border-radius:16px 16px 0 0;display:flex;justify-content:space-between;align-items:center;z-index:10}.insights-modal-header h3{margin:0;font-size:24px;font-weight:600}.close-button{background:#fff3;border:2px solid white;color:#fff;width:40px;height:40px;border-radius:50%;font-size:24px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0;line-height:1}.close-button:hover{background:#ffffff4d;transform:scale(1.1)}.close-button:active{transform:scale(.95)}.insights-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;padding:30px}.insight-section{background:#f8f9fa;padding:20px;border-radius:8px;border:1px solid #e0e0e0}.insight-section h4{margin:0 0 16px;color:#333;font-size:16px}.score-display{display:flex;align-items:center;gap:24px}.score-circle{width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.score-inner{width:90px;height:90px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-value{font-size:32px;font-weight:700;color:#333;line-height:1}.score-max{font-size:14px;color:#666}.score-description p{margin:0;font-weight:600}.score-excellent{color:#4caf50}.score-good{color:#ffc107}.score-poor{color:#f44336}.sentiment-display{display:flex;align-items:center;gap:16px;font-size:18px}.sentiment-emoji{font-size:48px}.sentiment-label{font-weight:600;color:#333;text-transform:capitalize}.topics-list{display:flex;flex-wrap:wrap;gap:8px}.topic-tag{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:6px 14px;border-radius:16px;font-size:13px;font-weight:500}.summary-text{color:#555;line-height:1.6;margin:0}.recommendations-list{margin:0;padding-left:20px;color:#555}.recommendations-list li{margin-bottom:8px;line-height:1.5}.empty-state{text-align:center;padding:60px 40px}.empty-icon{font-size:64px;margin-bottom:16px}.empty-state h3{margin:0 0 8px;color:#333}.empty-state p{color:#666;margin:0}.loading-state{text-align:center;padding:40px}@media (max-width: 768px){.stats-grid{grid-template-columns:1fr}.insights-content{grid-template-columns:1fr;padding:20px}.score-display{flex-direction:column}.insights-modal{max-height:95vh;margin:10px}.insights-modal-header{padding:20px}.insights-modal-header h3{font-size:18px}.close-button{width:36px;height:36px;font-size:20px}}.quick-schedule-container{max-width:1000px;margin:0 auto;padding:2rem}.quick-schedule-container h2{color:#fff;margin-bottom:.5rem}.subtitle{color:#fffc;margin-bottom:2rem}.quick-setup{background:#fff;padding:1.5rem;border-radius:12px;margin-bottom:2rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.templates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.template-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #0000001a;transition:all .3s;display:flex;flex-direction:column}.template-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #00000026}.template-card h3{margin:0 0 .5rem;color:#111827;font-size:1.1rem}.template-card p{color:#6b7280;font-size:.9rem;margin:0 0 1rem;flex-grow:1}.template-info{background:#f3f4f6;padding:.75rem;border-radius:8px;margin-bottom:1rem}.template-type{color:#374151;font-size:.85rem;font-weight:600}.btn-template{background:linear-gradient(135deg,var(--primary) 0%,#2563eb 100%);color:#fff;padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;width:100%}.btn-template:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.btn-template:disabled{opacity:.5;cursor:not-allowed}.customize-modal{max-width:600px}.schedule-summary{background:#f9fafb;padding:1rem;border-radius:8px;border-left:4px solid var(--primary);margin-top:1rem}.schedule-summary h4{color:#111827;font-size:1rem;margin:0 0 .75rem}.schedule-summary p{color:#374151;font-size:.9rem;margin:.5rem 0}.schedule-summary strong{color:#111827;font-weight:600}@media (max-width: 768px){.quick-setup,.templates-grid{grid-template-columns:1fr}.customize-modal{max-width:90vw}}.scheduled-items-container{max-width:1200px;margin:0 auto;padding:2rem}.scheduled-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:1rem}.scheduled-items-container h2{color:#fff;margin-bottom:.5rem}.subtitle{color:#fffc;margin-bottom:0}.btn-kill-switch{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;padding:1rem 2rem;border:none;border-radius:12px;font-weight:700;font-size:1rem;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #ef44444d;white-space:nowrap}.btn-kill-switch:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #ef444480}.btn-kill-switch:disabled{opacity:.5;cursor:not-allowed}.empty-state{background:#fff;border-radius:16px;padding:4rem 2rem;text-align:center;box-shadow:0 4px 6px #0000001a}.empty-state h3{color:#111827;margin-bottom:.5rem}.empty-state p{color:#6b7280}.scheduled-section{margin-bottom:2rem}.scheduled-section h3{color:#fff;margin-bottom:1rem;font-size:1.25rem}.scheduled-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.scheduled-card{background:#fff;border-radius:16px;box-shadow:0 4px 6px #0000001a;overflow:hidden;transition:all .3s}.scheduled-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #00000026}.scheduled-card-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-bottom:1px solid #d1d5db}.scheduled-type-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.scheduled-type-badge.call{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.scheduled-type-badge.sms{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.scheduled-time-badge{background:#fef3c7;color:#92400e;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.scheduled-card-body{padding:1.25rem}.scheduled-info p{margin:.5rem 0;font-size:.9rem}.scheduled-scenario{font-weight:700;color:#111827;font-size:1rem!important;margin-bottom:.75rem!important}.scheduled-phone{color:#374151;font-weight:600}.scheduled-message{color:#6b7280;font-style:italic;padding:.5rem;background:#f9fafb;border-radius:6px;border-left:3px solid #10b981}.scheduled-datetime{color:#4b5563;font-weight:600}.scheduled-timezone{color:#9ca3af;font-size:.85rem!important}.scheduled-card-footer{padding:1rem 1.25rem;background:#f9fafb;border-top:1px solid #e5e7eb}.btn-cancel{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;padding:.5rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;width:100%}.btn-cancel:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ef444466}.kill-switch-modal{max-width:500px}.kill-switch-warning{text-align:center}.warning-icon{font-size:4rem;margin-bottom:1rem}.kill-switch-warning h4{color:#111827;margin-bottom:1rem;font-size:1.25rem}.kill-switch-warning p{color:#374151;margin-bottom:1rem}.kill-switch-list{text-align:left;background:#fef3c7;padding:1rem 1.5rem;border-radius:8px;margin:1rem 0;list-style:none}.kill-switch-list li{color:#92400e;font-weight:600;padding:.25rem 0}.kill-switch-list li:before{content:"• ";margin-right:.5rem}.warning-text{color:#ef4444;font-weight:700;font-size:.95rem}.btn-kill-confirm{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:700;cursor:pointer;transition:all .3s}.btn-kill-confirm:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ef444466}.loading{text-align:center;color:#6b7280;padding:2rem;font-weight:600}@media (max-width: 768px){.scheduled-header{flex-direction:column}.btn-kill-switch{width:100%}.scheduled-grid{grid-template-columns:1fr}}.contacts-container{max-width:1200px;margin:0 auto;padding:2rem}.contacts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.contacts-header h2{margin:0 0 .5rem;font-size:2rem;color:#1a1a1a}.subtitle{margin:0;color:#666;font-size:.95rem}.btn-add-contact{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.9rem 1.8rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 6px #10b9814d}.btn-add-contact:hover{transform:translateY(-2px);box-shadow:0 8px 12px #10b98166}.empty-state{text-align:center;padding:4rem 2rem;background:#f9fafb;border-radius:16px;margin-top:2rem}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{margin:0 0 .5rem;color:#1a1a1a;font-size:1.5rem}.empty-state p{margin:0;color:#666;font-size:1rem}.contacts-section{margin-bottom:2.5rem}.contacts-section h3{margin:0 0 1.2rem;font-size:1.4rem;color:#1a1a1a}.contacts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.contact-card{background:#fff;border:2px solid #e5e7eb;border-radius:16px;padding:1.5rem;transition:all .3s;box-shadow:0 2px 4px #0000000d}.contact-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a;border-color:#d1d5db}.contact-card.favorite{border-color:#fbbf24;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.contact-card.favorite:hover{border-color:#f59e0b}.contact-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.contact-name{font-size:1.3rem;font-weight:700;color:#1a1a1a}.btn-favorite{background:transparent;border:none;font-size:1.6rem;cursor:pointer;padding:.3rem;transition:transform .2s}.btn-favorite:hover{transform:scale(1.2)}.btn-favorite.active{filter:drop-shadow(0 2px 4px rgba(251,191,36,.5))}.contact-card-body{margin-bottom:1.2rem}.contact-phone{font-size:1.1rem;color:#4b5563;font-weight:500;margin-bottom:.5rem;font-family:Courier New,monospace}.contact-notes{font-size:.9rem;color:#6b7280;font-style:italic;padding:.5rem;background:#00000008;border-radius:6px;margin-top:.5rem}.contact-card-footer{display:flex;gap:.8rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e5e7eb}.btn-edit-contact,.btn-delete-contact{flex:1;padding:.7rem 1rem;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s}.btn-edit-contact{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 2px 4px #3b82f64d}.btn-edit-contact:hover{transform:translateY(-2px);box-shadow:0 4px 8px #3b82f666}.btn-delete-contact{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 2px 4px #ef44444d}.btn-delete-contact:hover{transform:translateY(-2px);box-shadow:0 4px 8px #ef444466}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:#fff;border-radius:20px;width:90%;max-width:500px;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid #e5e7eb}.modal-header h3{margin:0;font-size:1.6rem;color:#1a1a1a}.modal-close{background:transparent;border:none;font-size:2rem;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}.modal-close:hover{background:#f3f4f6;color:#1a1a1a}.modal-body{padding:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#374151;font-size:.95rem}.form-control{width:100%;padding:.9rem;border:2px solid #e5e7eb;border-radius:10px;font-size:1rem;transition:all .3s;box-sizing:border-box;font-family:inherit}.form-control:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}textarea.form-control{resize:vertical;min-height:80px}.checkbox-group{margin-top:1rem}.checkbox-group label{display:flex;align-items:center;cursor:pointer;font-weight:500}.checkbox-group input[type=checkbox]{width:20px;height:20px;margin-right:.8rem;cursor:pointer}.checkbox-group span{font-size:1rem}.modal-footer{display:flex;gap:1rem;padding:1.5rem 2rem;border-top:2px solid #e5e7eb;justify-content:flex-end}.btn-secondary,.btn-primary{padding:.9rem 2rem;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s}.btn-secondary{background:#f3f4f6;color:#374151}.btn-secondary:hover{background:#e5e7eb}.btn-primary{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 4px 6px #10b9814d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 12px #10b98166}.loading{text-align:center;padding:3rem;color:#6b7280;font-size:1.1rem}@media (max-width: 768px){.contacts-container{padding:1rem}.contacts-header{flex-direction:column;align-items:flex-start;gap:1rem}.contacts-grid{grid-template-columns:1fr}.modal-content{width:95%;margin:1rem}.modal-body{padding:1.5rem}.contact-card-footer{flex-direction:column}.btn-edit-contact,.btn-delete-contact{width:100%}}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:16px;padding:40px;width:100%;max-width:450px;box-shadow:0 20px 60px #0000004d}.auth-header{text-align:center;margin-bottom:32px}.auth-header h1{margin:0 0 8px;font-size:36px;color:#333}.tagline{margin:0;color:#666;font-size:14px}.auth-tabs{display:flex;gap:12px;margin-bottom:24px;background:#f5f5f5;padding:4px;border-radius:8px}.auth-tabs button{flex:1;padding:12px;border:none;background:transparent;border-radius:6px;font-size:15px;font-weight:600;color:#666;cursor:pointer;transition:all .2s}.auth-tabs button.active{background:#fff;color:#667eea;box-shadow:0 2px 4px #0000001a}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#333}.form-group input{padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;transition:all .2s}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-hint{font-size:12px;color:#888;margin-top:-4px}.error-message{background:#fee;color:#c33;padding:12px 16px;border-radius:8px;font-size:14px;border:1px solid #fcc}.btn-submit{padding:14px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px}.btn-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-submit:disabled{opacity:.7;cursor:not-allowed}.spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.auth-footer{margin-top:24px;text-align:center;font-size:14px;color:#666}.auth-footer p{margin:0}.link-button{background:none;border:none;color:#667eea;font-weight:600;cursor:pointer;text-decoration:underline;padding:0;font-size:inherit}.link-button:hover{color:#764ba2}@media (max-width: 500px){.auth-card{padding:24px}.auth-header h1{font-size:28px}}.landing-page{width:100%;overflow-x:hidden}.hero{min-height:90vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-align:center;padding:4rem 2rem;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');opacity:.3}.hero-content{position:relative;z-index:1;max-width:800px}.hero-title{font-size:4rem;font-weight:900;margin-bottom:1.5rem;line-height:1.1}.gradient-text{background:linear-gradient(135deg,#ffd89b,#19547b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-subtitle{font-size:1.5rem;margin-bottom:2rem;opacity:.95;font-weight:300}.hero-features{display:flex;gap:2rem;justify-content:center;margin-bottom:2.5rem;flex-wrap:wrap}.hero-feature{display:flex;align-items:center;gap:.5rem;font-size:1.1rem;background:#ffffff1a;padding:.75rem 1.5rem;border-radius:50px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.feature-icon{font-size:1.5rem}.cta-button{background:#fff;color:#667eea;border:none;padding:1.25rem 3rem;font-size:1.25rem;font-weight:700;border-radius:50px;cursor:pointer;transition:all .3s;box-shadow:0 10px 30px #0003}.cta-button:hover{transform:translateY(-3px);box-shadow:0 15px 40px #0000004d}.cta-button.large{padding:1.5rem 4rem;font-size:1.4rem}.hero-subtext{margin-top:1rem;font-size:.9rem;opacity:.8}section{padding:5rem 2rem;max-width:1200px;margin:0 auto}.section-title{font-size:3rem;font-weight:800;text-align:center;margin-bottom:1rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.section-subtitle{text-align:center;font-size:1.2rem;color:#666;margin-bottom:3rem}.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:3rem;margin-top:3rem}.step{text-align:center;padding:2rem;background:#fff;border-radius:20px;box-shadow:0 5px 20px #0000000d;transition:all .3s}.step:hover{transform:translateY(-10px);box-shadow:0 15px 40px #0000001a}.step-number{width:60px;height:60px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.8rem;font-weight:800;margin:0 auto 1.5rem}.step h3{font-size:1.5rem;margin-bottom:.75rem;color:#333}.step p{color:#666;line-height:1.6}.pricing{background:linear-gradient(180deg,#f7f9fc,#fff);padding:5rem 2rem}.pricing-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:3rem}.pricing-card{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 5px 20px #00000014;transition:all .3s;position:relative;border:2px solid transparent}.pricing-card:hover{transform:translateY(-10px);box-shadow:0 15px 40px #00000026}.pricing-card.popular{border:2px solid #667eea;box-shadow:0 10px 40px #667eea33}.popular-badge{position:absolute;top:-15px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.5rem 1.5rem;border-radius:50px;font-size:.85rem;font-weight:700;box-shadow:0 5px 15px #667eea4d}.pricing-header{text-align:center;margin-bottom:2rem}.tier-name{font-size:1.8rem;font-weight:800;color:#333;margin-bottom:.5rem}.tier-description{color:#666;font-size:.95rem}.pricing-amount{text-align:center;margin-bottom:1rem}.currency{font-size:1.5rem;color:#666;vertical-align:super}.price{font-size:4rem;font-weight:900;color:#333}.period{font-size:1rem;color:#666}.tier-minutes{text-align:center;font-size:1.1rem;color:#667eea;font-weight:600;margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #f0f0f0}.features-list{list-style:none;padding:0;margin:0 0 2rem}.feature-item{padding:.75rem 0;display:flex;align-items:center;gap:.75rem;color:#555}.check-icon{color:#10b981;font-weight:900;font-size:1.2rem}.pricing-cta{width:100%;padding:1rem 2rem;border:2px solid #667eea;background:#fff;color:#667eea;font-size:1.1rem;font-weight:700;border-radius:12px;cursor:pointer;transition:all .3s}.pricing-cta:hover{background:#667eea;color:#fff;transform:translateY(-2px)}.pricing-cta.popular-cta{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none}.pricing-cta.popular-cta:hover{transform:translateY(-2px);box-shadow:0 10px 30px #667eea4d}.pricing-note{margin-top:3rem;text-align:center;padding:1.5rem;background:#fff3cd;border-radius:12px;border:2px solid #ffc107}.pricing-note p{margin:0;color:#856404}.use-case-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;margin-top:3rem}.use-case{text-align:center;padding:2rem;background:#fff;border-radius:15px;box-shadow:0 3px 15px #0000000d;transition:all .3s}.use-case:hover{transform:translateY(-5px);box-shadow:0 10px 30px #0000001a}.use-case-icon{font-size:3rem;margin-bottom:1rem}.use-case h3{font-size:1.3rem;margin-bottom:.5rem;color:#333}.use-case p{color:#666;line-height:1.5}.faq{background:#f7f9fc}.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:3rem}.faq-item{background:#fff;padding:2rem;border-radius:15px;box-shadow:0 3px 15px #0000000d}.faq-item h3{font-size:1.3rem;margin-bottom:1rem;color:#333}.faq-item p{color:#666;line-height:1.6}.final-cta{text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:30px;padding:5rem 2rem;margin:3rem auto;max-width:900px}.final-cta h2{font-size:2.5rem;margin-bottom:1rem}.final-cta p{font-size:1.2rem;margin-bottom:2rem;opacity:.95}.landing-footer{text-align:center;padding:3rem 2rem;background:#1a1a1a;color:#fff}.landing-footer p{margin:.5rem 0}.landing-footer .small{font-size:.9rem;opacity:.7}@media (max-width: 768px){.hero-title{font-size:2.5rem}.hero-subtitle{font-size:1.2rem}.section-title{font-size:2rem}.pricing-cards,.use-case-grid,.faq-grid{grid-template-columns:1fr}.hero-features{flex-direction:column;gap:1rem}}.usage-tracker{margin-bottom:2rem}.usage-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.plan-badge{padding:.5rem 1.5rem;border-radius:50px;color:#fff;font-weight:700;font-size:1.1rem;box-shadow:0 4px 6px #0000001a}.billing-info{display:flex;flex-direction:column;align-items:flex-end}.days-left{font-size:.9rem;color:#666;font-weight:600}.usage-stats{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 4px 6px #00000012}.usage-main{margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #f0f0f0}.usage-main h3{font-size:1.1rem;color:#666;margin-bottom:1rem;font-weight:600}.usage-numbers{display:flex;align-items:baseline;gap:.5rem;margin-bottom:1rem}.usage-current{font-size:3rem;font-weight:900;color:#333}.usage-separator{font-size:2rem;color:#ccc}.usage-total{font-size:2rem;font-weight:700;color:#666}.usage-unit{font-size:1.2rem;color:#999;margin-left:.25rem}.usage-bar{width:100%;height:12px;background:#f0f0f0;border-radius:50px;overflow:hidden;margin-bottom:.5rem}.usage-fill{height:100%;border-radius:50px;transition:all .3s}.usage-percentage{font-size:.9rem;font-weight:600}.unlimited-badge{display:flex;align-items:baseline;gap:1rem}.unlimited-value{font-size:3rem;font-weight:900;color:#10b981}.unlimited-label{font-size:1.5rem;color:#666}.usage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.5rem;margin-bottom:1.5rem}.usage-metric{background:#f8fafc;padding:1.25rem;border-radius:12px;border:2px solid #e5e7eb}.usage-metric.highlight-warning{background:#fff3cd;border-color:#ffc107}.metric-label{font-size:.85rem;color:#666;margin-bottom:.5rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.metric-value{font-size:2rem;font-weight:900;color:#333;display:flex;align-items:baseline;gap:.25rem}.metric-unit{font-size:1rem;color:#999;font-weight:600}.usage-warning{background:#fef2f2;border:2px solid #ef4444;border-radius:12px;padding:1.25rem;display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.5rem}.warning-icon{font-size:1.5rem;flex-shrink:0}.usage-warning strong{display:block;color:#dc2626;margin-bottom:.25rem}.usage-warning p{margin:0;color:#7f1d1d;font-size:.95rem}.upgrade-prompt{text-align:center;padding:1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff}.upgrade-prompt p{margin:0 0 1rem;font-size:1.1rem;font-weight:600}.btn-upgrade{background:#fff;color:#667eea;border:none;padding:.75rem 2rem;border-radius:50px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s}.btn-upgrade:hover{transform:translateY(-2px);box-shadow:0 8px 16px #0003}@media (max-width: 768px){.usage-header{flex-direction:column;gap:1rem;align-items:flex-start}.usage-grid{grid-template-columns:repeat(2,1fr)}.usage-current{font-size:2.5rem}.usage-total{font-size:1.5rem}}.upgrade-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px;animation:fadeIn .2s ease-in-out}.upgrade-modal{background:#fff;border-radius:20px;width:100%;max-width:1100px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 70px #0006;animation:slideUp .3s ease-out}.upgrade-modal-header{position:sticky;top:0;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:20px 20px 0 0;display:flex;justify-content:space-between;align-items:flex-start;z-index:10}.upgrade-modal-header h2{margin:0 0 8px;font-size:28px;font-weight:700}.current-balance{margin:0;font-size:14px;opacity:.95}.current-balance strong{font-weight:700;color:gold}.upgrade-modal-content{padding:30px}.info-banner{background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border-left:4px solid #667eea;padding:16px 20px;border-radius:8px;display:flex;gap:12px;margin-bottom:30px}.info-icon{font-size:24px;flex-shrink:0}.info-text{color:#333;font-size:14px;line-height:1.6}.info-text strong{display:block;margin-bottom:4px;color:#667eea}.packages-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:30px}.package-card{position:relative;background:#fff;border:2px solid #e0e0e0;border-radius:12px;padding:24px;transition:all .3s ease;display:flex;flex-direction:column}.package-card:hover{border-color:#667eea;transform:translateY(-4px);box-shadow:0 8px 20px #667eea33}.package-card.best-value{border-color:#ff6b6b;border-width:3px;background:linear-gradient(135deg,#fff5f5,#ffeef8)}.best-value-badge{position:absolute;top:-12px;right:20px;background:linear-gradient(135deg,#ff6b6b,#ee5a6f);color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:700;box-shadow:0 4px 12px #ff6b6b66}.package-header{text-align:center;margin-bottom:20px}.package-header h3{margin:0 0 12px;font-size:22px;color:#333}.package-price{margin-bottom:8px}.price-amount{font-size:36px;font-weight:800;color:#667eea;line-height:1}.package-details{flex:1;margin-bottom:20px}.package-credits{text-align:center;margin-bottom:20px;padding:20px;background:linear-gradient(135deg,#f8f9ff,#fdf8ff);border-radius:8px}.credits-main{display:flex;align-items:baseline;justify-content:center;gap:8px}.credits-number{font-size:42px;font-weight:800;color:#333;line-height:1}.credits-label{font-size:16px;color:#666;font-weight:500}.bonus-credits{margin-top:8px;color:#ff6b6b;font-weight:700;font-size:14px}.package-stats{display:flex;justify-content:space-around;gap:16px;padding-top:16px;border-top:1px solid #e0e0e0}.stat{text-align:center;flex:1}.stat-value{display:block;font-size:20px;font-weight:700;color:#333;margin-bottom:4px}.stat-label{display:block;font-size:12px;color:#666;text-transform:uppercase;letter-spacing:.5px}.btn-purchase{width:100%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:14px 24px;border-radius:8px;font-size:16px;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px}.btn-purchase:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-purchase:active:not(:disabled){transform:translateY(0)}.btn-purchase:disabled{opacity:.6;cursor:not-allowed}.best-value .btn-purchase{background:linear-gradient(135deg,#ff6b6b,#ee5a6f)}.best-value .btn-purchase:hover:not(:disabled){box-shadow:0 6px 20px #ff6b6b66}.button-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}.secure-payment-badge{display:flex;align-items:center;justify-content:center;gap:16px;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #e0e0e0}.secure-icon{font-size:32px}.secure-text{text-align:left}.secure-text strong{display:block;color:#333;font-size:14px;margin-bottom:4px}.secure-text p{margin:0;color:#666;font-size:12px}.loading-state{text-align:center;padding:60px 20px}.spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}.loading-state p{color:#666;margin:0}@media (max-width: 768px){.upgrade-modal-overlay{padding:10px}.upgrade-modal{max-height:95vh;border-radius:16px}.upgrade-modal-header{padding:20px;flex-direction:column;gap:12px;border-radius:16px 16px 0 0}.upgrade-modal-header h2{font-size:22px}.current-balance{font-size:13px}.close-button{width:36px;height:36px;font-size:28px}.upgrade-modal-content{padding:20px}.info-banner{padding:15px;font-size:14px}.packages-grid{grid-template-columns:1fr;gap:16px}.package-card{padding:20px}.package-header h3{font-size:20px}.price-amount{font-size:32px}.credits-number{font-size:40px}.credits-label{font-size:14px}.bonus-credits{font-size:13px}.stat-value{font-size:22px}.stat-label{font-size:12px}.btn-purchase{padding:14px;font-size:15px}.secure-payment-badge{flex-direction:column;text-align:center;padding:16px}.secure-text{text-align:center}.secure-text strong{font-size:14px}.secure-text p{font-size:12px}.best-value-badge{font-size:12px;padding:6px 12px}}@media (max-width: 480px){.upgrade-modal-overlay{padding:5px}.upgrade-modal{border-radius:12px}.upgrade-modal-header{padding:16px;border-radius:12px 12px 0 0}.upgrade-modal-header h2{font-size:19px}.current-balance{font-size:12px}.close-button{width:32px;height:32px;font-size:24px}.upgrade-modal-content{padding:16px}.info-banner{padding:12px;font-size:13px}.packages-grid{gap:12px}.package-card{padding:16px}.package-header h3{font-size:18px}.price-amount{font-size:28px}.credits-number{font-size:36px}.credits-label{font-size:13px}.bonus-credits{font-size:12px;padding:6px 10px}.stat-value{font-size:20px}.stat-label{font-size:11px}.btn-purchase{padding:12px;font-size:14px}.secure-payment-badge{padding:12px}.secure-icon{font-size:32px}.best-value-badge{font-size:11px;padding:5px 10px}}:root{--primary: #667eea;--primary-dark: #5568d3;--secondary: #764ba2;--success: #10b981;--danger: #ef4444;--warning: #f59e0b;--dark: #1f2937;--light: #f3f4f6;--white: #ffffff;--border: #e5e7eb;--shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04)}.app{min-height:100vh;background:linear-gradient(135deg,var(--primary) 0%,var(--secondary) 100%)}.header{background:#fff;box-shadow:var(--shadow);padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center}.header-content h1{font-size:2rem;color:var(--dark);margin:0}.tagline{color:#6b7280;margin:.25rem 0 0;font-size:.9rem}.user-info{display:flex;align-items:center;gap:1rem}.alert{margin:2rem;padding:1.5rem;border-radius:12px;box-shadow:var(--shadow)}.alert-success{background:#d1fae5;border:2px solid var(--success)}.alert-content{display:flex;justify-content:space-between;align-items:center;gap:2rem}.alert h3{margin:0 0 .5rem;color:#065f46}.alert p{margin:.25rem 0;color:#047857}.alert .small{font-size:.85rem;color:#059669}.nav{display:flex;gap:.5rem;padding:1rem 2rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.2);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.nav::-webkit-scrollbar{display:none}.nav button{padding:.75rem 1.5rem;border:none;background:transparent;color:#fff;font-size:1rem;cursor:pointer;border-radius:8px;transition:all .2s;white-space:nowrap;flex-shrink:0}.nav button:hover{background:#fff3}.nav button:active{transform:scale(.98);background:#ffffff40}.nav button.active{background:#fff;color:var(--primary);font-weight:600;box-shadow:0 2px 8px #00000026}.credits-display{margin-left:auto;display:flex;align-items:center}.credits-button{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#78350f;padding:.625rem 1.25rem;border-radius:12px;border:2px solid rgba(255,255,255,.3);font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:.5rem;box-shadow:0 4px 12px #fbbf2466}.credits-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #fbbf2499;background:linear-gradient(135deg,#fcd34d,#fbbf24)}.credits-button:active{transform:translateY(0)}.credits-icon{font-size:1.25rem;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.credits-amount{font-size:1.125rem;font-weight:800}.credits-label{font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.main{max-width:1200px;margin:0 auto;padding:2rem}.card{background:#fff;border-radius:16px;padding:2rem;box-shadow:var(--shadow-lg);margin-bottom:2rem}.home{max-width:800px;margin:0 auto}.hero{text-align:center;color:#fff;margin-bottom:2rem}.hero h2{font-size:2.5rem;margin:0 0 .5rem}.subtitle{font-size:1.25rem;opacity:.9}.card h3{margin:0 0 1rem;color:var(--dark)}.card p{margin:.75rem 0;color:#6b7280;line-height:1.6}.dashboard{display:flex;flex-direction:column;gap:2rem}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.stat-card{background:#fff;padding:2rem;border-radius:12px;text-align:center;box-shadow:var(--shadow)}.stat-value{font-size:3rem;font-weight:700;color:var(--primary);margin-bottom:.5rem}.stat-label{color:#6b7280;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em}.actions{display:flex;gap:1rem;flex-wrap:wrap}.how-it-works ol{padding-left:1.5rem}.how-it-works li{margin:.75rem 0;color:#374151;line-height:1.6}button{font-family:inherit;cursor:pointer;border:none;border-radius:8px;font-weight:600;transition:all .2s}.btn-primary{background:var(--primary);color:#fff;padding:.75rem 1.5rem}.btn-primary:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:var(--shadow)}.btn-secondary{background:#e5e7eb;color:var(--dark);padding:.75rem 1.5rem}.btn-secondary:hover{background:#d1d5db}.btn-danger{background:var(--danger);color:#fff;padding:.75rem 1.5rem}.btn-danger:hover{background:#dc2626}.btn-ghost{background:transparent;color:#6b7280;padding:.5rem 1rem}.btn-ghost:hover{background:#f3f4f6}.btn-large{padding:1rem 2rem;font-size:1.1rem}.btn-small{padding:.5rem 1rem;font-size:.9rem}.small{font-size:.85rem;color:#9ca3af}.footer{text-align:center;padding:2rem;color:#fff;opacity:.8}.footer p{margin:.5rem 0}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;color:#fff;gap:1rem}.spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 768px){.header{padding:1rem;flex-direction:column;align-items:flex-start;gap:1rem}.header-content h1{font-size:1.5rem}.tagline{font-size:.8rem}.user-info{width:100%;justify-content:space-between;gap:.75rem}.credits-button{padding:.5rem 1rem;font-size:.9rem}.credits-amount{font-size:1rem}.credits-label{font-size:.75rem}.nav{flex-direction:column;padding:1rem;gap:.75rem;overflow-x:visible;overflow-y:visible}.nav button{width:100%;padding:.875rem 1rem;font-size:.95rem;min-height:48px;display:flex;align-items:center;justify-content:center}.nav button.active{box-shadow:0 4px 12px #0003}.main{padding:1rem}.card{padding:1.25rem;border-radius:12px}.hero{margin-bottom:1.5rem;padding:0 .5rem}.hero h2{font-size:1.75rem;margin-bottom:1rem}.subtitle{font-size:1rem;line-height:1.5}.actions{flex-direction:column}.actions button{width:100%}.alert{margin:1rem;padding:1rem}.alert-content{flex-direction:column;align-items:flex-start;gap:1rem}.stats{grid-template-columns:1fr 1fr;gap:.75rem}.stat-card{padding:1.25rem}.stat-value{font-size:2rem}.btn-large{padding:.875rem 1.5rem;font-size:1rem}}@media (max-width: 480px){.header{padding:.75rem}.header-content h1{font-size:1.25rem}.nav{padding:.75rem}.nav button{padding:.875rem 1rem;font-size:.9rem;min-height:48px}.stats{grid-template-columns:1fr}.hero{padding:0 .25rem}.hero h2{font-size:1.5rem;margin-bottom:.75rem}}
