:root{
  --ink:#14181F;
  --paper:#F7F5F1;
  --paper-dim:#EFEBE3;
  --amber:#E8934A;
  --teal:#1F5F5B;
  --slate:#5B6472;
  --line:#DCD7CD;
  --line-dark:#2A303A;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; overflow-x:hidden;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Newsreader', serif;
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.mono{font-family:'IBM Plex Mono', monospace;}
.display{font-family:'Space Grotesk', sans-serif;}
a{color:inherit;}
img{max-width:100%;}

/* language toggling */
.en { display: none; }
.ru { display: none; }
.en-block { display: none; }
.ru-block { display: none; }
.tr-block { display: block; }

body.lang-en .tr { display: none; }
body.lang-en .ru { display: none; }
body.lang-en .en { display: inline; }
body.lang-en .tr-block { display: none; }
body.lang-en .ru-block { display: none; }
body.lang-en .en-block { display: block; }

body.lang-ru .tr { display: none; }
body.lang-ru .en { display: none; }
body.lang-ru .ru { display: inline; }
body.lang-ru .tr-block { display: none; }
body.lang-ru .en-block { display: none; }
body.lang-ru .ru-block { display: block; }

.wrap{max-width:1080px; margin:0 auto; padding:0 28px;}

/* NAV */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,245,241,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
nav.wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-title{
  font-family:'Space Grotesk', sans-serif;
  font-weight:700;
  font-size:20px;
  color:var(--ink);
  letter-spacing:-0.01em;
}
.brand-subtitle{
  font-family:'IBM Plex Mono', monospace;
  font-size:9.5px;
  font-weight:500;
  color:var(--slate);
  letter-spacing:0.18em;
  margin-top:2px;
}
.brand-logo{
  display:block;
  fill:none;
  stroke-linecap:round;
  stroke-width:10px;
}
.navlinks{display:flex; gap:26px; align-items:center;}
.navlinks a{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px; letter-spacing:0.02em; text-transform:uppercase;
  text-decoration:none; color:var(--slate);
  transition:color .15s ease;
}
.navlinks a:hover{color:var(--ink);}
.langtoggle{
  display:flex; border:1px solid var(--ink); border-radius:20px; overflow:hidden;
  font-family:'IBM Plex Mono', monospace; font-size:12px; font-weight:500;
}
.langtoggle button{
  background:none; border:none; padding:6px 13px; cursor:pointer;
  color:var(--ink); font-family:inherit; font-size:inherit;
}
.langtoggle button.active{background:var(--ink); color:var(--paper);}
@media(max-width:720px) {
  .langtoggle {
    margin-left: auto;
    margin-right: 16px;
    z-index: 100;
  }
  
  /* Menu Toggle Button (Hamburger) */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  /* Hamburger morphing animations */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Slide-out mobile menu overlay */
  .navlinks {
    display: flex !important; /* Override display: none */
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(247, 245, 241, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 90;
    visibility: hidden;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  }
  .navlinks.active {
    right: 0;
    visibility: visible;
  }
  .navlinks a {
    font-size: 20px;
    color: var(--ink);
  }
}

/* Scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}
@media(min-width: 721px) {
  .menu-toggle {
    display: none;
  }
  body.menu-open {
    overflow: auto;
  }
}


/* HERO */
.hero{padding:76px 0 60px; border-bottom:1px solid var(--line);}
.status-pill{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.03em;
  text-transform:uppercase; color:var(--teal);
  border:1px solid var(--teal); border-radius:20px; padding:5px 13px;
  margin-bottom:26px;
}
.status-dot{width:7px; height:7px; border-radius:50%; background:var(--teal); animation:pulse 2.4s infinite;}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:.35;}}
@media(prefers-reduced-motion:reduce){ .status-dot{animation:none;} }
h1.display{
  font-size:clamp(40px,7vw,64px);
  font-weight:700; letter-spacing:-0.02em; line-height:1.02;
}
.hero-role{
  font-family:'Newsreader', serif; font-style:italic; font-weight:500;
  font-size:clamp(19px,3vw,24px); color:var(--slate); margin-top:14px;
}
.hero-copy{max-width:600px; margin-top:24px; font-size:18px; color:#3A3F47;}
.hero-cta{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap;}
.btn{
  font-family:'IBM Plex Mono',monospace; font-size:13px; text-decoration:none;
  padding:12px 22px; border-radius:2px; display:inline-block;
  transition:transform .15s ease, background .15s ease;
}
.btn-solid{background:var(--ink); color:var(--paper);}
.btn-solid:hover{background:var(--teal);}
.btn-outline{border:1px solid var(--ink); color:var(--ink);}
.btn-outline:hover{background:var(--ink); color:var(--paper);}

/* SECTION LABELS */
section{padding:64px 0; border-bottom:1px solid var(--line);}
.eyebrow{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--amber); margin-bottom:12px; display:block;
}
h2.display{font-size:clamp(26px,4vw,34px); font-weight:600; letter-spacing:-0.01em; max-width:640px;}

