/* Theme Variables */
:root {
  /* Colors */
  --white: #f5f5f5;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-800: #262626;
  --primary-blue: #3b82f6;
  --orange: #f59e0b;
  --bg-dark: rgb(19, 18, 19);
  --border-light: rgba(255, 255, 255, 0.05);
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-default: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #121212;
  color: var(--white);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Blob Background Elements */
.blob {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.05);
  filter: blur(120px);
  z-index: 1;
}

.blob-1 {
  top: -300px;
  right: -300px;
}

.blob-2 {
  bottom: -400px;
  left: -200px;
}

.blob-3 {
  top: 20%;
  right: -300px;
}

.blob-4 {
  bottom: 10%;
  left: -300px;
}

/* Section Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(59, 130, 246, 0.1);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.dot-blue, .dot-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.dot-blue {
  background-color: var(--primary-blue);
}

.dot-orange {
  background-color: var(--orange);
}

/* Section Titles and Text */
.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.section-description {
  font-size: 1.125rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgb(193,193,193);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
/* Global Section Styles - Applied to all pages */
.section {
  padding: 30px 5%;
  position: relative;
}

/* Now you can modify your existing sections to use this base class */
.colocation-overview-section,
.specifications-section,
.why-choose-section,
.addons-section,
.certifications-section,
.differentiators-section,
.colocation-cta-section,
.faq-section {
  /* These will inherit from .section */
}

/* If you have any sections that need additional styling, you can add it */
.why-choose-section {
  background-color: rgba(25, 39, 80, 0.05);
}

.addons-section {
  background-color: rgba(25, 39, 80, 0.1);
}

.certifications-section {
  background-color: rgba(25, 39, 80, 0.1);
}

/* Blob positioning might need adjustment since we changed the section structure */
.blob-1 {
  top: -300px;
  right: -300px;
}

.blob-2 {
  bottom: -400px;
  left: -200px;
}

.blob-3 {
  top: 20%;
  right: -300px;
}

.blob-4 {
  bottom: 10%;
  left: -300px;
}

/* Half Rack Hero Section */
.half-rack-hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
}

.half-rack-hero-title span {
  color: #3b82f6;
  position: relative;
}

.half-rack-hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgb(193,193,193);
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Half Rack Overview Section */
.half-rack-overview-section {
  padding: 80px 0 40px;
  position: relative;
}

.overview-content {
  display: flex;
  justify-content: center;
}

.overview-text {
  max-width: 1000px;
}

.overview-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-align: center;
}

.overview-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgb(193,193,193);
}

/* Technical Specifications Section */
.specifications-section {
  padding: 60px 0;
  position: relative;
  background-color: rgba(25, 39, 80, 0.1);
}

.plans-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.plans-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-dark);
}

.plans-table th {
  text-align: left;
  padding: 1.25rem 1rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.plans-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: rgb(193,193,193);
}

.plans-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.plans-table tbody tr:last-child td {
  border-bottom: none;
}

.plans-note {
  margin-top: 2rem;
  color: rgb(193,193,193);
  font-size: 0.875rem;
  font-style: italic;
}

.plans-note p {
  margin-bottom: 0.5rem;
}

/* Why Choose Section */
.why-choose-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--bg-dark);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  max-width: 100%;
  height: auto;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.feature-card p {
  color: rgb(193,193,193);
  line-height: 1.6;
}

/* Advanced Features Section */
.advanced-features-section {
  padding: 80px 0;
  position: relative;
  background-color: rgba(25, 39, 80, 0.1);
}

.advanced-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advanced-feature-card {
  background-color: var(--bg-dark);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.advanced-feature-card:hover {
  transform: translateY(-5px);
}

.advanced-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.advanced-feature-card p {
  color: rgb(193,193,193);
  line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  position: relative;
}

.benefits-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.benefits-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-dark);
}

.benefits-table th {
  text-align: left;
  padding: 1.25rem 1rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.benefits-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: rgb(193,193,193);
}

.benefits-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.benefits-table tbody tr:last-child td {
  border-bottom: none;
}

