/* ==============================================================================
   TAYYAR UI COMPONENTS & 3D SHIELD STAGE
   ============================================================================== */

/* 1. Buttons & Language Pills */
.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-block: 13px;
  padding-inline: 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-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-block: 12px;
  padding-inline: 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);
}

/* 2. Badges */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 6px;
  padding-inline: 14px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.32);
  color: #22d3ee;
  font-size: 0.8rem;
  font-weight: 700;
}

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

/* 3. Hero Section */
.hero-wrap {
  padding-block-start: calc(var(--header-height) + 28px);
  padding-block-end: 36px;
  position: relative;
  text-align: center;
  z-index: var(--z-base);
}

.hero-content {
  width: 100%;
  margin-inline: auto;
}


.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  margin-block: 16px;
}

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

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 760px;
  margin-inline: auto;
  margin-block-end: 22px;
}

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

.hero-specs-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-block-start: 12px;
}

/* 5. Cards & Security 3D Shield Stage */
.cyber-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding-block: 30px;
  padding-inline: 26px;
  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: 50px;
  height: 50px;
  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-block-end: 20px;
}

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

.card-icon-emerald {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(34, 211, 238, 0.32);
  color: #22d3ee;
}

.card-title {
  font-size: 1.2rem;
  margin-block-end: 10px;
}

.cyan-accent-title {
  color: #22d3ee;
}

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

.security-section {
  background: transparent;
}

.security-tag {
  color: #22d3ee;
}

.security-showcase-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 28px;
  align-items: stretch;
}

.shield-3d-stage {
  background: linear-gradient(165deg, rgba(10, 18, 32, 0.88), rgba(6, 11, 20, 0.95));
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-lg);
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 30px rgba(6, 182, 212, 0.14);
}

.shield-stage-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), rgba(14, 165, 233, 0.1) 55%, transparent 75%);
  filter: blur(28px);
  pointer-events: none;
}

#shield-3d-canvas {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
  position: relative;
  z-index: 2;
}

.shield-stage-caption {
  position: absolute;
  inset-block-end: 16px;
  inset-inline: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 8px;
  padding-inline: 14px;
  background: rgba(6, 11, 20, 0.86);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #22d3ee;
  z-index: 3;
}

/* 6. Utility & Atmosphere */
.text-thin {
  font-weight: 300;
  opacity: 0.9;
}

.hero-glow-sphere {
  position: absolute;
  inset-block-start: 10%;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.16) 0%, rgba(14, 165, 233, 0.08) 45%, transparent 75%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

[dir="rtl"] .hero-glow-sphere {
  transform: translateX(50%);
}

.section-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 6px;
  padding-inline: 16px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 16px rgba(2, 6, 15, 0.25);
  margin-block-end: 14px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.section-eyebrow-pill:hover {
  background: rgba(6, 182, 212, 0.16);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 6px 20px rgba(6, 182, 212, 0.18);
}

.section-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.85);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  flex-shrink: 0;
}

.section-eyebrow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.2);
  color: #67e8f9;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  padding-block: 2px;
  padding-inline: 8px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
}

.section-eyebrow-label {
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.cyber-badge-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 4px;
  padding-inline: 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);
}

.cyan-tag,
.cyan-note {
  color: var(--laser-cyan);
}

.dl-main-btn {
  padding-block: 16px;
  padding-inline: 34px;
  font-size: 1.02rem;
}

.checksum-lbl {
  color: var(--text-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .security-showcase-layout {
    grid-template-columns: 1fr;
  }

  .shield-3d-stage {
    min-height: 320px;
  }
}

@media (hover: none) or (max-width: 1024px) {

  .cyber-cursor-ring,
  .cyber-cursor-dot {
    display: none;
  }
}

@media (max-width: 480px) {
  .cyber-card {
    padding-block: 16px;
    padding-inline: 16px;
    border-radius: 15px;
  }

  .card-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-block-end: 12px;
  }

  .card-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .card-title {
    font-size: 0.98rem;
    line-height: 1.35;
    margin-block-end: 6px;
  }

  .card-desc {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .shield-3d-stage {
    min-height: 260px;
  }

  #shield-3d-canvas {
    min-height: 240px;
  }

  .hero-glow-sphere {
    filter: blur(16px);
  }
}