/* Enhanced Legal Pages Styles - SureHelp Solutions */
/* Following home page color scheme and design patterns */

/* CSS Variables - Matching Home Page */
:root {
  --primary-color: #4f46e5;
  --secondary-color: #7c3aed;
  --accent-color: #a855f7;
  --accent-secondary: #ccb1be;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dark: #1e293b;
  --text-dark-secondary: #475569;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-dark: rgba(0, 0, 0, 0.1);
  --background-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b69 100%);
  --background-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-secondary: linear-gradient(135deg, #1E3A8A 0%, #625ED0 50%, #4D8BCC 100%);
  --gradient-text: linear-gradient(135deg, #fff 0%, #a855f7 50%, #ccb1be 100%);
  --shadow-light: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.3);
}

/* Prevent conflicts with navbar and footer */
.legal-pages-wrapper {
  position: relative;
  z-index: 1;
}

/* Ensure navbar doesn't interfere */
.navbar {
  z-index: 1050 !important;
}

/* Ensure footer doesn't interfere */
.footer {
  position: relative;
  z-index: 10;
}

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

/* Enhanced Hero Section */
.hero-section {
  background: var(--gradient-secondary);
  padding: 130px 0 100px 0;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  margin-top: 0; /* Ensure no margin conflicts with fixed navbar */
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.page-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 50px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all 0.4s ease;
  animation: fadeInUp 1s ease-out 0.7s both;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.last-updated:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.last-updated i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Enhanced Content Section */
.content-section {
  padding: 100px 0;
  background: var(--background-light);
  position: relative;
  overflow: hidden;
  margin-top: 0; /* Ensure no margin conflicts */
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Enhanced Table of Contents */
.table-of-contents {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-light);
  border: 2px solid rgba(79, 70, 229, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.table-of-contents::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 24px 24px 0 0;
}

.table-of-contents::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.table-of-contents:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.table-of-contents:hover::after {
  opacity: 1;
}

.toc-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.toc-title i {
  color: var(--primary-color);
  font-size: 2.25rem;
  transition: all 0.3s ease;
}

.table-of-contents:hover .toc-title i {
  transform: scale(1.1) rotate(5deg);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.toc-list a {
  display: block;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  transition: all 0.4s ease;
  border: 2px solid rgba(79, 70, 229, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.toc-list a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
  transition: left 0.6s ease;
}

.toc-list a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.toc-list a:hover {
  color: white;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
  border-color: var(--primary-color);
}

.toc-list a:hover::before {
  left: 100%;
}

.toc-list a:hover::after {
  opacity: 1;
}

.toc-list a span {
  position: relative;
  z-index: 2;
}

/* Enhanced Legal Cards */
.legal-card {
  background: white;
  border-radius: 24px;
  padding: 3.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-dark);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.legal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.legal-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* .legal-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-medium);
} */

/* .legal-card:hover::before,
.legal-card:hover::after {
  opacity: 1;
} */

/* Enhanced Section Titles */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* .legal-card:hover .section-title::after {
  width: 120px;
} */

.section-title i {
  color: var(--primary-color);
  font-size: 2.5rem;
  transition: all 0.3s ease;
  padding: 1rem;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 16px;
}

/* .legal-card:hover .section-title i {
  transform: scale(1.15) rotate(5deg);
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
} */

/* Enhanced Section Content */
.section-content {
  color: var(--text-dark-secondary);
  line-height: 1.8;
  font-size: 1.125rem;
  position: relative;
  z-index: 2;
}

.section-content p {
  margin-bottom: 1.75rem;
  transition: color 0.3s ease;
}

.section-content h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin: 2.5rem 0 1.5rem 0;
  font-size: 1.375rem;
  position: relative;
  padding-left: 1rem;
}

.section-content h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-content h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  font-size: 1.2rem;
}

.section-content ul,
.section-content ol {
  margin: 2rem 0;
  padding-left: 2.5rem;
}

.section-content li {
  margin-bottom: 1rem;
  color: var(--text-dark-secondary);
  transition: all 0.3s ease;
  position: relative;
}

.section-content li::marker {
  color: var(--primary-color);
}

.section-content li:hover {
  color: var(--primary-color);
  transform: translateX(8px);
}

/* Enhanced Highlight Boxes */
.highlight-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  border-left: 6px solid var(--primary-color);
  padding: 2.5rem;
  border-radius: 20px;
  margin: 2.5rem 0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.15);
  border-left-color: var(--secondary-color);
}

.highlight-box:hover::before {
  opacity: 1;
}

.highlight-box h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  font-size: 1.3rem;
}

.highlight-box p {
  margin: 0;
  color: var(--text-dark-secondary);
  font-weight: 500;
  position: relative;
  z-index: 2;
  line-height: 1.7;
}

.highlight-box ul {
  margin: 1.5rem 0 0 0;
  position: relative;
  z-index: 2;
}

