/* Maps SEO Pro - Modern Glassmorphism Styling */

:root {
  --bg-dark: #080c15;
  --card-bg: rgba(20, 27, 44, 0.72);
  --card-border: rgba(255, 255, 255, 0.08);
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Cairo', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Glowing Orbs */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #8b5cf6, transparent);
  bottom: 50px;
  right: -50px;
}

.app-layout {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.brand-text h1 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.brand-text h1 span {
  color: #60a5fa;
}

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

.nav-badges {
  display: flex;
  gap: 10px;
}

.pill-badge {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.pill-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.3);
}

.pill-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 30px 10px 40px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #60a5fa;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 35px;
}

/* Search Card */
.search-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 840px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.input-wrapper {
  display: flex;
  background: rgba(10, 15, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 14px;
  align-items: center;
  transition: all 0.25s ease;
}

.input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.input-icon {
  font-size: 20px;
  margin-left: 10px;
  opacity: 0.7;
}

.input-wrapper input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.input-wrapper input::placeholder {
  color: #64748b;
  font-size: 0.92rem;
}

.submit-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-arrow {
  transition: transform 0.2s;
}

.submit-btn:hover .btn-arrow {
  transform: translateX(-4px);
}

/* Demo Samples */
.demo-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: #cbd5e1;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
}

.demo-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Loading Section */
.loading-section {
  text-align: center;
  padding: 60px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  margin-top: 20px;
}

.loader-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(59, 130, 246, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 24px;
}

.step-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: #64748b;
}

.step-item.active {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Results Hero Card */
.result-hero-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.result-hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.biz-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.result-biz-name {
  font-size: 1.85rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.result-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  max-width: 650px;
}

.quick-action-bar {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--card-border);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: #fff;
}

/* Gauge Circle */
.gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 170px;
}

.gauge-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 6px solid #3b82f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 26, 0.7);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.gauge-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.gauge-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.grade-pill {
  margin-top: 10px;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid #3b82f6;
}

/* Overview Mini Grid */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}

.mini-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.stat-icon-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.stat-icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.stat-icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.stat-icon-rose {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.mt-35 {
  margin-top: 35px;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

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

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 25px;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: #60a5fa;
  border-bottom-color: #3b82f6;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 16px;
}

.pillar-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.pillar-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.p-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.p-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* Quick Wins Grid */
.quick-wins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 16px;
}

.win-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-right: 4px solid var(--success);
  border-radius: var(--radius-md);
  padding: 18px;
}

.win-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.win-gain {
  color: var(--success);
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.win-action {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Competitor Tab Elements */
.leaderboard-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
}

.styled-table th, .styled-table td {
  padding: 12px 14px;
  text-align: right;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.9rem;
}

.styled-table th {
  color: var(--text-muted);
}

.styled-table tr.active-row {
  background: rgba(59, 130, 246, 0.12);
  font-weight: 800;
}

.comp-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.strategy-banner {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.6), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
}

.strategy-header {
  font-weight: 800;
  color: #93c5fd;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.strategy-subtitle {
  font-weight: 700;
  color: #c084fc;
  margin-top: 14px;
  margin-bottom: 6px;
}

.strategy-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #e2e8f0;
}

.strategy-text.formatted {
  white-space: pre-line;
}

/* AI Intelligence Suite */
.ai-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}

.ai-block-header h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.ai-block-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.copy-box {
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
}

.copy-action-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-action-btn:hover {
  background: var(--primary);
}

.box-content {
  font-size: 0.92rem;
  line-height: 1.7;
  padding-left: 70px;
  color: #f1f5f9;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.post-card {
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
}

.post-hook {
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.post-body {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Footer */
.app-footer {
  text-align: center;
  margin-top: auto;
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--success);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.hidden {
  display: none !important;
}

/* Tab Subdesc */
.tab-subdesc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
}

/* Calendar & Scheduling Tab */
.calendar-wrapper, .fix-center-wrapper {
  animation: fadeIn 0.3s ease;
}

.calendar-header-card, .fix-header-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.schedule-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.timeline-card {
  background: rgba(20, 27, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, border-color 0.2s;
}

.timeline-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.3);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.timeline-day-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
}

.timeline-time-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.timeline-hook {
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.timeline-body {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 14px;
}

.timeline-cta-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.timeline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-publish-now {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-publish-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Cloud Session Card (Cookie Injection) */
.cloud-session-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.cloud-session-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #10b981);
}

.cloud-session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 18px;
}

.cloud-session-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cloud-session-icon {
  width: 46px;
  height: 46px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.cloud-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
}

.cloud-status-badge.connected {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.cloud-status-badge.connected .status-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.cloud-status-badge.disconnected {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.cloud-status-badge.disconnected .status-dot {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.cookie-textarea {
  width: 100%;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--text-main);
  font-family: monospace;
  font-size: 0.82rem;
  resize: vertical;
  margin-bottom: 14px;
  direction: ltr;
  text-align: left;
}

.cookie-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.cloud-session-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cookie-guide-accordion details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
}

.cookie-guide-accordion summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  color: #93c5fd;
  user-select: none;
}

.cookie-guide-accordion summary:hover {
  color: #bfdbfe;
}

.guide-steps {
  margin-top: 12px;
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.guide-steps ol {
  padding-right: 20px;
  margin-bottom: 10px;
}

.guide-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 8px;
}

/* Automation Card */
.automation-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.automation-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.automation-icon {
  width: 46px;
  height: 46px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.automation-header h4 {
  font-size: 1.1rem;
  font-weight: 800;
}

.automation-header p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.automation-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.auto-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px;
  position: relative;
}

.auto-step strong {
  display: inline-block;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.auto-step p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.55;
}

.step-badge {
  width: 22px;
  height: 22px;
  background: #8b5cf6;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-left: 8px;
}

.connection-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: #34d399;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* 1-Click Fix Center */
.score-sim-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 15px;
}

.sim-title {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  color: #60a5fa;
  margin-bottom: 4px;
}

.sim-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sim-scores {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sim-val {
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
}

.sim-val.current strong {
  color: #cbd5e1;
  font-size: 1.2rem;
  font-family: 'Outfit', sans-serif;
}

.sim-val.target strong {
  color: #34d399;
  font-size: 1.4rem;
  font-family: 'Outfit', sans-serif;
}

.sim-arrow {
  color: #8b5cf6;
  font-size: 1.2rem;
  font-weight: 800;
}

.fix-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.fix-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fix-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fix-box-title {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.fix-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #10b981;
}

.gain-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.fix-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.fix-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.fix-cat-tag {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.fix-media-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.media-tip-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .input-wrapper {
    flex-direction: column;
    padding: 10px;
  }
  .submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  .result-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .biz-badges-bar {
    justify-content: center;
  }
  .gauge-container {
    margin: 0 auto;
  }
  .tabs-nav {
    overflow-x: auto;
  }
}
