/* Global Styles - Apple-inspired Design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-black: #000000;
  --color-gray-900: #1d1d1f;
  --color-gray-800: #2d2d2f;
  --color-gray-700: #424245;
  --color-gray-600: #6e6e73;
  --color-gray-500: #86868b;
  --color-gray-400: #a1a1a6;
  --color-gray-300: #c7c7cc;
  --color-gray-200: #d2d2d7;
  --color-gray-100: #f5f5f7;
  --color-white: #ffffff;
  --color-blue: #007aff;
  --color-blue-dark: #0056cc;
  
  --scroll-progress: 0;
  
  /* Color Picker Demo Variables */
  --primary: #007aff;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-subtle: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --success: #34c759;
  --success-subtle: rgba(52, 199, 89, 0.1);
  --gradient-start: #667eea;
  --gradient-end: #764ba2;
  
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
  font-family: var(--font-system);
  background: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

#root {
  min-height: 100vh;
}

.app {
  min-height: 100vh;
}

/* Scroll Progress Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gray-300));
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(0, 122, 255, 0.5);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl) 0;
  position: relative;
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-900) 100%);
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--color-gray-800);
  border: 1px solid var(--color-gray-700);
  border-radius: 50px;
  margin-bottom: var(--spacing-lg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-300);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
  position: relative;
  --gray-intensity: calc(156 + var(--scroll-progress) * 99);
  background: linear-gradient(90deg, 
    rgb(var(--gray-intensity), calc(var(--gray-intensity) + 7), calc(var(--gray-intensity) + 15)) 0%, 
    rgb(255, 255, 255) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-2xl);
}

.btn-primary, .btn-secondary {
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

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

.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-gray-700);
}

.btn-secondary:hover {
  background: var(--color-gray-800);
  border-color: var(--color-gray-600);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-2xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-gray-500);
}

/* Examples Section */
.examples-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-gray-900);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--color-gray-400);
  max-width: 600px;
  margin: 0 auto;
}

.scroll-example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  margin-bottom: var(--spacing-3xl);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  background: var(--color-gray-800);
  border: 1px solid var(--color-gray-700);
}

.scroll-example.reverse {
  direction: rtl;
}

.scroll-example.reverse > * {
  direction: ltr;
}

.example-info {
  max-width: 500px;
}

.example-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.example-description {
  font-size: 1.1rem;
  color: var(--color-gray-400);
  line-height: 1.7;
}

.example-demo {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.scroll-container {
  background: var(--color-gray-700);
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--color-gray-600);
  width: 100%;
  max-width: 100%;
}

.horizontal-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  max-width: 100%;
}

.combined-scroll {
  overflow: auto;
  width: 100%;
  max-width: 100%;
}

.vertical-scroll, .slideshow-scroll {
  overflow-x: hidden;
  overflow-y: auto;
}

.scroll-content {
  padding: var(--spacing-lg);
}

.scroll-item {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  background: var(--color-gray-600);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  border: 1px solid var(--color-gray-500);
}

.scroll-item:last-child {
  margin-bottom: 0;
}

/* Slideshow Styles */
.slideshow-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
}

.slide-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--color-gray-600);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-500);
  min-height: 120px;
}

.slide-image {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  background: var(--color-gray-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gray-600);
}

.image-placeholder {
  font-size: 2rem;
  opacity: 0.6;
}

.slide-info {
  flex: 1;
}

.slide-info h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.slide-info p {
  color: var(--color-gray-300);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Horizontal Gallery Styles */
.horizontal-content {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  width: max-content;
}

.horizontal-item {
  flex-shrink: 0;
  width: 220px;
  padding: var(--spacing-md);
  background: var(--color-gray-600);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-500);
  text-align: center;
}

.item-number {
  width: 32px;
  height: 32px;
  background: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 auto var(--spacing-sm);
}

