/*
Theme Name: SmartersPro IPTV Store
Theme URI: https://smarterspro.uk.com
Author: SmartersPro
Author URI: https://smarterspro.uk.com
Description: Ultra-modern, high-converting dark theme for SmartersPro.uk.com. Fully responsive on iPhone and Android devices, featuring a modern Blog Grid, WhatsApp ordering, Theme Options Dashboard, and 20 in-depth SEO guides.
Version: 2.8.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smarterspro
*/

:root {
  --sp-bg: #070a12;
  --sp-bg-secondary: #0c1222;
  --sp-surface: #111827;
  --sp-surface-light: #1e293b;
  --sp-border: rgba(255, 255, 255, 0.08);
  --sp-border-hover: rgba(99, 102, 241, 0.4);
  --sp-text: #f8fafc;
  --sp-text-muted: #94a3b8;
  --sp-primary: #6366f1;
  --sp-primary-hover: #4f46e5;
  --sp-primary-glow: rgba(99, 102, 241, 0.25);
  --sp-accent: #10b981;
  --sp-whatsapp: #25d366;
  --sp-whatsapp-hover: #20bd5a;
  --sp-whatsapp-glow: rgba(37, 211, 102, 0.35);
  --sp-gold: #f59e0b;
  --sp-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sp-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--sp-bg);
  color: var(--sp-text);
  font-family: var(--sp-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sp-font-heading);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

a {
  color: #818cf8;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #a5b4fc;
}

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

.sp-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Top Bar */
.sp-announcement {
  background: linear-gradient(90deg, #1e1b4b, #312e81, #0f172a);
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: #e2e8f0;
}

.sp-announcement a {
  color: #fbbf24;
  font-weight: 700;
  margin-left: 8px;
  text-decoration: underline;
}

/* Header */
.sp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sp-border);
}

.sp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.sp-logo {
  font-family: var(--sp-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sp-logo span {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-nav a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 15px;
}

.sp-nav a:hover,
.sp-nav .current-menu-item > a {
  color: #ffffff;
}

.sp-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-menu-toggle {
  display: none !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--sp-border);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

/* Buttons */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--sp-font-heading);
  font-weight: 600;
  font-size: 15px;
  background: var(--sp-primary);
  color: #ffffff !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px var(--sp-primary-glow);
  text-align: center;
}

.sp-btn:hover {
  background: var(--sp-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.sp-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--sp-border);
  color: #f8fafc !important;
  box-shadow: none;
}

.sp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.sp-btn-whatsapp {
  background: var(--sp-whatsapp) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--sp-whatsapp-glow);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.sp-btn-whatsapp:hover {
  background: var(--sp-whatsapp-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.sp-btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.sp-btn-full {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
}

/* Floating WhatsApp Badge */
.sp-floating-wa {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: var(--sp-font-heading);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: all 0.25s ease;
  animation: spPulse 3s infinite;
}

.sp-floating-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.6);
}

.sp-floating-wa svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

@keyframes spPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Hero Section */
.sp-hero {
  position: relative;
  padding: 80px 0 70px;
  text-align: center;
  background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.16) 0%, rgba(7, 10, 18, 0) 70%);
  overflow: hidden;
}

.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.sp-hero h1 {
  font-size: clamp(30px, 4.8vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 980px;
  margin: 0 auto 20px;
}

.sp-hero-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-hero p {
  font-size: 18px;
  color: #94a3b8;
  max-width: 780px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.sp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.sp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13.5px;
  color: #94a3b8;
  padding-top: 8px;
}

.sp-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Sections */
.sp-section {
  padding: 72px 0;
}

.sp-section-alt {
  background: var(--sp-bg-secondary);
}

.sp-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.sp-section-header h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 12px;
}

.sp-section-header p {
  color: var(--sp-text-muted);
  font-size: 16.5px;
  margin: 0;
}

/* Pricing Grid */
.sp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.sp-pricing-card {
  position: relative;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.sp-pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--sp-border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.sp-pricing-card.featured {
  background: linear-gradient(180deg, #161c2e 0%, #111827 100%);
  border: 2px solid var(--sp-primary);
  box-shadow: 0 10px 30px var(--sp-primary-glow);
}

.sp-pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.sp-card-header h3 {
  font-size: 22px;
  margin: 0 0 6px;
}

.sp-card-subtitle {
  color: var(--sp-text-muted);
  font-size: 13.5px;
  margin: 0 0 16px;
}

.sp-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}

.sp-price-num {
  font-family: var(--sp-font-heading);
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.sp-pricing-card.featured .sp-price-num {
  color: #a5b4fc;
}

.sp-price-period {
  color: var(--sp-text-muted);
  font-size: 14px;
}

.sp-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex-grow: 1;
}

.sp-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 14.5px;
}

