/* CSS Custom Properties for Theming */
:root {
  /* Light Theme Colors */
  --background: 210 11% 98%; /* #F5F7FA */
  --surface: 0 0% 100%; /* #FFFFFF */
  --surface-variant: 210 17% 95%; /* #F1F4F8 */
  --primary: 213 94% 51%; /* #1E72E7 */
  --primary-variant: 213 87% 47%; /* #1B66D1 */
  --secondary: 158 66% 52%; /* #36C5A8 */
  --text-primary: 210 22% 22%; /* #2D3748 */
  --text-secondary: 213 13% 49%; /* #718096 */
  --text-tertiary: 210 8% 66%; /* #A0AEC0 */
  --border: 210 14% 89%; /* #E2E8F0 */
  --error: 0 84% 60%; /* #E53E3E */
  --success: 144 68% 55%; /* #48BB78 */
  --warning: 38 92% 55%; /* #ED8936 */
  --shadow: 210 40% 8% / 0.1; /* rgba(16, 42, 67, 0.1) */
}

[data-theme="dark"] {
  /* Dark Theme Colors */
  --background: 222 84% 5%; /* #0A0E1A */
  --surface: 222 47% 11%; /* #1A202C */
  --surface-variant: 221 39% 17%; /* #2D3748 */
  --primary: 213 94% 68%; /* #4A9EFF */
  --primary-variant: 213 100% 72%; /* #5BA3FF */
  --secondary: 158 66% 62%; /* #4FD1C7 */
  --text-primary: 210 40% 98%; /* #F7FAFC */
  --text-secondary: 213 27% 84%; /* #CBD5E0 */
  --text-tertiary: 210 16% 71%; /* #A0AEC0 */
  --border: 221 39% 17%; /* #2D3748 */
  --error: 0 72% 71%; /* #FC8181 */
  --success: 144 61% 70%; /* #68D391 */
  --warning: 38 75% 70%; /* #F6AD55 */
  --shadow: 0 0% 0% / 0.2; /* rgba(0, 0, 0, 0.2) */
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--text-primary));
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* App Container */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background-color: hsl(var(--surface));
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: hsl(var(--text-secondary));
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
}

.nav-link.active {
  color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.1);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo i {
  font-size: 1.75rem;
  color: hsl(var(--primary));
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
}

.header-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.theme-toggle {
  background: none;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  color: hsl(var(--text-secondary));
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background-color: hsl(var(--surface-variant));
  color: hsl(var(--primary));
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  gap: 0;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background-color: hsl(var(--surface));
  border-right: 1px solid hsl(var(--border));
  padding: 2rem 0;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1.5rem;
}

.nav-item {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  color: hsl(var(--text-secondary));
  font-weight: 500;
}

.nav-item:hover {
  background-color: hsl(var(--surface-variant));
  color: hsl(var(--text-primary));
}

.nav-item.active {
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.nav-item i {
  font-size: 1.25rem;
  width: 20px;
}

/* Content Area */
.content-area {
  flex: 1;
  padding: 2rem;
  background-color: hsl(var(--background));
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

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

/* Tool Header */
.tool-header {
  margin-bottom: 2rem;
}

.tool-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tool-header h2 i {
  color: hsl(var(--primary));
}

.tool-header p {
  color: hsl(var(--text-secondary));
  font-size: 1.1rem;
}

/* Input Section */
.input-section {
  background-color: hsl(var(--surface));
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid hsl(var(--border));
}

.input-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.upload-btn {
  background-color: hsl(var(--surface-variant));
  border: 1px solid hsl(var(--border));
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--text-primary));
  font-weight: 500;
}

.upload-btn:hover {
  background-color: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.text-stats {
  color: hsl(var(--text-secondary));
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
}

.paraphrase-mode {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.paraphrase-mode label {
  color: hsl(var(--text-secondary));
  font-weight: 500;
}

.paraphrase-mode select {
  background-color: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: hsl(var(--text-primary));
  font-family: inherit;
}

/* Textarea Container */
.textarea-container {
  position: relative;
  margin-bottom: 1.5rem;
}

textarea {
  width: 100%;
  min-height: 200px;
  padding: 1.5rem;
  border: 2px solid hsl(var(--border));
  border-radius: 12px;
  background-color: hsl(var(--background));
  color: hsl(var(--text-primary));
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease;
}

textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

textarea::placeholder {
  color: hsl(var(--text-tertiary));
}

.clear-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: hsl(var(--text-tertiary) / 0.1);
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: hsl(var(--text-tertiary));
  transition: all 0.2s ease;
  opacity: 0;
}

.textarea-container:hover .clear-btn {
  opacity: 1;
}

.clear-btn:hover {
  background: hsl(var(--error) / 0.1);
  color: hsl(var(--error));
}

/* Action Button */
.action-btn {
  background-color: hsl(var(--primary));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  position: relative;
}

.action-btn:hover {
  background-color: hsl(var(--primary-variant));
  transform: translateY(-1px);
}

.action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

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

.spinner.hidden {
  display: none;
}

/* Results Section */
.results-section {
  background-color: hsl(var(--surface));
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  animation: slideUp 0.4s ease;
}

.results-section.hidden {
  display: none;
}

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

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
}

.result-controls {
  display: flex;
  gap: 0.75rem;
}

.control-btn {
  background-color: hsl(var(--surface-variant));
  border: 1px solid hsl(var(--border));
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--text-primary));
  font-weight: 500;
}