/* ABOUT */
.about-body{margin-top:22px; max-width:660px; font-size:17.5px; color:#3A3F47;}
.about-body p{margin-bottom:16px;}

/* LOOP / SIGNATURE */
.loop-wrap{margin-top:48px;}
.loop-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:8px; position:relative; padding-top:52px;
}
.loop-node{
  flex:1; text-align:center; position:relative;
}
.loop-node .n{
  width:66px; height:66px; border-radius:50%;
  border:1.5px solid var(--ink); background:var(--paper);
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px;
  margin:0 auto 12px; position:relative; z-index:2;
  transition:background .2s ease, color .2s ease;
}
.loop-node:hover .n{background:var(--amber); color:var(--paper); border-color:var(--amber);}
.loop-label{font-family:'IBM Plex Mono',monospace; font-size:12px; text-transform:uppercase; letter-spacing:.03em;}
.loop-desc{font-size:13.5px; color:var(--slate); margin-top:6px; max-width:150px; margin-left:auto; margin-right:auto;}
.loop-arrow{color:var(--line); font-size:20px; padding:0 2px; align-self:flex-start; margin-top:20px;}
.loop-return{
  position:absolute; top:-4px; left:0; right:0; height:50px;
  stroke:var(--amber); fill:none; stroke-width:1.5;
  display:block;
}
@media(max-width:760px){
  .loop-row{flex-direction:column; align-items:stretch; padding-top:0;}
  .loop-node{display:flex; align-items:center; gap:14px; text-align:left; margin-bottom:22px;}
  .loop-node .n{margin:0;}
  .loop-desc{margin:0; max-width:none;}
  .loop-arrow{display:none;}
  .loop-return{display:none;}
}

/* SERVICES */
.services-grid{margin-top:40px; display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line);}
.service-card{background:var(--paper); padding:32px 26px;}
.service-tag{
  font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--teal);
  text-transform:uppercase; letter-spacing:.05em; display:block; margin-bottom:16px;
}
.service-card h3{
  font-family:'Space Grotesk',sans-serif; font-size:19px; font-weight:600; margin-bottom:10px;
}
.service-card p{font-size:15px; color:var(--slate);}
.pricing-grid {display:grid; grid-template-columns:repeat(2, 1fr); gap:24px;}
@media(max-width:760px){ 
  .services-grid{grid-template-columns:1fr;} 
  .pricing-grid{grid-template-columns:1fr;}
}

