* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1428 100%);
  background-color: #000000;
  color: #e0e0e0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Added animated background grid for modern aesthetic */
.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.page-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: clamp(20px, 5vw, 60px) clamp(16px, 4vw, 40px);
  /* Use clamp() for fluid padding that adjusts between screen sizes */
}

/* Redesigned header with better spacing and typography */
.header {
  width: 100%;
  padding: clamp(16px, 3vw, 30px) 0;
  margin-bottom: clamp(30px, 8vw, 60px);
  display: flex;
  justify-content: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-svg {
  width: clamp(32px, 8vw, 48px);
  /* Responsive logo size using clamp */
  height: clamp(32px, 8vw, 48px);
  filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.3));
}

.logo-name {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  /* Fluid font size for logo name */
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Enhanced hero section with better typography hierarchy */
.hero-section {
  text-align: center;
  margin-bottom: clamp(40px, 10vw, 80px);
  /* Fluid margin for better spacing */
  max-width: 90vw;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: clamp(1.75rem, 6vw, 3.5rem);
  /* Better font scaling for all screen sizes */
  font-weight: 800;
  margin-bottom: clamp(12px, 2vw, 24px);
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-break: break-word;
  /* Prevent text overflow on small screens */
}

.subtitle {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  /* Fluid subtitle sizing */
  color: #b0b9c0;
  line-height: 1.6;
  margin: 0;
  max-width: 95vw;
  overflow-wrap: break-word;
}

/* Modern container with glass-morphism effect */
.container {
  width: 100%;
  max-width: 700px;
  background: rgba(20, 24, 45, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: clamp(24px, 6vw, 50px) clamp(16px, 5vw, 40px);
  /* Responsive padding with clamp */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.8s ease 0.1s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Redesigned progress section with modern styling */
.progress-section {
  margin-bottom: clamp(30px, 8vw, 50px);
  /* Fluid margin between sections */
}
.release-date {
  text-align: center;
  color: #b0b9c0;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  margin-bottom: 20px;
  font-style: italic;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  /* Responsive label text size */
  font-weight: 600;
  flex-wrap: wrap;
  gap: 10px;
}

.progress-percent {
  background: linear-gradient(135deg, #7c3aed 0%, #6a5acd 100%);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ffffff;
  white-space: nowrap;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed 0%, #6a5acd 100%);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
}

/* Redesigned features section as grid with enhanced styling */
.features-section {
  margin-bottom: clamp(30px, 8vw, 40px);
  /* Fluid section margins */
}

.features-section h2 {
  font-size: clamp(1.2rem, 4vw, 1.4rem);
  /* Responsive heading size */
  font-weight: 700;
  margin-bottom: clamp(16px, 4vw, 24px);
  color: #ffffff;
}

.features-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  /* Better minimum size for mobile */
  gap: clamp(8px, 2vw, 12px);
  /* Fluid gap sizing */
  margin-bottom: 20px;
}

.feature-item {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: clamp(12px, 3vw, 16px);
  /* Responsive padding */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  /* Responsive font size */
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 80px;
  /* Ensure consistent height on mobile */
  justify-content: center;
}

.feature-item:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

@media (hover: none) {
  /* Touch-friendly: disable hover transform on touch devices */
  .feature-item:hover {
    transform: none;
  }
}

.feature-item.completed {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}

.feature-item.pending {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
}

.feature-icon {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  /* Responsive icon size */
}

.feature-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: clamp(10px, 2vw, 12px) clamp(12px, 3vw, 16px);
  /* Responsive padding for note */
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 8px;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: #b0b9c0;
  font-style: italic;
  flex-wrap: wrap;
}

.feature-note span {
  font-size: clamp(1rem, 3vw, 1.2rem);
  flex-shrink: 0;
}

.feature-note p {
  margin: 0;
}

/* Modern CTA section with enhanced button styling */
.cta-section {
  text-align: center;
  padding-top: clamp(20px, 5vw, 30px);
  /* Fluid top padding */
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.cta-section p {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  /* Responsive CTA text size */
  color: #b0b9c0;
  margin-bottom: clamp(16px, 3vw, 20px);
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 12px);
  /* Fluid gap between social buttons */
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: clamp(44px, 10vw, 56px);
  /* Responsive button size, touch-friendly minimum */
  height: clamp(44px, 10vw, 56px);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(124, 58, 237, 0.08);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(106, 90, 205, 0.2) 100%);
  border-color: rgba(124, 58, 237, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.social-btn:active {
  /* Better touch feedback for mobile */
  transform: scale(0.95);
}

.social-btn svg {
  width: clamp(18px, 5vw, 24px);
  /* Responsive SVG icon size */
  height: clamp(18px, 5vw, 24px);
  fill: currentColor;
}

/* Tablet devices (768px - 1024px) */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

/* Small tablets and landscape phones (600px - 768px) */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .container {
    border-radius: 12px;
  }
}

/* Large phones and small tablets (480px - 600px) */
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
}

/* Small phones (up to 480px) */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns on very small screens */
  }

  .feature-item {
    min-height: 75px;
  }

  .feature-note {
    gap: 6px;
  }
}

/* Extra small phones (up to 360px) */
@media (max-width: 360px) {
  .logo-name {
    font-size: 1rem;
  }

  .feature-item {
    min-height: 70px;
    gap: 6px;
  }
}

/* Large desktop screens (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 800px;
  }
}

/* Reduce animations on devices with motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .background-grid {
    animation: none;
  }
}

/* Print styles for better print output */
@media print {
  body {
    background: white;
    color: black;
  }

  .background-grid {
    display: none;
  }
}
