*{margin:0;padding:0;box-sizing:border-box;}
:root{--bg:#0b1120;--surface:#152238;--surface-2:#1e3456;--text:#e8edf5;--text-muted:#8899b4;--border:#1e3456;--primary:#0ea5e9;--primary-dark:#0284c7;--success:#22c55e;--warning:#f59e0b;--danger:#ef4444;--accent:#6366f1;--gradient-start:#0ea5e9;--gradient-end:#06b6d4;}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;}
#app{display:flex;flex-direction:column;min-height:100vh;}
.loading-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.6);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999;transition:opacity 0.3s;}
.loading-overlay.hidden{opacity:0;pointer-events:none;}
.spinner{width:40px;height:40px;border:4px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin 0.8s linear infinite;}
.loading-text{margin-top:12px;color:var(--text-muted);font-size:14px;}
@keyframes spin{to{transform:rotate(360deg);}}
.toast-container{position:fixed;top:16px;right:16px;z-index:10000;display:flex;flex-direction:column;gap:8px;}
.toast{padding:12px 16px;border-radius:8px;font-size:13px;color:#fff;box-shadow:0 4px 20px rgba(0,0,0,0.4);animation:slideIn 0.3s ease;min-width:280px;}
.toast.success{background:var(--success);}
.toast.error{background:var(--danger);}
.toast.info{background:var(--primary);}
.toast.warning{background:var(--warning);}
@keyframes slideIn{from{transform:translateX(100%);opacity:0;}to{transform:translateX(0);opacity:1;}}
#navbar{background:var(--surface);border-bottom:1px solid var(--border);padding:8px 24px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;position:sticky;top:0;z-index:100;}
.nav-brand h1{font-size:20px;margin:0;background:linear-gradient(135deg,var(--gradient-start),var(--gradient-end));-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.nav-subtitle{font-size:11px;color:var(--text-muted);display:block;}
.nav-controls{margin-left:auto;display:flex;gap:4px;}
.lang-btn{padding:4px 10px;border:1px solid var(--border);background:transparent;color:var(--text-muted);border-radius:4px;cursor:pointer;font-size:11px;font-weight:600;transition:all 0.2s;}
.lang-btn:hover,.lang-btn.active{color:var(--primary);border-color:var(--primary);}
.nav-tabs{display:flex;gap:1px;overflow-x:auto;width:100%;margin-top:6px;}
.nav-tab{padding:8px 14px;border:none;background:transparent;color:var(--text-muted);cursor:pointer;font-size:12px;white-space:nowrap;border-bottom:2px solid transparent;transition:all 0.2s;}
.nav-tab.active,.nav-tab:hover{color:var(--text);border-bottom-color:var(--primary);background:var(--surface-2);}
#mainContent{padding:24px;flex:1;max-width:1400px;margin:0 auto;width:100%;}
.section{display:none;}
.section.active{display:block;}
.section-header{margin-bottom:20px;}
.section-header h2{font-size:22px;background:linear-gradient(135deg,var(--gradient-start),var(--gradient-end));-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:inline-block;}
.section-header p{font-size:14px;color:var(--text-muted);margin-top:4px;}
.btn{padding:8px 20px;border:none;border-radius:8px;cursor:pointer;font-size:13px;font-weight:600;transition:all 0.2s;}
.btn:disabled{opacity:0.5;cursor:not-allowed;}
.btn-primary{background:linear-gradient(135deg,var(--gradient-start),var(--gradient-end));color:#fff;}
.btn-primary:hover{filter:brightness(1.15);transform:translateY(-1px);}
.btn-secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border);}
.btn-secondary:hover{background:var(--border);}
.btn-lg{padding:12px 28px;font-size:15px;}

.hero-card{background:linear-gradient(135deg,var(--surface),var(--surface-2));border:1px solid var(--border);border-radius:16px;padding:32px;display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:20px;align-items:center;}
.hero-content h2{font-size:28px;line-height:1.3;margin-bottom:12px;}
.hero-subtitle{font-size:15px;color:var(--text-muted);line-height:1.6;margin-bottom:20px;}
.hero-actions{display:flex;gap:12px;}
.hero-visual{display:flex;justify-content:center;align-items:center;}
.hero-illustration{max-width:100%;height:auto;}
.hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px;}
.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px;text-align:center;}
.stat-value{font-size:28px;font-weight:700;background:linear-gradient(135deg,var(--gradient-start),var(--gradient-end));-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.stat-label{font-size:12px;color:var(--text-muted);margin-top:4px;}
.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-bottom:24px;}
.info-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;}
.info-icon{font-size:28px;margin-bottom:8px;}
.info-card h3{font-size:15px;margin-bottom:6px;}
.info-card p{font-size:13px;color:var(--text-muted);line-height:1.5;}

