/* ===== EXELANS MACRO - İNTERAKTİF ARAYÜZ SİMÜLATÖRÜ (KOVISOR STYLE) ===== */

.arayuz-section {
  position: relative;
  padding: 90px 0;
  background: radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
              #05070c;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* Ambient glow spotlight behind showcase */
.arayuz-ambient-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.2), rgba(0, 240, 255, 0.07), transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Section Header */
.arayuz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 999px;
  color: #c084fc;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.arayuz-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #00f0ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00f0ff;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* 3 Key Badges Row */
.arayuz-stats-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 1.5rem 0 3rem;
}

.arayuz-stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(20, 24, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #cbd5e1;
  backdrop-filter: blur(10px);
}

.arayuz-stat-pill b {
  color: #00f0ff;
  font-family: 'JetBrains Mono', monospace;
}

/* Main Showcase Layout — Centered Showcase with App as Centerpiece */
.arayuz-showcase-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  max-width: 1060px;
  margin: 0 auto;
}

/* ========================================================
   Primary Star: Exelans Macro Desktop App Shell
   ======================================================== */
.app-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 640px;
  background: #0d0f18;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 14px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95),
              0 0 60px rgba(124, 58, 237, 0.25);
  display: flex;
  flex-direction: column;
  user-select: none;
  font-size: 13px;
  color: #eef0f7;
  overflow: hidden;
  flex-shrink: 0;
}

