/* ==========================================================================
   XESTUS OMNITOOLS - TOOL COMPONENTS & INTERACTIVE WIDGETS
   ========================================================================== */

/* Grid Two Columns */
.tool-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 860px) {
  .tool-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Control Elements */
.control-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.control-label .val-indicator {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--accent-primary);
  background: var(--bg-surface-elevated);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
}

.text-input, .select-input, .textarea-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.text-input:focus, .select-input:focus, .textarea-input:focus {
  border-color: var(--border-color-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.textarea-input {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

.code-editor-area {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  tab-size: 2;
  white-space: pre;
}

/* Range Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Toggles & Checkbox pills */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  user-select: none;
  transition: all var(--transition-fast);
}

.checkbox-pill input[type="checkbox"] {
  accent-color: var(--accent-primary);
  width: 16px;
  height: 16px;
}

.checkbox-pill:hover {
  border-color: var(--border-color-hover);
}

/* Button Group / Toolbars */
.action-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Preview Panels */
.preview-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

/* Split Image Slider Comparison */
.split-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  user-select: none;
  background: repeating-conic-gradient(#1e293b 0% 25%, #0f172a 0% 50%) 50% / 16px 16px;
}

.split-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.split-image-container .img-after {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.split-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.split-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  pointer-events: none;
}

/* Stats Comparison Bar */
.stats-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-item.saved .stat-num {
  color: var(--success);
}

/* QR Code Display */
.qr-preview-box {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#qrcode-canvas-container canvas, #qrcode-canvas-container img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Financial Calculator Amortization & Visual Donut */
.calc-results-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.calc-emi-highlight {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--accent-gradient-subtle);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
}

.calc-emi-highlight .emi-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.donut-chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Password Strength Meter */
.strength-meter-bar {
  height: 6px;
  width: 100%;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-pill);
  margin-top: 0.5rem;
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.password-output-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.password-output-box input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  width: 100%;
}

/* Text Analyzer Quick Stat Badges */
.text-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.text-stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.text-stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.text-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* WCAG Contrast Box */
.contrast-preview-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.contrast-score-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1rem;
}

.wcag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
}

.wcag-badge.pass {
  background: var(--success-bg);
  color: var(--success);
}

.wcag-badge.fail {
  background: var(--danger-bg);
  color: var(--danger);
}

/* Markdown Split Editor */
.markdown-editor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  min-height: 480px;
}

.markdown-preview-pane {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 520px;
  line-height: 1.6;
}

.markdown-preview-pane h1, .markdown-preview-pane h2 {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.4rem;
  margin-bottom: 0.8rem;
}

.markdown-preview-pane code {
  background: var(--bg-surface-elevated);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

@media (max-width: 860px) {
  .markdown-editor-split {
    grid-template-columns: 1fr;
  }
}

/* PDF Files List */
.pdf-file-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.25rem 0;
  max-height: 250px;
  overflow-y: auto;
}

.pdf-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

.pdf-file-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.pdf-file-size {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* PDF Thumbnail Items (Images to PDF) */
.pdf-img-thumb-item {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-fast);
}

.pdf-img-thumb-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-primary);
}

.pdf-img-thumb-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

.pdf-img-thumb-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pdf-img-thumb-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* PDF Rendered Page Card (PDF to Images) */
.pdf-page-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.pdf-page-card canvas {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.pdf-page-card-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ==========================================================================
   DIFF CHECKER & DOCUMENT COMPARISON STYLES
   ========================================================================== */
.diff-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.diff-stats-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.diff-stat-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.diff-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .diff-split-container {
    grid-template-columns: 1fr;
  }
}

