/* CSS Variables */
:root {
  --background: #FAFAFA;
  --foreground: #09090B;
  --secondary: #71717A;
  --accent: #DC2626;
  --accent-hover: #B91C1C;
  --border: #E4E4E7;
  --white: #FFFFFF;
  --font-body: 'Space Grotesk', sans-serif;
  --font-heading: 'Archivo', sans-serif;
}

/* Dark Mode */
[data-theme="dark"] {
  --background: #09090B;
  --foreground: #FAFAFA;
  --secondary: #A1A1AA;
  --accent: #EF4444;
  --accent-hover: #F87171;
  --border: #27272A;
  --white: #18181B;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.accent {
  color: var(--accent);
}

.underline {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .section-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section-container {
    padding: 0 2rem;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .navbar {
  background: rgba(9, 9, 11, 0.8);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--foreground);
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(128, 128, 128, 0.12);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  padding: 2px;
}

.nav-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.nav-title::after {
  content: "Fairy Kekkai Workshop";
}

@media (max-width: 640px) {
  .nav-title::after {
    content: "FKW";
  }
}

.nav-menu {
  display: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-actions {
  display: none;
}

.navbar.nav-open .nav-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 2.5rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  z-index: 40;
}

.navbar.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.navbar.nav-open .nav-links .nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--foreground);
}

.navbar.nav-open .nav-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

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

.navbar.nav-open .theme-toggle,
.navbar.nav-open .lang-btn {
  width: 100%;
}

.navbar.nav-open .language-switcher {
  width: 100%;
}

.navbar.nav-open .nav-actions .nav-link {
  font-size: 1rem;
  justify-content: flex-start;
  gap: 0.5rem;
}

.navbar.nav-open .nav-social .nav-link {
  justify-content: center;
  flex: 1;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.navbar.nav-open .nav-actions .nav-link .icon {
  width: 22px;
  height: 22px;
}

.navbar.nav-open .lang-dropdown {
  width: 100%;
}

.nav-links .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.2s;
}

.nav-links .nav-link:hover {
  color: var(--foreground);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--foreground);
}

.theme-toggle:hover {
  background: var(--border);
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
  color: var(--foreground);
}

.theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: block;
}

.nav-link {
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent);
}

.icon {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex: 1;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-left: 2rem;
  }

  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-social {
    gap: 1rem;
  }

  .nav-social .nav-link {
    border: none;
    min-height: auto;
  }
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.lang-btn:hover {
  background: rgba(128, 128, 128, 0.15);
}

.lang-btn .icon {
  color: var(--foreground);
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 160px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 50;
  display: none;
}

[data-theme="dark"] .lang-dropdown {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.lang-option:hover {
  background: rgba(128, 128, 128, 0.15);
}

.lang-option.active {
  font-weight: 700;
  color: var(--accent);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  background-image: url('https://res.cloudinary.com/do6rggmy6/image/upload/v1781682601/hero_image_dllmki.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background-image: url('https://res.cloudinary.com/do6rggmy6/image/upload/v1781682602/hero_image_dark_urrouh.png');
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
  animation: float-particle var(--duration) linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-10vh) translateX(var(--drift));
    opacity: 0;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0.5), rgba(250, 250, 250, 0.95));
  z-index: 1;
}

[data-theme="dark"] .hero::before {
  background: linear-gradient(to bottom, rgba(9, 9, 11, 0.3), rgba(9, 9, 11, 0.95));
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1.5;
  max-width: 52rem;
  animation: fadeInUp 0.5s ease-out;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-showcase {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out;
}

.showcase-img {
  max-width: 100%;
  border-radius: 5px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.showcase-img-light {
  display: block;
}

.showcase-img-dark {
  display: none;
}

[data-theme="dark"] .showcase-img-light {
  display: none;
}

[data-theme="dark"] .showcase-img-dark {
  display: block;
}

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

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-showcase {
    width: 100%;
  }
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

@media (max-width: 1024px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover .icon {
  transform: translateY(2px);
}

.btn-secondary {
  border: 2px solid var(--foreground);
  background: transparent;
  color: var(--foreground);
}

.btn-secondary:hover {
  background: rgba(9, 9, 11, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.05rem;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--secondary);
  font-size: 1.05rem;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
}

.feature-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.feature-icon.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #9333EA;
}

.feature-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.feature-description {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Workflow Section */
.workflow {
  padding: 8rem 0 6rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.workflow-card {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.3s;
  overflow: hidden;
}

.workflow-card:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.08);
}

.workflow-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 1rem;
}

.workflow-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.workflow-step-desc {
  color: var(--secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Guide Section */
.guide {
  padding: 8rem 0 6rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guide-container {
  max-width: 860px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--foreground);
  border-color: var(--accent);
}

.tab-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.tab-panel {
  display: none;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  animation: fadeInUp 0.35s ease-out;
}

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

.guide-intro {
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--secondary);
  line-height: 1.7;
}

.guide-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.guide-list li strong {
  color: var(--foreground);
}

.code-block {
  background: #0D1117;
  color: #E6EDF3;
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 0.875rem;
  line-height: 1.7;
}

.code-block code {
  white-space: pre;
}

/* Docs Page */
.docs-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
}

.docs-sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
  height: calc(100vh - 8rem);
  border-right: 1px solid var(--border);
}

.docs-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 1.5rem;
}

.docs-sidebar-nav a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.docs-sidebar-nav a:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
}

.docs-content {
  max-width: 860px;
  min-width: 0;
}

.docs-header {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.docs-kicker {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.docs-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.docs-header p:last-child {
  color: var(--secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.docs-section {
  scroll-margin-top: 6rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.docs-section h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.docs-section > p {
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.docs-workflow-grid {
  grid-template-columns: 1fr;
}

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

@media (max-width: 900px) {
  .docs-shell {
    grid-template-columns: 1fr;
    padding: 6rem 1.5rem 4rem;
  }

  .docs-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
  }

  .docs-sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-right: 0;
  }

  .docs-sidebar-nav a {
    white-space: nowrap;
  }
}

/* Download Section */
.download {
  padding: 7rem 1rem;
}

.download.standalone-page {
  padding-top: 9rem;
}

.download-container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.download-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-desc {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.download-platform {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.platform-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  flex-shrink: 0;
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.platform-detail {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  padding: 5rem 1rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 4px;
}

.footer-quote {
  color: var(--secondary);
  font-style: italic;
  max-width: 28rem;
  margin: 0 auto 2.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-links a {
  color: var(--secondary);
  transition: color 0.2s;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: #9CA3AF;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 40;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

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

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