/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Sora:wght@400;500;600;700&display=swap');

/* Color System & Variables */
:root {
  --bg-0: #070A12;
  --bg-1: #0B1022;
  --surface-0: #0E1630;
  --surface-1: #111B3A;
  --text-0: #EAF0FF;
  --text-1: rgba(234, 240, 255, .72);
  --muted: rgba(234, 240, 255, .52);
  --stroke: rgba(120, 150, 255, .18);
  --accent-0: #2A7FFF;
  --accent-1: #52D6FF;
  --accent-2: #7A5CFF;
  --glow: rgba(42, 127, 255, .35);

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --spacing-base: 8px;
  --header-height: 80px;
}

/* Light Mode Override */
[data-theme="light"] {
  --bg-0: #F0F4F8;
  --bg-1: #FFFFFF;
  --surface-0: #E2E8F0;
  --surface-1: #CBD5E0;
  --text-0: #1A202C;
  --text-1: #4A5568;
  --muted: #718096;
  --stroke: rgba(42, 127, 255, 0.2);
  --accent-0: #0056b3;
  /* Darker blue for contrast on white */
  --accent-1: #0077cc;
  --glow: rgba(0, 86, 179, 0.15);
  /* Subtler glow */
}

/* Header Actions (Lang + Theme) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle,
.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-0);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 8px;
  border-radius: 4px;
}

.theme-toggle:hover,
.lang-btn:hover {
  color: var(--accent-1);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 120px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  /* Above header */
}

.lang-dropdown:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-1);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}

.lang-menu a:hover {
  background: var(--surface-0);
  color: var(--accent-0);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-0);
  color: var(--text-0);
}

body {
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-0);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

p {
  color: var(--text-1);
  margin-bottom: 1.5rem;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-0), var(--accent-1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: rgba(42, 127, 255, 0.1);
  border-color: var(--accent-0);
  color: var(--accent-1);
  box-shadow: 0 0 15px var(--glow);
}

.btn-primary:hover {
  background: rgba(42, 127, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--glow);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--stroke);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-0);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-1);
  font-weight: 400;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 400vh;
  /* Extended height for scroll animation track */
  width: 100%;
  background: var(--bg-0);
  padding: 0;
  margin: 0;
}

.hero-sticky-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(7, 10, 18, 0.4) 0%, rgba(7, 10, 18, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.25rem;
  max-width: 600px;
  line-height: 1.6;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  color: var(--text-0);
}

.hero-visual {
  display: none;
  /* Hide old visual container */
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-1);
  padding: 40px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.trust-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill {
  background: var(--surface-0);
  border: 1px solid var(--stroke);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-1);
  letter-spacing: 0.02em;
}

/* Market Context */
#market {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.parallax-break {
  width: 100%;
  /* Use aspect ratio to keep container proportional to width, ensuring image fits */
  aspect-ratio: 16/9;
  max-height: 80vh;
  /* Cap on very large screens */
  min-height: 250px;
  /* Min height for mobile */
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: var(--bg-0);
  /* Fallback */
}

.parallax-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  /* Slightly taller for parallax movement */
  background-image: url('../assets/mock.png');
  background-size: 100% auto;
  /* FORCE width to fit, never crop sides */
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translateY(-10%);
}

/* Responsive adjustment for parallax on mobile */
@media (max-width: 768px) {
  .parallax-break {
    aspect-ratio: 16/9;
    height: auto;
  }

  .parallax-image {
    height: 110%;
    /* Reduce movement range on mobile */
    transform: translateY(-5%);
  }
}



.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.market-card {
  background: rgba(14, 22, 48, 0.4);
  /* More transparent */
  backdrop-filter: blur(8px);
  border: 1px solid var(--stroke);
  padding: 40px;
  border-radius: 12px;
}

.market-card h3 {
  color: var(--accent-1);
  margin-bottom: 24px;
}

.market-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: var(--text-1);
}

.market-list li::before {
  content: "•";
  color: var(--accent-0);
  position: absolute;
  left: 0;
}

/* Product Overview */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.product-card {
  background: var(--surface-0);
  border: 1px solid var(--stroke);
  padding: 40px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-0);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.product-icon {
  margin-bottom: 24px;
  color: var(--accent-1);
  background: rgba(82, 214, 255, 0.1);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(82, 214, 255, 0.2);
}

.product-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-0);
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-1);
  margin: 0;
  line-height: 1.6;
}

/* How It Works - Architecture */
.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Slider Styles */
.arch-slider-col {
  width: 100%;
  height: 100%;
  min-height: 400px;
  /* Ensure height if empty */
  border-radius: 12px;
  overflow: hidden;
  /* border: 1px solid var(--stroke); Removed border to use glow on container */
  position: relative;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: transparent;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  /* Subtle light glow */
  border-radius: 12px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(14, 22, 48, 0.6);
  border: 1px solid var(--stroke);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  color: var(--text-0);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slider-control:hover {
  background: var(--accent-0);
  color: #fff;
  border-color: var(--accent-0);
}

.slider-prev {
  left: 8px;
  /* Closer to edge */
}

.slider-next {
  right: 8px;
  /* Closer to edge */
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--accent-0);
  box-shadow: 0 0 5px var(--accent-0);
  transform: scale(1.2);
}

