/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Header */
.top-header {
  background-color: #475569;
  color: white;
  font-size: 14px;
  padding: 8px 0;
}

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

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.currency-badge {
  background-color: #f97316;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.header-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-item i {
  font-size: 14px;
}

/* Main Header */
.main-header {
  background-color: white;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.main-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo-img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #f97316;
}

.nav-item-with-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hot-badge {
  background-color: #ef4444;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Offer Banner */
.offer-banner {
  background-color: #22c55e;
  color: white;
  padding: 12px 0;
}

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

.offer-text {
  flex: 1;
  text-align: center;
}

.offer-title {
  font-weight: 600;
}

.offer-subtitle {
  font-size: 14px;
  margin-left: 8px;
}

.coupon-code {
  background-color: black;
  color: white;
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 600;
}

/* Hero Section */
.hero {
  background-color: #f8fafc;
  padding: 80px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.hero-icon {
  color: #3b82f6;
  font-size: 48px;
  margin-right: 16px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: #1f2937;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 32px;
}

.hero-features {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.feature-item i {
  color: #f97316;
  margin-right: 12px;
  font-size: 20px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background-color: #f97316;
  color: white;
}

.btn-primary:hover {
  background-color: #ea580c;
}

.btn-white {
  background-color: white;
  color: #f97316;
}

.btn-white:hover {
  background-color: #f3f4f6;
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: #f97316;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Server Rack Animation */
.server-rack {
  width: 384px;
  height: 384px;
  background: linear-gradient(135deg, #374151, #1f2937);
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.server-unit {
  width: 64px;
  height: 80px;
  background-color: #4b5563;
  border-radius: 4px;
  border: 1px solid #6b7280;
  position: relative;
}

.server-unit::before {
  content: "";
  position: absolute;
  inset: 4px;
  background-color: black;
  border-radius: 2px;
  background-image: radial-gradient(circle at 25% 25%, #22c55e 2px, transparent 2px),
    radial-gradient(circle at 75% 25%, #3b82f6 2px, transparent 2px),
    radial-gradient(circle at 25% 75%, #22c55e 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, #3b82f6 2px, transparent 2px);
  background-size: 16px 16px;
  animation: serverBlink 2s infinite alternate;
}

@keyframes serverBlink {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 768px;
  margin: 0 auto;
}

/* Services Section */
.services {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.service-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  background-color: white;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  color: #f97316;
  font-size: 48px;
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.service-desc {
  color: #6b7280;
}

/* Support Section */
.support {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: white;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.support-item {
  text-align: center;
}

.support-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.support-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.support-desc {
  font-size: 1.125rem;
  opacity: 0.9;
}

.support-badge {
  text-align: center;
}

.language-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.125rem;
}

/* Locations Section */
.locations {
  background-color: white;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.location-card {
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  background-color: white;
}

.location-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.location-flag {
  font-size: 3rem;
  margin-bottom: 12px;
}

.location-name {
  font-weight: 600;
  color: #1f2937;
}

/* Pricing Section */
.pricing {
  background-color: #f8fafc;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.pricing-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
  border: 2px solid #f97316;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f97316;
  color: white;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  padding: 32px 24px 24px;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}

.plan-price {
  margin-bottom: 24px;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: #f97316;
}

.period {
  font-size: 1rem;
  color: #6b7280;
}

.pricing-features {
  padding: 0 24px 24px;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.feature i {
  color: #22c55e;
  margin-right: 12px;
  font-size: 16px;
}

.pricing-card .btn {
  margin: 0 24px 24px;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background-color: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stars {
  margin-bottom: 16px;
}

.stars i {
  color: #fbbf24;
  margin-right: 4px;
}

.testimonial-text {
  font-style: italic;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}

.author-name {
  font-weight: 600;
  color: #1f2937;
}

.author-company {
  font-size: 14px;
  color: #6b7280;
}

/* Contact Section */
.contact {
  background-color: #475569;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-info {
  font-size: 1.125rem;
}

.website-info {
  text-align: center;
}

.website-info p {
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.website-link {
  font-size: 2rem;
  font-weight: 600;
  color: #fbbf24;
  text-decoration: none;
  transition: color 0.3s ease;
}

.website-link:hover {
  color: #f59e0b;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 24px;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: #1e293b;
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: #94a3b8;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  text-align: center;
  color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .server-rack {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

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

  .header-right {
    gap: 16px;
  }

  .header-item span {
    display: none;
  }

  .offer-content {
    flex-direction: column;
    gap: 12px;
  }

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

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  section {
    padding: 60px 0;
  }

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

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .server-rack {
    width: 250px;
    height: 250px;
  }

  .server-unit {
    width: 48px;
    height: 60px;
  }
}