.toolbar{display:flex;gap:8px;margin-bottom:16px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;}
.toolbar input,.toolbar select{flex:1;min-width:150px;padding:10px 12px;border-radius:8px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:13px;outline:none;}
.toolbar input:focus,.toolbar select:focus{border-color:var(--primary);}
.results-container{padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:10px;max-height:600px;overflow-y:auto;}
.empty{padding:30px;text-align:center;color:var(--text-muted);font-size:14px;}

.treatment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;}
.treatment-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px;cursor:pointer;transition:all 0.2s;}
.treatment-card:hover{border-color:var(--primary);transform:translateY(-2px);}
.treatment-card .t-icon{font-size:24px;margin-bottom:6px;}
.treatment-card h3{font-size:14px;margin-bottom:4px;}
.treatment-card .t-desc{font-size:12px;color:var(--text-muted);margin-bottom:8px;}
.treatment-card .t-price{font-size:18px;font-weight:700;color:var(--primary);}
.treatment-card .t-price span{font-size:11px;font-weight:400;color:var(--text-muted);}

.destinations-filter{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap;}
.filter-btn{padding:6px 16px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:20px;cursor:pointer;font-size:12px;transition:all 0.2s;}
.filter-btn.active,.filter-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary);}
.destinations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;}
.destination-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px;}
.destination-card h3{font-size:16px;margin-bottom:4px;}
.destination-card .d-tier{display:inline-block;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:600;margin-bottom:8px;}
.d-tier.budget{background:#dcfce7;color:#166534;}
.d-tier.standard{background:#dbeafe;color:#1e40af;}
.d-tier.premium{background:#fef3c7;color:#92400e;}
.d-tier.vip{background:#fce7f3;color:#9d174d;}
.destination-card .d-factor{font-size:24px;font-weight:700;color:var(--primary);}
.destination-card .d-factor span{font-size:12px;font-weight:400;color:var(--text-muted);}
.destination-card .d-spec{font-size:12px;color:var(--text-muted);margin-top:8px;}

.estimator-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;max-width:600px;margin-bottom:24px;}
.estimator-form{display:flex;flex-direction:column;gap:12px;}
.estimator-form .form-field{display:flex;flex-direction:column;gap:4px;}
.estimator-form .form-field label{font-size:12px;color:var(--text-muted);text-transform:uppercase;font-weight:600;}
.estimator-form select,.estimator-form input{padding:10px 12px;border-radius:8px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:14px;outline:none;}
.estimator-form select:focus,.estimator-form input:focus{border-color:var(--primary);}
.estimate-result{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:24px;margin-top:16px;}
.estimate-result h3{font-size:16px;margin-bottom:16px;}
.estimate-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--border);font-size:14px;}
.estimate-row strong{color:var(--text);}
.estimate-total{border-bottom:none;font-size:18px;font-weight:700;padding-top:16px;}
.estimate-total strong{color:var(--primary);font-size:22px;}
.estimate-note{font-size:11px;color:var(--text-muted);margin-top:12px;}

.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;padding:24px;}
.form-field{display:flex;flex-direction:column;gap:4px;}
.form-field label{font-size:11px;color:var(--text-muted);text-transform:uppercase;font-weight:600;}
.form-field input,.form-field select,.form-field textarea{padding:10px 12px;border-radius:8px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-size:13px;outline:none;}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--primary);}
.form-field.full-width{grid-column:1/-1;}
.form-actions{display:flex;gap:8px;justify-content:flex-end;}
.form-actions.full-width{grid-column:1/-1;}
.result-box{padding:16px;margin:0 24px 24px;background:var(--bg);border:1px solid var(--border);border-radius:10px;font-size:12px;font-family:monospace;white-space:pre-wrap;max-height:300px;overflow-y:auto;}
.inquiry-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;max-width:900px;}
.checkbox-group{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0;}
.checkbox-label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text);cursor:pointer;}
.checkbox-label input{width:auto;}

