/* Base Styles */
:root {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #0a0a0a;
  --card-foreground: #fafafa;
  --primary: #8b5cf6;
  --primary-foreground: #fafafa;
  --secondary: #27272a;
  --secondary-foreground: #fafafa;
  --muted: #27272a;
  --muted-foreground: #a1a1aa;
  --accent: #27272a;
  --accent-foreground: #fafafa;
  --destructive: #7f1d1d;
  --destructive-foreground: #fafafa;
  --border: #27272a;
  --input: #27272a;
  --ring: #8b5cf6;
  --radius: 0.5rem;

  --purple-50: #f5f3ff;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;
  --purple-950: #2e1065;

  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-200: #a5f3fc;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --cyan-800: #155e75;
  --cyan-900: #164e63;
  --cyan-950: #083344;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom, #000000, #2e1065);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}


a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(to right, var(--purple-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
  border: none;
}

.btn i {
  margin-left: 0.5rem;
}

.btn-gradient {
  background: linear-gradient(to right, var(--purple-600), var(--cyan-600));
  color: white;
}

.btn-gradient:hover {
  background: linear-gradient(to right, var(--purple-700), var(--cyan-700));
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--purple-500);
  color: white;
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.1);
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

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

/* Enhanced logo styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.logo-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
  box-shadow: 0 4px 24px 0 rgba(139,92,246,0.15);
  overflow: hidden;
  transition: transform 0.2s;
}

.logo-image {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(34,211,238,0.18);
  background: #fff;
}

.logo-icon i {
  color: #fff;
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(34,211,238,0.18));
}

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

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #8b5cf6 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo:hover .logo-bg {
  transform: scale(1.08) rotate(-4deg);
}

.desktop-nav {
  display: none;
}

.auth-buttons {
  display: none;
}

.mobile-menu-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.nav-link {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: white;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .custom-message {
    font-size: 1.15rem;
    padding: 0.25rem 0.5rem;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-top: 5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex;
  flex-direction: column;
}

.hero-description {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 9999px;
  color: white;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
  
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* Section Styles */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

.pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: url("../assets/abstract-digital-pattern.png");
  background-repeat: repeat;
  opacity: 0.05;
  z-index: 0;
}

/* Features Section */
.features {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(76, 29, 149, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
}

.feature-icon {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.feature-icon.purple {
  color: var(--purple-500);
}

.feature-icon.cyan {
  color: var(--cyan-500);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: white;
}

.feature-description {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Roadmap Section */
.roadmap {
  background-color: rgba(0, 0, 0, 0.3);
}

.roadmap-timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, var(--purple-500), var(--cyan-500));
  transform: translateX(-50%);
  display: none;
}

.roadmap-item {
  position: relative;
  margin-bottom: 3rem;
}

.roadmap-content {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(76, 29, 149, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.roadmap-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--purple-600), var(--cyan-600));
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.roadmap-date {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: white;
}

.roadmap-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--purple-400);
}

.roadmap-description {
  color: var(--muted-foreground);
}

.roadmap-completed {
  display: inline-flex;
  align-items: center;
  color: #10b981;
  margin-top: 1rem;
}

.roadmap-completed i {
  margin-right: 0.5rem;
}

.roadmap-dot {
  display: none;
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--purple-600), var(--cyan-600));
  border: 4px solid black;
  z-index: 10;
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
  }

  .roadmap-item {
    display: flex;
    align-items: center;
  }

  .roadmap-item.left {
    justify-content: flex-start;
  }

  .roadmap-item.right {
    justify-content: flex-end;
  }

  .roadmap-content {
    width: calc(50% - 2rem);
  }

  .roadmap-dot {
    display: block;
    top: 50%;
    transform: translateY(-50%);
  }

  .roadmap-item.left .roadmap-dot {
    right: -1rem;
  }

  .roadmap-item.right .roadmap-dot {
    left: -1rem;
  }

  .roadmap-item.left {
    padding-right: 2rem;
  }

  .roadmap-item.right {
    padding-left: 2rem;
  }

  .roadmap-item.left .roadmap-content {
    text-align: right;
  }

  .roadmap-item.right .roadmap-content {
    text-align: left;
  }
  
}

