* {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: #0b0e14;
  color: #e5e7eb;
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, #1e1b4b, #020617);
  border-bottom: 1px solid #1f2937;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text h1 {
  margin: 0;
  font-size: 20px;
}

.brand-text p {
  margin: 4px 0 0;
  color: #cbd5f5;
  font-size: 12px;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.btn-primary {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #fff;
}

.btn-outline {
  border: 1px solid #7c3aed;
  color: #c4b5fd;
  background: transparent;
}

.btn-secondary {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid #1f2937;
}

.btn:hover {
  opacity: 0.9;
}

.landing-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.hero-eyebrow {
  display: inline-flex;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  font-size: 12px;
  margin: 0 0 12px;
}

.hero-content h2 {
  font-size: 36px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.hero-content p {
  margin: 0 0 16px;
  color: #cbd5f5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 13px;
  color: #9ca3af;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.panel-card {
  background: #111827;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 0 1px #1f2937;
}

.panel-card h3 {
  margin: 0 0 10px;
}

.panel-card ol {
  margin: 0;
  padding-left: 20px;
  color: #cbd5f5;
}

.panel-card.highlight {
  border-left: 4px solid #7c3aed;
}

.features {
  margin-top: 40px;
}

.features h3 {
  margin: 0 0 16px;
}

.service-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.service-card {
  background: #111827;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 0 0 1px #1f2937;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5f5;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  background: #111827;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 0 1px #1f2937;
}

.servers {
  margin-top: 40px;
}

.section-head h3 {
  margin: 0;
}

.section-head p {
  margin: 6px 0 20px;
  color: #cbd5f5;
}

.server-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.server-card {
  background: #111827;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 0 0 1px #1f2937;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.server-card h4 {
  margin: 0;
}

.server-meta {
  color: #9ca3af;
  font-size: 12px;
}

.server-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
}

.server-price {
  font-weight: 700;
  color: #22c55e;
}

.server-loading,
.server-empty,
.server-error {
  padding: 16px;
  background: #111827;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 0 1px #1f2937;
}

.cta {
  margin-top: 40px;
}

.cta-card {
  background: #111827;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 0 0 1px #1f2937;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-footer {
  text-align: center;
  padding: 20px;
  color: #9ca3af;
  background: transparent;
  border-top: 1px solid #1f2937;
  margin-top: 30px;
}

.landing-footer p {
  margin: 0;
  background: linear-gradient(120deg, #7c3aed, #22d3ee, #86efac, #7c3aed);
  background-size: 300% 300%;
  animation: footer-rgb-shift 10s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes footer-rgb-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .landing-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .landing-main {
    padding: 18px;
  }
}
/* === ENHANCED LAYOUT STYLES === */

/* Hero Section Enhancement */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0) 70%);
  top: -100px;
  right: -100px;
  z-index: -1;
}

.hero-content h2 {
  background: linear-gradient(90deg, #e5e7eb, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.8rem;
  line-height: 1.1;
}

.panel-card {
  position: relative;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: linear-gradient(145deg, rgba(30, 27, 75, 0.8), rgba(2, 6, 23, 0.9));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(124, 58, 237, 0.2);
}

.panel-card h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.panel-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: 2px;
}

.panel-card ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.panel-card li {
  position: relative;
  padding: 15px 0 15px 50px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.3);
  color: #cbd5f5;
  font-size: 14px;
}

.panel-card li:last-child {
  border-bottom: none;
}

.panel-card li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.panel-card ol {
  counter-reset: item;
}

.panel-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  color: #86efac;
  font-weight: 600;
  text-align: center;
}

/* Features Enhancement */
.features h3 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.features h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: 2px;
}

.feature-grid {
  margin-top: 2rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(31, 41, 55, 0.5);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
  transition: left 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.15);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card h4 {
  color: #c4b5fd;
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 28px;
}

.feature-card h4::before {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
}