.sp-card-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--sp-accent);
  flex-shrink: 0;
}

.sp-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Feature Cards Grid */
.sp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.sp-feature-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.sp-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--sp-border-hover);
}

.sp-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--sp-primary);
}

.sp-feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Modern Blog Grid */
.sp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.sp-blog-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.sp-blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--sp-border-hover);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.sp-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--sp-text-muted);
  margin-bottom: 14px;
}

.sp-blog-badge {
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.sp-blog-card h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.sp-blog-card h3 a {
  color: #ffffff;
}

.sp-blog-card h3 a:hover {
  color: #a5b4fc;
}

.sp-blog-card-excerpt {
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

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

.sp-blog-card-footer a {
  font-weight: 600;
  color: var(--sp-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sp-blog-card-footer a:hover {
  color: #a5b4fc;
  gap: 7px;
}

/* Pagination */
.sp-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.sp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 14px;
}

.sp-pagination .page-numbers.current {
  background: var(--sp-primary);
  color: #ffffff;
  border-color: var(--sp-primary);
}

.sp-pagination .page-numbers:hover:not(.current) {
  background: var(--sp-surface-light);
  color: #ffffff;
}

/* Accordion FAQ */
.sp-faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.sp-faq-item {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}

.sp-faq-item summary {
  padding: 18px 22px;
  font-family: var(--sp-font-heading);
  font-weight: 600;
  font-size: 16.5px;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sp-faq-item summary::-webkit-details-marker {
  display: none;
}

.sp-faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--sp-primary);
  font-weight: 400;
  flex-shrink: 0;
}

.sp-faq-item[open] summary::after {
  content: '−';
}

.sp-faq-body {
  padding: 0 22px 20px;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.65;
}

/* Table Responsive Wrapper */
.sp-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: 12px;
  border: 1px solid var(--sp-border);
}

.sp-table-responsive table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 0;
}

.sp-table-responsive th,
.sp-table-responsive td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--sp-border);
}

.sp-table-responsive th {
  background: var(--sp-surface-light);
  color: #ffffff;
  font-weight: 600;
}

.sp-table-responsive tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.sp-callout {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(15, 23, 42, 0.5));
  border-left: 4px solid var(--sp-primary);
  border-radius: 8px;
  padding: 22px 24px;
  margin: 32px 0;
}

/* SEO Content Card on Home Page */
.sp-seo-content-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 40px 32px;
  margin-top: 40px;
}

.sp-seo-content-card h2 {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 16px;
  color: #ffffff;
}

.sp-seo-content-card h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.sp-seo-content-card p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.sp-seo-content-card ul,
.sp-seo-content-card ol {
  margin: 0 0 22px 24px;
  color: #cbd5e1;
}

.sp-seo-content-card li {
  margin-bottom: 8px;
}

/* Footer */
.sp-footer {
  background: #04070e;
  border-top: 1px solid var(--sp-border);
  padding: 60px 0 30px;
  font-size: 14px;
  color: var(--sp-text-muted);
}

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

.sp-footer h4 {
  color: #ffffff;
  font-size: 16px;
  margin: 0 0 16px;
}

.sp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.sp-footer a {
  color: var(--sp-text-muted);
}

.sp-footer a:hover {
  color: #ffffff;
}

.sp-footer-bottom {
  border-top: 1px solid var(--sp-border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (IPHONE & ANDROID OPTIMIZED)
   ========================================================================== */
@media (max-width: 992px) {
  .sp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .sp-container {
    padding: 0 16px;
  }

  .sp-header-inner {
    min-height: 64px;
  }

  .sp-menu-toggle {
  display: none !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--sp-border);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

  .sp-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0b0f19;
    border-bottom: 1px solid var(--sp-border);
    flex-direction: column;
    padding: 20px 16px;
    gap: 16px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
  }

  .sp-nav.is-open {
    display: flex;
  }

  .sp-header-actions .sp-btn:not(.sp-btn-whatsapp) {
    display: none;
  }

  .sp-hero {
    padding: 50px 0 40px;
  }

  .sp-hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .sp-hero p {
    font-size: 15.5px;
    margin-bottom: 24px;
  }

  .sp-hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .sp-hero-cta .sp-btn {
    width: 100%;
    padding: 14px 20px;
  }

  .sp-pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sp-pricing-card {
    padding: 26px 20px;
  }

  .sp-features-grid,
  .sp-blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sp-seo-content-card {
    padding: 24px 18px;
  }

  .sp-seo-content-card h2 {
    font-size: 22px;
  }

  .sp-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sp-floating-wa {
    padding: 12px 16px;
    font-size: 13px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }
}

@media (max-width: 480px) {
  .sp-hero-badge {
    font-size: 11.5px;
    padding: 5px 12px;
  }

  .sp-hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
  }

  .sp-floating-wa span {
    display: none;
  }

  .sp-floating-wa {
    padding: 14px;
    border-radius: 50%;
  }
}

