/* ---------------------------------------------
   Tolla interactive demo section
   (scoped custom styles — the rest of the theme's
   CSS is left untouched)
--------------------------------------------- */

.tolla-demo-area {
  position: relative;
}

.tolla-demo-frame-wrap {
  margin-top: 50px;
  border-radius: 16px;
  overflow: hidden;
  background: #0F1115;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
}

.tolla-demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: #16181D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tolla-demo-dots {
  display: flex;
  gap: 6px;
}

.tolla-demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-block;
}

.tolla-demo-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tolla-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.tolla-demo-btn:hover {
  background: var(--theme, #FF6A3A);
  border-color: var(--theme, #FF6A3A);
  color: #fff;
}

.tolla-demo-iframe {
  display: block;
  width: 100%;
  height: 820px;
  border: 0;
  background: #fff;
}

.tolla-demo-note {
  max-width: 680px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .tolla-demo-iframe {
    height: 680px;
  }
}

@media (max-width: 575px) {
  .tolla-demo-frame-wrap {
    border-radius: 10px;
    margin-top: 30px;
  }
  .tolla-demo-iframe {
    height: 560px;
  }
  .tolla-demo-toolbar {
    padding: 10px 14px;
  }
  .tolla-demo-btn span {
    display: none;
  }
}

/* ---------------------------------------------
   WHOAMI / about-the-builder terminal section
--------------------------------------------- */

.whoami-terminal-wrap {
  margin-top: 50px;
  border-radius: 16px;
  overflow: hidden;
  background: #0B0D10;
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.18);
}

.whoami-terminal-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #16181D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.whoami-terminal-dots {
  display: flex;
  gap: 6px;
  flex: none;
}

.whoami-terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-block;
}

.whoami-terminal-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 auto;
}

.whoami-terminal-body {
  padding: 28px 26px 34px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14.5px;
  line-height: 1.75;
}

.whoami-line {
  margin: 22px 0 6px;
  color: #E8E8E8;
}

.whoami-line:first-child {
  margin-top: 0;
}

.whoami-prompt {
  color: var(--theme, #FF6A3A);
}

.whoami-path {
  color: #6FA8FF;
  margin-right: 8px;
}

.whoami-output {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 760px;
}

.whoami-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: rgba(255, 255, 255, 0.72);
  margin-left: 4px;
  vertical-align: middle;
  animation: whoami-blink 1s step-end infinite;
}

@keyframes whoami-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@media (max-width: 575px) {
  .whoami-terminal-body {
    padding: 20px 16px 26px;
    font-size: 13px;
  }
  .whoami-terminal-title {
    display: none;
  }
}

.whoami-link {
  color: var(--theme, #FF6A3A);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.whoami-link:hover {
  color: #fff;
}

/* ---------------------------------------------
   Contact section
--------------------------------------------- */

.tolla-contact-cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tolla-contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.tolla-contact-card:hover {
  border-color: var(--theme, #FF6A3A);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
}

.tolla-contact-icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme, #FF6A3A);
  color: #fff;
  font-size: 20px;
}

.tolla-contact-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tolla-contact-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
}

.tolla-contact-value {
  font-size: 17px;
  font-weight: 500;
  color: var(--primary);
  overflow-wrap: anywhere;
}

.tolla-contact-arrow {
  margin-left: auto;
  flex: none;
  color: var(--primary);
  opacity: 0.35;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tolla-contact-card:hover .tolla-contact-arrow {
  opacity: 1;
  transform: translateX(4px);
  color: var(--theme, #FF6A3A);
}

@media (max-width: 767px) {
  .tolla-contact-cards {
    grid-template-columns: 1fr;
  }
  .tolla-contact-card {
    padding: 22px 20px;
  }
}