.feature-card p {
  color: #9ca3af;
  line-height: 1.6;
  margin: 0;
  padding-left: 28px;
}

/* Service Grid Enhancement */
.service-grid {
  margin-top: 2.5rem;
  position: relative;
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(30, 27, 75, 0.9));
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Servers Section Enhancement */
.servers {
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.server-list {
  perspective: 1000px;
}

.server-card {
  position: relative;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(2, 6, 23, 0.9));
  border: 1px solid rgba(31, 41, 55, 0.5);
  overflow: hidden;
  cursor: pointer;
}

.server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.server-card:hover {
  transform: translateY(-8px) rotateX(5deg);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.15);
}

.server-card:hover::before {
  opacity: 1;
}

.server-tag {
  position: relative;
  z-index: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.server-price {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(31, 41, 55, 0.5);
}

.server-refresh {
  margin-top: 30px;
  text-align: center;
}

.server-refresh .btn {
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.refresh-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Testimonials Section */
.testimonials {
  margin-top: 60px;
}

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

.testimonial-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(30, 27, 75, 0.9));
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.4);
}

.testimonial-content {
  position: relative;
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.testimonial-content p {
  font-style: italic;
  color: #cbd5f5;
  line-height: 1.6;
  margin: 0;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 60px;
  color: rgba(124, 58, 237, 0.2);
  font-family: serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: #e5e7eb;
  font-size: 16px;
}

.testimonial-author span {
  color: #9ca3af;
  font-size: 14px;
}

/* CTA Enhancement */
.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(2, 6, 23, 0.95));
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.cta-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  z-index: 0;
}

.cta-card > div:first-child {
  position: relative;
  z-index: 1;
}

.cta-card h3 {
  background: linear-gradient(90deg, #e5e7eb, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Footer Enhancement */
.landing-footer {
  position: relative;
  margin-top: 4rem;
  padding: 2rem 1rem 1.5rem;
  background: #0b0e14;
}

.landing-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7c3aed, transparent);
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(200px, 0.8fr);
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.footer-brand h3 {
  margin: 0 0 8px;
  color: #e5e7eb;
}

.footer-brand p {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
}

.footer-terms {
  margin-top: 6px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
  max-width: 420px;
}

.footer-terms summary {
  cursor: pointer;
  color: #cbd5f5;
  font-weight: 600;
  list-style: none;
}

.footer-terms summary::-webkit-details-marker {
  display: none;
}

.footer-terms summary::after {
  content: " +";
  color: #7c3aed;
}

.footer-terms[open] summary::after {
  content: " -";
}

.footer-terms p {
  margin: 8px 0 0;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.footer-links a:hover {
  color: #7c3aed;
}

.footer-copyright {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
}

.footer-label {
  margin: 0 0 8px;
  color: #9ca3af;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 41, 55, 0.5);
  text-align: center;
}

/* Loading Animation */
.server-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 3rem !important;
  min-height: 200px;
}

.server-loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid rgba(124, 58, 237, 0.3);
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.server-empty,
.server-error {
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(30, 27, 75, 0.9));
  border-radius: 16px;
  border: 1px solid rgba(31, 41, 55, 0.5);
}

.server-error {
  border-color: rgba(239, 68, 68, 0.3);
}

/* Responsive Enhancements */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .footer-content {
    gap: 14px;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

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

  .footer-contact {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .features h3,
  .section-head h3 {
    font-size: 1.8rem;
  }
  
  .cta-card h3 {
    font-size: 1.6rem;
  }
  
  .feature-card,
  .server-card,
  .service-card,
  .testimonial-card {
    transform: none !important;
  }
  
  .server-card:hover {
    transform: translateY(-5px) !important;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .landing-main {
    padding: 18px;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .panel-card li {
    padding: 12px 0 12px 40px;
    font-size: 13px;
  }
  
  .feature-card h4 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 14px;
  }
}