.provider-detail{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px;margin-top:12px;}

.journey-toolbar{display:grid;grid-template-columns:auto minmax(220px,420px) auto;gap:10px;align-items:center;margin-bottom:12px;}
.journey-toolbar label{font-size:12px;font-weight:600;color:var(--text-muted);}
.journey-toolbar input{padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);}
.journey-toolbar .btn{display:inline-flex;align-items:center;gap:7px;justify-content:center;}
.journey-toolbar .btn svg{width:16px;height:16px;}
.boundary-note{padding:12px 14px;border-left:3px solid var(--primary);background:var(--surface-2);color:var(--text-muted);font-size:12px;margin-bottom:16px;}
.journey-list{display:grid;gap:14px;}
.journey-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:18px;}
.journey-card header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px;}
.journey-card header strong,.journey-card header span{display:block;}
.journey-card header div>span{margin-top:4px;color:var(--text-muted);font-size:11px;overflow-wrap:anywhere;}
.journey-status{padding:4px 8px;border-radius:4px;background:#dcfce7;color:#166534;font-size:11px;font-weight:700;white-space:nowrap;}
.journey-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0 0 16px;}
.journey-card dl div{min-width:0;}
.journey-card dt{font-size:10px;text-transform:uppercase;color:var(--text-muted);font-weight:700;}
.journey-card dd{margin:3px 0 0;font-size:12px;overflow-wrap:anywhere;}
.journey-timeline{list-style:none;margin:0;padding:0;border-top:1px solid var(--border);}
.journey-timeline li{display:grid;grid-template-columns:minmax(130px,180px) 1fr auto;gap:10px;padding:10px 0;border-bottom:1px solid var(--border);font-size:12px;align-items:center;}
.journey-timeline small{color:var(--text-muted);}
.journey-stage{font-weight:700;color:var(--primary);}

.about-content{display:grid;grid-template-columns:2fr 1fr;gap:16px;}
.about-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;}
.about-card h3{font-size:16px;margin-bottom:8px;margin-top:20px;color:var(--primary);}
.about-card h3:first-child{margin-top:0;}
.about-card p{font-size:13px;color:var(--text-muted);line-height:1.7;margin-bottom:12px;}
.country-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;}
.country-list span{padding:6px 12px;background:var(--surface-2);border-radius:6px;font-size:12px;color:var(--text);}

#footer{text-align:center;padding:20px;color:var(--text-muted);font-size:12px;border-top:1px solid var(--border);margin-top:auto;}

@media(max-width:900px){.hero-card{grid-template-columns:1fr;}.hero-visual{display:none;}.hero-stats{grid-template-columns:repeat(2,1fr);}.about-content{grid-template-columns:1fr;}}
@media(max-width:600px){.hero-stats{grid-template-columns:1fr;}.hero-actions{flex-direction:column;}.nav-tabs{overflow-x:auto;}}
@media(max-width:600px){.journey-toolbar{grid-template-columns:1fr;}.journey-card dl{grid-template-columns:1fr;}.journey-timeline li{grid-template-columns:1fr;gap:4px;}}

[data-theme="light"] {
  --bg: #f0f9ff;
  --surface: #ffffff;
  --surface-2: #e0f2fe;
  --text: #0b1120;
  --text-muted: #64748b;
  --border: #bae6fd;
}
.login-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.7);display:flex;align-items:center;justify-content:center;z-index:99999;}
.login-modal{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;width:360px;max-width:90vw;}
.login-modal h2{margin-bottom:16px;font-size:18px;}
.login-modal label{display:block;margin-bottom:12px;font-size:13px;color:var(--text-muted);}
.login-modal input{width:100%;padding:10px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font-size:14px;margin-top:4px;}
.login-error{color:var(--danger);font-size:13px;margin-bottom:8px;padding:8px;background:rgba(239,68,68,0.1);border-radius:6px;}
.login-actions{margin-top:16px;}
