@font-face{
  font-family:'Ploni';
  src:url('/assets/fonts/PloniLight.otf') format('opentype');
  font-weight:300;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:'Ploni';
  src:url('/assets/fonts/PloniMedium.otf') format('opentype');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:'Ploni';
  src:url('/assets/fonts/PloniBold.otf') format('opentype');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

:root{
  --bg:#07111f;
  --panel:rgba(10,19,33,.76);
  --panel-strong:rgba(12,23,39,.92);
  --line:rgba(255,255,255,.10);
  --text:#f4f8ff;
  --muted:#9fb2cf;
  --brand:#2de2d0;
  --brand-2:#4fa6ff;
  --shadow:0 24px 80px rgba(0,0,0,.30);
  --radius:26px;
  --container:1240px;
  --header-h:124px;
  --footer-h:126px;
}

*{
  box-sizing:border-box;
}

html,
body{
  min-height:100%;
}

body{
  margin:0;
  font-family:'Ploni',Arial,Helvetica,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#05101b 0%,#091726 100%);
  min-height:100vh;
  overflow-x:hidden;
}

a{
  text-decoration:none;
  color:inherit;
}

button,
input,
textarea,
select{
  font:inherit;
}

img{
  display:block;
  max-width:100%;
}

.site-wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position:relative;
  z-index:1;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

.bg{
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
}

.blob{
  position:absolute;
  border-radius:50%;
  filter:blur(78px);
  opacity:.34;
  animation:floatBlob 16s ease-in-out infinite;
}

.blob-a{
  width:520px;
  height:520px;
  background:#0fd7c9;
  right:-120px;
  top:-80px;
}

.blob-b{
  width:460px;
  height:460px;
  background:#296bff;
  left:-120px;
  bottom:8%;
  animation-delay:3s;
}

.blob-c{
  width:420px;
  height:420px;
  background:#25d2ff;
  right:18%;
  bottom:-30px;
  animation-delay:6s;
}

.noise{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.05) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,.04) 0 1px, transparent 1px 100%);
  background-size:26px 26px, 34px 34px;
  opacity:.12;
}

@keyframes floatBlob{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(0,-28px,0) scale(1.06)}
}

.site-header{
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(4,10,18,.44);
  backdrop-filter:blur(18px);
  position:relative;
  z-index:5;
}

.header-inner{
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-image-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.brand-image{
  height:152px;
  width:auto;
  object-fit:contain;
}

.site-main{
  flex:1 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 0;
}

.center-stage{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}

.wizard-shell{
  width:100%;
  max-width:1120px;
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(320px, 360px);
  gap:24px;
  align-items:stretch;
}

.wizard-panel,
.assistant-card,
.side-mini-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
}

