/* PDFPlug Dark Theme - Cloned from Original Design */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-card-hover: #252525;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-red: #ff0000;
  --accent-red-hover: #cc0000;
  --border-color: #2a2a2a;
  --success-green: #00ff00;
  --premium-bg: #000000;
  --premium-card-bg: #050b14;
  --premium-border: #1f2937;
}

/* Premium Section Styles */
.premium-section {
  background-color: var(--premium-bg);
  padding: 4rem 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-primary);
}

.premium-header {
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.premium-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Nunito', sans-serif;
  color: var(--text-primary);
}

.premium-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 2rem;
}

.premium-subscribe-btn {
  background-color: #ff0000;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s;
  text-decoration: none;
}

.premium-subscribe-btn:hover {
  background-color: #cc0000;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.premium-card {
  background-color: var(--premium-card-bg);
  border: 1px solid var(--premium-border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Removed aspect-ratio and justify-center to match standard tool cards */
}

.premium-card:hover {
  border-color: #374151;
  transform: translateY(-4px);
}

.premium-lock-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #fbbf24;
  /* Amber/Yellow for lock */
}

.premium-tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
}

/* Premium Card Icon Colors matching screenshot */
.premium-card:nth-child(1) .premium-tool-icon {
  background-color: #4ade80;
  color: #000;
}

/* Preflight - Green */
.premium-card:nth-child(2) .premium-tool-icon {
  background-color: #f472b6;
}

/* Accessibility - Pink */
.premium-card:nth-child(3) .premium-tool-icon {
  background-color: #60a5fa;
}

/* Signing - Blue */
.premium-card:nth-child(4) .premium-tool-icon {
  background-color: #38bdf8;
}

/* Templates - Sky Blue */
.premium-card:nth-child(5) .premium-tool-icon {
  background-color: #60a5fa;
}

/* Edit Text - Blue */

.premium-card-name {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  font-family: 'Nunito', sans-serif;
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f3f4f6;
  --bg-card: #ffffff;
  --bg-card-hover: #f9fafb;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --border-color: #e5e7eb;
  --premium-bg: #f3f4f6;
  --premium-card-bg: #ffffff;
  --premium-border: #e5e7eb;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.theme-toggle-btn:hover {
  background-color: var(--bg-card);
  border-color: var(--text-secondary);
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: block;
}