.highlight-box li {
  margin-bottom: 0.75rem;
  color: var(--text-dark-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.highlight-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Enhanced Definition Lists */
.definition-list {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.definition-list:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.definition-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-dark);
  transition: all 0.3s ease;
  position: relative;
}

.definition-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.definition-item:hover {
  transform: translateX(12px);
  padding-left: 1.5rem;
}

.definition-term {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.definition-item:hover .definition-term {
  color: var(--secondary-color);
}

.definition-description {
  color: var(--text-dark-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Enhanced Cookie Components */
.cookie-type {
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-radius: 20px;
  border: 1px solid var(--border-dark);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cookie-type::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-type:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.cookie-type:hover::before {
  opacity: 1;
}

.cookie-type h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.cookie-type:hover h5 {
  color: var(--secondary-color);
}

.cookie-type h5 i {
  font-size: 1.75rem;
  transition: all 0.3s ease;
  padding: 0.75rem;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 12px;
}

.cookie-type:hover h5 i {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-primary);
  color: white;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-dark);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-toggle:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

.cookie-toggle:hover::before {
  opacity: 1;
}

.toggle-switch {
  width: 60px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--border-dark);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  top: 1px;
  left: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active::after {
  transform: translateX(28px);
}

/* Enhanced FAQ Styles */
.faq-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
  transition: all 0.3s ease;
  position: relative;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover {
  transform: translateX(15px);
  padding-left: 2rem;
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.faq-item:hover h5 {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.faq-item p {
  color: var(--text-dark-secondary);
  margin-bottom: 0;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.faq-item:hover p {
  color: var(--text-dark);
}

/* Enhanced Signature Styles */
.signature-section {
  margin: 2.5rem 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-radius: 20px;
  border: 1px solid var(--border-dark);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.signature-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.signature-section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light);
}

.signature-section:hover::before {
  opacity: 1;
}

.signature-section h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.signature-section:hover h4 {
  color: var(--secondary-color);
}

.signature-line {
  height: 3px;
  background: var(--border-dark);
  margin: 0.75rem 0 2rem 0;
  width: 250px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.signature-section:hover .signature-line {
  background: var(--gradient-primary);
  width: 300px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* Download Button Styles */
.download-section {
  margin: 3rem 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
  border-radius: 20px;
  border: 2px solid rgba(79, 70, 229, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.download-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.2);
}

.download-section:hover::before {
  opacity: 1;
}

.download-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.download-title i {
  color: var(--primary-color);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.download-section:hover .download-title i {
  transform: scale(1.1) rotate(5deg);
}

.download-description {
  color: var(--text-dark-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.download-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.download-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
  text-decoration: none;
  color: white;
}

.download-button:hover::before {
  left: 100%;
}

.download-button i {
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.download-button:hover i {
  transform: scale(1.1);
}

/* Enhanced Contact Info */
/* .contact-info {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem;
  border-radius: 24px;
  margin-top: 4rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.contact-info:hover::before {
  opacity: 1;
}

.contact-info h3,
.contact-info h4 {
  color: white;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  position: relative;
  z-index: 2;
}

.contact-info p {
  margin: 0;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.contact-info a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.contact-info a:hover {
  text-decoration: underline;
  transform: scale(1.05);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
} */

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 80px 0;
    min-height: 50vh;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .page-subtitle {
    font-size: 1.2rem;
  }

  .content-section {
    padding: 80px 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .table-of-contents,
  .legal-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.875rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .section-title i {
    font-size: 2rem;
  }

  .toc-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .highlight-box {
    padding: 2rem;
  }

  .cookie-toggle {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .toggle-switch {
    margin: 0 auto;
  }

  .contact-info {
    padding: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 80px 0 60px 0;
  }

  .page-title {
    font-size: 2rem;
  }

  .last-updated {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .table-of-contents,
  .legal-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .highlight-box {
    padding: 1.5rem;
  }

  .contact-info {
    padding: 2rem;
  }

  .signature-line {
    width: 200px;
  }

  .cookie-type {
    padding: 2rem;
  }
}

/* Focus States for Accessibility */
.toc-list a:focus,
.legal-card:focus-within,
.cookie-toggle:focus-within {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .hero-section {
    background: white !important;
    color: black !important;
    padding: 40px 0 !important;
  }
  
  .legal-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }
  
  .highlight-box {
    background: #f5f5f5 !important;
    border: 1px solid #ddd !important;
  }
  
  .toc-list a {
    background: #f9f9f9 !important;
    color: black !important;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #f8fafc;
    --text-dark-secondary: #cbd5e1;
    --border-dark: rgba(255, 255, 255, 0.1);
    --background-light: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  }
  
  .legal-card,
  .table-of-contents,
  .highlight-box,
  .definition-list,
  .cookie-type,
  .signature-section {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }
}

/* Performance Optimizations */
.legal-card,
.highlight-box,
.toc-list a {
  will-change: transform;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}