/* Certifications Section */
.certifications-section {
  padding: 80px 0;
  position: relative;
  background-color: rgba(25, 39, 80, 0.1);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.certification-item {
  background-color: var(--bg-dark);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certification-item:hover {
  transform: translateY(-5px);
}

.certification-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-logo img {
  max-width: 100%;
  height: auto;
}

.certification-item p {
  color: rgb(193,193,193);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Differentiators Section */
.differentiators-section {
  padding: 80px 0;
  position: relative;
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.differentiator-item {
  background-color: var(--bg-dark);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.differentiator-item:hover {
  transform: translateY(-5px);
}

.differentiator-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.differentiator-icon img {
  max-width: 100%;
  height: auto;
}

.differentiator-item p {
  color: rgb(193,193,193);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* FAQ Section */

.faq-section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
  background-color: #121212;
}

.hero-badge {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
  color: #f5f5f5;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  padding: 1.25rem;
  font-weight: 500;
  font-size: 1.125rem;
  color: #f5f5f5;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon:before,
.faq-icon:after {
  content: '';
  position: absolute;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
}

.faq-icon:before {
  width: 2px;
  height: 16px;
  top: 4px;
  left: 11px;
}

.faq-icon:after {
  width: 16px;
  height: 2px;
  top: 11px;
  left: 4px;
}

.faq-item.active .faq-icon:before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.8);
  display: none;
}

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

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .faq-section {
    padding: 40px 0;
  }
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form-content {
  max-width: 500px;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--white);
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-control::placeholder {
  color: rgba(245, 245, 245, 0.4);
}

.form-control.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.form-error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  background-color: rgba(239, 68, 68, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  background-color: #3b82f6;
  color: #f5f5f5;
  padding: 0.9rem 1.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.form-submit:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

/* Pre-footer CTA */
.pre-footer-cta {
  background-color: rgba(59, 130, 246, 0.05);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.pre-footer-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pre-footer-cta__content {
  text-align: center;
  max-width: 800px;
  margin-bottom: 2rem;
}

.pre-footer-cta__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.pre-footer-cta__description {
  font-size: 1.125rem;
  color: rgb(193,193,193);
  margin-bottom: 2rem;
}

.pre-footer-cta__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.cta-primary {
  background-color: #3b82f6;
  color: #f5f5f5;
  padding: 0.9rem 1.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  z-index: 10;
  position: relative;
}

.cta-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  z-index: 10;
  position: relative;
}

.cta-secondary {
  background-color: rgba(59, 130, 246, 0.1);
  color: #f5f5f5;
  padding: 0.9rem 1.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: all 0.2s ease;
  z-index: 10;
  position: relative;
}

.cta-secondary:hover {
  background-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
  z-index: 10;
  position: relative;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .half-rack-hero-title {
    font-size: 3rem;
  }
  
  .section-title,
  .overview-text h2,
  .pre-footer-cta__title {
    font-size: 2.25rem;
  }
  
  .certifications-grid,
  .differentiators-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 992px) {
  .half-rack-hero-title {
    font-size: 2.75rem;
  }
  
  .half-rack-hero-description {
    font-size: 1.125rem;
  }
  
  .section-title,
  .overview-text h2,
  .pre-footer-cta__title {
    font-size: 2rem;
  }

  .contact-form-container {
    grid-template-columns: 1fr;
  }

  .contact-form-content {
    max-width: 100%;
  }

  .pre-footer-cta__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .half-rack-hero-title {
    font-size: 2.25rem;
  }
  
  .half-rack-hero-description {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .section-title,
  .overview-text h2,
  .pre-footer-cta__title {
    font-size: 1.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .features-grid,
  .advanced-features-grid {
    grid-template-columns: 1fr;
  }
  
  .certifications-grid,
  .differentiators-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .plans-table th,
  .plans-table td,
  .benefits-table th,
  .benefits-table td {
    padding: 1rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .half-rack-hero-title {
    font-size: 1.75rem;
  }
  
  .half-rack-overview-section,
  .specifications-section,
  .why-choose-section,
  .advanced-features-section,
  .benefits-section,
  .certifications-section,
  .differentiators-section,
  .faq-section,
  .contact-form-section {
    padding: 40px 0;
  }
  
  .section-title,
  .overview-text h2,
  .pre-footer-cta__title {
    font-size: 1.5rem;
  }
  
  .section-description,
  .overview-text p,
  .pre-footer-cta__description {
    font-size: 0.95rem;
  }
  
  .certifications-grid,
  .differentiators-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  
  .certification-item,
  .differentiator-item {
    padding: 1.25rem;
  }
  
  .certification-logo,
  .differentiator-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}