:root{
  --bg:#f6f8fc;--card:#ffffff;--text:#14213d;--muted:#64748b;--line:#e6edf6;
  --primary:#2563eb;--primary2:#1d4ed8;--soft:#eff6ff;--green:#16a34a;--amber:#f59e0b;
  --red:#dc2626;--shadow:0 18px 45px rgba(15,23,42,.07);--shadow2:0 8px 22px rgba(15,23,42,.06);
  --radius:22px
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:radial-gradient(circle at top left,#eef6ff 0,#f7f9fc 34%,#f5f7fb 100%);color:var(--text)}
.hidden{display:none!important}
button,input,select,textarea{font:inherit}
.btn{border:1px solid var(--line);background:#fff;color:#1f2937;border-radius:14px;padding:11px 15px;font-weight:850;cursor:pointer;box-shadow:0 1px 0 rgba(15,23,42,.03);transition:.16s ease}
.btn:hover{transform:translateY(-1px);border-color:#cbd5e1;background:#f8fafc}
.btn.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#2563eb;color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.20)}
.btn.primary:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af)}
.btn.white{background:#fff;color:#1d4ed8;border:0}
.btn.ghost{background:#f8fafc}
.btn.danger{background:#fff1f2;color:var(--red);border-color:#fecdd3}
.btn.small{padding:8px 11px;font-size:13px}
.btn.full{width:100%;display:flex;align-items:center;justify-content:center;gap:8px}
.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;position:relative;overflow:hidden}
.login-bg span{position:absolute;border-radius:999px;filter:blur(3px);opacity:.55}
.login-bg span:nth-child(1){width:220px;height:220px;background:#dbeafe;top:12%;left:17%}
.login-bg span:nth-child(2){width:180px;height:180px;background:#dcfce7;right:18%;bottom:18%}
.login-bg span:nth-child(3){width:140px;height:140px;background:#fef3c7;right:26%;top:18%}
.login-card{width:100%;max-width:470px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border:1px solid rgba(226,232,240,.85);border-radius:30px;padding:34px;box-shadow:0 30px 90px rgba(15,23,42,.12);position:relative}
.brand-row,.side-brand{display:flex;align-items:center;gap:14px}
.brand-logo{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#334155);color:#facc15;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:22px;box-shadow:0 12px 30px rgba(15,23,42,.18)}
.brand-logo.small{width:46px;height:46px;border-radius:16px;font-size:17px}
h1,h2,h3,h4,p{margin:0}.login-card h1{font-size:27px}.login-card p,.topbar p,.modal-head p,.soft{color:var(--muted);font-size:14px}
.login-form{display:flex;flex-direction:column;gap:11px;margin-top:30px}
label{display:block;font-size:13px;font-weight:850;color:#334155;margin-bottom:7px}
input,select,textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 13px;background:#fff;color:var(--text);outline:none;transition:.15s ease}
input:focus,select:focus,textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(37,99,235,.08)}
textarea{resize:vertical}.error{color:var(--red);min-height:18px;font-size:14px}.warning{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:14px;padding:11px 13px;margin:12px 0 0;font-weight:850}
.app{display:flex;min-height:100vh}.sidebar{width:280px;background:rgba(255,255,255,.82);backdrop-filter:blur(18px);border-right:1px solid rgba(226,232,240,.85);padding:22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.side-brand{padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:20px}.side-brand strong{display:block;font-size:18px}.side-brand span{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.menu{display:flex;flex-direction:column;gap:9px}.nav{text-align:left;background:transparent;border:0;box-shadow:none;border-radius:16px;padding:13px 14px;color:#334155;font-weight:900;cursor:pointer;display:flex;align-items:center;gap:12px;transition:.16s ease}
.nav:hover{background:#f1f5f9}.nav.active{background:linear-gradient(135deg,#eff6ff,#eaf2ff);color:#1d4ed8;box-shadow:inset 0 0 0 1px #dbeafe}.nav-ico{width:30px;height:30px;border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(15,23,42,.05)}
.sidebar-note{margin-top:22px;background:linear-gradient(135deg,#f8fafc,#eef6ff);border:1px solid var(--line);border-radius:18px;padding:14px;display:flex;gap:10px}
.sidebar-note p{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.45}.note-icon{min-width:28px;height:28px;border-radius:10px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}.logout{margin-top:auto}
.main{flex:1;padding:30px;overflow:auto}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:26px}.topbar h2{font-size:31px;letter-spacing:-.02em}.top-actions{display:flex;gap:10px;flex-wrap:wrap}.eyebrow{font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#2563eb;margin-bottom:6px}
.hero{background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;border-radius:28px;padding:26px 28px;box-shadow:0 22px 60px rgba(37,99,235,.24);display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px;overflow:hidden;position:relative}
.hero:after{content:"";position:absolute;right:-55px;top:-70px;width:220px;height:220px;border-radius:999px;background:rgba(255,255,255,.10)}
.hero h3{font-size:26px;margin:8px 0 8px;max-width:760px}.hero p{color:rgba(255,255,255,.82);max-width:760px}.pill{display:inline-flex;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;padding:7px 11px;font-size:12px;font-weight:950}.pill.light{background:#eff6ff;color:#1d4ed8}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:16px;margin-bottom:20px}.stats-grid.compact{grid-template-columns:repeat(4,minmax(180px,1fr))}
.stat-card{background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow2);position:relative;overflow:hidden;min-height:126px}
.stat-card:hover{box-shadow:var(--shadow)}.stat-card span{display:block;color:var(--muted);font-size:13px;font-weight:850;margin-top:12px}.stat-card strong{display:block;font-size:27px;margin-top:7px}.stat-ico{width:42px;height:42px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-weight:950}
.blue{background:#dbeafe;color:#1d4ed8}.cyan{background:#cffafe;color:#0e7490}.violet{background:#ede9fe;color:#6d28d9}.amber{background:#fef3c7;color:#92400e}.green{background:#dcfce7;color:#166534}.orange{background:#ffedd5;color:#c2410c}.slate{background:#e2e8f0;color:#334155}.indigo{background:#e0e7ff;color:#3730a3}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.panel,.quick-card,.table-card,.smart-card{background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow2)}.panel{padding:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.panel-head p{color:var(--muted);font-size:13px;margin-top:3px}.mini-icon{width:38px;height:38px;border-radius:14px;background:#eff6ff;color:#1d4ed8;display:flex;align-items:center;justify-content:center;font-weight:950}
.mini-list,.cards-list{display:flex;flex-direction:column;gap:11px}.mini-item,.business-card{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:13px 14px}.mini-item strong,.business-card strong{display:block}.mini-item span,.business-card span{color:var(--muted);font-size:13px}
.smart-card{padding:20px;margin-bottom:18px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(239,246,255,.88))}
.smart-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}
.smart-head h3{margin-top:8px}.smart-head p{color:var(--muted);font-size:14px;margin-top:4px;max-width:760px}
.smart-actions{display:flex;gap:10px;flex-wrap:wrap}
.smart-textarea{height:165px;background:#fbfdff;line-height:1.55}
.smart-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}
.smart-preview div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px}
.smart-preview span{display:block;color:var(--muted);font-size:12px;font-weight:850;margin-bottom:5px}
.smart-preview strong{font-size:14px}
.quick-card{padding:20px;margin-bottom:18px}.quick-title{margin-bottom:14px}.quick-title h3{margin-top:8px}.quick-title p{color:var(--muted);font-size:14px;margin-top:3px}
.quick-form{display:grid;grid-template-columns:1.35fr .95fr .82fr .82fr 1.12fr .9fr .88fr 1.2fr auto;gap:11px}
.filters{display:grid;grid-template-columns:2fr .9fr 1fr 1fr 1fr auto;gap:11px;margin-bottom:16px}.table-card{overflow:auto}.table-card.flat{box-shadow:none;border-radius:16px}
table{width:100%;border-collapse:separate;border-spacing:0;min-width:1150px}th,td{padding:15px;border-bottom:1px solid var(--line);text-align:left;font-size:14px;vertical-align:middle}th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.04em}tr:hover td{background:#fbfdff}
.badge{display:inline-block;border-radius:999px;padding:7px 10px;background:#f1f5f9;color:#334155;font-size:12px;font-weight:950}.badge.blue{background:#dbeafe;color:#1d4ed8}.badge.green{background:#dcfce7;color:#166534}.badge.red{background:#fee2e2;color:#991b1b}.badge.amber{background:#fef3c7;color:#92400e}
.actions{display:flex;gap:7px;align-items:center}.actions select{min-width:145px;padding:9px;border-radius:12px}
.goals-panel{display:grid;grid-template-columns:1fr 2fr;gap:22px;align-items:start}.goals-form{display:grid;grid-template-columns:repeat(5,1fr) auto;gap:11px;align-items:end}
.progress-list{display:grid;gap:14px;margin-top:14px}.progress-item span{display:flex;justify-content:space-between;font-size:14px;font-weight:850;margin-bottom:8px}.progress-item em{font-style:normal;color:var(--muted)}.progress-bar{height:12px;background:#eef2f7;border-radius:999px;overflow:hidden}.progress-bar b{display:block;height:100%;background:linear-gradient(90deg,#60a5fa,#2563eb);border-radius:999px}
.message-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.template-card textarea{height:175px;margin:13px 0;background:#fbfdff}.template-head{display:flex;align-items:center;gap:10px}.template-head span{width:34px;height:34px;background:#eff6ff;color:#1d4ed8;border-radius:13px;display:flex;align-items:center;justify-content:center;font-weight:950}
dialog{border:0;border-radius:28px;padding:0;box-shadow:0 30px 90px rgba(15,23,42,.28);width:min(1060px,calc(100% - 24px))}dialog::backdrop{background:rgba(15,23,42,.42);backdrop-filter:blur(3px)}.modal-form{padding:24px;background:#fff}.modal-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:18px}.modal-head h3{margin-top:8px}.icon-btn{border:0;background:#f1f5f9;border-radius:14px;padding:7px 13px;font-size:24px;cursor:pointer}
.modal-section{border:1px solid var(--line);border-radius:20px;padding:16px;margin-bottom:14px;background:#fbfdff}.modal-section h4{margin-bottom:12px;color:#1e293b}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.date-box{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:13px;margin:10px 0 14px}.date-box span{color:#64748b;font-size:13px}.date-box b{display:block;color:#111827;margin-top:3px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
@media(max-width:1200px){.quick-form,.filters,.goals-form,.smart-preview{grid-template-columns:1fr 1fr}.stats-grid,.stats-grid.compact{grid-template-columns:repeat(2,1fr)}.two-col,.message-grid,.goals-panel{grid-template-columns:1fr}.sidebar{width:260px}.smart-head{display:block}.smart-actions{margin-top:12px}}
@media(max-width:800px){.app{display:block}.sidebar{position:relative;width:100%;height:auto}.main{padding:16px}.topbar{display:block}.top-actions{margin-top:12px}.hero{display:block}.hero .btn{margin-top:16px}.quick-form,.filters,.goals-form,.form-grid,.stats-grid,.stats-grid.compact,.date-box,.smart-preview{grid-template-columns:1fr}}


/* V5.1 temizlik */
.tool-toggle-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.collapse-area{
  animation:softDrop .16s ease;
}
@keyframes softDrop{
  from{opacity:.55;transform:translateY(-4px)}
  to{opacity:1;transform:translateY(0)}
}
.sidebar-note{
  display:none!important;
}
.badge{
  padding:6px 9px;
  font-size:11px;
  line-height:1.15;
}
.actions{
  gap:6px;
  justify-content:flex-start;
}
.actions select{
  min-width:142px;
  max-width:155px;
  padding:9px 10px;
  font-size:13px;
}
.icon-action{
  width:39px;
  height:39px;
  padding:0;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  font-weight:950;
}
.icon-action.wa{
  color:#128c3a;
  background:#ecfdf5;
  border-color:#bbf7d0;
}
.icon-action.wa:hover{
  background:#dcfce7;
}
.icon-action.detail{
  color:#1d4ed8;
  background:#eff6ff;
  border-color:#dbeafe;
}
.icon-action.detail:hover{
  background:#dbeafe;
}
.phone-link{
  color:#475569;
  text-decoration:none;
}
.phone-link:hover{
  color:#128c3a;
  text-decoration:underline;
}
.smart-card,.quick-card{
  margin-bottom:16px;
}
@media(max-width:800px){
  .tool-toggle-row .btn{
    flex:1;
  }
}


/* V5.2 ikon düzeltmesi */
.icon-action{
  position:relative;
  overflow:hidden;
}
.wa-svg{
  width:24px;
  height:24px;
  display:block;
}
.wa-svg circle{
  fill:#25D366;
}
.wa-svg .wa-tail{
  fill:#25D366;
}
.wa-svg .wa-phone{
  fill:#fff;
  transform:scale(.72);
  transform-origin:center;
}
.icon-action.wa{
  background:#eafff1;
  border-color:#b7f7cf;
}
.icon-action.wa:hover{
  background:#dcfce7;
  box-shadow:0 8px 18px rgba(37,211,102,.16);
}
.detail-svg{
  width:20px;
  height:20px;
  display:block;
}
.detail-svg path{
  fill:none;
  stroke:#2563eb;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* V6 Mesaj Merkezi */
.icon-action.message{
  color:#7c3aed;
  background:#f5f3ff;
  border-color:#ddd6fe;
}
.icon-action.message:hover{
  background:#ede9fe;
}
.message-svg{
  width:21px;
  height:21px;
  display:block;
}
.message-svg path{
  fill:none;
  stroke:#7c3aed;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.message-modal-form{
  max-width:980px;
}
.message-control-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px;
  margin-bottom:14px;
}
.message-business-info{
  background:linear-gradient(135deg,#f8fafc,#eff6ff);
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  margin-bottom:14px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.message-business-info div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
}
.message-business-info span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:850;
  margin-bottom:4px;
}
.message-business-info strong{
  font-size:14px;
}
.generated-message{
  line-height:1.6;
  min-height:260px;
  background:#fbfdff;
}
.message-actions{
  flex-wrap:wrap;
}
@media(max-width:900px){
  .message-control-grid,.message-business-info{
    grid-template-columns:1fr;
  }
}

/* V6.1 geniş sektör: Mesajlar sayfası kaldırıldı, mesaj merkezi satır ikonundan çalışır. */


/* V7 Taslak Gösterici */
.icon-action.draft{
  color:#0f766e;
  background:#ecfeff;
  border-color:#a5f3fc;
}
.icon-action.draft:hover{
  background:#cffafe;
}
.draft-svg{
  width:21px;
  height:21px;
  display:block;
}
.draft-svg path{
  fill:none;
  stroke:#0f766e;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.draft-dialog{
  width:min(1180px,calc(100% - 18px));
}
.draft-modal-form{
  padding:20px;
}
.draft-toolbar{
  display:grid;
  grid-template-columns:1.2fr auto auto;
  gap:12px;
  align-items:end;
  margin-bottom:12px;
}
.draft-note{
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:16px;
  color:#475569;
  padding:12px 14px;
  font-size:13px;
  line-height:1.5;
  margin-bottom:14px;
}
.draft-preview{
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 18px 50px rgba(15,23,42,.10);
}
.demo-site{
  --demo-primary:#2563eb;
  --demo-dark:#0f172a;
  --demo-soft:#eff6ff;
  --demo-accent:#14b8a6;
  background:#fff;
  color:#111827;
  font-family:Inter,Arial,sans-serif;
}
.demo-site *{box-sizing:border-box}
.demo-hero{
  min-height:430px;
  padding:42px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:center;
  position:relative;
  overflow:hidden;
}
.demo-kicker{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:inherit;
  font-size:12px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.demo-hero h1{
  font-size:44px;
  line-height:1.05;
  margin:14px 0 14px;
  letter-spacing:-.04em;
}
.demo-hero p{
  color:inherit;
  opacity:.82;
  font-size:17px;
  line-height:1.65;
  margin:0 0 22px;
}
.demo-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.demo-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:16px;
  padding:13px 18px;
  font-weight:950;
  text-decoration:none;
  border:1px solid transparent;
}
.demo-btn.primary{
  background:var(--demo-primary);
  color:#fff;
}
.demo-btn.secondary{
  background:rgba(255,255,255,.12);
  color:inherit;
  border-color:rgba(255,255,255,.24);
}
.demo-visual{
  min-height:310px;
  border-radius:30px;
  padding:22px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 25px 70px rgba(0,0,0,.16);
  position:relative;
  overflow:hidden;
}
.demo-visual:before{
  content:"";
  position:absolute;
  inset:auto -50px -80px auto;
  width:210px;
  height:210px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
}
.demo-visual-card{
  position:relative;
  background:rgba(255,255,255,.92);
  color:#0f172a;
  border-radius:24px;
  padding:22px;
  box-shadow:0 18px 45px rgba(0,0,0,.14);
}
.demo-visual-card strong{
  display:block;
  font-size:20px;
  margin-bottom:8px;
}
.demo-checks{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.demo-checks span{
  display:flex;
  gap:8px;
  align-items:center;
  font-weight:800;
  color:#334155;
}
.demo-section{
  padding:38px 42px;
}
.demo-section.alt{
  background:#f8fafc;
}
.demo-section-head{
  max-width:720px;
  margin-bottom:22px;
}
.demo-section-head h2{
  font-size:29px;
  letter-spacing:-.025em;
  margin:0 0 8px;
}
.demo-section-head p{
  color:#64748b;
  line-height:1.6;
  margin:0;
}
.demo-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.demo-card{
  border:1px solid #e5e7eb;
  border-radius:22px;
  padding:20px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.demo-card i{
  width:42px;
  height:42px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--demo-soft);
  color:var(--demo-primary);
  font-style:normal;
  font-weight:950;
  margin-bottom:13px;
}
.demo-card h3{
  margin:0 0 8px;
  font-size:17px;
}
.demo-card p{
  margin:0;
  color:#64748b;
  line-height:1.55;
  font-size:14px;
}
.demo-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.demo-info-box{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:24px;
}
.demo-info-box h3{
  margin:0 0 12px;
}
.demo-info-box ul{
  margin:0;
  padding-left:18px;
  color:#475569;
  line-height:1.9;
}
.demo-cta{
  padding:34px 42px;
  background:var(--demo-dark);
  color:#fff;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
}
.demo-cta h2{
  margin:0 0 8px;
}
.demo-cta p{
  margin:0;
  color:rgba(255,255,255,.75);
}
.demo-footer{
  padding:18px 42px;
  color:#64748b;
  background:#fff;
  font-size:13px;
  display:flex;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
}

/* demo variations */
.demo-site.modern .demo-hero{
  background:linear-gradient(135deg,#0f172a,#1d4ed8);
  color:#fff;
}
.demo-site.modern{--demo-primary:#22c55e;--demo-soft:#dcfce7;--demo-accent:#60a5fa}
.demo-site.premium .demo-hero{
  background:linear-gradient(135deg,#18181b,#7c2d12);
  color:#fff;
}
.demo-site.premium{--demo-primary:#d97706;--demo-soft:#fff7ed;--demo-accent:#f59e0b}
.demo-site.minimal .demo-hero{
  background:#f8fafc;
  color:#111827;
}
.demo-site.minimal .demo-kicker{
  background:#e0f2fe;
  color:#0369a1;
}
.demo-site.minimal .demo-btn.secondary{
  color:#0f172a;
  border-color:#cbd5e1;
}
.demo-site.minimal .demo-visual{
  background:#fff;
  border-color:#e5e7eb;
}
.demo-site.minimal{--demo-primary:#0f766e;--demo-soft:#ccfbf1;--demo-dark:#111827}
.demo-site.corporate .demo-hero{
  background:linear-gradient(135deg,#020617,#1e3a8a);
  color:#fff;
}
.demo-site.corporate{--demo-primary:#2563eb;--demo-soft:#dbeafe;--demo-accent:#94a3b8}
.demo-site.appointment .demo-hero{
  background:linear-gradient(135deg,#fdf2f8,#fff7ed);
  color:#3b1725;
}
.demo-site.appointment .demo-kicker{
  background:#fff;
  color:#be185d;
}
.demo-site.appointment .demo-btn.secondary{
  color:#3b1725;
  border-color:#fecdd3;
}
.demo-site.appointment .demo-visual{
  background:rgba(255,255,255,.66);
  border-color:#fff;
}
.demo-site.appointment{--demo-primary:#be185d;--demo-soft:#fce7f3;--demo-dark:#3b1725}
.demo-site.emergency .demo-hero{
  background:linear-gradient(135deg,#111827,#991b1b);
  color:#fff;
}
.demo-site.emergency{--demo-primary:#ef4444;--demo-soft:#fee2e2;--demo-accent:#f97316}
.demo-site.emergency .demo-btn.primary{
  background:#ef4444;
}
@media(max-width:900px){
  .draft-toolbar,.demo-hero,.demo-grid,.demo-split,.demo-cta{
    grid-template-columns:1fr;
  }
  .demo-hero h1{
    font-size:34px;
  }
  .demo-hero,.demo-section,.demo-cta,.demo-footer{
    padding:26px;
  }
  .demo-cta{
    display:block;
  }
  .demo-cta .demo-btn{
    margin-top:16px;
  }
}


/* V7.1 PREMIUM DEMO SITE SYSTEM - eski düz demo görünümü yerine gerçek site hissi */
.draft-dialog{
  width:min(1280px,calc(100% - 18px));
}
.draft-preview{
  border-radius:28px;
  background:#0b1220;
  border:1px solid rgba(226,232,240,.9);
  box-shadow:0 26px 90px rgba(15,23,42,.24);
}
.premium-demo{
  --p-primary:#005f99;
  --p-secondary:#003b69;
  --p-accent:#f59e0b;
  --p-dark:#08111f;
  --p-ink:#0f172a;
  --p-muted:#64748b;
  --p-soft:#f4f7fb;
  --p-card:#ffffff;
  font-family:Inter,Arial,Helvetica,sans-serif;
  background:#fff;
  color:var(--p-ink);
  line-height:1.5;
}
.premium-demo *{
  box-sizing:border-box;
}
.premium-topbar{
  background:var(--p-dark);
  color:#fff;
  padding:10px 54px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:14px;
}
.premium-topbar .top-info{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  align-items:center;
  opacity:.95;
}
.premium-topbar b{
  color:var(--p-accent);
}
.premium-nav{
  height:86px;
  padding:0 54px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
  box-shadow:0 14px 35px rgba(15,23,42,.08);
  position:relative;
  z-index:5;
}
.premium-brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand-mark{
  width:54px;
  height:54px;
  border-radius:17px;
  background:linear-gradient(135deg,var(--p-primary),var(--p-secondary));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  letter-spacing:.04em;
  box-shadow:0 18px 35px rgba(0,95,153,.25);
}
.premium-brand strong{
  display:block;
  font-size:30px;
  line-height:1;
  color:var(--p-secondary);
  letter-spacing:-.03em;
}
.premium-brand span{
  display:block;
  color:#64748b;
  font-size:12px;
  margin-top:4px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.premium-menu{
  display:flex;
  gap:30px;
  align-items:center;
  color:#102445;
  font-weight:900;
}
.premium-menu span{
  white-space:nowrap;
}
.premium-menu .quote-btn{
  background:linear-gradient(135deg,var(--p-primary),var(--p-secondary));
  color:#fff;
  padding:15px 22px;
  border-radius:12px;
  box-shadow:0 12px 25px rgba(0,95,153,.22);
}
.premium-hero{
  min-height:610px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  position:relative;
  overflow:hidden;
  padding:72px 54px 78px;
  background:
    radial-gradient(circle at 15% 18%,rgba(255,255,255,.16) 0 11%,transparent 12%),
    linear-gradient(120deg,rgba(0,0,0,.42),rgba(0,0,0,.13)),
    var(--hero-bg,linear-gradient(135deg,#08111f,#0b3562));
  color:#fff;
}
.premium-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(8,17,31,.92) 0%,rgba(8,17,31,.72) 42%,rgba(8,17,31,.24) 100%),
    repeating-linear-gradient(120deg,rgba(255,255,255,.055) 0 1px,transparent 1px 16px);
}
.premium-hero>*{
  position:relative;
  z-index:2;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(8px);
  color:#fff;
  text-transform:uppercase;
  font-size:12px;
  font-weight:950;
  letter-spacing:.11em;
}
.hero-kicker:before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--p-accent);
  box-shadow:0 0 0 6px rgba(245,158,11,.18);
}
.premium-hero h1{
  font-size:64px;
  line-height:.98;
  letter-spacing:-.055em;
  margin:20px 0 18px;
  max-width:760px;
}
.premium-hero p{
  font-size:19px;
  line-height:1.7;
  color:rgba(255,255,255,.82);
  max-width:650px;
  margin:0 0 28px;
}
.premium-hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.premium-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  text-decoration:none;
  border-radius:15px;
  font-weight:950;
  padding:16px 22px;
  min-height:54px;
}
.premium-btn.primary{
  background:var(--p-accent);
  color:#111827;
  box-shadow:0 18px 32px rgba(245,158,11,.28);
}
.premium-btn.dark{
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(10px);
}
.hero-showcase{
  position:relative;
  min-height:430px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-device{
  width:min(470px,100%);
  border-radius:34px;
  background:rgba(255,255,255,.92);
  color:#0f172a;
  padding:26px;
  box-shadow:0 34px 90px rgba(0,0,0,.36);
  border:1px solid rgba(255,255,255,.5);
  transform:rotate(-1.5deg);
}
.hero-device:before{
  content:"";
  position:absolute;
}
.device-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}
.device-logo{
  width:52px;
  height:52px;
  border-radius:17px;
  background:linear-gradient(135deg,var(--p-primary),var(--p-secondary));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
}
.device-pill{
  padding:8px 11px;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-weight:950;
  font-size:12px;
}
.hero-device h3{
  margin:0 0 8px;
  font-size:27px;
  line-height:1.15;
  letter-spacing:-.035em;
}
.hero-device p{
  margin:0;
  color:#475569;
  font-size:15px;
  line-height:1.6;
}
.device-list{
  display:grid;
  gap:10px;
  margin-top:21px;
}
.device-list span{
  display:flex;
  gap:10px;
  align-items:center;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  padding:12px;
  border-radius:15px;
  font-weight:900;
  color:#172033;
}
.device-list span:before{
  content:"✓";
  width:25px;
  height:25px;
  border-radius:9px;
  background:var(--p-primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
}
.floating-stat{
  position:absolute;
  right:4%;
  bottom:7%;
  background:#fff;
  color:#0f172a;
  padding:18px 20px;
  border-radius:24px;
  box-shadow:0 28px 60px rgba(0,0,0,.25);
  min-width:220px;
}
.floating-stat strong{
  font-size:34px;
  display:block;
  line-height:1;
  color:var(--p-primary);
}
.floating-stat span{
  color:#64748b;
  font-weight:850;
}
.premium-strip{
  background:#fff;
  margin:-38px 54px 0;
  position:relative;
  z-index:3;
  border-radius:24px;
  box-shadow:0 24px 60px rgba(15,23,42,.13);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
}
.strip-item{
  padding:24px;
  border-right:1px solid #e5e7eb;
}
.strip-item:last-child{
  border-right:0;
}
.strip-item b{
  display:block;
  font-size:23px;
  color:var(--p-secondary);
  margin-bottom:5px;
}
.strip-item span{
  color:#64748b;
  font-weight:800;
}
.premium-section{
  padding:82px 54px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:28px;
  margin-bottom:34px;
}
.section-head small{
  color:var(--p-primary);
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.section-head h2{
  margin:8px 0 0;
  font-size:42px;
  line-height:1.08;
  letter-spacing:-.045em;
  max-width:760px;
}
.section-head p{
  color:#64748b;
  max-width:470px;
  line-height:1.7;
  margin:0;
}
.premium-service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.premium-service-card{
  position:relative;
  min-height:245px;
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 12px 34px rgba(15,23,42,.07);
  transition:.18s ease;
}
.premium-service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(15,23,42,.12);
}
.service-card-top{
  min-height:105px;
  background:
    radial-gradient(circle at 80% 18%,rgba(255,255,255,.33),transparent 26%),
    linear-gradient(135deg,var(--p-primary),var(--p-secondary));
  padding:20px;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}
.service-no{
  width:48px;
  height:48px;
  border-radius:17px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
}
.service-icon{
  font-size:34px;
  opacity:.95;
}
.service-card-body{
  padding:22px;
}
.service-card-body h3{
  margin:0 0 9px;
  font-size:20px;
  letter-spacing:-.02em;
}
.service-card-body p{
  color:#64748b;
  line-height:1.6;
  margin:0;
  font-size:15px;
}
.premium-about{
  background:#f5f7fb;
  padding:82px 54px;
}
.about-layout{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:42px;
  align-items:center;
}
.about-visual{
  min-height:480px;
  border-radius:34px;
  background:
    linear-gradient(180deg,rgba(8,17,31,.08),rgba(8,17,31,.56)),
    var(--visual-bg,linear-gradient(135deg,#e2e8f0,#94a3b8));
  position:relative;
  overflow:hidden;
  box-shadow:0 25px 70px rgba(15,23,42,.15);
}
.about-visual:before{
  content:"";
  position:absolute;
  inset:48px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.35);
}
.about-visual:after{
  content:attr(data-years);
  position:absolute;
  left:36px;
  bottom:18px;
  font-size:142px;
  line-height:1;
  color:rgba(255,255,255,.95);
  font-weight:950;
  letter-spacing:-.08em;
  text-shadow:0 24px 50px rgba(0,0,0,.22);
}
.about-content small{
  color:var(--p-primary);
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.about-content h2{
  font-size:45px;
  line-height:1.08;
  letter-spacing:-.05em;
  margin:10px 0 16px;
}
.about-content p{
  color:#64748b;
  line-height:1.8;
  font-size:17px;
  margin:0 0 24px;
}
.about-points{
  display:grid;
  gap:13px;
}
.about-points div{
  display:flex;
  gap:13px;
  align-items:flex-start;
  background:#fff;
  border:1px solid #e5e7eb;
  padding:16px;
  border-radius:19px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.about-points i{
  min-width:34px;
  height:34px;
  border-radius:12px;
  background:var(--p-primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-style:normal;
  font-weight:950;
}
.process-section{
  padding:82px 54px;
  background:#fff;
}
.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.process-card{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:25px;
  padding:24px;
  min-height:190px;
}
.process-card b{
  width:42px;
  height:42px;
  border-radius:14px;
  background:var(--p-secondary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}
.process-card h3{
  margin:0 0 8px;
}
.process-card p{
  margin:0;
  color:#64748b;
  line-height:1.6;
}
.premium-cta{
  margin:0 54px 70px;
  border-radius:34px;
  padding:44px;
  background:
    radial-gradient(circle at 88% 20%,rgba(255,255,255,.2),transparent 30%),
    linear-gradient(135deg,var(--p-secondary),var(--p-primary));
  color:#fff;
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
  box-shadow:0 28px 70px rgba(0,95,153,.25);
}
.premium-cta h2{
  margin:0 0 9px;
  font-size:38px;
  letter-spacing:-.04em;
}
.premium-cta p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:17px;
}
.premium-footer{
  background:#08111f;
  color:#fff;
  padding:28px 54px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.premium-footer span{
  color:rgba(255,255,255,.65);
}

/* Sektör ve varyasyon renk/görsel dilleri */
.premium-demo.tech{
  --p-primary:#0069a8;
  --p-secondary:#003766;
  --p-accent:#f59e0b;
  --hero-bg:
    linear-gradient(135deg,#0a1d33,#0b4f83 58%,#111827);
  --visual-bg:
    repeating-linear-gradient(90deg,rgba(255,255,255,.18) 0 2px,transparent 2px 34px),
    repeating-linear-gradient(0deg,rgba(255,255,255,.12) 0 2px,transparent 2px 42px),
    linear-gradient(135deg,#0b4f83,#1e293b);
}
.premium-demo.beauty{
  --p-primary:#be185d;
  --p-secondary:#4a1029;
  --p-accent:#f6c178;
  --hero-bg:
    radial-gradient(circle at 72% 32%,rgba(251,207,232,.35),transparent 24%),
    linear-gradient(135deg,#4a1029,#be185d 60%,#f9a8d4);
  --visual-bg:
    radial-gradient(circle at 30% 30%,rgba(255,255,255,.36),transparent 22%),
    linear-gradient(135deg,#fce7f3,#f9a8d4,#be185d);
}
.premium-demo.sport{
  --p-primary:#16a34a;
  --p-secondary:#052e16;
  --p-accent:#86efac;
  --hero-bg:
    radial-gradient(circle at 72% 34%,rgba(134,239,172,.26),transparent 25%),
    linear-gradient(135deg,#052e16,#14532d 58%,#0f172a);
  --visual-bg:
    linear-gradient(135deg,#14532d,#22c55e);
}
.premium-demo.corp{
  --p-primary:#1d4ed8;
  --p-secondary:#0f172a;
  --p-accent:#fbbf24;
  --hero-bg:
    linear-gradient(135deg,#020617,#1e3a8a 60%,#0f172a);
  --visual-bg:
    linear-gradient(135deg,#dbeafe,#1d4ed8);
}
.premium-demo.food{
  --p-primary:#ea580c;
  --p-secondary:#431407;
  --p-accent:#fde68a;
  --hero-bg:
    radial-gradient(circle at 75% 28%,rgba(253,230,138,.3),transparent 22%),
    linear-gradient(135deg,#431407,#9a3412 55%,#ea580c);
  --visual-bg:
    radial-gradient(circle at 40% 25%,rgba(253,230,138,.35),transparent 18%),
    linear-gradient(135deg,#fed7aa,#ea580c);
}
.premium-demo.minimalPro{
  --p-primary:#0f766e;
  --p-secondary:#0f172a;
  --p-accent:#5eead4;
  --hero-bg:
    linear-gradient(135deg,#0f172a,#0f766e);
  --visual-bg:
    linear-gradient(135deg,#ccfbf1,#0f766e);
}
.premium-demo.variant-premium .premium-hero,
.premium-demo.variant-premium .premium-cta{
  --p-accent:#fbbf24;
}
.premium-demo.variant-premium .brand-mark,
.premium-demo.variant-premium .premium-menu .quote-btn,
.premium-demo.variant-premium .service-card-top{
  background:linear-gradient(135deg,#111827,var(--p-primary));
}
.premium-demo.variant-minimal .premium-hero{
  min-height:560px;
}
.premium-demo.variant-minimal .premium-strip{
  box-shadow:none;
  border:1px solid #e5e7eb;
}
.premium-demo.variant-corporate .premium-topbar,
.premium-demo.variant-corporate .premium-footer{
  background:#020617;
}
.premium-demo.variant-emergency .premium-btn.primary{
  background:#ef4444;
  color:#fff;
}
.premium-demo.variant-emergency{
  --p-accent:#ef4444;
}
.premium-demo.variant-appointment .premium-btn.primary{
  background:#fff;
  color:var(--p-secondary);
}
@media(max-width:1050px){
  .premium-hero,
  .about-layout,
  .premium-service-grid,
  .process-grid,
  .premium-strip{
    grid-template-columns:1fr 1fr;
  }
  .premium-hero h1{
    font-size:48px;
  }
  .premium-menu{
    display:none;
  }
}
@media(max-width:760px){
  .premium-topbar,
  .premium-nav,
  .premium-hero,
  .premium-section,
  .premium-about,
  .process-section,
  .premium-footer{
    padding-left:22px;
    padding-right:22px;
  }
  .premium-hero,
  .about-layout,
  .premium-service-grid,
  .process-grid,
  .premium-strip,
  .premium-cta{
    grid-template-columns:1fr;
  }
  .premium-hero h1{
    font-size:38px;
  }
  .premium-brand strong{
    font-size:23px;
  }
  .premium-strip,
  .premium-cta{
    margin-left:22px;
    margin-right:22px;
  }
  .premium-cta{
    display:block;
  }
  .premium-cta .premium-btn{
    margin-top:18px;
  }
}


/* V7.2 Canva şablon entegrasyonu */
.draft-preview{
  padding:0;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  min-height:820px;
}
.canva-demo-frame{
  width:100%;
  height:820px;
  border:0;
  display:block;
  background:#fff;
}
@media(max-width:900px){
  .canva-demo-frame{
    height:760px;
  }
}