.wizard-panel{
  padding:28px;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.panel-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding-bottom:20px;
  margin-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.panel-head-copy{
  min-width:0;
}

.eyebrow{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#d7e8ff;
  font-size:13px;
  margin-bottom:14px;
}

.panel-head h1{
  margin:0;
  font-size:36px;
  line-height:1.05;
  letter-spacing:-.02em;
}

.progress-box{
  width:230px;
  min-width:230px;
  text-align:left;
}

.progress-box span{
  display:block;
  color:var(--muted);
  margin-bottom:10px;
  font-size:13px;
}

.progress-track{
  width:100%;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}

.progress-bar{
  width:16.666%;
  height:100%;
  background:linear-gradient(90deg,var(--brand),var(--brand-2));
  border-radius:999px;
  transition:width .25s ease;
}

.step{
  display:none;
  min-width:0;
}

.step.active{
  display:block;
}

.step-copy{
  margin-bottom:22px;
}

.step h2{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.02em;
}

.step-sub{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
}

.choice-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.choice{
  min-height:132px;
  text-align:right;
  padding:22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  color:#fff;
  cursor:pointer;
  transition:.2s ease;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-width:0;
}

.choice:hover{
  transform:translateY(-2px);
  border-color:rgba(45,226,208,.42);
  box-shadow:0 18px 40px rgba(45,226,208,.10);
}

.choice.selected{
  border-color:rgba(45,226,208,.8);
  background:linear-gradient(180deg,rgba(45,226,208,.16),rgba(79,166,255,.10));
  box-shadow:0 18px 40px rgba(45,226,208,.14);
}

.choice-title{
  display:block;
  font-size:24px;
  font-weight:700;
  margin-bottom:8px;
  line-height:1.2;
  width:100%;
}

.choice-desc{
  display:block;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
  width:100%;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.field-full{
  width:100%;
}

.field label{
  color:#dce8fa;
  font-size:14px;
  line-height:1.3;
}

.field input,
.field textarea,
.chat-input-wrap textarea{
  width:100%;
  max-width:100%;
  border:none;
  outline:none;
  color:#fff;
  border-radius:18px;
  padding:16px 18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  box-sizing:border-box;
}

.field input{
  min-height:56px;
}

.field textarea{
  min-height:180px;
  resize:vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.chat-input-wrap textarea::placeholder{
  color:#8ea8c8;
}

.nav-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:24px;
  flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
  min-height:54px;
  padding:0 22px;
  border:none;
  border-radius:16px;
  cursor:pointer;
  transition:.2s ease;
}

.primary-btn{
  background:linear-gradient(135deg,var(--brand),#73f0ff);
  color:#041019;
  font-weight:700;
  box-shadow:0 18px 40px rgba(45,226,208,.22);
}

.primary-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.secondary-btn{
  color:#fff;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}

.secondary-btn:hover{
  background:rgba(255,255,255,.10);
}

.summary-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.summary-row:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.summary-label{
  color:var(--muted);
  line-height:1.4;
  text-align:right;
}

.summary-value{
  font-weight:700;
  line-height:1.4;
  min-width:140px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  direction:ltr;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

.amount-number{
  direction:ltr;
  unicode-bidi:isolate;
}

.amount-currency{
  direction:rtl;
  opacity:.92;
}

.summary-total{
  font-size:22px;
}

.legal-box{
  margin-top:18px;
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#dbe7f6;
  line-height:1.8;
  font-size:14px;
}

.legal-box input{
  margin-top:4px;
  transform:scale(1.15);
  flex:0 0 auto;
}

.submit-note{
  margin-top:14px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.side-panel{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
}

.assistant-card{
  padding:20px;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
}

.assistant-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.assistant-head-text{
  min-width:0;
}

.assistant-head-text strong{
  display:block;
  font-size:26px;
  line-height:1.1;
}

.assistant-head-text small{
  display:block;
  color:var(--muted);
  margin-top:6px;
  font-size:13px;
}

.assistant-badge{
  width:64px;
  height:64px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.assistant-badge-icon{
  width:48px;
  height:48px;
}

.chat-messages{
  display:flex;
  flex-direction:column;
  gap:10px;
  height:280px;
  max-height:280px;
  overflow:auto;
  margin-bottom:14px;
  min-width:0;
  padding-left:2px;
}

.chat-msg{
  padding:14px 16px;
  border-radius:18px;
  line-height:1.75;
  font-size:14px;
  max-width:100%;
  min-width:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
  box-sizing:border-box;
}

.chat-msg.ai{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.chat-msg.user{
  background:linear-gradient(135deg,rgba(45,226,208,.18),rgba(79,166,255,.10));
  border:1px solid rgba(45,226,208,.22);
}

.chat-input-wrap{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}

.chat-input-wrap textarea{
  min-height:110px;
  resize:none;
}

.chat-send{
  width:100%;
}

.side-mini-card{
  padding:20px;
}

.side-mini-card strong{
  display:block;
  margin-bottom:8px;
  font-size:20px;
}

.side-mini-card p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
  font-size:14px;
}

.site-footer{
  min-height:var(--footer-h);
  display:flex;
  align-items:center;
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(5,10,18,.55);
  backdrop-filter:blur(18px);
  position:relative;
  z-index:5;
}

.footer-inner{
  min-height:var(--footer-h);
  display:flex;
  align-items:center;
  justify-content:center;
}

.footer-brand-image-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.footer-brand-image{
  height:90px;
  width:auto;
  object-fit:contain;
}

@media (max-width: 1100px){
  .site-main{
    align-items:flex-start;
    padding:24px 0;
  }

  .wizard-shell{
    grid-template-columns:1fr;
    max-width:760px;
  }

  .wizard-panel{
    order:1;
  }

  .side-panel{
    order:2;
  }
}

@media (max-width: 760px){
  .container{
    width:min(var(--container), calc(100% - 20px));
  }

  :root{
    --header-h:94px;
    --footer-h:100px;
  }

  .wizard-panel{
    order:1;
  }

  .side-panel{
    order:2;
  }

  .brand-image{
    height:74px;
  }

  .footer-brand-image{
    height:62px;
  }

  .wizard-panel,
  .assistant-card,
  .side-mini-card{
    padding:18px;
  }

  .panel-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .progress-box{
    width:100%;
    min-width:0;
  }

  .panel-head h1{
    font-size:30px;
  }

  .step h2{
    font-size:28px;
  }

  .choice-grid,
  .form-grid{
    grid-template-columns:1fr;
  }

  .choice{
    min-height:118px;
  }

  .nav-row{
    flex-direction:column-reverse;
    align-items:stretch;
  }

  .primary-btn,
  .secondary-btn{
    width:100%;
  }

  .chat-messages{
    height:240px;
    max-height:240px;
  }

  .assistant-badge{
    width:56px;
    height:56px;
  }

  .assistant-badge-icon{
    width:40px;
    height:40px;
  }
}

.logo-section{
  margin-top:20px;
}

.logo-section-head{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
}

.logo-section-head strong{
  font-size:20px;
}

.logo-section-head span{
  color:var(--muted);
  font-size:14px;
}

.logo-upload-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:18px;
}

.logo-upload-label{
  display:flex;
  flex-direction:column;
  gap:10px;
  color:#dce8fa;
  font-size:14px;
  margin-bottom:14px;
}

.logo-upload-label input[type="file"]{
  width:100%;
  border:none;
  outline:none;
  color:#fff;
  border-radius:14px;
  padding:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  box-sizing:border-box;
}

.logo-upload-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.logo-upload-status{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(3,8,14,.68);
  backdrop-filter:blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:1000;
}

.modal-backdrop.show{
  display:flex;
}

.modal-backdrop[hidden]{
  display:none !important;
}

.modal-card{
  width:min(640px, 100%);
  max-height:calc(100vh - 40px);
  overflow:auto;
  background:rgba(10,19,33,.96);
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  box-shadow:0 24px 90px rgba(0,0,0,.38);
  padding:24px;
}

.modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}

.modal-head h3{
  margin:0 0 8px;
  font-size:28px;
}

.modal-head p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

.modal-close{
  width:42px;
  height:42px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:18px;
  flex:0 0 auto;
}

.modal-body{
  display:grid;
  gap:14px;
}

.logo-ai-price-box{
  margin-top:8px;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(45,226,208,.16),rgba(79,166,255,.10));
  border:1px solid rgba(45,226,208,.25);
  display:flex;
  flex-direction:column;
  gap:6px;
}

.logo-ai-price-box strong{
  font-size:18px;
}

.logo-ai-price-box span{
  color:#dce8fa;
  font-size:13px;
}

.modal-actions{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap;
}

@media (max-width: 760px){
  .modal-card{
    padding:18px;
    border-radius:22px;
  }

  .modal-head h3{
    font-size:24px;
  }

  .modal-actions{
    flex-direction:column-reverse;
    align-items:stretch;
  }

  .modal-actions .primary-btn,
  .modal-actions .secondary-btn{
    width:100%;
  }
}