/* EXPERIENCE */
.tl{margin-top:40px; border-left:1px solid var(--line); padding-left:26px;}
.tl-item{position:relative; padding-bottom:34px;}
.tl-item:last-child{padding-bottom:0;}
.tl-item::before{
  content:''; position:absolute; left:-31px; top:5px;
  width:9px; height:9px; border-radius:50%; background:var(--ink);
}
.tl-date{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--amber); text-transform:uppercase;}
.tl-item h3{font-family:'Space Grotesk',sans-serif; font-size:18px; font-weight:600; margin-top:6px;}
.tl-item .tl-role{color:var(--slate); font-style:italic; font-size:15px; margin-top:2px;}
.tl-item p.desc{margin-top:8px; font-size:15px; color:#3A3F47; max-width:560px;}

/* WRITING */
.writing-grid{margin-top:36px; display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.wcard{border:1px solid var(--line); padding:22px; background:var(--paper-dim);}
.wtag{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--slate);
  text-transform:uppercase; letter-spacing:.04em; border:1px solid var(--line);
  display:inline-block; padding:3px 8px; border-radius:12px; margin-bottom:14px;
}
.wcard h3{font-family:'Space Grotesk',sans-serif; font-size:16.5px; font-weight:600; margin-bottom:8px;}
.wcard p{font-size:14px; color:var(--slate); font-style:italic;}
@media(max-width:760px){ .writing-grid{grid-template-columns:1fr;} }

/* CONTACT */
.contact{background:var(--ink); color:var(--paper); border-bottom:none;}
.contact h2.display{color:var(--paper);}
.contact-copy{color:#B8BEC8; max-width:520px; margin-top:16px; font-size:17px;}
.contact-links{margin-top:30px; display:flex; gap:16px; flex-wrap:wrap;}
.contact-links a{
  font-family:'IBM Plex Mono',monospace; font-size:13px;
  border:1px solid #3A414D; padding:12px 20px; text-decoration:none; color:var(--paper);
  transition:background .15s ease, border-color .15s ease;
}
.contact-links a:hover{background:#1F262F; border-color:var(--amber);}

footer{padding:26px 0; text-align:center;}
footer p{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--slate);}

/* ==========================================================================
   NEW INTERACTIVE MODULES STYLING
   ========================================================================== */

/* Chatbot (Saule Skeleton) */
.chatbot-section {
  background: var(--paper-dim);
}
.chatbot-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  margin-top: 40px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  height: 550px;
  box-shadow: 0 4px 20px rgba(20, 24, 31, 0.05);
}
.chat-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1.5px solid var(--line);
  overflow: hidden;
}
.chat-header {
  padding: 16px 24px;
  border-bottom: 1.5px solid var(--line);
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.chat-status-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}
.chat-messages {
  flex: 1;
  min-height: 0; /* Flexbox shrink overflow fix */
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--paper);
}
.chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--slate);
}
.chat-bubble {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
  animation: fadeInSlideUp 0.3s ease forwards;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: var(--paper-dim);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 0;
}
.chat-bubble.bot.typing {
  color: var(--slate);
  font-style: italic;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper);
  border-bottom-right-radius: 0;
}
.chat-input-area {
  padding: 16px 24px;
  border-top: 1.5px solid var(--line);
  background: var(--paper-dim);
  display: none; /* Hidden initially */
  gap: 12px;
  animation: fadeInSlideUp 0.3s ease forwards;
}
.chat-input {
  flex: 1;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  border-radius: 2px;
  color: var(--ink);
}
.chat-input::placeholder {
  color: var(--slate);
  opacity: 0.7;
}
.chat-send-btn {
  background: var(--ink);
  color: var(--paper);
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 24px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.chat-send-btn:hover {
  background: var(--teal);
}
.chat-send-btn:active {
  transform: scale(0.98);
}
.chat-sidebar {
  padding: 24px;
  background: var(--paper-dim);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  overflow-x: hidden;
}
.chat-sidebar::-webkit-scrollbar {
  width: 6px;
}
.chat-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.chat-sidebar::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.chat-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--slate);
}
.chat-sidebar h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.chat-quick-question {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
  font-family: inherit;
  width: 100%;
}
.chat-quick-question:hover {
  border-color: var(--amber);
  background: var(--paper-dim);
  transform: translateX(2px);
}

/* Quiz (CX Assessment) */
.quiz-section {
  background: var(--paper);
}
.quiz-wrapper {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--paper-dim);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(20, 24, 31, 0.03);
}
.quiz-progress-container {
  margin-bottom: 30px;
}
.quiz-progress-info {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.quiz-progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--teal);
  width: 0%;
  transition: width 0.3s ease;
}
.quiz-card {
  min-height: 250px;
}
.quiz-question {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.4;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-option {
  background: var(--paper);
  border: 1.5px solid var(--line);
  padding: 16px 20px;
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  transition: all 0.2s ease;
  color: var(--ink);
  outline: none;
  width: 100%;
}
.quiz-option:hover {
  border-color: var(--ink);
  background: var(--paper-dim);
  transform: translateY(-1px);
}
.quiz-option.selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.quiz-results {
  text-align: center;
  animation: fadeIn 0.4s ease forwards;
}
.quiz-badge {
  display: inline-flex;
  background: var(--teal);
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.quiz-score-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}
.quiz-score-desc {
  font-size: 16.5px;
  color: var(--slate);
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.quiz-recommendations {
  text-align: left;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 28px;
  border-radius: 4px;
  margin-bottom: 32px;
}
.quiz-recommendations h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-bottom: 16px;
}
.quiz-recommendation-item {
  font-size: 14.5px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}
.quiz-recommendation-item::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}
.quiz-recommendation-item:last-child {
  margin-bottom: 0;
}