.horizontal-item h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.horizontal-item p {
  color: var(--color-gray-300);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Combined Grid Styles */
.grid-content {
  display: grid;
  grid-template-columns: repeat(15, 140px);
  grid-template-rows: repeat(10, 100px);
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  width: calc(15 * 140px + 14 * var(--spacing-sm) + 2 * var(--spacing-lg));
  height: calc(10 * 100px + 9 * var(--spacing-sm) + 2 * var(--spacing-lg));
}

.grid-cell {
  width: 140px;
  height: 100px;
  background: var(--color-gray-600);
  border: 1px solid var(--color-gray-500);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cell-header {
  background: var(--color-gray-700);
  padding: var(--spacing-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  border-bottom: 1px solid var(--color-gray-500);
}

.cell-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-300);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.3;
}

/* Scroll Hijacking Styles */
.scroll-example.hijacked {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(0, 122, 255, 0.3);
  transition: all 0.3s ease;
}

.scroll-container.active-hijack {
  border-color: var(--color-blue);
  box-shadow: inset 0 0 0 2px var(--color-blue);
}


/* Additional Container Styles */
.slideshow-scroll {
  background: var(--color-gray-800);
}

.scroll-container {
  transition: all 0.3s ease;
}

.scroll-container.active-hijack {
  transform: translateY(-2px);
}

/* Smooth scroll behavior for hijacked containers */
.scroll-container.active-hijack::-webkit-scrollbar-thumb {
  background: var(--color-blue);
  box-shadow: 0 0 6px rgba(0, 122, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slide-item {
    flex-direction: column;
    text-align: center;
  }
  
  .slide-image {
    align-self: center;
  }
  
  .horizontal-item {
    width: 200px;
  }
  
  .grid-content {
    grid-template-columns: repeat(12, 120px);
    width: calc(12 * 120px + 11 * var(--spacing-sm) + 2 * var(--spacing-lg));
  }
  
  .grid-cell {
    width: 120px;
    height: 80px;
  }
}

/* Colored Content Styles */
.colored-content {
  padding: var(--spacing-lg);
}

.colored-item {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.colored-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.item-badge {
  position: absolute;
  top: -8px;
  right: var(--spacing-md);
}

.item-badge span {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-premium {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.category-standard {
  background: linear-gradient(135deg, #007aff, #5856d6);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.category-basic {
  background: linear-gradient(135deg, #34c759, #30d158);
  color: white;
  box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
}

.colored-title {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  margin-top: 0.5rem;
}

.colored-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

/* Code Section */
.code-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-black);
}

.code-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--spacing-3xl);
  align-items: flex-start;
}

.code-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.code-info p {
  font-size: 1.2rem;
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-2xl);
}

.code-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.feature-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-800);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-700);
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-text span {
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

.code-block {
  background: var(--color-gray-900);
  border-radius: var(--radius-lg);
  overflow: visible;
  border: 1px solid var(--color-gray-700);
  box-shadow: var(--shadow-xl);
  width: max-content;
  min-width: 100%;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--color-gray-800);
  border-bottom: 1px solid var(--color-gray-700);
}

.code-dots {
  display: flex;
  gap: var(--spacing-xs);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.code-title {
  color: var(--color-gray-400);
  font-size: 0.9rem;
}

.copy-button {
  background: transparent;
  border: none;
  color: var(--color-gray-400);
  cursor: pointer;
  font-size: 1rem;
  padding: var(--spacing-xs);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.copy-button:hover {
  color: var(--color-white);
  background: var(--color-gray-700);
}

.code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  padding: var(--spacing-lg);
  color: var(--color-gray-300);
  background: transparent;
  overflow-x: visible;
  white-space: pre;
  min-width: max-content;
}

/* Footer */
.footer {
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  background: var(--color-gray-900);
  border-top: 1px solid var(--color-gray-800);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-main h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.footer-main p {
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-md);
}

.footer-main a img {
  margin-top: 4px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-main a img:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.footer-links {
  display: flex;
  gap: var(--spacing-2xl);
}

.link-group h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.link-group a {
  display: block;
  color: var(--color-gray-400);
  text-decoration: none;
  margin-bottom: var(--spacing-sm);
  transition: color 0.2s ease;
}

.link-group a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-gray-800);
}

