:root {
  --bg-color: #F5F5F5; /* ML Light Grey */
  --bg-panel: #FFFFFF;
  --bg-light: #EBEBEB;
  --text-main: #333333;
  --text-muted: #666666;
  
  --primary: #FFE600; /* ML Yellow */
  --primary-hover: #F2DA00;
  --accent: #FBBF24; /* Gold/Yellow for warnings/attention */
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --green: #10B981;
  --amber: #D97706;
  
  --border: #E5E5E5;
  --radius: 16px;
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background Glow */
.bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 60vh;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.15) 0%, rgba(245, 245, 245, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.text-highlight {
  background-color: var(--primary);
  color: #111827;
  padding: 0 10px;
  border-radius: 6px;
  display: inline-block;
}

.text-green { color: var(--primary); }

p {
  line-height: 1.6;
  color: var(--text-muted);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }
.hidden { display: none !important; }
.mt-4 { margin-top: 16px; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--primary);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.logo-icon {
  color: #333333;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 32px;
  }
  .nav-links a {
    color: #333333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
  }
  .nav-links a:hover {
    color: #000000;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #111827;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-whatsapp {
  background: #25D366 !important;
  color: #FFFFFF !important;
  border: 1px solid #25D366 !important;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
}

.btn-outline {
  background: transparent;
  color: #333333;
  border: 1px solid rgba(0,0,0,0.2);
}

.btn-outline:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.3);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 12px;
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.block-btn {
  width: 100%;
  display: flex;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(251, 191, 36, 0.1);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.main-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 24px;
}

.hero .subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  color: var(--text-muted);
}