[data-theme="light"] .theme-icon-sun {
  display: block;
  color: #f59e0b;
  /* Amber for sun */
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Theme Utilities for Tailwind Compatibility */
.bg-background {
  background-color: var(--bg-primary);
}

.bg-card {
  background-color: var(--bg-card);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.bg-muted {
  background-color: var(--bg-secondary);
}

.text-foreground {
  color: var(--text-primary);
}

.text-muted-foreground {
  color: var(--text-secondary);
}

.border-border {
  border-color: var(--border-color);
}

.border-input {
  border-color: var(--border-color);
}

.bg-input {
  background-color: var(--bg-card);
}

/* Slide-up Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
  opacity: 0;
}

/* Navbar */
.navbar {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
}

.logo-pdf {
  color: var(--text-primary);
}

.logo-plug {
  color: var(--accent-red);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent-red);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-sign-in {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-support {
  background-color: var(--accent-red);
  color: var(--text-primary);
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-support:hover {
  background-color: var(--accent-red-hover);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Search Section */
.search-section {
  text-align: center;
  padding: 0.5rem 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Search Bar */
/* Search Bar Layout */
.search-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.search-container {
  flex: 1;
  max-width: 600px;
  position: relative;
  margin: 0;
  /* Let flex handle spacing */
}

.search-input {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1rem 0.9rem 2.5rem;
  /* Reset padding */
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: var(--accent-red);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  width: 18px;
  height: 18px;
}

/* Social Share Buttons */
.social-share-buttons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.social-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-secondary);
  padding: 0;
}

.social-btn:hover {
  transform: translateY(-3px);
  border-color: transparent;
  color: white;
}

.social-btn i {
  width: 20px;
  height: 20px;
}

/* Brand Colors on Hover or Active */
.social-btn.twitter {
  color: #1DA1F2;
  /* Twitter Blue */
}

.social-btn.twitter:hover {
  background-color: #1DA1F2;
  color: white;
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.social-btn.facebook {
  color: #1877F2;
  /* Facebook Blue */
}

.social-btn.facebook:hover {
  background-color: #1877F2;
  color: white;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.social-btn.linkedin {
  color: #0A66C2;
  /* LinkedIn Blue */
}

.social-btn.linkedin:hover {
  background-color: #0A66C2;
  color: white;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

.social-btn.whatsapp {
  color: #25D366;
}

.social-btn.whatsapp:hover {
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.social-btn.telegram {
  color: #0088cc;
}

.social-btn.telegram:hover {
  background-color: #0088cc;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

/* Share Widget */
.share-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.share-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.share-widget p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.share-widget .social-share-buttons {
  justify-content: flex-start;
}

.share-widget .social-btn {
  width: 36px;
  height: 36px;
}

.share-widget .social-btn i {
  width: 18px;
  height: 18px;
}

/* Category Filters */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

.filter-btn.active {
  background-color: var(--accent-red);
  color: var(--text-primary);
  border-color: var(--accent-red);
}

/* Tools Grid */
.tools-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}

.tool-card:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--accent-red);
}

.tool-status {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 8px;
  height: 8px;
  background-color: var(--success-green);
  border-radius: 50%;
}

.tool-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Individual tool icon colors */
/* Individual tool icon colors - Repeating Pattern */
.tool-card:nth-child(7n+1) .tool-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tool-card:nth-child(7n+2) .tool-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tool-card:nth-child(7n+3) .tool-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.tool-card:nth-child(7n+4) .tool-icon {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
}

.tool-card:nth-child(7n+5) .tool-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.tool-card:nth-child(7n+6) .tool-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tool-card:nth-child(7n+7) .tool-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tool-name {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

.tool-description {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: var(--accent-red);
  color: var(--text-primary);
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.tool-description::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--accent-red);
}

.tool-card:hover .tool-description {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Newsletter Section */
.newsletter {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.newsletter-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-content {
  flex: 1;
}

.newsletter h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.newsletter p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  outline: none;
  min-width: 250px;
}

.btn-subscribe {
  background-color: var(--accent-red);
  color: var(--text-primary);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-subscribe:hover {
  background-color: var(--accent-red-hover);
}

/* Footer */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand-icon {
  width: 24px;
  height: 24px;
  background-color: var(--accent-red);
  border-radius: 4px;
}

.footer-stats {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-secondary);
  text-decoration: none;
}

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Loader */
.loader {
  border: 4px solid var(--bg-card);
  border-top: 4px solid var(--accent-red);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Animation Delays for Staggered Effect */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

.delay-600 {
  animation-delay: 0.6s;
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.language-btn:hover {
  background-color: var(--bg-card);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  min-width: 500px;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.language-dropdown.active {
  display: block;
}

.language-dropdown h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.language-option {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s;
  text-align: center;
}

.language-option:hover,
.language-option.active {
  background-color: var(--accent-red);
  color: var(--text-primary);
  border-color: var(--accent-red);
}

/* Feedback Modal */
.feedback-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.feedback-modal-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feedback-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s;
}

.feedback-modal-close:hover {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

.feedback-modal-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feedback-modal-header {
  text-align: center;
}

.feedback-modal-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feedback-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.feedback-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.feedback-modal-message {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feedback-modal-email {
  width: 100%;
}

.feedback-email-input {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}

.feedback-email-input:focus {
  border-color: var(--accent-red);
}

.feedback-email-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.feedback-modal-comment {
  padding: 0 0.5rem;
}

.feedback-comment-input {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
  min-height: 70px;
}

.feedback-comment-input:focus {
  border-color: var(--accent-red);
}

.feedback-comment-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.feedback-modal-rating {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.feedback-stars {
  display: flex;
  gap: 0.5rem;
}

.feedback-star {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.feedback-star:hover {
  transform: scale(1.1);
  color: #fbbf24;
}

.feedback-star.active {
  color: #fbbf24;
}

.feedback-star svg,
.feedback-star i {
  fill: currentColor;
  stroke: currentColor;
}

.feedback-star.active svg,
.feedback-star.active i {
  fill: #fbbf24;
}

.feedback-modal-social {
  text-align: center;
}

.feedback-social-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.feedback-social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.feedback-social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: white;
}

.feedback-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.feedback-social-btn.whatsapp {
  background-color: #25D366;
}

.feedback-social-btn.facebook {
  background-color: #1877F2;
}

.feedback-social-btn.twitter {
  background-color: #1DA1F2;
}

.feedback-social-btn.linkedin {
  background-color: #0A66C2;
}

.feedback-modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.feedback-btn-skip,
.feedback-btn-submit {
  flex: 1;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.feedback-btn-skip {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.feedback-btn-skip:hover {
  background-color: var(--bg-card);
  border-color: var(--text-secondary);
}

.feedback-btn-submit {
  background-color: #10b981;
  color: white;
  border: 1px solid #10b981;
}

.feedback-btn-submit:hover {
  background-color: #059669;
  border-color: #059669;
}

/* Related Tools Section */
.related-tools {
  max-width: 1400px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.related-tools-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.related-tool-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.related-tool-card:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
}

.related-tool-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-red) 0%, #cc0000 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Varied colors for Related Tools */
.related-tool-card:nth-child(1) .related-tool-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.related-tool-card:nth-child(2) .related-tool-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.related-tool-card:nth-child(3) .related-tool-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.related-tool-card:nth-child(4) .related-tool-icon {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
}

.related-tool-card:nth-child(5) .related-tool-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.related-tool-name {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  /* Restore tools-grid responsive style if it was lost or add it */
  /* Restore tools-grid responsive style if it was lost or add it */
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    /* User requested 2 cards per row */
    gap: 0.75rem;
    /* Reduce gap for mobile to fit better */
    padding: 0 0.5rem 2rem;
    /* Reduce padding */
  }

  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
    /* User requested 2 cards per row */
  }

  .related-tools {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .related-tools-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .related-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns on mobile */
    gap: 0.75rem;
    padding: 0;
  }

  .newsletter {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input {
    width: 100%;
  }
}

/* Mobile Navigation Styles - Added for Responsiveness */
.mobile-menu-btn {
  display: none !important;
  /* Force hidden by default on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  /* Start off-screen */
  width: 280px;
  height: 100%;
  background-color: var(--bg-card);
  z-index: 1002;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

.mobile-nav-content {
  padding: 1.5rem;
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  flex: 1;
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-nav-links {
  list-style: none;
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.mobile-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav-divider {
  height: 1px;
  background-color: var(--border-color);
  width: 100%;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-support-btn {
  justify-content: center;
  width: 100%;
}

.mobile-signin-btn {
  text-align: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
}

.mobile-language-section h3 {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.mobile-language-grid,
.mobile-language-grid-extended {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mobile-lang-opt {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-lang-opt:hover {
  background: var(--bg-secondary);
  border-color: var(--text-secondary);
}

.mobile-lang-more {
  width: 100%;
  background: none;
  border: none;
  color: var(--accent-red);
  padding: 1rem 0 0.5rem 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

/* Responsive Media Query Updates */
@media (max-width: 900px) {

  .nav-menu,
  .nav-actions {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  .logo {
    font-size: 1.5rem;
    white-space: nowrap;
    /* Prevent wrapping */
  }

  .navbar-container {
    padding: 0 1.5rem;
  }
}

.premium-card {
  position: relative;
  /* Ensure badge is positioned relative to card */
  overflow: visible !important;
  /* Allow badge to pop out if needed */
}

.premium-badge-overlay {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 60px;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transform: rotate(-10deg);
}


.premium-badge-text {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #FFF176 0%, #FFD700 100%);
  /* Brighter Golden gradient */
  color: #0033cc;
  /* Strong blue */
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 12px 0 12px 0;
  z-index: 10;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  border: 1px solid #fdd835;
}


.premium-badge-text {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Mobile: Stack search bar and social icons vertically */
@media (max-width: 768px) {
  .search-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .search-container {
    width: 100%;
    max-width: 100%;
  }

  .search-row .social-share-buttons {
    justify-content: center;
    width: 100%;
  }
}