/* ==============================================================================
   TAYYAR CYBER UI COMPONENTS
   Buttons, Badges, Metrics Ribbon, and Cyber Feature Cards
   ============================================================================== */

/* 1. BUTTONS & CALL-TO-ACTIONS */
.btn-laser {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--laser-cyan), var(--laser-cyan-bright));
  color: #030812;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--glow-laser-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  user-select: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-laser:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-laser-md);
  filter: brightness(1.06);
}

.btn-laser:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-surface-glass);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--laser-cyan-border);
  color: var(--laser-cyan);
}

.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-slate);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-lang:hover {
  border-color: var(--laser-cyan);
  color: var(--laser-cyan);
  background: var(--laser-cyan-dim);
}

.btn-lang svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

/* 2. BADGES & STATUS INDICATORS */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--cyber-emerald);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyber-emerald);
  box-shadow: 0 0 8px var(--cyber-emerald);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* 3. HERO CONTENT */
.hero-wrap {
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 36px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 1140px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  line-height: 1.15;
  margin-top: 14px;
  margin-bottom: 14px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--laser-cyan), #ffffff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0 6px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 20px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-specs-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* 4. METRICS BAR */
.metrics-bar-wrap {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.metric-item {
  text-align: center;
  padding: 0 16px;
  border-inline-end: 1px solid var(--border-subtle);
}

.metric-item:last-child {
  border-inline-end: none;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--laser-cyan);
  text-shadow: 0 0 20px var(--laser-cyan-glow);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-lbl {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* 5. CARDS (FEATURE & SECURITY) */
.cyber-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.cyber-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-laser);
  box-shadow: var(--shadow-card), var(--glow-laser-sm);
  background: var(--bg-surface-card-hover);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--laser-cyan-dim);
  border: 1px solid var(--laser-cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--laser-cyan);
  margin-bottom: 22px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.card-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.card-icon-emerald {
  background: var(--cyber-emerald-dim);
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--cyber-emerald);
}

.card-title {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 6. LUXURY TYPOGRAPHY & AMBIENT ATMOSPHERE */
.text-thin {
  font-weight: 300 !important;
  opacity: 0.88;
  letter-spacing: -0.01em;
}

.hero-glow-sphere {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.16) 0%, rgba(0, 255, 136, 0.06) 45%, transparent 75%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
}

.section-tag-mono {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--laser-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.cyber-badge-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  color: var(--text-slate);
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.45rem;
  }
  .metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .metric-item {
    border-inline-end: none;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .metrics-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 8. FLUID CYBER CURSOR (ASHLEY AESTHETIC) */
.cyber-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              height 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.25s ease,
              background 0.25s ease;
  will-change: transform;
}

.cyber-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--laser-cyan);
  box-shadow: 0 0 8px var(--laser-cyan);
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cyber-cursor-ring.active {
  width: 52px;
  height: 52px;
  border-color: var(--laser-cyan);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

@media (hover: none) or (max-width: 992px) {
  .cyber-cursor-ring,
  .cyber-cursor-dot {
    display: none !important;
  }
}