/* Content Styles */
.arch-content-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.human-override-text {
  margin-top: 24px;
  font-size: 1.2rem;
  /* Increased from 1.1rem */
  color: #fff;
  text-align: center;
  font-weight: 500;
  width: 100%;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  /* Subtle glow for readability */
}

.arch-layer {
  background: var(--surface-0);
  border: 1px solid var(--stroke);
  padding: 32px;
  border-radius: 8px;
  position: relative;
  transition: border-color 0.3s ease;
}

.arch-layer:hover {
  border-color: var(--accent-1);
}

/* Connectors */
.arch-layer:not(:last-child)::after {
  content: "↓";
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-0);
  font-size: 1.5rem;
}

.arch-layer h3 {
  color: var(--accent-1);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Core Capabilities - Glassmorphism Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 64px;
  /* Fixed: multiple of 8 */
}

.capability-card {
  background: rgba(14, 22, 48, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(82, 214, 255, 0.1);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: rgba(82, 214, 255, 0.4);
  box-shadow: 0 10px 30px rgba(82, 214, 255, 0.15);
  background: rgba(14, 22, 48, 0.6);
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-0), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.capability-card:hover::before {
  opacity: 1;
}

.capability-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(82, 214, 255, 0.2), rgba(82, 214, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(82, 214, 255, 0.2);
  box-shadow: 0 0 15px rgba(82, 214, 255, 0.1);
}

.capability-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.capability-card p {
  font-size: 0.9rem;
  color: var(--text-1);
  line-height: 1.5;
  margin: 0;
}

/* Use Cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.use-case-item {
  text-align: center;
  border: 1px solid var(--stroke);
  padding: 32px 24px;
  border-radius: 8px;
  background: var(--bg-1);
}

/* Governance */
.governance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.testimonial-card {
  background: var(--surface-0);
  padding: 32px;
  border-radius: 8px;
  font-style: italic;
  font-size: 0.95rem;
}

.testimonial-author {
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  color: var(--accent-1);
  font-size: 0.85rem;
}

/* Footer */
footer {
  background: var(--bg-1);
  padding: 60px 0 24px;
  border-top: 1px solid var(--stroke);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
}



/* Built for Scale Section */
.scale-section {
  position: relative;
  width: 100%;
  height: 80vh;
  /* Full screen-ish */
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-0);
}

.scale-slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.scale-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.scale-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Overlay for text readability */
}

.scale-slide.active {
  opacity: 1;
  z-index: 2;
}

.scale-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  /* Center vertically */
  justify-content: flex-start;
  /* Align left (container handles centering) */
}

.scale-overlay h2 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.scale-overlay p {
  font-size: 1.5rem;
  color: #eee;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scale-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 16px;
  z-index: 10;
}

.scale-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
}

.scale-btn:hover {
  background: var(--accent-0);
  border-color: var(--accent-0);
  transform: scale(1.1);
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Navigation */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* FAQ Accordion */
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item summary {
  padding: 16px;
  cursor: pointer;
  list-style: none;
  /* Remove default triangle */
  font-weight: 600;
  color: var(--accent-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 16px 16px 16px;
  margin: 0;
  color: var(--text-0);
  line-height: 1.5;
}

/* Mobile Media Queries */
@media (max-width: 768px) {

  /* Layout Adjustments (Moved from previous block) */
  h1 {
    font-size: 2.5rem;
  }

  .hero-content,
  .market-grid,
  .governance-grid,
  .testimonials-grid,
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product-card {
    padding: 24px 16px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-visual {
    order: -1;
  }

  /* Navigation */
  .hamburger-menu {
    display: flex;
  }

  .header-actions {
    display: none;
    /* Hide desktop actions */
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    /* Drawer width */
    height: 100vh;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s ease;
    z-index: 1000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-actions {
    display: none !important;
    /* Removed mobile actions */
  }

  /* Force header actions visible on mobile, but hide CTA to save space */
  .header-actions {
    display: flex !important;
  }

  .header-actions .cta {
    display: none;
  }

  /* Hide default nav items mobile styles if needed, but they seem fine stacked */

  .scale-overlay h2 {
    font-size: 1.5rem;
  }

  .scale-toggle svg {
    pointer-events: none;
  }

  .scale-overlay p {
    font-size: 1.0rem;
  }

  /* Scale Section Mobile Fixes */
  .scale-slide {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    /* Fix: removed black bars color */
  }

  .scale-section {
    height: 50vh;
    /* Reduced height for mobile to fit landscape images better */
    min-height: 300px;
  }

  /* Capabilities Grid: 2 Columns */
  .capabilities-grid {
    grid-template-columns: 1fr 1fr;
    /* Force 2 columns */
    gap: 12px;
    /* Smaller gap */
  }

  .capability-card {
    padding: 16px;
    /* Smaller padding */
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .capability-card:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .capability-icon-wrapper {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }

  .capability-icon-wrapper svg {
    width: 16px;
    height: 16px;
  }

  .capability-card h4 {
    font-size: 0.9rem;
  }

  .capability-card p {
    font-size: 0.8rem;
    display: none;
    /* Hide description */
  }

  .capability-card.active p {
    display: block;
    margin-top: 8px;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero,
  .parallax-image,
  .reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--bg-1);
  color: var(--accent-1);
  border: 1px solid var(--stroke);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--surface-0);
  color: var(--text-0);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--glow);
}