@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

img {
  max-width: 100%;
}

:root {
  --bg: #0B0F19;
  --surface: #151B2B;
  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --border: #1E293B;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 24px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
  border: 1px solid var(--border);
}

main {
  flex: 1 0 auto;
}

section {
  padding: 80px 0;
}

.hero-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.6) 50%, rgba(11, 15, 25, 0.2) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 24px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-full {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.story-section {
  background: var(--surface);
}

.story-card {
  background: var(--bg);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.story-card h2 {
  margin-bottom: 24px;
  color: var(--primary);
}

.story-card p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.stats-section {
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: var(--text);
}

.stat-item p {
  color: var(--text-muted);
}

.routes-preview-section,
.philosophy-section,
.visual-impressions-section,
.testimonials-section,
.contact-faq-section {
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--text);
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
  border: 1px solid var(--border);
}

.route-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.route-card.featured {
  border: 2px solid var(--primary);
}

.route-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
}

.route-img-wrapper {
  height: 220px;
  overflow: hidden;
}

.route-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.route-card:hover .route-img {
  transform: scale(1.05);
}

.route-content {
  padding: 24px;
}

.route-content h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.route-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.route-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.2s;
}

.philosophy-card:hover {
  border-color: var(--primary);
}

.philosophy-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.philosophy-card h3 {
  margin-bottom: 16px;
  color: var(--text);
}

.philosophy-card p {
  color: var(--text-muted);
}

.gallery-embedded {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.gallery-main {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.main-gallery-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.thumb-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.thumb-img:hover,
.thumb-img.active {
  opacity: 1;
  border-color: var(--primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-faq-grid > * {
  min-width: 0;
  max-width: 100%;
}

.contact-form-wrapper,
.contact-form-wrapper-large {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  max-width: none;
  flex-shrink: 0;
  margin-top: 4px;
  padding: 0;
}

.form-group.checkbox-group input {
  width: auto;
  max-width: none;
}

.checkbox-group label {
  display: inline;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.faq-wrapper h2 {
  margin-bottom: 24px;
  color: var(--text);
}

.faq-item {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--text);
}

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

.site-footer {
  background: #080B12;
  color: var(--text);
  padding: 64px 0 0;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo a {
  color: var(--text);
  margin-bottom: 24px;
}

.footer-disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 24px;
}

.footer-contact h4 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: var(--text);
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-hero {
  padding: 80px 0 48px;
  background: var(--surface);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero-content {
  margin-bottom: 32px;
}

.page-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text);
}

.page-hero-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.page-hero-img {
  width: 100%;
  max-width: 800px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto;
  display: block;
  border: 1px solid var(--border);
}

.route-detail-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.route-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.route-detail-grid.reverse {
  direction: rtl;
}

.route-detail-grid.reverse > * {
  direction: ltr;
}

.route-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.route-detail-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.route-tag {
  display: inline-block;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  width: fit-content;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.route-detail-content h2 {
  margin-bottom: 16px;
  color: var(--text);
}

.route-detail-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.route-features {
  list-style: none;
  margin-bottom: 24px;
}

.route-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.route-features i {
  color: var(--primary);
}

.route-price-large {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.embedded-faq-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: var(--primary);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
}

.fleet-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.fleet-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text);
}

.fleet-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.fleet-features {
  list-style: none;
}

.fleet-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.fleet-features i {
  color: var(--primary);
}

.fleet-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.safety-section {
  background: var(--bg);
}

.safety-card {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  border: 1px solid var(--border);
}

.safety-card h2 {
  margin-bottom: 24px;
  color: var(--text);
}

.safety-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.story-card-large {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.story-card-large h2 {
  margin-bottom: 24px;
  color: var(--primary);
}

.story-card-large p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.team-section {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.team-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.team-content h2 {
  margin-bottom: 24px;
  color: var(--text);
}

.team-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-item {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
}

.value-item h3 {
  margin-bottom: 16px;
  color: var(--primary);
}

.value-item p {
  color: var(--text-muted);
}

.hangar-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.hangar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hangar-content h2 {
  margin-bottom: 24px;
  color: var(--text);
}

.hangar-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hangar-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-details-section {
  background: var(--bg);
}

.contact-info-card {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  border: 1px solid var(--border);
}

.contact-info-card h2 {
  margin-bottom: 32px;
  color: var(--text);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-item h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-item p {
  color: var(--text);
}

.thanks-page {
  background: var(--bg);
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.thanks-container {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 600px;
  width: 100%;
  border: 1px solid var(--border);
}

.thanks-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 24px;
}

.thanks-container h1 {
  margin-bottom: 24px;
  color: var(--primary);
}

.thanks-container p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.thanks-container .btn {
  margin-top: 24px;
}

.gallery-full-section {
  background: var(--bg);
}

.gallery-embedded-large {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.gallery-main-large {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.main-gallery-img-large {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.gallery-thumbs-large {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.thumb-img-large {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.thumb-img-large:hover,
.thumb-img-large.active {
  opacity: 1;
  border-color: var(--primary);
}

.gallery-description {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  line-height: 1.8;
}

[data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-32px, 0, 0) !important;
}

[data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(32px, 0, 0) !important;
}

[data-aos="zoom-in"]:not(.aos-animate) {
  transform: translate3d(0, 0, 0) scale(0.92) !important;
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
}

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

@media (max-width: 900px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .hero-grid > *,
  .contact-faq-grid > *,
  .testimonials-grid > *,
  .routes-grid > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
  }

  .logo,
  .header-notice {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-header .logo a {
    justify-content: center;
  }

  .main-nav {
    width: 100%;
    flex-basis: 100%;
  }

  .main-nav .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    padding: 0;
  }

  .main-nav a {
    font-size: 0.875rem;
    padding: 4px 0;
  }

  .hero-grid,
  .routes-grid,
  .stats-grid,
  .testimonials-grid,
  .contact-faq-grid,
  .route-detail-grid,
  .services-grid,
  .values-grid,
  .contact-info-grid,
  .footer-grid,
  .philosophy-grid,
  .fleet-grid,
  .team-grid,
  .hangar-grid {
    grid-template-columns: 1fr;
  }

  .route-detail-grid.reverse {
    direction: ltr;
  }

  .gallery-thumbs-large {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-card,
  .contact-form-wrapper,
  .contact-form-wrapper-large,
  .route-detail-content,
  .contact-info-card,
  .story-card-large,
  .safety-card {
    padding: 24px;
  }

  .main-gallery-img,
  .main-gallery-img-large {
    height: 300px;
  }

  section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 60px 0 32px;
  }
}

@media (max-width: 640px) {
  .header-notice {
    word-break: break-all;
    text-align: center;
  }

  .footer-brand .logo a {
    flex-direction: column;
  }

  .logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }

  .footer-col,
  .footer-contact,
  .footer-brand {
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    padding: 12px 14px;
  }

  .contact-form-wrapper,
  .contact-form-wrapper-large,
  .story-card,
  .thanks-container {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .btn {
    font-size: 0.95rem;
    padding: 12px 20px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    max-width: 100%;
  }

  .form-group.checkbox-group input {
    width: auto;
    max-width: none;
  }
}

.footer-links h4 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: var(--text);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.legal-content {
  background: var(--surface);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin: 40px 0;
  word-break: break-word;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.footer-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-content {
    padding: 24px;
  }
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--text);
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content p:last-of-type {
  margin-bottom: 0;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-bottom {
  padding: 1.5rem 0 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}