.app-glow {
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(150deg, #7c3aed, transparent 45%, #00f0ff);
  filter: blur(22px);
  opacity: 0.3;
}

/* Window Title Bar */
.title-card {
  padding: 12px 14px;
  background: #141828;
  border-bottom: 1px solid #242c49;
  flex-shrink: 0;
}

.accent-line {
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #00f0ff);
  margin-bottom: 8px;
  border-radius: 1px;
}

.title-row,
.license-row,
.two-btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.title-row strong {
  font-size: 16px;
  color: #c4a5ff;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

.window-actions {
  display: flex;
  gap: 3px;
}

.window-actions button {
  width: 26px;
  height: 24px;
  padding: 0;
  border: 1px solid #242c49;
  background: #1e2438;
  color: #94a3b8;
  border-radius: 4px;
  font-size: 11px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.15s;
}

.window-actions button:hover {
  background: #252b42;
  color: #fff;
}

.license-row {
  margin-top: 6px;
  color: #10d9a8;
  font-size: 11px;
}

.license-row b {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.btn-overlay-toggle {
  background: #00f0ff;
  color: #061019;
  border: none;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  transition: 0.15s;
}

.btn-overlay-toggle:hover {
  filter: brightness(1.15);
}

/* Tabs Navigation */
.app-tabs {
  height: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #0d0f18;
  border-bottom: 1px solid #242c49;
  flex-shrink: 0;
}

.app-tab-btn {
  background: #141828;
  border: 1px solid #242c49;
  border-bottom: none;
  color: #68728d;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-tab-btn:hover {
  background: #1e2438;
  color: #eef0f7;
}

.app-tab-btn.active {
  color: #c4a5ff;
  background: #1e2438;
  border-top: 2px solid #7c3aed;
  font-weight: 700;
}

/* Panels Area */
.app-panels {
  flex: 1;
  padding: 14px;
  background: #141828;
  overflow-y: auto;
  position: relative;
}

.app-panels::-webkit-scrollbar {
  width: 5px;
}
.app-panels::-webkit-scrollbar-thumb {
  background: #242c49;
  border-radius: 4px;
}

.app-panel {
  display: none;
  animation: panelFadeIn 0.2s ease;
}

.app-panel.active {
  display: block;
}

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

.app-panel h2 {
  font-size: 15px;
  color: #b58aff;
  margin: 0 0 10px;
  font-family: 'Orbitron', sans-serif;
}

/* Hotkey pills */
.hotkeys-bar {
  display: flex;
  justify-content: space-around;
  background: #1e2438;
  padding: 8px 6px;
  border-radius: 5px;
  color: #b8c0d8;
  font-size: 11px;
  margin-bottom: 10px;
  border: 1px solid #242c49;
}

.hotkeys-bar b {
  color: #00f0ff;
  font-family: 'JetBrains Mono', monospace;
}

/* Fieldset Styling */
.app-shell fieldset {
  border: 1px solid #242c49;
  border-radius: 6px;
  margin: 9px 0;
  padding: 10px 12px;
  background: rgba(30, 36, 56, 0.3);
}

.app-shell legend {
  color: #00f0ff;
  font-weight: 700;
  font-size: 11px;
  padding: 0 6px;
}

.app-shell fieldset p {
  margin: 3px 0 7px;
  color: #b8c0d8;
  font-size: 11px;
}

/* Buttons inside app */
.app-shell button {
  border: 1px solid #242c49;
  border-radius: 5px;
  background: #1e2438;
  color: #b8c0d8;
  padding: 7px 11px;
  cursor: pointer;
  font-weight: 650;
  font-size: 11px;
  transition: 0.15s;
}

.app-shell button:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.app-shell button:active {
  transform: translateY(0);
}

.app-shell button.primary {
  background: #7c3aed;
  border-color: #9333ea;
  color: #fff;
}

.app-shell button.cyan {
  background: #00f0ff;
  border-color: #06b6d4;
  color: #061019;
  font-weight: 700;
}

.app-shell button.warning {
  background: #f59e0b;
  border-color: #d97706;
  color: #160e00;
  font-weight: 700;
}

.app-shell button.purple {
  background: #4c1d95;
  border-color: #6d28d9;
  color: #fff;
}

.app-shell button.wide {
  width: 100%;
}

.app-shell button.compact {
  padding: 5px 9px;
  font-size: 11px;
}

.two-btn-row > * {
  flex: 1;
}

/* Checkbox & Radio */
.app-check {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0;
  color: #b8c0d8;
  font-size: 11px;
  cursor: pointer;
}

.app-check input[type="checkbox"],
.app-check input[type="radio"] {
  accent-color: #7c3aed;
  cursor: pointer;
}

.app-status {
  font-weight: 700;
  margin: 8px 0;
  color: #00f0ff;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}

.app-captcha {
  color: #a855f7;
  font-weight: 700;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}

/* Settings sliders */
.slider-group-box {
  margin: 7px 0;
  padding: 9px 10px;
}

.slider-ctrl-row {
  display: grid;
  grid-template-columns: 90px 1fr 45px;
  align-items: center;
  gap: 8px;
  height: 26px;
}

.slider-ctrl-row label {
  font-size: 11px;
  color: #b8c0d8;
}

.slider-ctrl-row input[type="range"] {
  width: 100%;
  accent-color: #7c3aed;
  height: 4px;
  cursor: pointer;
}

.slider-ctrl-row output {
  text-align: right;
  color: #10d9a8;
  font-weight: 700;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}

.speed-radio-row {
  display: flex;
  gap: 14px;
  margin: 5px 0;
}

.speed-radio-row label {
  font-size: 11px;
  color: #b8c0d8;
  cursor: pointer;
}

.speed-info-text {
  color: #10d9a8;
  font-size: 10px;
  margin-top: 5px;
  line-height: 1.35;
  font-family: 'JetBrains Mono', monospace;
}

/* Guide items */
.guide-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 8px 0;
  background: #1e2438;
  border: 1px solid #242c49;
  border-radius: 6px;
}

.guide-item-card b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #7c3aed;
  color: #fff;
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

.guide-item-card span {
  font-size: 11px;
  color: #b8c0d8;
}

/* App Footer Bar */
.app-footer {
  height: 28px;
  background: #1e2438;
  border-top: 1px solid #242c49;
  padding: 4px 12px;
  color: #b8c0d8;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

/* ========================================================
   Tekli Captcha AI Kartı (Sleek Companion Panel)
   ======================================================== */
.tekli-captcha-card {
  width: 100%;
  max-width: 320px;
  background: #0d0f18;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8),
              0 0 40px rgba(0, 240, 255, 0.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  backdrop-filter: blur(12px);
  user-select: none;
}

.tekli-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tekli-card-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-family: 'Orbitron', sans-serif;
  color: #00f0ff;
  letter-spacing: 0.5px;
}

.tekli-card-badge {
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Single Captcha Canvas Box */
.tekli-canvas-box {
  position: relative;
  height: 120px;
  background: #04060d;
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.tekli-canvas-box.scanning {
  border-color: #00f0ff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

.tekli-canvas-box.success {
  border-color: #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.35);
}

#captchaCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Scanning laser bar */
.captcha-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #00f0ff;
  box-shadow: 0 0 12px 2px #00f0ff;
  opacity: 0;
}

.captcha-laser.active {
  opacity: 1;
  animation: laser-sweep 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes laser-sweep {
  0% { left: 0%; }
  100% { left: 100%; }
}

.tekli-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tekli-metric-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  padding: 7px 10px;
}

.tekli-metric-item span {
  display: block;
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tekli-metric-item strong {
  font-size: 0.88rem;
  font-family: 'JetBrains Mono', monospace;
  color: #00f0ff;
}

.tekli-metric-item strong.success {
  color: #10b981;
}

.tekli-status-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 0.74rem;
  color: #94a3b8;
  text-align: center;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

.tekli-test-btn {
  background: linear-gradient(135deg, #7c3aed, #00f0ff);
  border: none;
  border-radius: 6px;
  color: #fff;
  padding: 9px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.tekli-test-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
  filter: brightness(1.1);
}

.tekli-tga-info {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.4;
  text-align: center;
  padding: 0 4px;
}

.tekli-tga-info code {
  color: #00f0ff;
  font-family: 'JetBrains Mono', monospace;
}

/* ========================================================
   Bottom Step Navigation Pills (Kovisor Style)
   ======================================================== */
.arayuz-steps-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  z-index: 1;
  position: relative;
}

.step-nav-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(13, 16, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.82rem;
  color: #94a3b8;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.step-nav-pill:hover {
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.step-badge-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.arayuz-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 18px;
  padding: 0 10px;
}

/* Responsive Styles */
@media (max-width: 860px) {
  .arayuz-showcase-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 16px;
  }
  .app-shell {
    max-width: 100%;
  }
  .tekli-captcha-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .arayuz-section {
    padding: 50px 0;
  }
  .app-shell {
    min-height: 600px;
    font-size: 12px;
  }
  .app-tab-btn {
    font-size: 9.5px;
  }
  .arayuz-steps-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 16px;
  }
}
