
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body > section {
  flex-shrink: 0;
  max-width: 100%;
}

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

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

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

/* Hero Section Animations */
.hero {
  margin-top: 5rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3.75rem 5vw;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 900px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1.2s ease-out 0.2s both;
}

.hero h1 .highlight1 {
  color: #7B00FF;
  background: linear-gradient(45deg, #7B00FF, #9f4fff, #7B00FF);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

.hero h1 .highlight {
  color: #7B00FF;
  background: linear-gradient(45deg, #7B00FF, #9f4fff, #7B00FF);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite 1.5s;
}

.downtime .alert .highlight3{ 
   color: #e5052a;
}

.downtime .time .highlight4{ 
  color: rgb(42, 221, 42)
}
.features {
  margin-top: 1rem;
  font-size: 1rem;
  color: #ffffff;
  display: grid;
  gap: 0.8rem;
  list-style: none;
  animation: fadeInUp 1.4s ease-out 0.4s both;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2.5rem;
  max-width: 600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.features li {
  opacity: 0;
  animation: fadeInLeft 0.6s ease-out forwards;
  list-style: none;
  margin: 0.5rem 0;
  text-align: left;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.4;
}

.features li:nth-child(1) { animation-delay: 0.6s; }
.features li:nth-child(2) { animation-delay: 0.8s; }
.features li:nth-child(3) { animation-delay: 1.0s; }
.features li:nth-child(4) { animation-delay: 1.2s; }

.features li .highlight2 {
  color: #ffffff;
}

a.cta-btn{
  text-decoration: none;
}
.cta-btn {
  margin-top: 3.125rem;
  padding: 0.75rem 1.875rem;
  border: 2px solid white;
  border-radius: 1.875rem;
  color: white;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: fadeInUp 1.6s ease-out 0.8s both;
  position: relative;
  overflow: hidden;
}

.cta-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: left 0.5s ease;
}

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

.cta-btn:hover {
  background: white;
  color: #7B00FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 0, 255, 0.3);
}

.services-heading {
  text-align: center;
  background: #ffffff;
  color: #222;
  padding: 3.75rem 5vw 0;
  margin-top: 4rem;
  animation: fadeInUp 1s ease-out;
}

.services-heading h2 {
  font-size: 2.4rem;
  font-weight: 700;
  padding-bottom: 3.75rem;
  animation: fadeInUp 1.2s ease-out 0.2s both;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.875rem;
  padding: 0 5vw 60px;
  background: white;
  color: #222;
  max-width: 100%;
  overflow-x: hidden;
}

.service-box {
  flex: 1 1 300px;
  max-width: 380px;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 1.875rem;
  text-align: left;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.service-box:nth-child(1) { animation-delay: 0.2s; }
.service-box:nth-child(2) { animation-delay: 0.4s; }
.service-box:nth-child(3) { animation-delay: 0.6s; }

.service-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(123, 0, 255, 0.2);
}

.service-box img {
  transition: transform 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.service-box:hover img {
  transform: scale(1.1);
}

.service-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
  color: #222;
  transition: color 0.3s ease;
}

.service-box:hover h3 {
  color: #7B00FF;
}

.service-box p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #555;
}

.downtime {
  background: #17062a;
  text-align: center;
  padding: 3.75rem 5vw;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  animation: fadeInUp 1s ease-out;
}

.downtime h2 {
  animation: fadeInUp 1.2s ease-out 0.2s both;
}

.downtime .alert {
  animation: fadeInLeft 1.4s ease-out 0.4s both;
  transition: transform 0.3s ease;
}

.downtime .alert:hover {
  transform: scale(1.05);
}

.downtime .time {
  animation: fadeInRight 1.6s ease-out 0.6s both;
  transition: transform 0.3s ease;
}

.downtime .time:hover {
  transform: scale(1.05);
}

.downtime::before,
.downtime::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(123, 0, 255, 0.4);
  filter: blur(50px);
  z-index: 0;
}

.downtime::before {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.downtime::after {
  width: 250px;
  height: 250px;
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
  background: rgba(159, 79, 255, 0.3);
}

.downtime .gmail-logo,
.downtime .discord-logo {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: 0;
}

.downtime .gmail-logo {
  background-image: url('/static/logos/gmail.png');
  width: 65px;
  height: 65px;
  top: 20%;
  left: 15vw;
  transform: rotate(-18deg);
}

.downtime .discord-logo {
  background-image: url('/static/logos/discord.png');
  width: 100px;
  height: 100px;
  bottom: 10%;
  right: 15%;
  transform: rotate(15deg);
}

.downtime > * {
  position: relative;
  z-index: 1;
}

.downtime h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.downtime .alert {
  background: #3E0A75;
  padding: 0.625rem 1.25rem;
  border-radius: 0.7rem;
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  animation: pulse 1.5s infinite;
  position: absolute;
  bottom: 40px;
  left: 15vw;
}

.downtime .time {
  background: #3E0A75;
  color: #ffffff;
  font-weight: bold;
  padding: 0.8rem 1.25rem;
  border-radius: 0.7rem;
  display: inline-block;
  margin: 0.625rem;
  font-size: 1.1rem;
  animation: pulse 1.5s infinite;
  position: absolute;
  top: 40px;
  right: 15vw;
}

.pricing {
  padding: 5rem 5vw;
  text-align: center;
  background: white;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 525px;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.pricing::before,
.pricing::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(123, 0, 255, 0.2);
  filter: blur(60px);
  z-index: 0;
}

.pricing::before {
  width: 250px;
  height: 250px;
  top: 10%;
  left: 5%;
  transform: translate(-50%, -50%);
}

.pricing::after {
  width: 300px;
  height: 300px;
  bottom: 5%;
  right: 8%;
  transform: translate(50%, 50%);
  background: rgba(159, 79, 255, 0.15);
}

.pricing > * {
  position: relative;
  z-index: 1;
}

.pricing-box {
  max-width: 400px;
  background: #fff;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: left;
  animation: fadeInUp 1.2s ease-out 0.3s both;
  transition: all 0.3s ease;
}

.pricing-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(159, 79, 255, 0.2);
}

.pricing-box h2 {
  color: #7B00FF;
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  animation: fadeInUp 1.4s ease-out 0.5s both;
}

.pricing-box p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #555;
  animation: fadeInLeft 1.6s ease-out 0.7s both;
}

