/* Landing Page CSS - Inspired by cursor.com and x.ai */
:root {
  --primary-color: #5a67d8;
  --secondary-color: #1a1b23;
  --accent-color: #6d28d9;
  --text-color: #f7fafc;
  --dark-bg: #0f1218;
  --gradient-start: #5a67d8;
  --gradient-end: #805ad5;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(15px);
  background-color: rgba(15, 18, 24, 0.75);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.scrolled {
  padding: 1rem 0;
  background-color: rgba(15, 18, 24, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  animation: pulse 2s infinite alternate;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--primary-color);
  transform: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: width 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(90, 103, 216, 0.5);
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(90, 103, 216, 0.3);
  z-index: 1;
  will-change: transform, box-shadow;
  pointer-events: auto !important;
  user-select: none;
}

.cta-button:hover, 
.cta-button:focus {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(90, 103, 216, 0.5);
}

.cta-button:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 0 4px 15px rgba(90, 103, 216, 0.4);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  transition: left 0.6s ease;
  z-index: -1;
  will-change: left;
}

.cta-button:hover::before {
  left: 100%;
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1010;
}

.mobile-menu-button:hover {
  transform: scale(1.1);
}

/* Auth buttons styling */
.auth-buttons {
  display: flex;
  gap: 1rem;
}

