*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --navy:#061B3A;
  --navy2:#0B2D5C;
  --gold:#D4A52C;
  --gold2:#F3C85A;
  --bg:#F6F8FC;
  --white:#fff;
  --text:#111827;
  --muted:#64748B;
  --border:#E6ECF5;
  --shadow:0 26px 80px rgba(6,27,58,.14);
}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 10% 6%,rgba(212,165,44,.16),transparent 30%),
    radial-gradient(circle at 90% 20%,rgba(11,45,92,.16),transparent 32%),
    linear-gradient(135deg,#F7FAFF,#EEF3FA);
  color:var(--text);
  min-height:100vh;
}

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

.advisor-topbar{
  position:fixed;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  width:min(1240px,95%);
  height:76px;
  z-index:1000;
  background:rgba(6,27,58,.88);
  border:1px solid rgba(255,255,255,.1);
  border-radius:22px;
  backdrop-filter:blur(18px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 22px;
  box-shadow:0 24px 70px rgba(0,0,0,.26);
}

.advisor-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:white;
}

.brand-mark{
  width:46px;
  height:46px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:var(--navy);
  font-weight:900;
}

.advisor-brand span{
  display:block;
  color:var(--gold);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1.5px;
}

.back-link{
  color:var(--gold);
  font-weight:900;
  border:1px solid rgba(212,165,44,.55);
  padding:11px 16px;
  border-radius:14px;
}

.advisor-shell{
  padding:118px 5% 70px;
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  gap:30px;
  align-items:start;
}

.advisor-side{
  display:grid;
  gap:20px;
}

.side-card,
.side-price,
.chat-card,
.paid-plan{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.9);
  border-radius:34px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(20px);
}

.side-card{
  padding:30px;
}

.side-orb{
  width:82px;
  height:82px;
  border-radius:26px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:var(--navy);
  font-size:24px;
  font-weight:900;
  margin-bottom:22px;
  box-shadow:0 20px 50px rgba(212,165,44,.32);
}

.side-card h2{
  color:var(--navy);
  font-size:28px;
  margin-bottom:10px;
}

.side-card p{
  color:var(--muted);
  line-height:1.65;
  margin-bottom:26px;
}

.progress-box{
  background:#F6F8FC;
  border:1px solid var(--border);
  border-radius:24px;
  padding:18px;
}

.progress-top{
  display:flex;
  justify-content:space-between;
  margin-bottom:12px;
}

.progress-top span{
  color:var(--muted);
  font-weight:800;
}

.progress-top strong{
  color:var(--navy);
}

.progress-track{
  height:10px;
  border-radius:999px;
  background:#E6ECF5;
  overflow:hidden;
  margin-bottom:12px;
}

.progress-fill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,var(--gold),var(--gold2));
  border-radius:999px;
  transition:.35s ease;
}

.progress-box small{
  color:var(--muted);
  font-weight:700;
}

.side-price{
  padding:26px;
  background:linear-gradient(135deg,var(--navy),var(--navy2));
  color:white;
}

.side-price span{
  color:#DCE7F5;
  font-weight:800;
}

.side-price strong{
  display:block;
  color:var(--gold);
  font-size:54px;
  margin:8px 0;
}

.side-price p{
  color:#DCE7F5;
  line-height:1.6;
}

