.nav{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.65);
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  max-width: 920px;
  margin: 0 auto;
  padding: 14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand{
  font-family: var(--serif);
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
}

.nav-links a{
  color: var(--muted);
  margin-left: 14px;
  font-size: .95rem;
}
.nav-links a:hover{
  color: var(--fg);
}

.title{
  font-family: var(--serif);
  font-size: 3.2rem;
  letter-spacing: 1.2px;
}
.sub{ margin-top: 12px; }

.section-title{
  font-family: var(--serif);
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 1.55rem;
  margin-bottom: 18px;
}

.lines p{
  margin: 6px 0;
}

.card{
  border: 1px solid var(--line);
  padding: 18px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: #2a2a2a;
}
.card-title{
  font-weight: 600;
  letter-spacing: .6px;
}
.card-sub{
  margin-top: 6px;
  font-size: .95rem;
}

.btn{
  display:inline-block;
  padding: 10px 14px;
  border: 1px solid #2a2a2a;
  margin-right: 10px;
  color: var(--fg);
  transition: border-color .18s ease, transform .18s ease;
}
.btn:hover{
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn.ghost{
  color: var(--muted);
}

.hero-actions{ margin-top: 22px; }

.system-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}
.system-title{
  font-family: var(--serif);
  letter-spacing: 1px;
  font-size: 1.6rem;
  margin-right: 10px;
}

.tag{
  font-size: .8rem;
  border: 1px solid var(--line);
  padding: 3px 8px;
  color: var(--muted);
}

.chips{ display:flex; flex-wrap:wrap; gap: 10px; }
.chip{
  border: 1px solid var(--line);
  padding: 8px 10px;
  color: var(--muted);
  font-size: .95rem;
}

.footer{
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 24px 0;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
  padding: 0 22px;
}
/* NAV EXPERIENCE */

.nav{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(12px);
  transition: background .25s ease, border-color .25s ease;
}

.nav.scrolled{
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid var(--line);
}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background: var(--fg);
  margin:5px 0;
}

.nav-links{
  display:flex;
  gap: 22px;
}

.nav-links a{
  position: relative;
  color: var(--muted);
  font-size:.95rem;
  padding: 6px 0;
  transition: color .2s ease;
}

/* underline signal */
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:1px;
  background: var(--accent);
  transition: width .25s ease;
}

.nav-links a:hover{
  color: var(--fg);
}

.nav-links a:hover::after,
.nav-links a.active::after{
  width:100%;
}

.nav-links a.active{
  color: var(--fg);
}

/* MOBILE */
@media (max-width: 760px){
  .nav-toggle{ display:block; }

  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#000;
    border-top:1px solid var(--line);
    flex-direction:column;
    padding: 18px 22px;
    display:none;
  }

  .nav-links.open{
    display:flex;
  }
}

/* HERO PORTRAIT */

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items:center;
}

.hero-copy{ max-width: 640px; }

.hero-visual{
  position: relative;
  width: 100%;
  max-width: 340px;
  justify-self: end;
}

.portrait{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: contrast(1.05) saturate(.9);
  transform: translateZ(0);
}

.portrait-frame{
  pointer-events:none;
  position:absolute;
  inset:-10px;
  border: 1px solid #141414;
}

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ justify-self: start; max-width: 320px; margin-top: 18px; }
}

/* SYSTEMS GRID */

.systems-grid{
  display:grid;
  gap: 18px;
}

