:root {
  /* LIGHT MODE COLORS */

  /* Primary Colors - YouTube Red */
  --youtube-red: #ee203b;
  --youtube-red-medium: #e60000;
  --youtube-red-dark: #cc0000;

  /* Primary Colors - Modern Blue */
  --modern-blue: #3b82f6;
  --modern-blue-medium: #2563eb;
  --modern-blue-dark: #1d4ed8;

  /* Background & Surface */
  --bg-primary: #3c3c4308;
  --bg-secondary: #f1f1f1;
  /* --bg-tertiary: #f0f0f0; */
  --bg-tertiary: #3c3c4308;

  --surface-primary: #ffffff;
  --surface-secondary: #f9fafb;
  --surface-tertiary: #f3f4f6;

  /* Text & Content */
  --text-primary: #000000;
  --text-secondary: #374151;
  --text-tertiary: #6b7280;

  /* Accent Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Border Colors */
  --color-border-primary: #e5e7eb;
  --color-border-secondary: #d1d5db;
  --color-border-focus: #3b82f6;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-llg: 22px;
  --radius-xlg: 36px;

  /* Effects */
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);

  --card-shadow: rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fffffff2;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-primary);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  color: var(--text-primary);
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
}

.logo-icon {
  width: 30px;
  flex-shrink: 0;
}

.logo-icon img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-nav {
  display: flex;
  gap: 16px;
}

.nav-link {
  padding: 6px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mobile-menu-btn span {
  font-size: 30px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--surface-primary);
  border-left: 1px solid var(--color-border-primary);
  box-shadow: var(--shadow-lg);
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 20px 24px;
  padding-right: 52px;
  border-bottom: 1px solid var(--color-border-primary);
}

.mobile-menu-header .mobile-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.mobile-menu-close {
  border: none;
  outline: none;
  background: transparent;
  margin: 0 20px;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 10px;
}

.mobile-menu-close span {
  font-size: 30px;
}

.mobile-menu-content {
  padding: 24px;
}

.mobile-nav-item {
  display: block;
  padding: 6px 16px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-xlg);
  transition: all 0.2s ease;
}

.mobile-nav-item:hover {
  color: var(--text-primary);
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.mobile-nav-actions {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-primary);
}

.mobile-nav-actions a {
  font-size: 1rem;
  width: 100%;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000080;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main Layout */
.main-wrapper {
  padding: 24px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Cards */
.card {
  background: var(--surface-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-llg);
  padding: 3rem 26px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  display: flex;
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 4rem 26px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  width: 20ch;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 3rem;
}

.hero-description {
  font-size: 1rem;
  line-height: 2;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.feature-item {
  font-size: 1rem;
  width: 130px;
  height: 130px;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: var(--surface-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-llg);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
}

.feature-item .material-icons-round {
  font-size: 22px;
  color: var(--surface-primary);
  background: var(--modern-blue);
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-item:hover .material-icons-round {
  background: var(--youtube-red);
}

/* Section Headers */
#how-to-use {
  padding: 6rem 26px;
}

.section-header-content {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-content h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin: 0 auto;
}

.section-header-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--surface-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: 24px;
  transition: transform 0.3s ease;
}

.step-item:hover {
  transform: translateY(-8px);
}

.step-item:hover .step-number {
  background-color: var(--modern-blue);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--youtube-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Tool Section */
#download {
  padding: 4rem 32px;
  padding-top: 3.5rem;
}

.tool-header {
  text-align: center;
  margin-bottom: 50px;
}

.tool-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tool-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.input-group {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-top: 60px;
}

.input-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.input {
  width: 100%;
  background-color: var(--bg-secondary);
  border: none;
  box-shadow: 0 0 0 1px var(--color-border-primary);
  border-radius: var(--radius-xlg);
  padding: 12px 28px;
  padding-right: 120px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.input:focus {
  box-shadow: 0 0 0 1px var(--youtube-red);
}

.input::placeholder {
  color: var(--text-tertiary);
}

/* Fixed button positioning */
.paste-btn,
.clear-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Center vertically */
  background: var(--bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  z-index: 10;
}

.paste-btn span,
.clear-btn span {
  font-size: 18px;
}

.paste-btn,
.clear-btn {
  right: 16px;
}

.paste-btn:hover,
.clear-btn:hover {
  background: var(--youtube-red);
  color: white;
  border-color: var(--color-border-primary);
}

.supported-formats {
  text-align: center;
  margin-top: 4rem;
  padding: 10px;
}

.supported-formats p {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

/* Buttons */
.btn {
  background: var(--bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--youtube-red-medium);
}

.btn-primary {
  background-color: var(--youtube-red);
  border-color: var(--youtube-red-dark);
  color: var(--surface-primary);
}

.btn-secondary {
  background-color: var(--modern-blue) !important;
  color: var(--surface-secondary) !important;
  border: 1px solid var(--modern-blue-dark) !important;
  font-size: 0.8rem;
  outline: none;
  border-radius: 20px;
  padding: 8px 12px;
  transition: all 0.3s ease-in;
}

.btn-secondary:hover {
  background-color: var(--modern-blue-medium) !important;
}

.btn-secondary span {
  font-size: 16px !important;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

#downloadBtn {
  padding: 10px 20px;
  border-radius: 40px;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border-primary);
  border-top: 2px solid var(--color-border-secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

/* Video Info */
.video-info-header {
  margin-bottom: 1.5rem;
}

.video-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.quality-count span {
  color: var(--primary);
  font-weight: 600;
}

/* Thumbnails */
#thumbnailsDisplay {
  padding: 3rem 26px;
}

.main-thumbnail-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--surface-primary);
  padding: 20px;
  padding-bottom: 30px;
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xlg);
  box-shadow: var(--shadow);
}

.main-thumbnail-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-llg);
  overflow: hidden;
  border: 1px solid var(--color-border-primary);
}

