:root {
  --primary-color: #4f46e5;       /* Indigo 600 */
  --primary-hover: #4338ca;       /* Indigo 700 */
  --primary-light: #e0e7ff;       /* Indigo 100 */
  --accent-cyan: #06b6d4;         /* Cyan 500 */
  --accent-emerald: #10b981;      /* Emerald 500 */
  --text-main: #0f172a;           /* Slate 900 */
  --text-muted: #475569;          /* Slate 600 */
  --bg-main: #f8fafc;             /* Slate 50 */
  --bg-card: #ffffff;
  --border-color: #e2e8f0;        /* Slate 200 */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Force Light Mode & Base */
html, body {
  background-color: var(--bg-main) !important;
  color: var(--text-main) !important;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Selection Highlight */
::selection {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Global Typography overrides */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
  line-height: 1.65;
}

/* Premium Sticky Navbar Styling */
.custom-navbar {
  background-color: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.6);
  animation: pulse-ring 2s infinite;
}

.nav-link-custom {
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--primary-color) !important;
  background-color: var(--primary-light);
}

/* Hero Badges & Accent Gradients */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Premium Modern Buttons */
.btn-indigo {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 24px;
  border: 1px solid var(--primary-color);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
  text-decoration: none;
}

.btn-indigo:hover {
  background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}

.btn-light-custom {
  background-color: #ffffff;
  color: var(--text-main) !important;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 24px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-light-custom:hover {
  background-color: var(--bg-main);
  color: var(--primary-color) !important;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Terminal Simulator */
.terminal-window {
  background-color: #0b0f19;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid #1e293b;
}

.terminal-titlebar {
  background-color: #111827;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.td-red { background-color: #ef4444; }
.td-yellow { background-color: #eab308; }
.td-green { background-color: #22c55e; }

.terminal-title-text {
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
}

.terminal-btn-run {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.terminal-btn-run:hover {
  opacity: 0.95;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.terminal-screen-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #cbd5e1;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
}

.terminal-prompt-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #1e293b;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #334155;
  margin-bottom: 15px;
}

.terminal-prompt {
  color: #38bdf8;
  user-select: none;
  font-weight: 600;
}

.terminal-cmd {
  color: #f1f5f9;
  word-break: break-all;
}

.btn-terminal-copy {
  background: none;
  border: none;
  color: #94a3b8;
  transition: color 0.15s;
  cursor: pointer;
  padding: 2px 6px;
}

.btn-terminal-copy:hover {
  color: #f8fafc;
}

.terminal-log-output {
  color: #a7f3d0; 
  white-space: pre-line;
  line-height: 1.65;
}

/* Metrics Grid Badge */
.metrics-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.metric-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.05rem;
}

.metric-badge i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

/* Section Title Wrap */
.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-title-wrap h2 {
  font-size: 2.35rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

/* Feature Cards Grid */
.feature-card-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: var(--primary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.feature-card-wrapper h3, .feature-card-wrapper h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.feature-card-wrapper p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Comparison Table Matrix */
.comparison-container {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.comparison-table th {
  background-color: #f1f5f9;
  color: var(--text-main);
  font-weight: 700;
  padding: 18px 20px;
  font-size: 0.95rem;
}

.comparison-table td {
  padding: 18px 20px;
  vertical-align: middle;
  color: var(--text-muted);
  font-size: 0.925rem;
  border-top: 1px solid var(--border-color);
}

.comp-vector {
  font-weight: 600;
  color: var(--text-main);
}

.onifast-cell {
  background-color: rgba(238, 242, 255, 0.5);
  font-weight: 500;
}

.badge-check-onifast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  background-color: var(--primary-light);
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.badge-legacy-cpanel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d97706; 
  background-color: #fef3c7; 
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Architecture Interactive Tab System */
.aero-arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991px) {
  .aero-arch-grid {
    grid-template-columns: 1fr;
  }
}

.arch-feature-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.arch-feature-box:hover, .arch-feature-box.active {
  border-color: var(--primary-color);
  background: #fdfefe;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.08);
}

.arch-feature-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* FAQ Accordion */
.accordion-custom .accordion-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.accordion-custom .accordion-button {
  background-color: #ffffff;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 20px 24px;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background-color: #faf5ff;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
}

.accordion-custom .accordion-body {
  padding: 22px 24px;
  color: var(--text-muted);
  line-height: 1.7;
  background-color: #ffffff;
}

/* Quick Install CTA Section */
.cta-banner {
  background: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 100%);
  border: 1px solid #312e81;
  border-radius: 24px;
  padding: 4rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--text-main);
  color: #ffffff;
  border-radius: 12px;
  padding: 14px 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1050;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Footer styling */
footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  padding-left: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 15px;
}

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

/* Pulse animation */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

/* Competitor pages & Post prose styling */
.post-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  margin-bottom: 4rem;
}

.prose {
  font-family: var(--font-sans);
  color: #334155;
  line-height: 1.8;
  font-size: 1.05rem;
}

.prose h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1rem;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), #06b6d4);
  border-radius: 2px;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background-color: #f1f5f9;
  color: #e11d48;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.prose pre {
  background-color: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.prose pre code {
  background: none;
  color: #f1f5f9;
  padding: 0;
  border: none;
}