.system-card{
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.system-card:hover{
  transform: translateY(-2px);
  border-color: #2a2a2a;
  background: rgba(0,0,0,.55);
}

.system-top{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  align-items:flex-start;
  flex-wrap:wrap;
}

.system-kicker{ margin-top: 6px; }

.system-signal{
  margin-top: 14px;
  color: var(--fg);
  letter-spacing: .2px;
  font-weight: 500;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  justify-content:flex-end;
}

.tri-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tri{
  border: 1px solid var(--line);
  padding: 14px;
}

.tri-title{
  font-family: var(--serif);
  letter-spacing: 1px;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.tri-list{
  list-style: none;
  padding-left: 0;
  color: var(--muted);
  font-size: .95rem;
}

.tri-list li{
  margin: 8px 0;
  position: relative;
  padding-left: 14px;
}

.tri-list li::before{
  content: "—";
  position: absolute;
  left: 0;
  color: #6f6f6f;
}

@media (max-width: 920px){
  .tri-grid{ grid-template-columns: 1fr; }
  .tags{ justify-content:flex-start; }
}

/* PRINT / PDF */

@media print{
  body{ background:#fff; color:#111; }
  .nav, .footer{ display:none !important; }
  .system-card{
    background: #fff;
    border-color: #ddd;
    break-inside: avoid;
  }
  .tri{ border-color:#e5e5e5; }
  .muted{ color:#333; }
}

/* GALLERY */

.gallery{
  margin-top: 18px;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(0,0,0,.25);
}

.shot{
  display:block;
  border: 1px solid var(--line);
  overflow:hidden;
}

.shot img{
  width:100%;
  display:block;
  transform: scale(1);
  transition: transform .25s ease, filter .25s ease;
  filter: contrast(1.02) saturate(.95);
}

.system-card:hover .shot img{
  transform: scale(1.01);
}

.thumbs{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.thumb{
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  width: 120px;
  cursor:pointer;
  opacity: .7;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.thumb img{
  width:100%;
  display:block;
}

.thumb:hover{
  opacity: 1;
  transform: translateY(-1px);
  border-color: #2a2a2a;
}

.thumb.active{
  opacity: 1;
  border-color: var(--accent);
}

/* FOOTER SOCIALS */

.footer-links{
  display:flex;
  gap: 18px;
  align-items:center;
}

.footer-links a{
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .4px;
  position: relative;
  transition: color .18s ease;
}

.footer-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:1px;
  background: var(--accent);
  transition: width .22s ease;
}

.footer-links a:hover{
  color: var(--fg);
}

.footer-links a:hover::after{
  width:100%;
}

/* mobile */
@media (max-width: 620px){
  .footer-inner{
    flex-direction:column;
    gap: 10px;
    align-items:flex-start;
  }
}

/* BOOKS SHOWCASE */

.books-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.book-card{
  border: 1px solid var(--line);
  background: rgba(0,0,0,.35);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

.book-card:hover{
  transform: translateY(-4px);
  border-color: #2a2a2a;
  background: rgba(0,0,0,.55);
}

.book-card:hover .book-spine{
  background: linear-gradient(135deg, var(--accent) 0%, #b39d5f 100%);
}

.book-cover{
  position: relative;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.3) 100%);
  transform-style: preserve-3d;
}

.book-image-container{
  position: relative;
  width: 100%;
  height: 380px;
  margin-bottom: 16px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 
    0 2px 8px rgba(0,0,0,.2),
    inset -2px 0 4px rgba(0,0,0,.3),
    inset 2px 0 4px rgba(255,255,255,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  transform: rotateY(0deg);
}

.book-cover-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease, filter .4s ease;
  filter: contrast(1.02) saturate(1.05);
}

.book-image-overlay{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0,0,0,0.1) 0%, 
    transparent 30%, 
    transparent 70%, 
    rgba(0,0,0,0.2) 100%
  );
  pointer-events: none;
  opacity: 1;
}

.book-spine{
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(90deg, #3a3a3a 0%, #2a2a2a 50%, #3a3a3a 100%);
  transition: background .25s ease;
  box-shadow: 
    inset 1px 0 2px rgba(0,0,0,.4),
    inset -1px 0 2px rgba(255,255,255,0.05);
}

.book-spine::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(199, 178, 124, 0.3) 0%, 
    transparent 50%, 
    rgba(199, 178, 124, 0.3) 100%
  );
}

.book-card:hover .book-image-container{
  transform: translateY(-6px) rotateY(2deg);
  box-shadow: 
    0 8px 24px rgba(0,0,0,.4),
    0 0 0 1px rgba(199, 178, 124, 0.2),
    inset -2px 0 6px rgba(0,0,0,.4),
    inset 2px 0 6px rgba(255,255,255,0.08);
}

.book-card:hover .book-cover-image{
  transform: scale(1.02);
  filter: contrast(1.05) saturate(1.1);
}

.book-title{
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.book-sub{
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .4px;
}

.book-content{
  padding: 20px 24px;
}

.book-content h3{
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .8px;
  margin-bottom: 12px;
  color: var(--fg);
}

.book-desc{
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: .95rem;
}

.book-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.book-tag{
  font-size: .8rem;
  border: 1px solid var(--line);
  padding: 4px 10px;
  color: var(--muted);
  background: rgba(0,0,0,.2);
  transition: border-color .2s ease, color .2s ease;
}

.book-card:hover .book-tag{
  border-color: var(--accent);
  color: var(--accent);
}

.book-link{
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .4px;
  font-size: .95rem;
  transition: transform .2s ease, color .2s ease;
}

.book-link:hover{
  transform: translateX(4px);
  color: #d4c08a;
}

/* PROTOCOL GRID */

.protocol-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.protocol-card{
  border: 1px solid var(--line);
  padding: 20px;
  display:flex;
  align-items:flex-start;
  gap: 16px;
  background: rgba(0,0,0,.25);
  transition: transform .2s ease, border-color .2s ease;
}

.protocol-card:hover{
  transform: translateY(-2px);
  border-color: #2a2a2a;
}

.protocol-number{
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: .7;
  line-height: 1;
  min-width: 40px;
}

.protocol-content h4{
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: .6px;
  margin-bottom: 6px;
  color: var(--fg);
}

/* BOOK CATEGORY FILTERS */

.category-filters{
  display:flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap:wrap;
}

.category-filter{
  border: 1px solid var(--line);
  padding: 8px 16px;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
  font-size: .9rem;
  letter-spacing: .4px;
}

.category-filter:hover,
.category-filter.active{
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(199, 178, 124, .1);
}

/* Responsive adjustments */
@media (max-width: 768px){
  .books-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .protocol-grid{
    grid-template-columns: 1fr;
  }
  
  .book-title{
    font-size: 1.2rem;
  }
  
  .protocol-number{
    font-size: 1.6rem;
  }
  
  .book-image-container{
    height: 320px;
  }
  
  .book-cover{
    padding: 18px;
  }
  
  .bundle-header{
    flex-direction:column;
    align-items:flex-start;
  }
  
  .bundle-bonuses{
    grid-template-columns: 1fr;
  }
  
  .bundle-price-amount{
    font-size: 1.8rem;
  }
}

@media (max-width: 480px){
  .book-image-container{
    height: 280px;
  }
  
  .book-title{
    font-size: 1.1rem;
  }
  
  .book-sub{
    font-size: .85rem;
  }
  
  .book-content{
    padding: 16px 18px;
  }
  
  .book-content h3{
    font-size: 1.1rem;
  }
  
  .book-desc{
    font-size: .9rem;
  }
  
  .book-spine{
    width: 4px;
  }
}

/* Book card animations */
@keyframes bookSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.book-card{
  animation: bookSlideIn .6s ease forwards;
}

.book-card:nth-child(1) { animation-delay: 0.1s; }
.book-card:nth-child(2) { animation-delay: 0.2s; }
.book-card:nth-child(3) { animation-delay: 0.3s; }
.book-card:nth-child(4) { animation-delay: 0.4s; }
.book-card:nth-child(5) { animation-delay: 0.5s; }

/* PURCHASE BUTTONS & PRICING */

.price-tag{
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  background: rgba(199, 178, 124, .1);
  margin-left: auto;
}

.book-actions{
  display:flex;
  flex-direction:column;
  gap: 8px;
  margin-top: 16px;
}

.purchase-btn{
  background: linear-gradient(135deg, var(--accent) 0%, #b39d5f 100%);
  border: none;
  padding: 12px 20px;
  color: var(--bg);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .4px;
  cursor: pointer;
  transition: all .25s ease;
  text-transform: uppercase;
}

.purchase-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199, 178, 124, .3);
}

.book-note{
  font-size: .85rem;
  text-align: center;
}

/* BUNDLE DEAL */

.bundle-card{
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, rgba(199, 178, 124, .1) 0%, rgba(0,0,0,.4) 100%);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.bundle-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #d4c08a 50%, var(--accent) 100%);
}

.bundle-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 16px;
  flex-wrap:wrap;
  gap: 16px;
}

.bundle-header h3{
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--accent);
}

