/* ============================================================
   CARRIER HUB — IoT Failover SIM Page Styles
   Paste into: WordPress > Appearance > Additional CSS
   OR wrap in <style> tags at top of page HTML block
   Compatible with Genesis Framework themes
   ============================================================ */

/* ── Genesis Full-Width Overrides ──
   Forces the page content to break out of Genesis's
   narrow .content column and span the full browser width.
   Works with Genesis Full Width Content page template.
   ─────────────────────────────────────────────────── */

/* Remove Genesis content column max-width on this page */
.page-template-page_full-width .content,
.full-width-content .content,
body.page .content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove Genesis site-inner and content-sidebar-wrap constraints */
.page-template-page_full-width .site-inner,
.full-width-content .site-inner,
body.page .site-inner {
  max-width: 100% !important;
  padding-top: 0 !important;
}

.page-template-page_full-width .content-sidebar-wrap,
.full-width-content .content-sidebar-wrap,
body.page .content-sidebar-wrap {
  max-width: 100% !important;
  width: 100% !important;
}

/* Remove entry padding that Genesis adds */
.page-template-page_full-width .entry,
.full-width-content .entry,
body.page .entry {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Reset & Scope ── */
.ch-page * {
  box-sizing: border-box;
}
.ch-page {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2d3748;
  line-height: 1.7;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Inner content wrapper — constrains readable text to 1100px */
.ch-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero Section ── */
.ch-hero {
  background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 60%, #3182ce 100%);
  border-radius: 0;
  padding: 80px 24px;
  margin-bottom: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.ch-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.ch-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -30px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.ch-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.ch-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
}
.ch-hero h1 span {
  color: #68d391;
}
.ch-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  margin: 0 auto 32px auto;
}
.ch-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.ch-hero-stat {
  text-align: center;
}
.ch-hero-stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #68d391;
  font-family: 'Georgia', serif;
}
.ch-hero-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.ch-btn-primary {
  display: inline-block;
  background: #38a169;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.ch-btn-primary:hover {
  background: #2f855a;
  transform: translateY(-1px);
  color: #ffffff !important;
}
.ch-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 6px;
  text-decoration: none !important;
  border: 2px solid rgba(255,255,255,0.5);
  margin-left: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.ch-btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #ffffff !important;
}

/* ── Section Headings ── */
.ch-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3182ce;
  margin-bottom: 10px;
}
.ch-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a365d;
  margin: 0 0 16px 0;
  padding: 0;
  border: none;
  line-height: 1.25;
}
.ch-section-sub {
  font-size: 17px;
  color: #4a5568;
  max-width: 600px;
  margin-bottom: 40px;
}

/* ── Section Spacing ── */
.ch-section {
  padding: 60px 0;
}
.ch-section-alt {
  padding: 60px 0;
  background: #f7faff;
}

/* ── Pain Points Section ── */
.ch-pain {
  background: #fff8f0;
  border-top: 5px solid #e53e3e;
  border-bottom: 1px solid #fed7d7;
  padding: 48px 0;
  margin-bottom: 0;
  width: 100%;
}
.ch-pain h2 {
  font-size: 26px;
  font-weight: 800;
  color: #c53030;
  margin: 0 0 16px 0;
  padding: 0;
  border: none;
}
.ch-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.ch-pain-item {
  background: #fff;
  border: 1px solid #fed7d7;
  border-radius: 8px;
  padding: 20px;
}
.ch-pain-item-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.ch-pain-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #c53030;
  margin: 0 0 6px 0;
  padding: 0;
  border: none;
}
.ch-pain-item p {
  font-size: 14px;
  color: #4a5568;
  margin: 0;
}

/* ── How It Works ── */
.ch-how {
  padding: 60px 0;
  margin-bottom: 0;
}
.ch-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.ch-step {
  text-align: center;
  padding: 32px 24px;
  background: #f7faff;
  border: 1px solid #bee3f8;
  border-radius: 10px;
  position: relative;
}
.ch-step-number {
  width: 48px;
  height: 48px;
  background: #2b6cb0;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px auto;
}
.ch-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a365d;
  margin: 0 0 8px 0;
  padding: 0;
  border: none;
}
.ch-step p {
  font-size: 14px;
  color: #4a5568;
  margin: 0;
}

/* ── Plans ── */
.ch-plans {
  padding: 60px 0;
  margin-bottom: 0;
  background: #f7faff;
  width: 100%;
}
.ch-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.ch-plan-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 28px;
  background: #fff;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ch-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(43,108,176,0.12);
}
.ch-plan-card.ch-plan-featured {
  border-color: #3182ce;
  box-shadow: 0 8px 32px rgba(49,130,206,0.18);
}
.ch-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #3182ce;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.ch-plan-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #718096;
  margin-bottom: 12px;
}
.ch-plan-price {
  font-size: 48px;
  font-weight: 800;
  color: #1a365d;
  line-height: 1;
  margin-bottom: 4px;
  font-family: 'Georgia', serif;
}
.ch-plan-price span {
  font-size: 18px;
  font-weight: 400;
  color: #718096;
}
.ch-plan-tagline {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}
.ch-plan-features {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
}
.ch-plan-features li {
  font-size: 14px;
  color: #2d3748;
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: none;
  margin: 0;
}
.ch-plan-features li::before {
  content: '✓';
  color: #38a169;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.ch-plan-cta {
  display: block;
  text-align: center;
  background: #2b6cb0;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.2s;
}
.ch-plan-card.ch-plan-featured .ch-plan-cta {
  background: #3182ce;
}
.ch-plan-cta:hover {
  background: #1a365d;
  color: #fff !important;
}