/* Turkey Radar */
.radar-section {
  background: var(--paper-dim);
}
.radar-container {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}
.radar-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.radar-sector-btn {
  background: var(--paper);
  border: 1.5px solid var(--line);
  padding: 16px 20px;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
  color: var(--ink);
  width: 100%;
}
.radar-sector-btn:hover {
  border-color: var(--ink);
}
.radar-sector-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.radar-meter-box {
  margin-top: 16px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 20px;
  border-radius: 4px;
}
.radar-meter-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  display: block;
}
.radar-meter-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
}
.radar-content {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20, 24, 31, 0.03);
}
.radar-item {
  border-bottom: 1.5px solid var(--line);
}
.radar-item:last-child {
  border-bottom: none;
}
.radar-header {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}
.radar-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.radar-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--slate);
}
.radar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
}
.radar-icon {
  font-size: 18px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--slate);
  transition: transform 0.2s ease;
}
.radar-item.active .radar-icon {
  transform: rotate(90deg);
  color: var(--amber);
}
.radar-desc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--paper-dim);
}
.radar-desc-content {
  padding: 24px 32px 32px 54px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.radar-desc-content p {
  margin-bottom: 12px;
}
.radar-desc-content p:last-child {
  margin-bottom: 0;
}
.radar-tip-box {
  margin-top: 16px;
  background: var(--paper);
  border-left: 3px solid var(--teal);
  padding: 12px 18px;
  font-size: 14px;
  font-style: italic;
}

/* Case Simulator */
.sim-section {
  background: var(--paper);
}
.sim-wrapper {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sim-left {
  background: var(--paper-dim);
  border: 1.5px solid var(--ink);
  padding: 32px;
  border-radius: 4px;
}
.sim-scenarios-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 12px;
}
.sim-nav-btn {
  background: none;
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--slate);
  transition: color 0.15s ease;
  outline: none;
}
.sim-nav-btn.active {
  color: var(--ink);
  font-weight: 600;
}
.sim-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.sim-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}
.sim-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
}
.sim-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sim-opt-btn {
  background: var(--paper);
  border: 1.5px solid var(--line);
  padding: 14px 18px;
  border-radius: 2px;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink);
  outline: none;
  line-height: 1.4;
  width: 100%;
}
.sim-opt-btn:hover {
  border-color: var(--ink);
}
.sim-opt-btn.selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.sim-right {
  position: sticky;
  top: 100px;
  background: var(--paper-dim);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 32px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.sim-right.active {
  align-items: stretch;
  text-align: left;
}
.sim-placeholder-icon {
  font-size: 32px;
  color: var(--line);
  margin-bottom: 16px;
  font-family: 'IBM Plex Mono', monospace;
}
.sim-placeholder-text {
  font-size: 14.5px;
  color: var(--slate);
  max-width: 280px;
  font-style: italic;
}
.sim-feedback-badge {
  display: inline-flex;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.sim-feedback-badge.success {
  background: var(--teal);
  color: var(--paper);
}
.sim-feedback-badge.warning {
  background: var(--amber);
  color: var(--paper);
}
.sim-feedback-badge.danger {
  background: #c2410c;
  color: var(--paper);
}
.sim-feedback-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.sim-feedback-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
}
.sim-insight-box {
  background: var(--paper);
  border-top: 2px solid var(--ink);
  padding: 18px;
  border-radius: 2px;
}
.sim-insight-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  font-weight: 600;
}
.sim-insight-body {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.5;
}

/* CV Link */
.cv-dl-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Fade Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Grid Adjustments */
@media(max-width: 900px) {
  .chatbot-container {
    display: flex;
    flex-direction: column;
    height: 550px;
  }
  .chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: auto;
    border-bottom: none;
  }
  .chat-sidebar {
    order: -1;
    height: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    border-bottom: 1.5px solid var(--line);
    background: var(--paper-dim);
    -webkit-overflow-scrolling: touch;
  }
  @media (pointer: coarse) {
    .chat-sidebar::-webkit-scrollbar {
      display: none;
    }
  }
  @media (pointer: fine) {
    .chat-sidebar::-webkit-scrollbar {
      height: 4px;
    }
    .chat-sidebar::-webkit-scrollbar-track {
      background: var(--paper-dim);
    }
    .chat-sidebar::-webkit-scrollbar-thumb {
      background: var(--line);
      border-radius: 2px;
    }
    .chat-sidebar::-webkit-scrollbar-thumb:hover {
      background: var(--slate);
    }
  }
  .chat-sidebar h4 {
    display: none;
  }
  .chat-quick-question {
    display: inline-block;
    width: auto;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 20px;
    margin: 0;
    white-space: nowrap;
  }
  .chat-quick-question:hover {
    transform: none;
  }
  .radar-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sim-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sim-right {
    position: static;
    min-height: auto;
  }
}

/* Blog override for Russian - show English */
body.lang-ru .article-container .ru, body.lang-ru .wcard .ru, body.lang-ru .article-header .ru { display: none; }
body.lang-ru .article-container .en, body.lang-ru .wcard .en, body.lang-ru .article-header .en { display: inline; }
body.lang-ru .article-container .ru-block, body.lang-ru .wcard .ru-block, body.lang-ru .article-header .ru-block { display: none; }
body.lang-ru .article-container .en-block, body.lang-ru .wcard .en-block, body.lang-ru .article-header .en-block { display: block; }