.hero .subtitle strong {
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

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

.browser-warning {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(245, 158, 11, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  text-align: left;
}

.warning-icon {
  flex-shrink: 0;
  color: #f59e0b;
  margin-top: 2px;
}

.warning-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.warning-content strong {
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.warning-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.warning-content p strong {
  color: var(--text-main);
  font-size: 0.85rem;
}

.dashboard-mockup {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.mockup-header {
  height: 40px;
  background: #FFE600;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mockup-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Interactive Tabs Slider for Mockup */
.sim-tabs-nav {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  scrollbar-width: none;
}
.sim-tabs-nav::-webkit-scrollbar {
  display: none;
}

.sim-tab {
  background: transparent;
  border: none;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6B7280;
  border-radius: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.sim-tab:hover {
  background: rgba(0,0,0,0.05);
}

.sim-tab.active {
  background: #FFE600;
  color: #333;
}

.sim-slides-container {
  position: relative;
  height: 340px;
  background: #f3f4f6;
  overflow: hidden;
}

.sim-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.sim-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Copy Items inside Mockup */
.copy-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
}
.copy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.copy-header span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6B7280;
}
.btn-sm-copy {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  color: #333;
  transition: background 0.2s;
}
.btn-sm-copy:hover {
  background: #e5e7eb;
}
.copy-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: #333;
}
.dim-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #4B5563;
  margin-bottom: 4px;
}
.dim-row strong {
  color: #111827;
}

.insight-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.insight-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.insight-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.insight-trend {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.insight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.insight-title {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 16px;
}

.title-copy {
  font-size: 0.95rem;
  color: #333333;
  font-weight: 800;
  margin-top: 8px;
}

/* Sections */
.section {
  padding: 100px 0;
}

.bg-light-alt {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 60px;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bg-blue-light { background: rgba(59, 130, 246, 0.1); }
.bg-green-light { background: rgba(16, 185, 129, 0.1); }
.bg-purple-light { background: rgba(139, 92, 246, 0.1); }
.bg-amber-light { background: rgba(217, 119, 6, 0.1); }

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* Report Section */
.report-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .report-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.report-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.feature-checklist {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-checklist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-checklist strong {
  display: block;
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* Glass Panel / Report Visual */
.glass-panel {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.glass-header {
  height: 40px;
  background: #FFE600;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.mac-dots {
  display: flex;
  gap: 6px;
}

.mac-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mac-dots i:nth-child(1) { background: #FF5F56; }
.mac-dots i:nth-child(2) { background: #FFBD2E; }
.mac-dots i:nth-child(3) { background: #27C93F; }

.glass-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: #333333;
}

.glass-body {
  padding: 24px;
}

.info-group label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

/* Price Suggest Box */
.price-suggest-box {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.price-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.price-trend {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

/* List Rows */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.title-text {
  font-weight: 500;
}

.badge {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  flex-shrink: 0;
}
.badge.green { background: rgba(16, 185, 129, 0.1); color: var(--primary); }
.badge.blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); }
.badge.yellow { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.badge.red { background: rgba(239, 68, 68, 0.1); color: #EF4444; }

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag svg {
  color: var(--primary);
}

.full-width { width: 100%; }

/* Pricing */
.bg-gradient {
  background: linear-gradient(to bottom, var(--bg-color) 0%, var(--bg-panel) 100%);
}

.pricing-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.pricing-card-wrapper {
  max-width: 420px;
  margin: 64px auto 0;
  position: relative;
}

/* Glow effect behind the card */
.pricing-card-wrapper::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px; right: -20px; bottom: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 230, 0, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px 40px;
  position: relative;
  z-index: 1;
  box-shadow: 
    0 24px 48px -12px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 32px 64px -12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 230, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #111827;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(255, 230, 0, 0.4);
  text-transform: uppercase;
}

.pricing-card-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.hero-title .highlight {
  background-color: var(--primary);
  color: #111827;
  padding: 0 10px;
  border-radius: 6px;
  display: inline-block;
}

.pricing-price {
  margin: 32px 0;
  display: flex;
  align-items: flex-start;
  color: var(--text-main);
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 10px;
  margin-right: 4px;
  color: #6B7280;
}

.pricing-price .amount {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text-main);
}

.pricing-price .cents {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 10px;
  color: #6B7280;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 8px;
  margin-left: 8px;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.secure-text {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 16px;
  color: var(--text-muted);
}

/* Footer Styles Redesigned */
.site-footer {
  background: #F9FAFB;
  border-top: 1px solid var(--border);
  padding: 80px 0 60px; /* Generous padding at the bottom to avoid overlapping with floating elements */
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.brand-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E6F4EA;
  border: 1px solid #A3E2C9;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-top: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #137333;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid #137333;
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-dot 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

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

.status-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #137333;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-list a {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link-list a:hover {
  color: var(--text-main);
  padding-left: 4px;
}

.chrome-info {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.chrome-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: var(--transition);
  width: fit-content;
}

.chrome-badge:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.chrome-icon {
  color: #4285F4;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 30px; /* Safe space for the floating WhatsApp button */
  }
}

.copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.developer {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.dev-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.dev-link:hover {
  color: var(--primary-hover);
}

/* ========================================================================= */
/* DASHBOARD (ADMIN PANEL) STYLES */
/* ========================================================================= */

.dashboard-body {
  background-color: var(--bg-color);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden; /* App-like feel */
}

/* Layout */
.dashboard-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.sidebar {
  width: 260px;
  background: var(--bg-panel);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-header {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-nav {
  flex: 1;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-item:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

.nav-item.active {
  background: var(--primary);
  color: #333333;
}

.nav-item svg {
  color: inherit;
}

.sidebar-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.admin-info {
  display: flex;
  flex-direction: column;
}

.btn-text {
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.btn-text:hover { color: var(--text-main); }

.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 40px;
  background-color: var(--bg-color);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.content-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.dashboard-tab {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
.dashboard-tab.hidden {
  display: none !important;
}

/* Tables */
.table-container {
  overflow-x: auto;
  border-radius: 8px;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.data-table th {
  padding: 20px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.02);
}

.data-table td {
  padding: 20px 16px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

.action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  width: 100%;
  max-width: 500px;
  padding: 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-sm {
  max-width: 400px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.25rem;
  margin: 0;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-close:hover { color: var(--text-main); }

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #333333;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 24px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  background: var(--bg-panel);
  color: var(--text-main);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 10000;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--primary);
}

.bg-red-500 { border-left-color: #EF4444; }
.bg-green-500 { border-left-color: var(--primary); }

.text-red { color: #EF4444; }

/* Utilities */
.flex { display: flex; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.text-center { text-align: center; }
.mb-6 { margin-bottom: 24px; }
.block { display: block; }
.mr-2 { margin-right: 8px; }

.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.font-semibold { font-weight: 600; }
.text-white { color: var(--text-main); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.85rem; }

/* Row Blocked Style */
.row-blocked td {
  opacity: 0.6;
  background: rgba(239, 68, 68, 0.05);
}
.row-blocked .font-semibold {
  color: #EF4444 !important;
  text-decoration: line-through;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Login Screen Override */
.login-screen {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.login-box {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 
    0 32px 64px -12px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 1;
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.login-logo {
  display: flex;
  justify-content: center;
}

/* Ensure bg-glow shows inside login screen */
.login-screen .bg-glow {
  top: -20%;
  height: 80vh;
}

/* ========================================================================= */
/* WHATSAPP WIDGET                                                           */
/* ========================================================================= */

.support-floater-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Inter', sans-serif;
}

.support-floating-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.support-floating-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.support-modal-ui {
  width: 340px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.support-modal-ui.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.support-head-ui {
  background: #25D366;
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.support-head-ui-text {
  display: flex;
  flex-direction: column;
}

.support-head-ui-text strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.support-head-ui-text span {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 4px;
}

.support-close-ui {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.support-close-ui:hover {
  opacity: 1;
}

.support-content-ui {
  padding: 24px 20px;
  background: #F9FAFB;
}

.support-greet-text {
  font-size: 0.9rem;
  color: #4B5563;
  margin-bottom: 16px;
  font-weight: 500;
}

.support-opts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-opt-btn {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.support-opt-btn:hover {
  border-color: #25D366;
  background: #F0FDF4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.1);
}

.support-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-yellow-light { background: #FEF3C7; }
.bg-blue-light { background: #DBEAFE; }

.support-opt-desc {
  display: flex;
  flex-direction: column;
}

.support-opt-desc strong {
  font-size: 0.9rem;
  color: #111827;
  font-weight: 600;
  margin-bottom: 2px;
}

.support-opt-desc span {
  font-size: 0.75rem;
  color: #6B7280;
  line-height: 1.3;
}

.support-input-area {
  width: 100%;
  padding: 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: none;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.support-input-area:focus {
  outline: none;
  border-color: #25D366;
}

.support-action-row {
  display: flex;
  gap: 12px;
}

.support-back-btn {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  color: #4B5563;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.support-back-btn:hover {
  background: #F3F4F6;
}

.support-send-btn {
  flex: 2;
  background: #25D366;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.support-send-btn:hover {
  background: #1DA851;
}

@media (max-width: 480px) {
  .support-modal-ui {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 80px;
    position: fixed;
    margin-bottom: 0;
  }
}

/* Admin Dashboard UI Enhancements */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: var(--bg-light);
  color: var(--text-main);
  border-color: #D1D5DB;
  transform: translateY(-1px);
}

.btn-icon.danger {
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-icon.danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #EF4444;
}

.btn-icon.success {
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.3);
}

.btn-icon.success:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10B981;
}

/* Tabela e Cards */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 16px;
  text-align: left;
  background: #F9FAFB;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.data-table tr:hover td {
  background-color: rgba(0, 0, 0, 0.01);
}

.dashboard-tab .glass-panel {
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.06);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
}

/* ==========================================================================
   Interactive Simulator, Testimonials and Micro-Interactions
   ========================================================================== */

/* Supporting Amber Colors */
.text-amber { color: var(--amber); }

/* Simulator (Hero Mockup Improvements) */
.simulator-search-bar {
  display: flex;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 12px;
  gap: 4px;
}

.simulator-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
}

.simulator-search-btn {
  background: var(--primary);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.simulator-search-btn:hover {
  background: var(--primary-hover);
}

.simulator-quick-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.simulator-pill-btn {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.simulator-pill-btn:hover, .simulator-pill-btn.active {
  background: #FFFBEB;
  border-color: var(--accent);
  color: var(--text-main);
}

.simulator-body-wrapper {
  position: relative;
}

.simulator-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.simulator-loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.simulator-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #E5E7EB;
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: sim-spin 0.8s linear infinite;
}

.simulator-loading-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

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

.simulator-fade {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.simulator-fade.hidden-val {
  opacity: 0;
  transform: translateY(4px);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4.5rem;
  color: rgba(217, 119, 6, 0.08); /* Light Amber color for the quote icon */
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border-color: rgba(255, 230, 0, 0.5);
}

.testimonial-quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  flex-grow: 1;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.testimonial-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonial-badge {
  background: #FFFBEB;
  border: 1px solid var(--accent);
  color: var(--amber);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  align-self: flex-start;
  margin-top: 4px;
}

/* Enhancements on hover behaviors */
.btn-primary:hover, .btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 230, 0, 0.35) !important;
}

.pricing-card {
  transition: var(--transition);
}

.pricing-card.premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

