:root {
  --primary: #00A6D6;
  --primary-dark: #0090B8;
  --accent: #00B882;
  --bg-dark: #F3F4F6;
  --surface-dark: #FFFFFF;
  --surface-card: #EEF1F5;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-highlight: rgba(0, 166, 214, 0.35);
  --text-main: #0B0E13;
  --text-muted: #64748B;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Typography & Utilities */
.gradient-text {
  background: linear-gradient(135deg, #00D2FF 0%, #00E5A3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #00D2FF 0%, #0090B8 100%);
  color: #080A0E;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38E0FF 0%, #00A6D6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 210, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(0, 210, 255, 0.08);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Hero Section */
.hero {
  padding: 9.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 229, 163, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.stat-item h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Server Node Card */
.server-node-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  position: relative;
}

.node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.node-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 163, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 229, 163, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 163, 0); }
}

.node-ping {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0, 229, 163, 0.15);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 6px;
}

.node-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.n-metric span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.n-metric strong {
  color: var(--text-main);
  font-size: 0.95rem;
}

.node-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.speed-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 6px;
}

.speed-fill {
  height: 100%;
  width: 94%;
  background: linear-gradient(90deg, #00D2FF 0%, #00E5A3 100%);
  border-radius: 10px;
}

.speed-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* Domain Search Section */
.domain-section {
  padding: 2rem 0 5rem;
}

.domain-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
}

.domain-card-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.domain-form {
  display: flex;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  gap: 8px;
}

.domain-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  stroke-width: 2;
  fill: none;
}

.domain-input-wrapper input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px 14px 48px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.domain-input-wrapper input:focus {
  border-color: var(--primary);
}

.domain-extensions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ext-badge {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.825rem;
  color: #334155;
}

.ext-badge strong {
  color: var(--primary);
}

.search-results {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

/* Features Section */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
  background: #EEF1F5;
}

.pricing-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3.5rem;
}

.pricing-switch-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-switch-label.active {
  color: var(--text-main);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #D1D5DB;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--primary);
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #00D2FF;
}

input:checked + .slider:before {
  transform: translateX(24px);
  background-color: #080A0E;
}

.discount-badge {
  background: rgba(0, 229, 163, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
}

.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%);
  box-shadow: 0 0 35px rgba(0, 166, 214, 0.18);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #080A0E;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
}

.price-header h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.price-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 40px;
}

.price-amount {
  margin-bottom: 1.75rem;
}

.price-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

.price-card button {
  width: 100%;
}

/* Tech Section */
.tech-section {
  padding: 6rem 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
}

.tech-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 210, 255, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.tech-card h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.tech-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: #EEF1F5;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
}

.faq-toggle {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.footer {
  padding: 4.5rem 0 2rem;
  background: #EEF1F5;
  border-top: 1px solid var(--border-color);
}

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

.footer-logo-img {
  height: 36px;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 340px;
  margin-bottom: 1rem;
}

.footer-copy {
  color: #64748b;
  font-size: 0.775rem;
}

.footer-column h4 {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.contact-highlight {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.contact-val {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: #64748b;
  font-size: 0.8rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.modal-content {
  background: var(--surface-dark);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-title {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
}

.form-group-section {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
}

.form-group-section h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.form-field label {
  font-size: 0.75rem;
  color: #334155;
  margin-bottom: 4px;
}

.form-field input {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-main);
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition);
}

.form-field input:focus {
  border-color: var(--primary);
}

.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle, .hero-actions, .hero-stats {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .features-grid, .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .features-grid, .tech-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .domain-form {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