/* Mobile auth buttons - initially hidden on all devices */
.mobile-auth-buttons {
  display: none;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  /* Make mobile menu button visible on small screens */
  .mobile-menu-button {
    display: block;
  }

  /* Make header more transparent on mobile */
  header {
    background-color: rgba(15, 18, 24, 0.5);
    backdrop-filter: blur(10px);
  }

  /* Mobile navigation styles */
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(15, 18, 24, 0.5); /* More transparent nav background */
    backdrop-filter: blur(10px);
    height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    z-index: 998;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  
  .nav-links.active {
    height: calc(100vh - 80px);
    opacity: 1;
    padding: 2rem 1rem;
    overflow-y: auto;
  }
  
  .nav-links a {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
  }
  
  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(0.1s * var(--item-index, 0));
  }
  
  /* Hide desktop auth buttons on mobile */
  .auth-buttons {
    display: none;
  }
  
  /* Mobile auth buttons - show at the bottom of the menu */
  .mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .nav-links.active .mobile-auth-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
  }
  
  .mobile-auth-buttons .secondary-button,
  .mobile-auth-buttons .cta-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
  
  /* Adjust hero section for mobile */
  .hero {
    min-height: 800px;
    padding-top: 160px; /* Increased padding to push content below navbar */
  }
  
  .hero-content {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-top: 0; /* Remove extra margin to avoid too much space */
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  }
  
  .hero p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); /* Add text shadow to improve readability */
  }
  
  /* For very small devices */
  @media (max-width: 375px) {
    .hero h1 {
      font-size: 2.2rem;
      margin-top: 70px;
    }
  }
  
  .feature-card {
    padding: 2rem;
  }
  
  .cta-container {
    flex-direction: column;
  }
  
  .hero-image {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .cta-button,
  .hero-buttons .secondary-button {
    width: 100%;
    text-align: center;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .cta-container {
    padding: 2rem;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero {
    min-height: 700px;
  }
  
  .hero-content {
    padding-top: 80px; /* Extra padding on very small screens */
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* For very small devices */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 2.2rem;
    margin-top: 70px;
  }
  
  .demo-window-preview {
    height: 370px; /* Make the demo window taller on small devices */
  }
  
  .demo-terminal {
    height: 240px; /* Make the terminal even taller on small devices */
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

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

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--text-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s infinite alternate;
  position: relative;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(247, 250, 252, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.secondary-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  will-change: transform, box-shadow;
  pointer-events: auto !important;
  user-select: none;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Animated Background */
.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(30, 30, 50, 0.4) 0%, transparent 70%),
              radial-gradient(ellipse at bottom, rgba(90, 103, 216, 0.2) 0%, transparent 70%);
  opacity: 0.8;
  will-change: transform, opacity;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0.8;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
  animation: twinkle 4s infinite alternate;
  will-change: opacity, transform;
}

.orbital {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(90, 103, 216, 0.2);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  opacity: 0.2;
  will-change: transform;
}

.orbital::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px var(--primary-color);
  filter: blur(1px);
  will-change: transform;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Features Section */
.features {
  padding: 8rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--text-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title p {
  font-size: 1.1rem;
  color: rgba(247, 250, 252, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(26, 27, 35, 0.7);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(90, 103, 216, 0.2);
  height: 100%;
}

.feature-card:hover {
  transform: none;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(90, 103, 216, 0.4);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(90, 103, 216, 0.03) 0%,
    rgba(26, 27, 35, 0) 70%
  );
  z-index: -1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 5px 15px rgba(90, 103, 216, 0.3);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 600;
}

.feature-card p {
  color: rgba(247, 250, 252, 0.9);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: rgba(26, 27, 35, 0.5);
  padding: 4rem;
  border-radius: 15px;
  border: 1px solid rgba(90, 103, 216, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 5;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 5;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  color: rgba(247, 250, 252, 0.9);
  position: relative;
  z-index: 5;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons .cta-button,
  .cta-buttons .secondary-button {
    width: 100%;
  }
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
  max-width: 150px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col {
  margin-bottom: 1.5rem;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: var(--text-light);
}

.footer-col h3:after {
  content: '';
  position: absolute;
  width: 40%;
  height: 3px;
  background: var(--primary);
  bottom: -10px;
  left: 0;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes twinkle {
  0%, 30% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  70%, 100% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  }
}

/* Floating elements animation */
.floating {
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  50% {
    transform: translateY(0px) translateX(10px);
  }
  75% {
    transform: translateY(10px) translateX(5px);
  }
  100% {
    transform: translateY(0px) translateX(0px);
  }
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  /* Adjust hero section for mobile */
  .hero-content {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .hero {
    min-height: 800px;
    padding-top: 160px; /* Increased padding to push content below navbar */
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-top: 0; /* Remove extra margin to avoid too much space */
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  }
  
  .hero p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); /* Add text shadow to improve readability */
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .cta-container {
    padding: 2rem;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero {
    min-height: 700px;
  }
  
  .hero-content {
    padding-top: 80px; /* Extra padding on very small screens */
  }
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: rgba(15, 18, 24, 0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(90, 103, 216, 0.1);
  border-bottom: 1px solid rgba(90, 103, 216, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
  overflow: hidden;
  position: relative;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(90, 103, 216, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-item h3 {
  animation: countUp 2s ease-out forwards;
}

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

.stat-item p {
  color: rgba(247, 250, 252, 0.7);
  font-size: 1.1rem;
}

/* Stats styling improvements */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-symbol {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-left: 2px;
}

/* How It Works Section */
.how-it-works {
  padding: 8rem 0;
  position: relative;
}

.steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  position: relative;
}

.step {
  flex: 1;
  background: rgba(26, 27, 35, 0.5);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  border: 1px solid rgba(90, 103, 216, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(90, 103, 216, 0.3);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step p {
  color: rgba(247, 250, 252, 0.8);
}

.step-connector {
  height: 2px;
  flex-grow: 0.3;
  background: linear-gradient(90deg, rgba(90, 103, 216, 0.1), rgba(90, 103, 216, 0.5), rgba(90, 103, 216, 0.1));
}

/* Pricing Section */
.pricing {
  padding: 8rem 0;
  position: relative;
  background: rgba(15, 18, 24, 0.6);
  backdrop-filter: blur(10px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: rgba(26, 27, 35, 0.7);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(90, 103, 216, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 1px solid rgba(90, 103, 216, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.pricing-card:hover {
  transform: none;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(90, 103, 216, 0.4);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(90, 103, 216, 0.1);
  position: relative;
}

.featured-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 10px 10px;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.price {
  font-size: 1.2rem;
}

.price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-features {
  list-style: none;
  padding: 2rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  color: rgba(247, 250, 252, 0.8);
  display: flex;
  align-items: center;
}

.pricing-features li i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.pricing-card .cta-button {
  display: block;
  margin: 0 2rem 2rem;
  text-align: center;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-secondary);
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  min-height: 350px;
}

.testimonial-card {
  background-color: var(--bg-primary);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
  flex: 0 0 calc(33.333% - 1.33rem);
  position: relative;
  transition: all 0.3s ease;
  will-change: transform, opacity;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.8rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-indicator:hover {
  background-color: rgba(var(--primary-rgb), 0.5);
  transform: scale(1.2);
}

.carousel-indicator.active {
  background-color: rgb(var(--primary-rgb));
  transform: scale(1.2);
}

.quote-icon {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.author-info p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .testimonials-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
  }
}

/* FAQ Section */
.faq {
  padding: 8rem 0;
  position: relative;
  background: rgba(15, 18, 24, 0.6);
  backdrop-filter: blur(10px);
}

.faq-grid {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: rgba(26, 27, 35, 0.7);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(90, 103, 216, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.faq-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(90, 103, 216, 0.3);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.toggle-icon {
  font-size: 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  color: rgba(247, 250, 252, 0.8);
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-item {
  margin-bottom: 2.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: rgba(247, 250, 252, 0.8);
}

.social-media h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(90, 103, 216, 0.2);
  background: rgba(26, 27, 35, 0.5);
  color: var(--text-color);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.2);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Mobile menu active state */
.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(15, 18, 24, 0.95);
  padding: 2rem;
  z-index: 1000;
  border-top: 1px solid rgba(90, 103, 216, 0.2);
  backdrop-filter: blur(10px);
}

.nav-links.active li {
  margin-bottom: 1.5rem;
}

/* Additional responsive styles */
@media (max-width: 992px) {
  .contact-grid, 
  .steps {
    grid-template-columns: 1fr;
  }
  
  .step-connector {
    display: none;
  }
  
  .step {
    margin-bottom: 2rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .auth-buttons {
    display: none;
  }
  
  .nav-links.active {
    padding-top: 1rem;
  }
  
  .auth-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }
  
  .nav-links.active ~ .auth-buttons,
  .nav-links.active + .auth-buttons,
  .auth-buttons.visible {
    display: flex;
  }
  
  .auth-buttons .secondary-button,
  .auth-buttons .cta-button {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .cta-container {
    padding: 2rem;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Additional enhancements */

/* Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Dashboard Preview */
.dashboard-preview {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.preview-window {
  background: rgba(26, 27, 35, 0.9);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(90, 103, 216, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.window-header {
  background: rgba(15, 18, 24, 0.95);
  padding: 0.8rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(90, 103, 216, 0.1);
}

.window-dots {
  display: flex;
  gap: 6px;
  margin-right: 1rem;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.window-content {
  padding: 1.5rem;
  min-height: 300px;
}

/* Enhanced Stats */
.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.stat-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg) translateX(-100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: rotate(45deg) translateX(-100%); }
  50% { transform: rotate(45deg) translateX(100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

/* Enhanced Contact Form */
.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(90, 103, 216, 0.5);
  transition: color 0.3s ease;
}

.input-icon input,
.input-icon textarea {
  padding-left: 3rem !important;
}

.input-icon input:focus + i,
.input-icon textarea:focus + i {
  color: var(--primary-color);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: white;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(90, 103, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  transform: translateY(-3px);
}

/* Enhanced CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Enhanced FAQ Animations */
.faq-answer {
  transition: height 0.3s ease;
  overflow: hidden;
}

.faq-question:hover {
  background: rgba(90, 103, 216, 0.1);
}

.toggle-icon i {
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon i {
  transform: rotate(45deg);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .dashboard-preview {
    max-width: 100%;
    margin-top: 2rem;
  }

  .window-content {
    min-height: 200px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .social-links {
    justify-content: center;
  }
}

/* Additional Animation Keyframes */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations to elements */
.hero-content h1 {
  animation: fadeInScale 0.8s ease-out;
}

.stat-icon {
  animation: pulse 2s infinite;
}

.feature-icon {
  animation: pulse 2s infinite;
}

/* Add new animations */
@keyframes pulse {
  0% {
    text-shadow: 0 0 5px rgba(90, 103, 216, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(90, 103, 216, 0.7);
  }
}

/* Ripple effect for buttons */
.cta-button, .secondary-button {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Animated particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  opacity: 0.15;
  pointer-events: none;
  animation: particle-float 20s linear infinite;
}

@keyframes particle-float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(100px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(50px, 100px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 50px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* Enhanced hero animation */
.hero h1, .hero p {
  animation-name: fade-slide-up;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h1 {
  animation-delay: 0.2s;
}

.hero p {
  animation-delay: 0.4s;
}

.hero-buttons {
  animation: fade-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Improved active state for mobile menu button */
.mobile-menu-button.active {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* Improved mobile styles */
@media (max-width: 768px) {
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 999;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(15, 18, 24, 0.95);
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-links a:hover {
    background: rgba(90, 103, 216, 0.1);
  }
  
  /* Fix mobile auth buttons - embed them within the mobile menu */
  .auth-buttons {
    position: static;
    display: none;
    width: 100%;
    flex-direction: row;
    margin-top: 1.5rem;
    transform: none;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    padding: 0;
    pointer-events: auto;
  }
  
  .nav-links.active ~ .auth-buttons,
  .nav-links.active + .auth-buttons,
  .auth-buttons.visible {
    display: flex;
  }
  
  .auth-buttons .secondary-button,
  .auth-buttons .cta-button {
    flex: 1;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
  }
  
  /* Position auth buttons inside the nav menu */
  .mobile-auth-buttons {
    display: none;
    width: 100%;
    padding: 0.5rem 0;
    margin-top: 1.5rem;
  }
  
  .nav-links.active .mobile-auth-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
  
  .mobile-auth-buttons .secondary-button,
  .mobile-auth-buttons .cta-button {
    flex: 1;
  }
  
  /* Adjust hero section for mobile */
  .hero-content {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .hero {
    min-height: 800px;
    padding-top: 160px; /* Increased padding to push content below navbar */
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-top: 0; /* Remove extra margin to avoid too much space */
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  }
  
  .hero p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); /* Add text shadow to improve readability */
  }
}

/* Animation for orbital elements */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.orbital {
  animation-name: rotate, glow;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: normal, alternate;
  filter: blur(1px);
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(90, 103, 216, 0.3);
    border-color: rgba(90, 103, 216, 0.3);
  }
  100% {
    box-shadow: 0 0 25px rgba(90, 103, 216, 0.7), 0 0 5px rgba(109, 40, 217, 0.5);
    border-color: rgba(90, 103, 216, 0.7);
  }
}

/* Enhanced star animation */
@keyframes twinkle {
  0% {
    opacity: 0.2;
    transform: scale(0.5);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 0 12px rgba(90, 103, 216, 0.3);
  }
  100% {
    opacity: 0.2;
    transform: scale(0.5);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
  }
}

.star {
  animation: twinkle 3s ease-in-out infinite;
}

/* 3D effect on card hover */
.feature-card:hover, .pricing-card:hover, .testimonial-card:hover, .faq-item:hover {
  transform: none;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(90, 103, 216, 0.4);
}

/* More appealing buttons */
.cta-button, .secondary-button {
  letter-spacing: 0.5px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Stats hover effects */
.stat-item:hover h3 {
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Improved counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Feature cards staggered appearance */
.features-grid {
  perspective: 1000px;
}

.feature-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Animated icon effect */
.feature-icon {
  position: relative;
  z-index: 1;
}

.feature-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(90, 103, 216, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  opacity: 0;
}

.feature-card:hover .feature-icon::after {
  width: 90px;
  height: 90px;
  opacity: 1;
}

/* Enhance scrolled header */
header.scrolled .logo {
  transform: scale(0.9);
}

header.scrolled .nav-links a {
  font-size: 0.95em;
}

/* Focus states for accessibility */
.cta-button:focus, .secondary-button:focus, a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* Extra animations for sections */
.section-title {
  animation: fade-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 3px;
}

.section-title.revealed h2::after {
  width: 100%;
}

/* New features and optimizations */

/* Optimizations for performance */
.hero h1, .hero p, .feature-card, .pricing-card, .testimonial-card, .orbital, .particle, .star {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Card glare effect */
.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

/* Custom cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  opacity: 0.7;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(0.8);
  transition: all 0.1s ease-out;
}

.cursor-hover .cursor-dot {
  opacity: 0.9;
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
}

.cursor-hover .cursor-ring {
  width: 50px;
  height: 50px;
  border-color: var(--primary-color);
  opacity: 0.6;
  transform: translate(-50%, -50%) scale(1.2);
}

.cursor-click .cursor-dot {
  transform: translate(-50%, -50%) scale(0.5);
  background-color: var(--primary-color);
}

.cursor-click .cursor-ring {
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0.2;
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
  box-shadow: 0 0 10px rgba(90, 103, 216, 0.5);
  will-change: width;
}

/* Typing animation cursor */
.typing-cursor::after {
  content: none;
}

/* Animated highlight on text hover */
.highlight-text {
  position: relative;
  color: var(--primary-color);
  font-weight: 700;
  z-index: 2;
  display: inline-block;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 5px;
}

/* Enhanced typing animation styles */
.typing-animation {
  display: inline-block;
  min-width: 10px;
  position: relative;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: content;
}

.typing-cursor {
  border-right: 3px solid var(--primary-color);
  animation: cursorBlink 0.8s step-end infinite;
  padding-right: 3px;
  display: inline-block;
}

@keyframes cursorBlink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--primary-color); }
}

/* Staggered child animation */
.stagger-reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.stagger-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Performance optimizations */
.hero, .animated-background, .orbital, .star, .cta-button, .fade-in, .reveal {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  perspective: 1000px;
  transform: translate3d(0, 0, 0);
}

/* Hardware acceleration for animations */
@media (prefers-reduced-motion: no-preference) {
  .orbital, .star, .cta-button::before, .typing-animation, .animated-background {
    will-change: transform, opacity;
  }
}

/* Fallback for browsers with reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
    scroll-behavior: auto !important;
  }
  
  .animated-background {
    opacity: 0.2;
  }
} 