.diff-col {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.diff-col-header {
  padding: 0.65rem 1rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.diff-content-box {
  padding: 0.75rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  max-height: 480px;
  overflow-y: auto;
}

.diff-line {
  display: flex;
  padding: 0.15rem 0.75rem;
  white-space: pre-wrap;
  word-break: break-all;
}

.diff-line.same {
  color: var(--text-secondary);
}

.diff-line.del {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-left: 3px solid var(--danger);
}

.diff-line.add {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border-left: 3px solid var(--success);
}

.diff-line.empty {
  background: transparent;
  user-select: none;
}

.diff-num {
  width: 40px;
  color: var(--text-muted);
  user-select: none;
  flex-shrink: 0;
  text-align: right;
  padding-right: 0.75rem;
}

.diff-text {
  flex: 1;
}

/* ==========================================================================
   PRIVACY EXIF SCRUBBER STYLES
   ========================================================================== */
.exif-preview-box {
  width: 100%;
  max-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.exif-preview-box img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.exif-table-wrapper {
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.exif-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.exif-table th {
  position: sticky;
  top: 0;
  background: var(--bg-surface-elevated);
  padding: 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  z-index: 2;
}

/* ==========================================================================
   DIGITAL SIGNATURE & STAMP STUDIO STYLES
   ========================================================================== */
.sig-canvas-container {
  position: relative;
  width: 100%;
  height: 280px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: crosshair;
  touch-action: none;
  overflow: hidden;
}

.sig-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.sig-guideline {
  position: absolute;
  bottom: 50px;
  left: 40px;
  right: 40px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.35);
  font-family: 'Plus Jakarta Sans', sans-serif;
  user-select: none;
}

.sig-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.sig-color-swatches {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sig-color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.sig-color-swatch.active {
  transform: scale(1.2);
  border-color: #ffffff;
  box-shadow: 0 0 0 2px var(--accent-primary);
}

.sig-type-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sig-type-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sig-type-card canvas {
  width: 100%;
  height: auto;
  max-height: 100px;
  background: transparent;
}

/* ==========================================================================
   FLOATING BACK TO TOP & QUICK ACCESS PILLS
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  z-index: 99;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.quick-tools-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quick-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.quick-tool-link:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-primary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   FEEDBACK BUTTON & 5-STAR RATING SYSTEM STYLES
   ========================================================================== */
.nav-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-pill);
  color: #f59e0b;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-feedback-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(217, 119, 6, 0.22) 100%);
  border-color: #f59e0b;
  color: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.nav-feedback-btn .feedback-star-icon {
  font-size: 1rem;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.nav-feedback-btn:hover .feedback-star-icon {
  transform: rotate(20deg) scale(1.15);
}

/* Star Rating Widget */
.star-rating-widget {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  user-select: none;
}

.star-btn {
  background: none;
  border: none;
  font-size: 2.25rem;
  line-height: 1;
  color: #4b5563;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, text-shadow 0.15s ease;
  padding: 0.1rem 0.2rem;
  outline: none;
}

.star-btn:hover {
  transform: scale(1.25);
}

.star-btn.active,
.star-btn.hover-preview {
  color: #f59e0b;
  text-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
}

/* ==========================================================================
   VIRAL SOCIAL SHARE BAR & FAQ ACCORDION COMPONENTS
   ========================================================================== */

.viral-share-section {
  text-align: center;
  padding: 3.5rem 2rem;
  margin: 3.5rem auto 2.5rem;
  max-width: 820px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 24px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

[data-theme="light"] .viral-share-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.viral-share-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  width: 100%;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
}

.share-btn-whatsapp:hover {
  background: #20bd5a !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.share-btn-x {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-theme="light"] .share-btn-x {
  background: #000000 !important;
}

.share-btn-x:hover {
  background: #1e293b !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.share-btn-linkedin {
  background: #0a66c2 !important;
  color: #ffffff !important;
}

.share-btn-linkedin:hover {
  background: #08529c !important;
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.45);
}

.share-btn-copy {
  background: #283548 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

[data-theme="light"] .share-btn-copy {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* FAQ Accordion */
.faq-section {
  padding: 4.5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.faq-item:hover {
  border-color: #6366f1;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  outline: none;
  transition: background 0.2s ease;
}

[data-theme="light"] .faq-question {
  color: #0f172a;
}

.faq-question:hover {
  background: rgba(99, 102, 241, 0.06);
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: bold;
  color: #6366f1;
  transition: transform 0.3s ease;
  display: inline-block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.75rem;
  line-height: 1.75;
  font-size: 0.95rem;
  color: #94a3b8;
}

[data-theme="light"] .faq-answer {
  color: #475569;
}

.faq-item.open .faq-answer {
  max-height: 380px;
  padding-bottom: 1.5rem;
}