.main-thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.main-thumbnail.loaded {
  border: none;
}

.main-thumbnail-info {
  display: flex;
  flex-flow: column wrap;
  gap: 4px;
  width: 100%;
  text-align: left;
  margin-top: 2rem;
}

.main-thumbnail-info h4 {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.main-thumbnail-info p {
  color: var(--text-secondary);
  font-size: 1rem;
}

#mainThumbnailBtn {
  font-size: 1rem;
}

.thumbnail-action-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.thumbnail-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.other-thumbnails-section {
  margin-top: 3rem;
}

.other-thumbnails-section .section-header {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.other-thumbnails-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.quality-count {
  display: inline-block;
  background-color: var(--modern-blue);
  color: var(--surface-primary);
  padding: 1px 6px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.thumbnail-card {
  border-radius: var(--radius-xlg);
  transition: all 0.2s ease;
  padding: 20px;
  background-color: var(--surface-primary);
  border: 1px solid var(--color-border-primary);
  box-shadow: var(--shadow);
}

.thumbnail-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.thumbnail-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.thumbnail-card p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.other-btn-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Features Grid */
#features {
  padding: 6rem 26px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  background: var(--surface-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: 24px;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.feature-card:hover .feature-icon {
  background: var(--surface-secondary);
  transform: scale(1.1);
}

.feature-icon .material-icons-round {
  font-size: 22px;
  color: var(--modern-blue);
  transition: color 0.2s ease;
}

.feature-card:hover .feature-icon .material-icons-round {
  color: var(--youtube-red);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* About Section */
#about {
  background: var(--bg-tertiary);
  padding: calc(6rem) 50px;
  color: black;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  color: black;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-text p {
  color: #000000;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 6rem;
}

.stat-item {
  padding: 10px;
  text-align: center;
  background-color: var(--surface-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-llg);
  transition: transform 0.2s ease-in-out;
}

.stat-item:hover {
  transform: translateY(-8px);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-icon {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 99;
}

.about-icon img {
  position: absolute;
  z-index: 2;
}

.about-icon::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-xlg);
  z-index: 2;
  background-color: var(--surface-secondary);
}

.about-icon .material-icons-round {
  font-size: 80px;
  color: white;
}

/* Contact Section */
.contact-content {
  padding: 4rem 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-content > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 2;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: 14px;
  transition: transform 0.2s ease;
  text-align: left;
}

.contact-method:hover {
  transform: translateY(-2px);
}

.contact-method .material-icons-round {
  flex-shrink: 0;
  font-size: 22px;
  color: var(--primary);
  background: var(--bg-tertiary);
  color: var(--youtube-red);
  padding: 12px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-method:hover .material-icons-round {
  color: var(--modern-blue);
}

.contact-method h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-method p {
  color: var(--text-secondary);
  margin: 0;
  /* word-break: break-all; or use break-word for better results in modern browsers */
  /* overflow-wrap: break-word; */
  /* white-space: normal; */
}

.contact-method small {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  display: block;
  margin-top: 4px;
  text-decoration: underline;
}

/* FAQ Section */
#faq {
  padding: 4rem 26px;
}

.faq-header {
  text-align: center;
  margin-bottom: 80px;
}

.faq-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.faq-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.faq-item {
  background: var(--surface-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  border: none;
  padding: 20px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: left;
  transition: all 0.2s ease;
}

.faq-question:hover {
  color: var(--text-primary);
}

.faq-question span:first-child {
  flex: 1;
  padding-right: 20px;
}

.faq-icon {
  font-size: 25px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  background: var(--bg-secondary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.faq-question:hover .faq-icon {
  background-color: var(--modern-blue);
  border-color: var(--color-border-primary);
  color: var(--surface-primary);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 32px;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

/* When active, reveal with animation */
.faq-item.active .faq-answer {
  max-height: 1000px; /* large enough to fit any content */
  opacity: 1;
  padding: 32px;
  border-top: 1px solid var(--color-border-primary);
}

/* Rotate the icon when active */
.faq-item.active .faq-icon {
  rotate: 180deg;
  background-color: var(--youtube-red);
  color: var(--surface-primary);
}

.faq-answer-content {
  font-size: 1rem;
  color: var(--text-secondary);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ol,
.faq-answer ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.faq-answer li {
  margin-bottom: 12px;
}

.faq-answer li::marker {
  color: var(--text-secondary);
  font-weight: 600;
}

.faq-answer ul li {
  position: relative;
  padding-left: 8px;
}

/* Error Card */
.error-card {
  border: 1px solid var(--error);
  background: var(--surface-primary);
}

.error-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.error-icon {
  color: var(--error);
  font-size: 1rem;
}

.error-title {
  color: #dc2626;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.error-text {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border-primary);
  margin-top: 80px;
  padding: 48px 0 24px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo .logo-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-description {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.footer-links-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.footer-links-section h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-tertiary);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.footer-link {
  text-decoration: none;
  font-size: 1rem;
  padding: 4px 0;
  display: block;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-copyright {
  color: var(--text-tertiary);
  font-size: 0.8rem;
  margin: 0;
}

/* Legal Pages */
.legal-page {
  padding: 2rem 0;
  line-height: 1.8;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.8rem;
  margin-bottom: 60px !important;
  font-style: italic;
}

.legal-page section {
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.legal-page p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-page ul,
.legal-page ol {
  color: var(--text-secondary);
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page strong {
  color: var(--text-primary);
  font-weight: 600;
}