.bundle-price{
  display:flex;
  align-items:center;
  gap: 12px;
}

.original-price{
  font-size: 1.2rem;
  color: var(--muted);
  text-decoration: line-through;
}

.bundle-price-amount{
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}

.bundle-desc{
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.bundle-bonuses{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.bonus-item{
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.3);
  color: var(--fg);
  font-size: .95rem;
  transition: border-color .2s ease;
}

.bonus-item:hover{
  border-color: var(--accent);
}

.bundle-btn{
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #b39d5f 100%);
  border: none;
  padding: 16px 24px;
  color: var(--bg);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .6px;
  cursor: pointer;
  transition: all .25s ease;
  text-transform: uppercase;
}

.bundle-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(199, 178, 124, .4);
}

/* AI AGENT INTERFACE */

#alaksimi-agent{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: var(--sans);
}

.agent-trigger{
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,.9);
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .3s ease;
  backdrop-filter: blur(12px);
}

.agent-trigger:hover{
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199, 178, 124, .2);
}

.agent-avatar{
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-ring{
  position: absolute;
  inset: -2px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse 2s infinite;
}

@keyframes pulse{
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.05); }
}

.agent-initial{
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 1px;
}

.agent-status{
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .4px;
}

.agent-panel{
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 420px;
  max-height: 600px;
  background: rgba(0,0,0,.95);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .3s ease;
  overflow: hidden;
}

