/* style.css */

/* CSS Custom Properties */
:root {
  /* Triadic Color Scheme - Retro Theme */
  --primary-purple: #8B5CF6;
  --primary-purple-dark: #7C3AED;
  --primary-purple-light: #A78BFA;
  
  --secondary-orange: #F97316;
  --secondary-orange-dark: #EA580C;
  --secondary-orange-light: #FB923C;
  
  --tertiary-teal: #14B8A6;
  --tertiary-teal-dark: #0F766E;
  --tertiary-teal-light: #5EEAD4;
  
  /* Additional Retro Colors */
  --accent-pink: #EC4899;
  --accent-pink-dark: #DB2777;
  --accent-pink-light: #F472B6;
  
  --accent-yellow: #F59E0B;
  --accent-yellow-dark: #D97706;
  --accent-yellow-light: #FCD34D;
  
  --retro-cyan: #06B6D4;
  --retro-magenta: #D946EF;
  --retro-lime: #65A30D;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-pink) 50%, var(--accent-yellow) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-orange) 0%, var(--tertiary-teal) 100%);
  --gradient-accent: linear-gradient(135deg, var(--retro-cyan) 0%, var(--retro-magenta) 100%);
  --gradient-hero: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  
  /* Neutral Colors */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-heading: 'Archivo Black', cursive;
  --font-body: 'Roboto', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-retro: 0 8px 32px rgba(139, 92, 246, 0.3);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--gray-800);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Retro Typography Effects */
.retro-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  transform: perspective(500px) rotateX(15deg);
  animation: retro-glow 3s ease-in-out infinite alternate;
}

@keyframes retro-glow {
  0% {
    filter: drop-shadow(0 0 5px var(--primary-purple));
  }
  100% {
    filter: drop-shadow(0 0 20px var(--accent-pink)) drop-shadow(0 0 30px var(--accent-yellow));
  }
}

/* Global Button Styles */
.btn,
button,
input[type='submit'],
input[type='button'],
.retro-btn,
.retro-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  min-width: 160px;
  height: 48px;
}

.btn:before,
.retro-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

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

.retro-btn {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-retro);
  animation: retro-pulse 2s infinite;
}

.retro-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

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

.retro-btn-outline:hover {
  background: var(--primary-purple);
  color: white;
  transform: translateY(-2px);
}

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

/* Curved Grid Layouts */
.curved-grid {
  display: grid;
  gap: var(--spacing-xl);
  transform: perspective(1000px) rotateX(5deg);
}

.curved-grid-item {
  position: relative;
  transform: rotate(var(--item-rotation, 0deg));
  transition: var(--transition-normal);
}

.curved-grid-item:nth-child(odd) {
  --item-rotation: 2deg;
}

.curved-grid-item:nth-child(even) {
  --item-rotation: -2deg;
}

.curved-grid-item:hover {
  --item-rotation: 0deg;
  transform: rotate(0deg) scale(1.02);
  z-index: 10;
}

/* Hero Section */
#hero {
  position: relative;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-attachment: fixed;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero h1,
#hero p,
#hero .text-white {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Cards System */
.card,
.item,
.testimonial,
.team-member,
.product-card,
.blog-card,
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  position: relative;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.card:hover,
.item:hover,
.testimonial:hover,
.team-member:hover,
.product-card:hover,
.blog-card:hover,
.project-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(139, 92, 246, 0.2);
}

.card-image,
.item-image,
.testimonial-image,
.team-image,
.product-image,
.blog-image,
.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-image img,
.item-image img,
.testimonial-image img,
.team-image img,
.product-image img,
.blog-image img,
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  margin: 0 auto;
}

.card:hover img,
.item:hover img,
.testimonial:hover img,
.team-member:hover img,
.product-card:hover img,
.blog-card:hover img,
.project-card:hover img {
  transform: scale(1.1);
}

.card-content,
.item-content,
.testimonial-content,
.team-content,
.product-content,
.blog-content,
.project-content {
  padding: var(--spacing-lg);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Gallery Section */
#gallery {
  position: relative;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: var(--shadow-xl);
}

.image-container {
  position: relative;
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-purple-light) 100%);
}

.carousel-wrapper {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.carousel-track {
  animation: carousel-slide 30s linear infinite;
}

@keyframes carousel-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.carousel-slide {
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-right: var(--spacing-lg);
  transition: var(--transition-normal);
}

.carousel-slide:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  animation-play-state: paused;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.team-member {
  position: relative;
  overflow: hidden;
}

.team-member::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: translateY(4px);
  transition: var(--transition-normal);
}