/* ── Industries / Use Cases ── */
.ch-industries {
  background: #edf2f7;
  border-radius: 0;
  padding: 60px 0;
  margin-bottom: 0;
  width: 100%;
}
.ch-industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.ch-industry-card {
  background: #fff;
  border: 1px solid #bee3f8;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.ch-industry-card:hover {
  box-shadow: 0 4px 20px rgba(43,108,176,0.1);
}
.ch-industry-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.ch-industry-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a365d;
  margin: 0 0 6px 0;
  padding: 0;
  border: none;
}
.ch-industry-card p {
  font-size: 12px;
  color: #718096;
  margin: 0;
}

/* ── Downtime Cost Calculator ── */
.ch-calc {
  background: #1a365d;
  border-radius: 0;
  padding: 60px 0;
  margin-bottom: 0;
  color: #fff;
  width: 100%;
}
.ch-calc .ch-section-label {
  color: #68d391;
}
.ch-calc .ch-section-title {
  color: #fff;
}
.ch-calc .ch-section-sub {
  color: rgba(255,255,255,0.75);
}
.ch-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 640px) {
  .ch-calc-grid { grid-template-columns: 1fr; }
}
.ch-calc-input-group {
  margin-bottom: 20px;
}
.ch-calc-input-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ch-calc-input-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.ch-calc-input-group input:focus {
  outline: none;
  border-color: #68d391;
}
.ch-calc-result {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 28px;
}
.ch-calc-result-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.ch-calc-result-value {
  font-size: 48px;
  font-weight: 800;
  color: #68d391;
  font-family: 'Georgia', serif;
  line-height: 1;
  margin-bottom: 8px;
}
.ch-calc-result-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.ch-calc-vs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(104,211,145,0.1);
  border: 1px solid rgba(104,211,145,0.3);
  border-radius: 8px;
}
.ch-calc-vs-plan {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.ch-calc-vs-price {
  font-size: 22px;
  font-weight: 800;
  color: #68d391;
}

/* ── Testimonial / Trust ── */
.ch-trust {
  padding: 60px 0;
  margin-bottom: 0;
}
.ch-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.ch-trust-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 28px;
  position: relative;
}
.ch-trust-card::before {
  content: '\201C';
  font-size: 64px;
  color: #bee3f8;
  font-family: 'Georgia', serif;
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 20px;
}
.ch-trust-quote {
  font-size: 15px;
  color: #2d3748;
  font-style: italic;
  margin: 24px 0 16px 0;
  line-height: 1.7;
}
.ch-trust-author {
  font-size: 13px;
  font-weight: 700;
  color: #1a365d;
}
.ch-trust-role {
  font-size: 12px;
  color: #718096;
}

/* ── FAQ ── */
.ch-faq {
  padding: 60px 0;
  margin-bottom: 0;
  background: #f7faff;
  width: 100%;
}
.ch-faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 0;
}
.ch-faq-item:first-of-type {
  border-top: 1px solid #e2e8f0;
}
.ch-faq-q {
  font-size: 16px;
  font-weight: 700;
  color: #1a365d;
  margin: 0 0 10px 0;
  padding: 0;
  border: none;
}
.ch-faq-a {
  font-size: 15px;
  color: #4a5568;
  margin: 0;
}

/* ── CTA Banner ── */
.ch-cta-banner {
  background: linear-gradient(135deg, #276749 0%, #38a169 100%);
  border-radius: 0;
  padding: 72px 24px;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
}
.ch-cta-banner h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px 0;
  padding: 0;
  border: none;
}
.ch-cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 32px auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ch-hero {
    padding: 40px 24px;
  }
  .ch-hero h1 {
    font-size: 28px;
  }
  .ch-hero p {
    font-size: 16px;
  }
  .ch-hero-stats {
    gap: 24px;
  }
  .ch-btn-secondary {
    margin-left: 0;
    margin-top: 12px;
  }
  .ch-section-title {
    font-size: 26px;
  }
  .ch-pain {
    padding: 24px 20px;
  }
  .ch-industries {
    padding: 32px 20px;
  }
  .ch-calc {
    padding: 32px 20px;
  }
  .ch-cta-banner {
    padding: 40px 24px;
  }
  .ch-cta-banner h2 {
    font-size: 26px;
  }
}