.agent-panel.active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.agent-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(199, 178, 124, .1) 0%, transparent 100%);
}

.agent-info h3{
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.agent-title{
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .3px;
}

.agent-close{
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  transition: color .2s ease;
}

.agent-close:hover{
  color: var(--fg);
}

.agent-philosophy{
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.philosophy-quote{
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: .95rem;
  text-align: center;
  letter-spacing: .4px;
}

.agent-capabilities{
  padding: 20px;
  border-bottom: 1px solid var(--line);
  max-height: 200px;
  overflow-y: auto;
}

.capability-category{
  margin-bottom: 16px;
}

.capability-category:last-child{
  margin-bottom: 0;
}

.capability-category h4{
  font-family: var(--serif);
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
  letter-spacing: .6px;
}

.capability-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-tag{
  font-size: .75rem;
  border: 1px solid var(--line);
  padding: 3px 8px;
  color: var(--muted);
  background: rgba(0,0,0,.3);
  border-radius: 3px;
  transition: all .2s ease;
}

.cap-tag:hover{
  border-color: var(--accent);
  color: var(--accent);
}

.agent-chat{
  display: flex;
  flex-direction: column;
  height: 240px;
}

.chat-messages{
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  font-size: .9rem;
  line-height: 1.6;
}

.user-message, .agent-message, .system-message{
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 4px;
}

.user-message{
  background: rgba(199, 178, 124, .1);
  border-left: 3px solid var(--accent);
}

.agent-message{
  background: rgba(0,0,0,.3);
  border-left: 3px solid #6b5637;
}

.system-message{
  background: rgba(100, 100, 100, .1);
  border-left: 3px solid #666;
  font-style: italic;
  color: var(--muted);
}

.chat-input-container{
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

#agent-input{
  flex: 1;
  background: rgba(0,0,0,.5);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: .9rem;
  transition: border-color .2s ease;
}

#agent-input:focus{
  outline: none;
  border-color: var(--accent);
}

#agent-send{
  background: var(--accent);
  border: none;
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

#agent-send:hover{
  background: #d4c08a;
  transform: translateY(-1px);
}

.agent-mode{
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.3);
}

.mode-selector{
  display: flex;
  gap: 8px;
}

.mode-btn{
  flex: 1;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s ease;
  font-weight: 500;
  letter-spacing: .3px;
}

.mode-btn:hover{
  border-color: var(--accent);
  color: var(--accent);
}

.mode-btn.active{
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* Mobile responsiveness */
@media (max-width: 768px){
  #alaksimi-agent{
    bottom: 16px;
    right: 16px;
  }
  
  .agent-panel{
    width: calc(100vw - 32px);
    max-width: 380px;
    right: -8px;
  }
  
  .agent-trigger{
    padding: 10px 14px;
  }
  
  .agent-status{
    display: none;
  }
}

@media (max-width: 480px){
  .agent-panel{
    width: calc(100vw - 16px);
    right: -8px;
    bottom: 70px;
  }
  
  .agent-header{
    padding: 16px;
  }
  
  .agent-capabilities{
    max-height: 150px;
  }
  
  .chat-messages{
    height: 180px;
  }
}