.team-member:hover::after {
  transform: translateY(0);
}

/* Customer Stories / Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.testimonial {
  background: linear-gradient(135deg, white 0%, var(--gray-50) 100%);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--spacing-lg);
  font-size: 4rem;
  color: var(--primary-purple-light);
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.blog-card {
  position: relative;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--gray-200);
}

.read-more {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
  position: relative;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

.read-more:hover::after {
  width: 100%;
}

.read-more:hover {
  color: var(--primary-purple-dark);
  transform: translateX(3px);
}

/* Contact Section */
.contact-form {
  position: relative;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  transition: var(--transition-normal);
  border: 2px solid var(--gray-200);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  outline: none;
}

/* Timeline */
.timeline-container {
  position: relative;
}

.timeline-item {
  margin-bottom: var(--spacing-2xl);
  position: relative;
}

.timeline-date {
  background: var(--gradient-primary) !important;
  min-width: 100px;
  min-height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.timeline-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-normal);
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

/* Statistics Widgets */
.stat-widget {
  text-align: center;
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.stat-widget:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.counter {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-sm);
}

/* External Resources */
.external-resource {
  padding: var(--spacing-xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.external-resource::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-slow);
  opacity: 0.1;
}

.external-resource:hover::after {
  width: 100%;
}

.external-resource:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-purple-light);
}

/* Footer */
footer {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

footer .container {
  position: relative;
  z-index: 1;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  padding: var(--spacing-xs) 0;
}

footer a:hover {
  color: white;
  transform: translateX(5px);
}

footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: var(--transition-normal);
}

footer a:hover::after {
  width: 100%;
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition-normal);
  font-weight: 600;
  font-size: 0.9rem;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  padding: var(--spacing-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
  transform: rotate(90deg);
}

.mobile-menu {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-md);
  overflow: hidden;
}

.mobile-menu a {
  display: block;
  padding: var(--spacing-md);
  color: white;
  text-decoration: none;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: var(--spacing-lg);
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.success-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.success-icon {
  font-size: 4rem;
  color: var(--tertiary-teal);
  margin-bottom: var(--spacing-xl);
  animation: success-bounce 1s ease-out;
}

@keyframes success-bounce {
  0% { transform: scale(0) rotate(180deg); }
  50% { transform: scale(1.2) rotate(360deg); }
  100% { transform: scale(1) rotate(360deg); }
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  min-height: 100vh;
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-2xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Hand-drawn Animations */
@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.hand-drawn {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-line 3s ease-out forwards;
}

.wobble {
  animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-1deg); }
  25% { transform: rotate(1deg); }
  50% { transform: rotate(-1deg); }
  75% { transform: rotate(1deg); }
}

/* Glassmorphism Effects */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Parallax Elements */
.parallax-element {
  transition: transform 0.1s ease-out;
}

/* Press Section */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.press-item {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid var(--gray-200);
}

.press-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Research Section */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.research-item {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
  transition: var(--transition-normal);
}

.research-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Community Section */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.community-member {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
  transition: var(--transition-normal);
}

.community-member:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  :root {
    --spacing-xs: 0.125rem;
    --spacing-sm: 0.25rem;
    --spacing-md: 0.5rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --spacing-3xl: 2.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .curved-grid {
    transform: none;
  }
  
  .curved-grid-item {
    --item-rotation: 0deg;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-content {
    margin-top: var(--spacing-md);
  }
  
  .testimonials-grid,
  .blog-grid,
  .team-grid,
  .press-grid,
  .research-grid,
  .community-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  
  .btn,
  .retro-btn,
  .retro-btn-outline {
    min-width: 140px;
    font-size: 0.9rem;
  }
  
  .card-content,
  .item-content,
  .testimonial-content,
  .team-content,
  .product-content,
  .blog-content,
  .project-content {
    padding: var(--spacing-md);
  }
}

/* Animation Performance */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .retro-btn,
  .retro-btn-outline,
  footer,
  .mobile-menu-btn {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card,
  .item,
  .testimonial,
  .team-member,
  .product-card,
  .blog-card,
  .project-card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .retro-title {
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.1);
  }
}

/* Focus States for Accessibility */
*:focus {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
}

.btn:focus,
.retro-btn:focus,
.retro-btn-outline:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.5);
}

/* Loading States */
.loading {
  position: relative;
  color: transparent !important;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid var(--gray-300);
  border-top-color: var(--primary-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}