@media (max-width: 767px) {
  .hero-content {
    margin-top: 2rem;
    /* gap: 1.5rem; Reduced from 2rem */
  }

  .logo-container {
    margin-top: 0;
  }

  .hero-title {
    font-size: 2.2rem; /* Slightly reduced for better mobile fit */
  }

  .hero-description {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
}


/* Community Section */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(76, 29, 149, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: rgba(124, 58, 237, 0.3);
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

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

.community-text {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.hashtag {
  color: var(--purple-400);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tag {
  background-color: rgba(124, 58, 237, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: white;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 400px) {
  .hero-content{
    margin-top: 0;
  }
  .logo-container{
    margin-top: 0;
  }
}

/* Staking Section */
.staking {
  background-color: rgba(0, 0, 0, 0.3);
}

.staking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.benefits-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  margin-right: 1rem;
  margin-top: 0.25rem;
  background-color: rgba(124, 58, 237, 0.2);
  padding: 0.25rem;
  border-radius: 9999px;
  color: var(--purple-500);
}

.benefit-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: white;
}

.benefit-description {
  color: var(--muted-foreground);
}

.simulator-card {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(76, 29, 149, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  overflow: hidden;
}

.simulator-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.5);
}

.simulator-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.simulator-description {
  color: var(--muted-foreground);
}

.simulator-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.simulator-input {
  height: 2.5rem;
  padding: 0 0.75rem;
  background-color: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(76, 29, 149, 0.5);
  border-radius: var(--radius);
  color: white;
  width: 100%;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.duration-display {
  font-size: 0.875rem;
  color: var(--purple-400);
}

.slider-container {
  padding: 1rem 0;
}

.slider {
  /* -webkit-appearance: none; */
  width: 100%;
  height: 4px;
  background: rgba(124, 58, 237, 0.3);
  border-radius: 9999px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--purple-600), var(--cyan-600));
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--purple-600), var(--cyan-600));
  cursor: pointer;
}

.results-container {
  background-color: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
}

.result-label {
  color: var(--muted-foreground);
}

.result-value {
  font-weight: 600;
  color: white;
}

.result-value.highlight {
  color: var(--purple-400);
}

.simulator-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(76, 29, 149, 0.5);
}

@media (min-width: 1024px) {
  .staking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Task Marketplace Section */
.tasks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.task-card {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(76, 29, 149, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.task-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.task-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.task-badge {
  background-color: rgba(124, 58, 237, 0.3);
  color: var(--purple-300);
  border: 1px solid rgba(124, 58, 237, 0.5);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
}

.task-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.task-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.detail-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: block;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-weight: 500;
  color: white;
}

.detail-value.highlight {
  color: var(--purple-400);
}

.view-all-container {
  text-align: center;
}

@media (min-width: 768px) {
  .tasks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tasks-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Early Access Section */
.early-access {
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
}

.early-access-card {
  max-width: 48rem;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(76, 29, 149, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2rem;
}

.early-access-form {
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.form-input {
  height: 3rem;
  padding: 0 1rem;
  background-color: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(76, 29, 149, 0.5);
  border-radius: var(--radius);
  color: white;
  width: 100%;
}

.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.success-message {
  text-align: center;
  padding: 2rem 0;
}

.success-message.hidden {
  display: none;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: rgba(16, 185, 129, 0.2);
  margin-bottom: 1rem;
  color: #10b981;
  font-size: 2rem;
}

.success-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.success-description {
  color: var(--muted-foreground);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(76, 29, 149, 0.3);
  text-align: center;
}

.benefit-box-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: white;
}

.benefit-box-description {
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .form-group {
    flex-direction: row;
  }

  .form-input {
    flex-grow: 1;
  }
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer */
.footer {
  background-color: black;
  padding: 3rem 0;
  border-top: 1px solid rgba(76, 29, 149, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about {
  max-width: 24rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: rgba(124, 58, 237, 0.1);
  color: white;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--purple-400);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(76, 29, 149, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: var(--purple-400);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s forwards;
  animation-delay: 0.2s;
}

.slide-up-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s forwards;
  animation-delay: 0.4s;
}

.slide-up-delay-2 {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s forwards;
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* AOS Animation Classes */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Utility Classes */
.hidden {
  display: none;
}

/* Back to Top Button Styles */
.back-to-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 1000;
  width: 3.2rem;
  height: 3.2rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(139,92,246,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.back-to-top:hover {
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 8px 32px 0 rgba(34,211,238,0.22);
}

.back-to-top i {
  font-size: 1.4rem;
  pointer-events: none;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(139,92,246,0.12);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(139,92,246,0.10);
  margin-bottom: 0.5rem;
  animation: fadeInUp 1s 0.3s both;
}

.custom-message {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  text-align: center;
  background: linear-gradient(90deg, #8b5cf6 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 16px rgba(139,92,246,0.18);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  animation: fadeInDown 1s both;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .header {
    padding: 1rem 0;
  }

  .header-content {
    padding: 0 0.5rem;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-bg {
    width: 4rem;
    height: 4rem;
  }

  .logo-image {
    width: 3.6rem;
    height: 3.6rem;
  }

  .logo-text {
    font-size: 1.6rem;
  }
}

@media (max-width: 767px) {
  .scroll-indicator {
    bottom: 1.5rem;
  }
}

@media (max-width: 767px) {
  .custom-message {
    font-size: 0.9rem;
    padding: 0.15rem 0.35rem;
    margin-bottom: 0.8rem;
  }

  .logo-row {
    padding: 0.4rem 1rem;
  }
}

/* Fix for the gap after header on mobile */
@media (max-width: 767px) {
  .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
  }

  .hero {
    padding-top: 0;
    margin-top: 0;
    height: 100vh;
  }

  .hero-content {
    /* padding-top: 4.5rem; This accounts for the header height */
    margin-top: 0;
  }

  /* Reduce spacing between elements */
  .logo-container {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  .hero-title {
    margin-bottom: 0.5rem;
  }

  .hero-description {
    margin-bottom: 1rem;
  }
}

/* Fix mobile menu positioning */
/* .mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 49;
} */