/* Featured Image Thumbnail for Blog Grid */
.sp-blog-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #0f172a;
}

.sp-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sp-blog-card:hover .sp-blog-card-thumb img {
  transform: scale(1.05);
}

.sp-thumb-cover {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  transition: transform 0.3s ease;
}

.sp-blog-card:hover .sp-thumb-cover {
  transform: scale(1.04);
}

.sp-thumb-icon {
  font-size: 32px;
}

.sp-thumb-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a5b4fc;
}

@media (min-width: 769px) {
  .sp-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .sp-menu-toggle {
    display: inline-flex !important;
  }
}

/* ==========================================================================
   PAGE HERO & PAGE CARD LAYOUT (ORGANIZED CONTAINERS FOR ALL PAGES)
   ========================================================================== */
.sp-page-hero {
  background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.18) 0%, rgba(7, 10, 18, 0) 70%);
  border-bottom: 1px solid var(--sp-border);
  padding: 64px 0 54px;
  text-align: center;
}

.sp-page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.sp-page-title {
  font-size: clamp(28px, 4.2vw, 44px);
  margin: 0 0 14px;
  color: #ffffff;
}

.sp-page-subtitle {
  font-size: 17px;
  color: var(--sp-text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.sp-page-body-section {
  padding: 56px 0 80px;
  background: var(--sp-bg);
}

.sp-page-container {
  max-width: 1080px;
  margin: 0 auto;
}

.sp-page-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 44px 36px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  font-size: 16.5px;
  line-height: 1.8;
  color: #cbd5e1;
}

.sp-page-card h2 {
  font-size: 26px;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sp-border);
  color: #ffffff;
}

.sp-page-card h2:first-child {
  margin-top: 0;
}

.sp-page-card h3 {
  font-size: 20px;
  margin-top: 26px;
  margin-bottom: 10px;
  color: #e2e8f0;
}

.sp-page-card p {
  margin-bottom: 18px;
}

.sp-page-card ul,
.sp-page-card ol {
  margin: 0 0 22px 24px;
}

.sp-page-card li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .sp-page-hero {
    padding: 42px 0 34px;
  }
  .sp-page-card {
    padding: 24px 18px;
    border-radius: 14px;
  }
}

/* ==========================================================================
   SINGLE BLOG POST ARTICLE LAYOUT & TEXT ORGANISATION
   ========================================================================== */
.sp-article-container {
  max-width: 920px;
  margin: 0 auto;
}

.sp-article-hero {
  text-align: center;
  padding: 56px 20px 46px;
  background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.18) 0%, rgba(7, 10, 18, 0) 70%);
  border-bottom: 1px solid var(--sp-border);
}

.sp-article-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 13.5px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sp-article-badge a,
.sp-article-badge {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc !important;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.sp-article-title {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 16px;
}

.sp-article-author {
  color: #94a3b8;
  font-size: 13.5px;
}

.sp-article-card {
  padding: 48px 44px;
}

.sp-article-featured-image {
  margin-bottom: 36px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sp-border);
}

.sp-article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sp-article-content {
  font-size: 16.5px;
  line-height: 1.85;
  color: #cbd5e1;
}

.sp-article-content h2 {
  font-size: 26px;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sp-border);
}

.sp-article-content h2:first-child {
  margin-top: 0;
}

.sp-article-content h3 {
  font-size: 20px;
  color: #e2e8f0;
  margin-top: 28px;
  margin-bottom: 12px;
}

.sp-article-content p {
  margin-bottom: 20px;
}

.sp-article-content ul,
.sp-article-content ol {
  margin: 0 0 24px 24px;
  padding-left: 8px;
}