.pricing-box ul {
  list-style: none;
  padding-left: 0;
  animation: fadeInUp 1.8s ease-out 0.9s both;
}

.pricing-box li {
  margin: 0.75rem 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  animation: fadeInLeft 0.6s ease-out calc(1.1s + 0.1s * var(--index, 0)) both;
}

.pricing-box li:nth-child(1) { --index: 0; }
.pricing-box li:nth-child(2) { --index: 1; }
.pricing-box li:nth-child(3) { --index: 2; }
.pricing-box li:nth-child(4) { --index: 3; }
.pricing-box li:nth-child(5) { --index: 4; }

.pricing-box li::before {
  content: '✓ ';
  color: #7B00FF;
  font-weight: bold;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .services-heading h2 {
    font-size: 2rem;
  }

  .services {
    padding: 0 3vw 40px;
    flex-direction: column;
    align-items: center;
  }

  .service-box {
    padding: 1.25rem;
    max-width: 100%;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .downtime h2 {
    font-size: 2rem;
  }

  .downtime .alert,
  .downtime .time {
    position: static;
    margin: 0.5rem auto;
    animation: none;
  }

  
  .downtime .gmail-logo {
    display: block;
    width: 40px; 
    height: 40px; 
    top: 15px;
    left: 15px;
    transform: rotate(-10deg); 
  }

  .downtime .discord-logo {
    display: block;
    width: 60px; 
    height: 60px; 
    bottom: 15px;
    right: 15px;
    transform: rotate(10deg); 
  }

  .pricing {
    padding: 3rem 3vw;
  }

  .pricing-box {
    padding: 1.5rem;
    background: #fff;
    color: #333;
  }
  
  .pricing-box h2 {
    color: #7B00FF;
  }
  
  .pricing-box p {
    color: #555;
  }
  
  .pricing-box li {
    color: #333;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .features li {
    font-size: 1.1rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
  .services-heading h2 {
    font-size: 1.8rem;
  }
  .services {
    padding: 0 2vw 40px;
    gap: 1.5rem;
  }
  .service-box {
    padding: 1.5rem;
    max-width: 100%;
    width: 100%;
    text-align: center;
    align-items: center;
    margin: 0 auto;
  }
  .service-box h3 {
    font-size: 1.3rem;
  }
  .service-box p {
    font-size: 0.95rem;
  }
  .downtime h2 {
    font-size: 1.8rem;
  }
  .pricing-box h2 {
    font-size: 1.8rem;
  }
  .pricing-box {
    padding: 1.5rem;
  }
  .pricing-box p,
  .pricing-box li {
    font-size: 0.9rem;
    color: #333;
  }
  .pricing-box h2 {
    color: #7B00FF;
  }
}