.chat-card{
  min-height:760px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.chat-header{
  padding:30px 34px;
  background:
    radial-gradient(circle at 20% 0%,rgba(212,165,44,.22),transparent 32%),
    linear-gradient(135deg,var(--navy),var(--navy2));
  color:white;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
}

.chat-header span{
  display:inline-flex;
  color:#86EFAC;
  font-weight:900;
  font-size:13px;
  margin-bottom:6px;
}

.chat-header h1{
  font-size:32px;
  letter-spacing:-.6px;
}

.chat-header p{
  color:#DCE7F5;
  margin-top:4px;
}

.ai-status{
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:10px 13px;
  font-size:13px;
  font-weight:900;
}

.ai-status i{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#22C55E;
  box-shadow:0 0 0 6px rgba(34,197,94,.16);
}

.welcome-screen{
  flex:1;
  min-height:560px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:60px 34px;
  background:
    radial-gradient(circle at 50% 10%,rgba(212,165,44,.2),transparent 32%),
    linear-gradient(180deg,#FFFFFF,#F8FAFC);
}

.welcome-icon{
  width:108px;
  height:108px;
  border-radius:34px;
  display:grid;
  place-items:center;
  font-size:50px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  box-shadow:0 24px 60px rgba(212,165,44,.36);
  margin-bottom:24px;
}

.welcome-screen h2{
  color:var(--navy);
  font-size:46px;
  letter-spacing:-1px;
  margin-bottom:14px;
}

.welcome-screen p{
  max-width:620px;
  color:var(--muted);
  font-size:18px;
  line-height:1.75;
  margin-bottom:28px;
}

.start-btn{
  border:none;
  cursor:pointer;
  padding:18px 34px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:var(--navy);
  font-size:17px;
  font-weight:900;
  box-shadow:0 16px 35px rgba(212,165,44,.28);
  transition:.25s;
  margin-bottom:14px;
}

.start-btn:hover{
  transform:translateY(-3px);
}

.welcome-screen small{
  color:var(--muted);
}

.chat-window{
  display:none;
  flex:1;
  flex-direction:column;
  gap:12px;
  padding:30px 34px;
  max-height:610px;
  overflow-y:auto;
  background:
    radial-gradient(circle at 18% 22%,rgba(212,165,44,.1),transparent 26%),
    radial-gradient(circle at 85% 70%,rgba(11,45,92,.08),transparent 30%),
    linear-gradient(180deg,#FFFFFF,#F8FAFC);
}

.message{
  max-width:68%;
  width:fit-content;
  padding:12px 16px;
  border-radius:18px;
  font-size:14.5px;
  line-height:1.55;
  box-shadow:0 8px 20px rgba(6,27,58,.06);
  animation:msgIn .22s ease;
}

@keyframes msgIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

.message.bot{
  align-self:flex-start;
  margin-right:auto;
  background:#fff;
  border:1px solid #E8EDF5;
  color:#162132;
  border-bottom-left-radius:6px;
}

.message.bot::before{
  content:"AI";
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  margin-right:6px;
  border-radius:7px;
  background:linear-gradient(135deg,var(--navy),var(--navy2));
  color:var(--gold);
  font-size:9px;
  font-weight:900;
  vertical-align:middle;
}

.message.user{
  align-self:flex-end;
  margin-left:auto;
  background:#EEF2F8;
  border:1px solid #DCE6F3;
  color:var(--navy);
  font-weight:700;
  border-bottom-right-radius:6px;
}

.message.typing{
  align-self:flex-start;
  width:64px;
  padding:12px 14px;
  display:flex;
  gap:6px;
}

.message.typing span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#94A3B8;
  animation:typing 1s infinite;
}

.message.typing span:nth-child(2){animation-delay:.15s}
.message.typing span:nth-child(3){animation-delay:.3s}

@keyframes typing{
  0%,80%,100%{opacity:.35;transform:translateY(0)}
  40%{opacity:1;transform:translateY(-4px)}
}

.choice-area{
  display:none;
  flex-wrap:wrap;
  gap:10px;
  padding:16px 34px 8px;
  background:#F8FAFC;
  border-top:1px solid rgba(226,232,240,.8);
}

.choice-btn{
  border:1.5px solid #E4EAF3;
  background:#fff;
  color:var(--navy);
  padding:12px 16px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
  box-shadow:0 8px 22px rgba(6,27,58,.05);
  transition:.2s;
}

.choice-btn:hover{
  transform:translateY(-2px);
  border-color:var(--gold);
  background:rgba(212,165,44,.1);
}

.input-area{
  display:none;
  gap:12px;
  padding:22px 34px 32px;
  background:#F8FAFC;
  border-top:1px solid rgba(226,232,240,.8);
}

.input-area input{
  flex:1;
  height:56px;
  border:1.5px solid #E4EAF3;
  border-radius:18px;
  padding:0 18px;
  font-size:16px;
  outline:none;
}

.input-area input:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(212,165,44,.12);
}

.input-area button{
  border:none;
  cursor:pointer;
  min-width:140px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:var(--navy);
  font-weight:900;
}

.report-section{
  display:none;
  padding:80px 0;
}

.report-section.active{
  display:block;
}

.report-container{
  width:min(1180px,92%);
  margin:0 auto;
}

.report-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 42px;
}

.report-head span{
  display:inline-flex;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(212,165,44,.14);
  color:var(--navy);
  font-weight:900;
  margin-bottom:16px;
}

.report-head h2{
  color:var(--navy);
  font-size:46px;
  letter-spacing:-1px;
  margin-bottom:12px;
}

.report-head p{
  color:var(--muted);
}

.report-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.report-card{
  background:white;
  border:1px solid var(--border);
  border-radius:28px;
  padding:26px;
  box-shadow:var(--shadow);
}

.report-card .match{
  display:inline-flex;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:var(--navy);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  margin-bottom:18px;
}

.report-card h3{
  color:var(--navy);
  font-size:28px;
  margin-bottom:8px;
}

.report-card p{
  color:var(--muted);
  line-height:1.6;
  margin-bottom:16px;
}

.report-card ul{
  list-style:none;
  display:grid;
  gap:8px;
  color:#334155;
}

.report-card li::before{
  content:"✓ ";
  color:var(--gold);
  font-weight:900;
}

.paid-plan{
  margin-top:40px;
  padding:40px;
  background:linear-gradient(135deg,var(--navy),var(--navy2));
  color:white;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:34px;
  align-items:center;
}

.paid-plan h2{
  font-size:34px;
  margin-bottom:12px;
}

.paid-plan h2 span{
  color:var(--gold);
}

.paid-plan p{
  color:#DCE7F5;
  line-height:1.7;
}

.plan-form{
  background:#fff;
  border-radius:24px;
  padding:28px;
  display:grid;
  gap:12px;
}

.plan-form input{
  width:100%;
  padding:15px;
  border:1.5px solid var(--border);
  border-radius:14px;
  font-size:15px;
}

.plan-form button{
  border:none;
  cursor:pointer;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:var(--navy);
  padding:16px;
  border-radius:14px;
  font-weight:900;
}

@media(max-width:1050px){
  .advisor-shell{
    grid-template-columns:1fr;
  }

  .report-grid,
  .paid-plan{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .advisor-topbar{
    top:10px;
    height:auto;
    padding:14px;
  }

  .back-link{
    font-size:13px;
    padding:8px 10px;
  }

  .advisor-shell{
    padding:100px 4% 44px;
  }

  .chat-card{
    min-height:680px;
    border-radius:26px;
  }

  .chat-header{
    padding:24px;
    flex-direction:column;
    align-items:flex-start;
  }

  .welcome-screen{
    padding:44px 24px;
    min-height:500px;
  }

  .welcome-screen h2{
    font-size:34px;
  }

  .chat-window{
    padding:22px;
  }

  .message{
    max-width:88%;
    font-size:14px;
  }

  .choice-area{
    padding:14px 22px 8px;
  }

  .input-area{
    padding:18px 22px 26px;
    flex-direction:column;
  }

  .input-area button{
    min-height:52px;
  }

  .report-head h2{
    font-size:34px;
  }

  .paid-plan{
    padding:28px;
  }
}