.sp-article-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.sp-article-content .sp-callout,
.sp-article-content .sp-box,
.sp-article-content div[style*="border:"] {
  background: #0b1329 !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  border-radius: 14px !important;
  padding: 24px 26px !important;
  margin: 28px 0 !important;
}

/* ==========================================================================
   IMAGE 2 FAQ CARDS: ACCORDION CARD WITH BLUE PLUS ICON
   ========================================================================== */
.sp-faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}

.sp-faq-item {
  background: var(--sp-surface) !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px !important;
}

.sp-faq-item:hover {
  border-color: rgba(99, 102, 241, 0.4) !important;
}

.sp-faq-item summary {
  padding: 18px 22px;
  font-family: var(--sp-font-heading);
  font-weight: 600;
  font-size: 16.5px;
  color: #ffffff !important;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.sp-faq-item summary::-webkit-details-marker {
  display: none;
}

.sp-faq-item summary::after {
  content: '+' !important;
  font-size: 24px !important;
  color: #6366f1 !important;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}

.sp-faq-item[open] summary::after,
.sp-faq-item.is-open summary::after {
  content: '−' !important;
  color: #38bdf8 !important;
}

.sp-faq-item[open],
.sp-faq-item.is-open {
  border-color: rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.sp-faq-body {
  padding: 0 22px 20px 22px;
  color: #94a3b8 !important;
  font-size: 15px;
  line-height: 1.7;
}

.sp-faq-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .sp-article-card {
    padding: 24px 18px;
  }
  .sp-faq-item summary {
    padding: 16px 18px;
    font-size: 15.5px;
  }
  .sp-faq-body {
    padding: 0 18px 18px 18px;
  }
}

/* ==========================================================================
   HOMEPAGE & GLOBAL MODERN STYLING ENHANCEMENTS (v2.6.0)
   ========================================================================== */
.sp-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 32px 24px;
  margin: 48px auto;
  max-width: 1200px;
  text-align: center;
}

.sp-stat-item h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--sp-primary);
  margin: 0 0 6px;
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-stat-item p {
  color: #94a3b8;
  font-size: 14.5px;
  margin: 0;
  font-weight: 500;
}

.sp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.sp-feature-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sp-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.sp-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.sp-feature-card h3 {
  font-size: 20px;
  color: #ffffff;
  margin: 0 0 10px;
}

.sp-feature-card p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.sp-devices-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 0;
  max-width: 850px;
}

.sp-device-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--sp-border);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13.5px;
  color: #cbd5e1;
  font-weight: 500;
}

.sp-device-pill span.icon {
  font-size: 16px;
}

@media (max-width: 992px) {
  .sp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .sp-features-grid {
    grid-template-columns: 1fr;
  }
  .sp-stats-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 16px;
  }
}

/* ==========================================================================
   IMAGE 2 EXACT PRICING TABLE STYLING
   ========================================================================== */
.sp-pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  padding: 36px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sp-pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.sp-pricing-card.featured {
  border: 2px solid #6366f1 !important;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.35) !important;
}

.sp-pricing-card ul {
  margin: 0 0 24px 0;
  padding-left: 20px;
}

.sp-pricing-card li {
  color: #cbd5e1;
  line-height: 2;
  margin-bottom: 4px;
  font-size: 15px;
}


/* ==========================================================================
   PAGE ARTICLE WRAP & RAW CONTENT SAFETY FALLBACK (CHANNELS & FAQ PREV FIX)
   ========================================================================== */
.sp-seo-article-wrap {
  max-width: 960px;
  margin: 44px auto 60px;
  padding: 44px 36px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  font-size: 16.5px;
  line-height: 1.8;
  color: #cbd5e1;
}

.sp-seo-article-wrap h2 {
  font-size: 26px;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sp-border);
  color: #ffffff;
}

.sp-seo-article-wrap h3 {
  font-size: 20px;
  margin-top: 26px;
  margin-bottom: 10px;
  color: #e2e8f0;
}

.sp-seo-article-wrap p {
  margin-bottom: 18px;
}

.sp-seo-article-wrap ul,
.sp-seo-article-wrap ol {
  margin: 0 0 22px 24px;
}

.sp-seo-article-wrap li {
  margin-bottom: 8px;
}

.sp-elementor-content {
  background: var(--sp-bg);
  min-height: 60vh;
}

@media (max-width: 768px) {
  .sp-seo-article-wrap {
    margin: 20px 16px 40px;
    padding: 24px 18px;
    border-radius: 14px;
  }
}
