body {
  font-family: 'Red Hat Text', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
}

/* Utility overrides for branding */
.bg-primary {
  background-color: #318FFF !important;
}
.text-primary {
  color: #318FFF !important;
}
.btn-primary {
  background-color: #318FFF;
  border-color: #318FFF;
}
.btn-primary:hover {
  background-color: #1d6fcc;
  border-color: #1d6fcc;
}

/* Expanded Hero Layout */
.hero-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Custom padding utility (extends py-5) */
.py-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

/* Trust Metrics Styling */
.trust-metric-number {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1d2f49;
}
.trust-metric-label {
  font-size: 1rem;
  color: #666;
}

/* ========== Mobile Optimizations ========== */

/* Global container tweaks */
@media (max-width: 768px) {
  .hero-container {
    padding: 0 1rem;
  }
}

/* Header spacing for mobile */
@media (max-width: 768px) {
  .site-header .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .logo img {
    max-height: 32px;
  }
}

/* Hero text size adjustments */
@media (max-width: 768px) {
  .hero-container h1, 
  .hero-container .display-3, 
  .hero-container .display-4, 
  .hero-container .display-5 {
    font-size: 1.9rem;
  }
  .hero-container p.lead {
    font-size: 1.05rem;
  }
}

/* Make CTA buttons full width on mobile */
@media (max-width: 576px) {
  .hero-container .btn-lg {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* Trust metrics grid collapse */
@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 1rem;
  }
}

/* Improve spacing between metrics */
.trust-metric-number {
  font-size: 2rem;
  font-weight: 600;
  color: #1d2f49;
}
.trust-metric-label {
  font-size: 0.9rem;
  color: #666;
}

/* Top padding on mobile hero */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

.full-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Dedicated Server Pricing Table */
@media (max-width: 768px) {
  .dedicated-table table, 
  .dedicated-table thead, 
  .dedicated-table tbody, 
  .dedicated-table th, 
  .dedicated-table td, 
  .dedicated-table tr {
    display: block;
    width: 100%;
  }

  .dedicated-table thead tr {
    display: none;
  }

  .dedicated-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .dedicated-table td::before {
    position: absolute;
    left: 10px;
    width: 45%;
    white-space: nowrap;
    content: attr(data-label);
    font-weight: bold;
    text-align: left;
  }
}

/* === NodeSpace Menu Override Fix (2024-06-19 by Travis) === */
/*
header .navbar .dropdown-menu,
header .navbar-nav .dropdown-menu,
header .dropdown-menu {
  background: rgba(30, 34, 47, 0.92) !important;
  color: #fff !important;
  border-radius: 0.75rem !important;
  border: 1px solid rgba(43, 122, 228, 0.12) !important;
  box-shadow: 0 8px 32px rgba(30,34,47,.24), 0 1.5px 6px rgba(0,0,0,0.13) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  min-width: 210px !important;
  padding: 0.5rem 0 !important;
}

header .navbar .dropdown-item,
header .navbar-nav .dropdown-item {
  color: #fff !important;
  padding: 0.65rem 1.5rem !important;
  transition: background 0.15s, color 0.15s !important;
  font-weight: 500 !important;
  border-radius: 0.4rem !important;
}

header .navbar .dropdown-item:focus,
header .navbar .dropdown-item:hover,
header .navbar .dropdown-item.active,
header .navbar-nav .dropdown-item:focus,
header .navbar-nav .dropdown-item:hover,
header .navbar-nav .dropdown-item.active {
  background: linear-gradient(90deg, #2b7ae4 40%, #1e222f 100%) !important;
  color: #fff !important;
}
*/

/* === NodeSpace Menu Compact Fix (2024-06-20 by Travis) === */
header .navbar .dropdown-menu,
header .navbar-nav .dropdown-menu,
header .dropdown-menu {
  background: rgba(30, 34, 47, 0.92) !important;
  color: #fff !important;
  border-radius: 0.75rem !important;
  border: 1px solid rgba(43, 122, 228, 0.12) !important;
  box-shadow: 0 8px 32px rgba(30,34,47,.24), 0 1.5px 6px rgba(0,0,0,0.13) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  min-width: 210px !important;
  padding: 0.35rem 0 !important; /* less vertical space */
}

header .navbar .dropdown-item,
header .navbar-nav .dropdown-item {
  color: #fff !important;
  padding: 0.38rem 1.1rem !important; /* less vertical & horizontal padding */
  font-size: 0.97rem !important;      /* slightly smaller font */
  transition: background 0.15s, color 0.15s !important;
  font-weight: 500 !important;
  border-radius: 0.4rem !important;
  line-height: 1.2 !important;        /* slightly tighter line-height */
}

header .navbar .dropdown-item:focus,
header .navbar .dropdown-item:hover,
header .navbar .dropdown-item.active,
header .navbar-nav .dropdown-item:focus,
header .navbar-nav .dropdown-item:hover,
header .navbar-nav .dropdown-item.active {
  background: linear-gradient(90deg, #2b7ae4 40%, #1e222f 100%) !important;
  color: #fff !important;
}

header .dropdown-menu.show {
  background: rgba(30, 34, 47, 0.92) !important;
}


/* Optional: Stronger selector for submenus and Legal, Support, etc */
header .dropdown-menu.show {
  background: rgba(30, 34, 47, 0.92) !important;
}

