/* Marketing stylesheet for NerithonX.sh PaaS landing site */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;
  --accent: #06b6d4;
  --bg-dark: #0b0f19;
  --bg-darker: #05070a;
  --card-dark: #111827;
  --border-dark: #1f2937;
  --text-dark: #f3f4f6;
  --text-muted-dark: #9ca3af;
  --violet: #8b5cf6;
  --green: #10b981;
}

/* Base style reset */
body.marketing-body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-dark);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Modern Gradient Glow Backgrounds */
.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(6,182,212,0.05) 50%, rgba(0,0,0,0) 100%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.glow-orb-1 { top: -100px; right: -100px; }
.glow-orb-2 { top: 600px; left: -200px; }
.glow-orb-3 { bottom: -100px; right: -100px; }

/* Navbar */
.m-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
}

.m-nav-brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
}

.m-nav-brand span {
  color: var(--accent);
}

.m-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-nav-link {
  color: var(--text-muted-dark);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.m-nav-link:hover, .m-nav-link.active {
  color: #fff;
  text-decoration: none;
}

.m-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-m {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-m-text {
  color: var(--text-muted-dark);
  background: transparent;
}

.btn-m-text:hover {
  color: #fff;
  text-decoration: none;
}

.btn-m-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-m-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
  text-decoration: none;
}

.btn-m-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-m-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
  text-decoration: none;
}

/* Layout shell */
.m-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.m-hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
}

.m-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.m-hero h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m-hero p {
  font-size: 20px;
  color: var(--text-muted-dark);
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.m-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Interactive Interactive Console Mockup */
.console-mockup {
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
}

.console-header {
  height: 48px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.console-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.console-dot.red { background: #ef4444; }
.console-dot.yellow { background: #f59e0b; }
.console-dot.green { background: #10b981; }

.console-title {
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted-dark);
  font-size: 12px;
  font-family: monospace;
}

.console-body {
  padding: 24px;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #a7f3d0;
  min-height: 280px;
  line-height: 1.7;
}

/* Section general */
.m-section {
  padding: 100px 0;
}

.m-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.m-section-header h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.m-section-header p {
  font-size: 18px;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin: 0 auto;
}

/* Stats section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.stat-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.feature-card p {
  color: var(--text-muted-dark);
  margin: 0;
  font-size: 15px;
}

/* Pricing Slide Estimator */
.estimator-box {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.estimator-controls {
  display: grid;
  gap: 24px;
}

.control-group {
  display: grid;
  gap: 8px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
}

.control-val {
  color: var(--accent);
}

input[type="range"].m-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

input[type="range"].m-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.1s;
}

input[type="range"].m-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.estimator-result {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border-dark);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.estimator-price {
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.estimator-price span {
  font-size: 18px;
  color: var(--text-muted-dark);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card.premium {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--card-dark) 0%, rgba(37,99,235,0.05) 100%);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}

.pricing-card .p-desc {
  color: var(--text-muted-dark);
  font-size: 14px;
  margin: 0 0 24px;
}

.pricing-card .p-price {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
}

.pricing-card .p-price span {
  font-size: 16px;
  color: var(--text-muted-dark);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.pricing-feature-ico {
  color: var(--green);
  font-weight: bold;
}

.pricing-card .btn-m {
  margin-top: auto;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

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

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted-dark);
  font-size: 15px;
  display: none;
}

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

.faq-arrow {
  transition: transform 0.2s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* Footer */
.m-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-dark);
  padding: 60px 0 40px;
  color: var(--text-muted-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
}

.footer-brand h4 span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 14px;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-link a {
  color: var(--text-muted-dark);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Feature Matrix Table */
.matrix-container {
  overflow-x: auto;
  margin-top: 40px;
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.matrix-table th, .matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
}
.matrix-table th {
  font-weight: 800;
  color: #fff;
}
.matrix-table td {
  color: var(--text-muted-dark);
  font-size: 14px;
}
.matrix-table tr:hover td {
  color: #fff;
  background: rgba(255,255,255,0.01);
}

/* Responsive */
@media (max-width: 992px) {
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .m-hero h1 {
    font-size: 44px;
  }
  .m-nav {
    padding: 0 20px;
  }
  .m-nav-links {
    display: none;
  }
}