.footer-bottom p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

.footer-badge {
  color: var(--color-gray-400);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    gap: var(--spacing-lg);
  }
  
  .scroll-example {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .code-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .code-block {
    width: 100%;
    min-width: auto;
    overflow-x: auto;
  }
  
  .code {
    overflow-x: auto;
    white-space: pre-wrap;
    min-width: auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

/* Animation Effects */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-left {
  animation: fadeLeft 0.8s ease-out forwards;
  opacity: 0;
}

.scroll-example {
  animation: fadeIn 0.8s ease-out;
}

/* Enhanced Button Interactions */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  backdrop-filter: blur(20px);
}

/* Parallax and Smooth Interactions */
.hero {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/* Enhanced scroll container effects */
.scroll-container::-webkit-scrollbar {
  width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
  background: var(--color-gray-800);
  border-radius: var(--radius-sm);
}

.scroll-container::-webkit-scrollbar-thumb {
  background: var(--color-gray-500);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-400);
}

/* Loading states and transitions */
.scroll-item {
  transition: all 0.2s ease;
}

.scroll-item:hover {
  background: var(--color-gray-500);
  transform: translateX(4px);
}

/* Code block syntax highlighting */
.code code {
  color: var(--color-gray-300);
}

.code .keyword {
  color: #ff79c6;
}

.code .function {
  color: #50fa7b;
}

.code .string {
  color: #f1fa8c;
}

.code .comment {
  color: var(--color-gray-500);
  font-style: italic;
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--color-gray-800);
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid var(--color-gray-600);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

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

.back-to-top:hover {
  background: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* Futuristic Scroll Arrow */
.scroll-indicator-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-3xl);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.scroll-indicator-arrow.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.scroll-indicator-arrow.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-text {
  font-size: 0.9rem;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% {
    color: var(--color-gray-400);
    text-shadow: 0 0 5px rgba(161, 161, 170, 0.3);
  }
  100% {
    color: var(--color-gray-300);
    text-shadow: 0 0 10px rgba(161, 161, 170, 0.6);
  }
}

.futuristic-arrow {
  position: relative;
  width: 40px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}

.arrow-line {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--color-gray-500), var(--color-blue));
  border-radius: 1px;
  position: relative;
  animation: linePulse 1.5s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% {
    background: linear-gradient(to bottom, var(--color-gray-500), var(--color-blue));
    box-shadow: 0 0 5px rgba(0, 122, 255, 0.3);
  }
  50% {
    background: linear-gradient(to bottom, var(--color-blue), var(--color-gray-300));
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.8);
  }
}

.arrow-head {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid var(--color-blue);
  margin-top: -2px;
  filter: drop-shadow(0 0 8px rgba(0, 122, 255, 0.6));
  animation: headGlow 1.5s ease-in-out infinite;
}

@keyframes headGlow {
  0%, 100% {
    border-top-color: var(--color-blue);
    filter: drop-shadow(0 0 8px rgba(0, 122, 255, 0.6));
  }
  50% {
    border-top-color: var(--color-gray-300);
    filter: drop-shadow(0 0 20px rgba(0, 122, 255, 1));
  }
}

.arrow-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
  }
}

.scroll-indicator-arrow:hover .scroll-text {
  color: var(--color-white);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.scroll-indicator-arrow:hover .futuristic-arrow {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .scroll-indicator-arrow {
    margin-top: var(--spacing-2xl);
  }
  
  .futuristic-arrow {
    width: 30px;
    height: 45px;
  }
  
  .arrow-line {
    height: 22px;
  }
  
  .arrow-head {
    border-left-width: 6px;
    border-right-width: 6px;
    border-top-width: 9px;
  }
}
