/* Nexbyet Services LLP - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #050b14;
  --surface-color: #0b1528;
  --surface-light: #162747;
  --primary-color: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.3);
  --secondary-color: #4facfe;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-family: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --light-section-bg: #f4f9ff;
  --light-text: #333;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#preloader img {
  width: 80px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
header.scrolled {
  background: rgba(11, 21, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #000 !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}
.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary-color);
  color: #000 !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Page Header (for inner pages) */
.page-header {
  padding: 150px 0 60px;
  text-align: center;
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.page-header p {
  color: var(--text-secondary);
}

/* Domain Search */
.domain-search {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  background: var(--surface-light);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.domain-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  outline: none;
}
.domain-search button {
  padding: 12px 30px;
}

/* Custom Sections matching the dark theme */
.light-section {
  background: var(--surface-color);
  color: var(--text-primary);
  padding: 80px 0;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.light-section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
}
.light-section-title span {
  background: var(--primary-color);
  padding: 0 10px;
  display: inline-block;
  color: #000;
}
.one-click-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 40px;
  display: inline-block;
  background: var(--surface-light);
  padding: 8px 25px;
  border-radius: 30px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

.logos-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.logos-row img {
  height: 50px;
  opacity: 0.6;
  transition: var(--transition);
  filter: grayscale(100%) brightness(200%);
}
.logos-row img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.feature-box {
  display: flex;
  gap: 15px;
}
.feature-box i {
  font-size: 30px;
  color: var(--primary-color);
}
.feature-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
}
.feature-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  gap: 10px;
}
.pricing-toggle button {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.pricing-toggle button.active {
  background: var(--primary-color);
  color: #000;
  border-color: var(--primary-color);
}

/* Hosting Plans Grid */
.section {
  padding: 100px 0;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.grid-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-content: center;
}
.grid-pricing.row-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 30px auto 0;
}

.pricing-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary-color);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
}
.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}
.pricing-card .code {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  display: block;
}
.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.price .currency {
  font-size: 1.2rem;
  margin-right: 5px;
}
.price .duration {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-left: 5px;
}
.pricing-features {
  margin-bottom: 30px;
  text-align: left;
  flex-grow: 1;
}
.pricing-features li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}
.pricing-features li i {
  color: var(--primary-color);
  margin-top: 4px;
}
.pricing-features li i.fa-times {
  color: #ef4444;
}

/* Footer */
footer {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  margin-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-about img {
  height: 40px;
  margin-bottom: 20px;
}
.footer-about p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}
.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
}

/* Text Content Pages (Policies, About) */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}
.content-section h2 {
  margin: 30px 0 15px;
  color: var(--primary-color);
}
.content-section p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.content-section ul, .content-section ol {
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 20px;
}
.content-section li {
  margin-bottom: 10px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}
.contact-info i {
  font-size: 24px;
  color: var(--primary-color);
  background: var(--surface-light);
  padding: 15px;
  border-radius: 50%;
}
.contact-form {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}
.form-group {
  margin-bottom: 20px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .grid-pricing { grid-template-columns: repeat(2, 1fr); }
  .grid-pricing.row-2 { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    background: var(--surface-color);
    flex-direction: column;
    padding: 30px;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .grid-pricing, .grid-pricing.row-2 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