.control-btn:hover {
  background-color: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.control-btn.secondary {
  background-color: hsl(var(--secondary) / 0.1);
  border-color: hsl(var(--secondary));
  color: hsl(var(--secondary));
}

.control-btn.secondary:hover {
  background-color: hsl(var(--secondary) / 0.2);
}

/* Plagiarism Stats */
.plagiarism-stats, .ai-detection-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Chart Container */
.chart-container {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card {
  background-color: hsl(var(--background));
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid hsl(var(--border));
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.stat-label {
  color: hsl(var(--text-secondary));
  font-size: 0.9rem;
  font-weight: 500;
}

/* Result Content */
.result-content {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 1.5rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  line-height: 1.8;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Plagiarism Highlighting */
.plagiarism-highlight {
  background-color: hsl(var(--error) / 0.2);
  border-bottom: 2px solid hsl(var(--error));
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plagiarism-highlight:hover {
  background-color: hsl(var(--error) / 0.3);
}

/* Paraphrase Comparison */
.paraphrase-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparison-section h4 {
  color: hsl(var(--text-secondary));
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-content {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 1.5rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-wrap: break-word;
  min-height: 200px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: hsl(var(--success));
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px hsl(var(--shadow));
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.25rem;
}

.toast-message {
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    padding: 1rem 0;
  }
  
  .nav-menu {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 1rem;
  }
  
  .nav-item {
    white-space: nowrap;
    min-width: fit-content;
  }
  
  .content-area {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
  }
  
  .logo h1 {
    font-size: 1.25rem;
  }
  
  .content-area {
    padding: 1rem;
  }
  
  .input-section {
    padding: 1.5rem;
  }
  
  .results-section {
    padding: 1.5rem;
  }
  
  .tool-header h2 {
    font-size: 1.5rem;
  }
  
  .paraphrase-comparison {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .plagiarism-stats {
    grid-template-columns: 1fr;
  }
  
  .input-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .results-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .result-controls {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    gap: 0.25rem;
  }
  
  .nav-item {
    padding: 0.75rem 1rem;
  }
  
  .nav-item span {
    display: none;
  }
  
  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
}

/* Focus Styles for Accessibility */
button:focus,
select:focus,
textarea:focus,
input:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Footer */
.footer {
  background-color: hsl(var(--surface));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: hsl(var(--text-primary));
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: hsl(var(--text-primary));
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: hsl(var(--text-secondary));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: hsl(var(--text-secondary));
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: hsl(var(--primary));
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: hsl(var(--surface-variant));
  border-radius: 8px;
  color: hsl(var(--text-secondary));
  transition: all 0.2s ease;
}

.social-links a:hover {
  background-color: hsl(var(--primary));
  color: white;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid hsl(var(--border));
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: hsl(var(--text-secondary));
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: hsl(var(--text-secondary));
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

/* Legal Pages Styling */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: hsl(var(--surface));
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
  margin-bottom: 1rem;
}

.last-updated {
  color: hsl(var(--text-secondary));
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
  color: hsl(var(--text-primary));
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section ul li {
  color: hsl(var(--text-primary));
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.legal-section ul li strong {
  color: hsl(var(--primary));
  font-weight: 600;
}

/* Responsive design for header navigation */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  
  .legal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
}

/* Enhanced Content Page Styling */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tool-card {
  background-color: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px hsl(var(--shadow));
}

.tool-card.featured {
  border-color: hsl(var(--primary));
  background: linear-gradient(135deg, hsl(var(--surface)) 0%, hsl(var(--primary) / 0.02) 100%);
}

.tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.tool-icon i {
  font-size: 1.5rem;
  color: hsl(var(--primary));
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--text-primary));
  margin-bottom: 1rem;
}

.tool-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.feature-tag {
  background-color: hsl(var(--secondary) / 0.1);
  color: hsl(var(--secondary));
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.tool-link:hover {
  background-color: hsl(var(--primary-variant));
  transform: translateY(-1px);
}

.tool-stats {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.9rem;
  color: hsl(var(--text-secondary));
}

/* Contact Page Styling */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-card {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px hsl(var(--shadow));
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.contact-icon i {
  font-size: 1.25rem;
  color: hsl(var(--primary));
}

.contact-link {
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 600;
  display: block;
  margin: 0.5rem 0;
}

.response-time {
  font-size: 0.85rem;
  color: hsl(var(--text-secondary));
  font-style: italic;
}

/* Help Categories */
.help-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.help-category-card {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.help-category-card:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.category-icon i {
  font-size: 1.25rem;
  color: hsl(var(--primary));
}

.category-link {
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 500;
}

/* FAQ Styling */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
  justify-content: center;
}

.faq-category {
  background-color: hsl(var(--surface-variant));
  border: 1px solid hsl(var(--border));
  border-radius: 25px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: hsl(var(--text-secondary));
}

.faq-category.active,
.faq-category:hover {
  background-color: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

.faq-item {
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  margin-bottom: 1rem;
}

.faq-question {
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: hsl(var(--surface-variant));
  border-radius: 8px 8px 0 0;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: hsl(var(--primary) / 0.1);
}

.faq-question h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.faq-answer {
  padding: 1rem 1.5rem;
  background-color: hsl(var(--surface));
}

/* Search Boxes */
.search-box {
  position: relative;
  max-width: 400px;
  margin: 2rem auto;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--text-secondary));
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid hsl(var(--border));
  border-radius: 25px;
  background-color: hsl(var(--surface));
  color: hsl(var(--text-primary));
  font-family: inherit;
}

.search-box input:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--surface));
  color: hsl(var(--text-primary));
}

.cta-button.primary {
  background-color: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsl(var(--shadow));
}

.cta-button.primary:hover {
  background-color: hsl(var(--primary-variant));
}

/* Selection styles */
::selection {
  background-color: hsl(var(--primary) / 0.2);
  color: hsl(var(--text-primary));
}
