/* ===========================
   CSS Custom Properties
   =========================== */
:root {
  /* Brand Colors */
  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --brand-green: #10B981;
  --brand-green-hover: #059669;
  --brand-orange: #F59E0B;
  --brand-orange-hover: #D97706;
  --brand-navy: #1E293B;
  --brand-navy-weak: #334155;
  --brand-white: #F8FAFC;
  
  /* Additional Brand Colors */
  --brand-1: #7AA61C;
  --brand-1-dark: #557316;
  --brand-2: #A1D929;
  --ink: #0D0D0D;
  --surface: #F2F2F2;
  --white: #fff;
  --muted: #6b7280;
  
  /* Design Tokens */
  --brand-radius: 1rem;        /* 16px */
  --brand-radius-sm: .75rem;   /* 12px */
  --brand-shadow: 0 10px 24px rgba(2, 6, 23, .08);
  --brand-shadow-sm: 0 6px 14px rgba(2, 6, 23, .06);
  
  /* Bootstrap Variable Mapping */
  --bs-primary: var(--brand-blue);
  --bs-success: var(--brand-green);
  --bs-warning: var(--brand-orange);
  --bs-dark: var(--brand-navy);
  
  
  /* Font Sizing */  
  --body-font-size: 18px;
  --body-font-size-sm: 16px; /* mobile */
  --body-line-height: 1.7;
}

/* ===========================
   Global Styles
   =========================== */
* {
  box-sizing: border-box;
}

body {
  color: var(--brand-navy-weak);
  background: var(--brand-white);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-navy);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

/* ===================
    Font Settings
    ================== */
/* Scope to article areas so UI chrome isn't affected */
.article-details p,
.sppb-addon-content p,
.blog p {
  font-size: var(--body-font-size) !important;
  line-height: var(--body-line-height) !important;
}

@media (max-width: 640px){
  .article-details p,
  .sppb-addon-content p,
  .blog p,
  .article-details {
    font-size: var(--body-font-size-sm) !important;
  }
}



/* ===========================
   Layout Components
   =========================== */
.container {
    /*
  max-width: 1180px;
  margin-inline: auto;
  padding: 24px;
  */
}

.section-surface .container .card .bd {
    padding:15px;
}

.section-light .container .card .bd {
    padding:15px;
}

.section-surface .container .btn {
    margin-top: 20px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Grid Responsive Breakpoints */
@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Section Styles
   =========================== */
.section-light {
  background: var(--white);
}

.section-surface {
  background: var(--surface);
}

.section-navy {
  background: var(--brand-navy);
  color: #E2E8F0;
}

.section-navy a {
  color: #93C5FD;
}

.section-accent {
  background: linear-gradient(0deg, rgba(245, 158, 11, .08), rgba(245, 158, 11, .08));
}

.section-hero {
  background: linear-gradient(180deg, var(--white), var(--surface));
}

/* Section Spacing */
.section-pad {
  padding: 48px 0;
}

.section-pad-lg {
  padding: 72px 0;
}

/* ===========================
   Button Components
   =========================== */
.btn {
  display: inline-flex;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--brand-radius);
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: none;
}

/* Primary Button */
.btn-primary {
  background: var(--brand-1);
  color: var(--white);
  border-color: var(--brand-1);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-1-dark);
  border-color: var(--brand-1-dark);
}

/* Success Button */
.btn-success {
  background: var(--brand-green);
  border-color: var(--brand-green);
}

.btn-success:hover,
.btn-success:focus {
  background: var(--brand-green-hover);
  border-color: var(--brand-green-hover);
}

/* Outline Buttons */
.btn-outline-primary {
  background: transparent;
  border-color: var(--brand-1);
  color: var(--brand-1);
}

.btn-outline-primary:hover {
  color: var(--white);
  background: var(--brand-1);
  border-color: var(--brand-1);
}

.btn-outline-success {
  color: var(--brand-green);
  border-color: var(--brand-green);
  background: transparent;
}

.btn-outline-success:hover {
  color: var(--white);
  background: var(--brand-green);
  border-color: var(--brand-green);
}

/* Utility Buttons */
.btn-ghost {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.16);
}

.btn-linky {
  color: var(--brand-blue);
  background: transparent;
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.btn-linky:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

/* ===========================
   Card Components
   =========================== */
.card {
  background: var(--white);
  border: 1px solid rgba(2, 6, 23, .06);
  border-radius: var(--brand-radius);
  box-shadow: var(--brand-shadow-sm);
}

.card-raise {
  box-shadow: var(--brand-shadow);
}

.card-accent {
  border-color: rgba(245, 158, 11, .35);
}

.card-navy {
  background: var(--brand-navy);
  color: #E2E8F0;
}

.card-navy h1,
.card-navy h2,
.card-navy h3 {
  color: #F8FAFC;
}

/* Feature Tiles */
.feature-tile {
  padding: 1.25rem;
  border-radius: var(--brand-radius);
  border: 1px solid rgba(2, 6, 23, .06);
  background: var(--white);
  transition: transform .15s ease, box-shadow .15s ease;
}

.feature-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--brand-shadow);
}

/* ===========================
   Form Components
   =========================== */
.form-control,
.sppb-form-control {
  border-radius: var(--brand-radius-sm);
  border: 1px solid rgba(2, 6, 23, .12);
}

.form-control:focus,
.sppb-form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15);
}

/* ===========================
   UI Components
   =========================== */
/* Accordion */
.accordion-button {
  color: var(--brand-navy);
}

.accordion-button:not(.collapsed) {
  background: rgba(37, 99, 235, .06);
  color: var(--brand-navy);
}

/* Header Navigation */
.header,
.sp-megamenu-parent > li > a {
  color: var(--brand-white);
}

.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a {
    color: var(--brand-orange-hover);
    font-weight: bold;
}

.sticky-header {
  box-shadow: 0 6px 24px rgba(2, 6, 23, .06);
}

.sp-megamenu-parent > li > a:hover {
  color: var(--brand-blue);
}

/* Badges */
.badge-success {
  background: var(--brand-green);
}

.badge-warning {
  background: var(--brand-orange);
  color: #1E293B;
}

/* CTA Band */
.cta-band {
  background: var(--brand-blue);
  color: var(--white);
  border-radius: var(--brand-radius);
  padding: 24px;
}

.cta-band a {
  color: var(--white);
  text-decoration: underline;
}

/* ===========================
   Utility Classes
   =========================== */
.note {
  color: var(--muted);
  font-size: 13px;
}

.price {
  font-variant-numeric: tabular-nums;
}

/* ===========================
   Custom Overrides
   =========================== */
#sp-section-3 > .container {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

/*Blog Image Style */
/* Blog Image Styles - Add to your existing CSS file */

.blog-image-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.image-attribution {
    font-size: 0.8rem;
    color: #666;
    padding: 0.5rem;
    text-align: right;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.image-attribution a {
    color: #0066cc;
    text-decoration: none;
}

.image-attribution a:hover {
    text-decoration: underline;
}

/**
Custom Blog Content Elements
*/

.cta-section {
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}
.cta-button {
    background: #28a745;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    margin-top: 10px;
}
.email-signup {
    background: #e7f3ff;
    border: 1px solid #b3d7ff;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: center;
}
.jump-nav {
    background: #f1f3f4;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}
.message-list {
    margin: 15px 0;
    padding-left: 20px;
}
.tip-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    font-style: italic;
}

/* ===========================
   Eid Content Specific Styles
   =========================== */

/* Arabic Text Support */
.arabic-text {
    font-size: 1.3em;
    font-family: 'Traditional Arabic', 'Arabic Typesetting', 'Noto Naskh Arabic', Arial;
    direction: rtl;
    text-align: right;
    background: var(--surface);
    padding: 15px;
    border-radius: var(--brand-radius-sm);
    margin: 15px 0;
    border-left: 4px solid var(--brand-1);
}

.transliteration {
    color: var(--muted);
    font-style: italic;
    margin: 8px 0;
    font-size: 0.95em;
}

.translation {
    color: var(--brand-1-dark);
    font-weight: 600;
    margin-top: 5px;
}

/* Message Categories */
.message-category {
    background: var(--white);
    border: 1px solid rgba(122, 166, 28, 0.2);
    border-radius: var(--brand-radius);
    padding: 24px;
    margin: 24px 0;
    box-shadow: var(--brand-shadow-sm);
    transition: transform 0.2s ease;
}

.message-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--brand-shadow);
}

.message-category h4 {
    color: var(--brand-1-dark);
    border-bottom: 2px solid var(--brand-1);
    padding-bottom: 12px;
    margin-bottom: 18px;
    font-size: 1.3em;
}

/* Numbered Messages */
ol.numbered-messages {
    counter-reset: eid-counter;
    list-style: none;
    padding-left: 0;
}

ol.numbered-messages li {
    counter-increment: eid-counter;
    margin-bottom: 18px;
    padding-left: 50px;
    position: relative;
    line-height: 1.7;
}

ol.numbered-messages li:before {
    content: counter(eid-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--brand-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

/* Enhanced Jump Navigation */
.jump-nav {
    background: linear-gradient(135deg, rgba(122, 166, 28, 0.05) 0%, rgba(161, 217, 41, 0.05) 100%);
    border: 2px solid var(--brand-1);
    border-radius: var(--brand-radius);
    padding: 24px;
    margin: 32px 0;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.jump-nav h3 {
    color: var(--brand-1-dark);
    margin-top: 0;
    font-size: 1.4em;
}

.jump-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding: 0;
}

.jump-nav a {
    color: var(--brand-1-dark);
    text-decoration: none;
    padding: 10px 16px;
    display: block;
    border-radius: var(--brand-radius-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: var(--white);
}

.jump-nav a:hover {
    background: var(--brand-1);
    color: var(--white);
    transform: translateX(5px);
}

/* Enhanced CTA for Eid */
.cta-section.eid-special {
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-1-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section.eid-special:before {
    content: "??";
    position: absolute;
    font-size: 150px;
    opacity: 0.1;
    right: -30px;
    top: -30px;
}

/* Message Lists with Icons */
.message-list.eid-themed li:before {
    content: "??";
    margin-right: 8px;
}

.message-list.family-themed li:before {
    content: "??";
    margin-right: 8px;
}

.message-list.professional-themed li:before {
    content: "??";
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .jump-nav {
        position: static;
    }
    
    ol.numbered-messages li {
        padding-left: 40px;
    }
    
    ol.numbered-messages li:before {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }
}

/* Print-Friendly Styles */
@media print {
    .jump-nav,
    .cta-section,
    .email-signup,
    .tip-box {
        display: none !important;
    }
    
    .message-category {
        page-break-inside: avoid;
    }
    
    h2, h3 {
        page-break-after: avoid;
    }
}


/* ===========================
   Additional Message Display Styles
   Complements Existing Custom CSS
   =========================== */

/* Standard Message Box - Single messages (not covered by existing) */
.message-box {
    background: var(--white);
    border-left: 4px solid var(--brand-1);
    padding: 20px;
    margin: 15px 0;
    border-radius: var(--brand-radius-sm);
    box-shadow: var(--brand-shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.message-box:hover {
    transform: translateX(5px);
    box-shadow: var(--brand-shadow);
}

.message-box strong {
    color: var(--brand-1-dark);
}

/* Enhanced Bullet Messages (your current .message-list is basic) */
.bullet-messages {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.bullet-messages li {
    margin-bottom: 15px;
    padding: 15px 15px 15px 45px;
    background: var(--surface);
    border-radius: var(--brand-radius-sm);
    position: relative;
    border-left: 3px solid var(--brand-1);
    transition: all 0.3s ease;
}

.bullet-messages li:hover {
    background: var(--white);
    transform: translateX(5px);
}

.bullet-messages li::before {
    content: "?";
    position: absolute;
    left: 15px;
    color: var(--brand-1);
    font-weight: bold;
    font-size: 1.3em;
}

/* Quote Style Messages (new element) */
.quote-message {
    background: linear-gradient(135deg, rgba(122, 166, 28, 0.05) 0%, rgba(161, 217, 41, 0.05) 100%);
    border-left: 5px solid var(--brand-1);
    padding: 25px 25px 25px 35px;
    margin: 20px 0;
    border-radius: var(--brand-radius-sm);
    position: relative;
    font-style: italic;
}

.quote-message::before {
    content: """;
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 3em;
    color: var(--brand-1);
    opacity: 0.3;
}

.quote-message .author {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-style: normal;
    color: var(--brand-1-dark);
    font-weight: 600;
}

.quote-message .author::before {
    content: "— ";
}

/* Grid Layout for Short Messages (new) */
.message-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.message-grid .message-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--brand-radius-sm);
    border-top: 3px solid var(--brand-1);
    box-shadow: var(--brand-shadow-sm);
    transition: all 0.3s ease;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.message-grid .message-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--brand-shadow);
}

/* Themed Message Variations (extends .message-box) */
.message-box.spiritual,
.numbered-messages.spiritual li {
    border-left-color: #9b59b6;
    background: linear-gradient(90deg, rgba(155, 89, 182, 0.05) 0%, transparent 100%);
}

.message-box.professional,
.numbered-messages.professional li {
    border-left-color: #3498db;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.05) 0%, transparent 100%);
}

.message-box.romantic,
.numbered-messages.romantic li {
    border-left-color: #e74c3c;
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.05) 0%, transparent 100%);
}

.message-box.funny,
.numbered-messages.funny li {
    border-left-color: #f39c12;
    background: linear-gradient(90deg, rgba(243, 156, 18, 0.05) 0%, transparent 100%);
}

.message-box.family,
.numbered-messages.family li {
    border-left-color: #e91e63;
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.05) 0%, transparent 100%);
}

/* Featured Message (complements existing styles) */
.featured-message {
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-1-dark) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: var(--brand-radius);
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.featured-message::before {
    content: "?";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
    opacity: 0.3;
}

.featured-message strong {
    color: var(--white);
}

/* Compact Messages for Long Lists */
.compact-messages {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.compact-messages li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: var(--surface);
    border-left: 3px solid var(--brand-1);
    border-radius: 0 var(--brand-radius-sm) var(--brand-radius-sm) 0;
    transition: all 0.2s ease;
}

.compact-messages li:hover {
    background: var(--white);
    padding-left: 20px;
}

/* Two-Column Message Layout */
.message-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* Icon Message Style */
.icon-message {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--brand-radius-sm);
    margin: 15px 0;
    box-shadow: var(--brand-shadow-sm);
}

.icon-message .icon {
    font-size: 2em;
    color: var(--brand-1);
    flex-shrink: 0;
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .message-grid {
        grid-template-columns: 1fr;
    }
    
    .message-columns {
        grid-template-columns: 1fr;
    }
    
    .quote-message {
        padding-left: 25px;
    }
    
    .quote-message::before {
        font-size: 2em;
        left: 5px;
    }
}


/**
    Control the layout of the blog and the header image
*/
@media screen and (min-width: 768px), screen and (orientation: landscape) {
    #sp-component > div > div.article-details > div.container {
        margin-top: 300px;
    }
}


/* Article Blurb - Healthline Style Summary */
.article-blurb {
    background: var(--surface);
    border-left: 4px solid var(--brand-1);
    padding: 20px;
    margin: 20px 0;
    border-radius: var(--brand-radius-sm);
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--brand-navy-weak);
    font-weight: 500;
}

.blog-list-intro {
    /* display: none; /* Hidden on article page, used for blog list */
}

@media (max-width: 768px) {
    .article-blurb {
        font-size: 1em;
        padding: 15px;
    }
}

/* ===========================
   FAQ & Quick Answer Styles
   =========================== */

/* Quick FAQ Container */
#quick-faq {
    background: var(--white);
    border-radius: var(--brand-radius);
    padding: 32px;
    margin: 32px 0;
    box-shadow: var(--brand-shadow-sm);
}

#quick-faq h2 {
    color: var(--brand-navy);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-1);
}

/* FAQ Items */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: var(--brand-radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--brand-shadow-sm);
    border-color: var(--brand-1);
}

.faq-question {
    background: var(--surface);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--brand-navy);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(122, 166, 28, 0.08);
}

.faq-question::after {
    content: "+";
    font-size: 1.5em;
    color: var(--brand-1);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px; /* Adjust as needed */
}

/* Quick Answer Box */
#quick-answer {
    background: linear-gradient(135deg, rgba(122, 166, 28, 0.05) 0%, rgba(161, 217, 41, 0.05) 100%);
    border-left: 4px solid var(--brand-1);
    padding: 20px;
    margin: 20px 0;
    border-radius: var(--brand-radius-sm);
    font-size: 1.05em;
    line-height: 1.6;
}

#quick-answer strong {
    color: var(--brand-1-dark);
}

/* ===========================
   Data Plans Table Enhancements
   =========================== */

/* Copy Button for USSD Codes */
.copy-btn {
    background: var(--brand-1);
    color: var(--white);
    border: none;
    padding: 4px 12px;
    border-radius: var(--brand-radius-sm);
    font-size: 0.85em;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.copy-btn:hover {
    background: var(--brand-1-dark);
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied {
    background: var(--brand-green);
}

.copy-btn.copied::before {
    content: "? ";
}

/* USSD Code Display */
.ussd-code {
    font-family: 'Courier New', monospace;
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: var(--brand-navy);
}

/* ===========================
   Plan Categories Navigation
   =========================== */

.plan-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--brand-radius);
}

.category-btn {
    background: var(--white);
    color: var(--brand-navy);
    border: 2px solid var(--brand-1);
    padding: 10px 20px;
    border-radius: var(--brand-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.category-btn:hover,
.category-btn.active {
    background: var(--brand-1);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--brand-shadow-sm);
}

/* ===========================
   Activation Steps 
   =========================== */

.activation-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}

.activation-steps li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative;
    min-height: 50px;
}

.activation-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--brand-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

/* ===========================
   Comparison Table Styles
   =========================== */

.comparison-table {
    overflow-x: auto;
    margin: 24px 0;
}

.comparison-table table {
    background: var(--white);
    border-radius: var(--brand-radius);
    overflow: hidden;
    box-shadow: var(--brand-shadow-sm);
}

.comparison-table th {
    background: var(--brand-1);
    color: var(--white);
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--surface);
}

.comparison-table tr:hover {
    background: rgba(122, 166, 28, 0.03);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Badge for Popular/Recommended Plans */
.badge-popular {
    background: var(--brand-orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--brand-radius-sm);
    font-size: 0.8em;
    font-weight: 600;
    display: inline-block;
    margin-left: 8px;
}

/* ===========================
   Tips and Notes Enhancement
   =========================== */

.pro-tip {
    background: rgba(16, 185, 129, 0.08);
    border-left: 4px solid var(--brand-green);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: var(--brand-radius-sm);
    position: relative;
}

.pro-tip::before {
    content: "?? PRO TIP";
    display: block;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 8px;
    font-size: 0.9em;
}

.warning-note {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid var(--brand-orange);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: var(--brand-radius-sm);
}

.warning-note::before {
    content: "?? NOTE";
    display: block;
    font-weight: 700;
    color: var(--brand-orange);
    margin-bottom: 8px;
    font-size: 0.9em;
}

/* ===========================
   Mobile Responsiveness
   =========================== */

@media (max-width: 768px) {
    #quick-faq {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 0.95em;
        padding: 14px 16px;
    }
    
    .plan-categories {
        padding: 16px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    .activation-steps li {
        padding-left: 50px;
    }
    
    .activation-steps li::before {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    
    .comparison-table {
        font-size: 0.9em;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
    }
    
    .copy-btn {
        padding: 3px 8px;
        font-size: 0.8em;
    }
}

/* ===========================
   Interactive JavaScript Support
   =========================== */

/* Toast notification for copy success */
.copy-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--brand-green);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--brand-radius-sm);
    box-shadow: var(--brand-shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Loading state for dynamic content */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--brand-1);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===========================
   FAQ & Quick Answer Styles
   =========================== */

/* Quick FAQ Container */
#quick-faq {
    background: var(--white);
    border-radius: var(--brand-radius);
    padding: 32px;
    margin: 32px 0;
    box-shadow: var(--brand-shadow-sm);
}

#quick-faq h2 {
    color: var(--brand-navy);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-1);
    font-size: 1.75em;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: var(--brand-radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--brand-shadow-sm);
    border-color: var(--brand-1);
}

/* Active FAQ Item */
.faq-item.active {
    border-color: var(--brand-1);
    box-shadow: var(--brand-shadow);
}

/* FAQ Question */
.faq-question {
    background: var(--surface);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--brand-navy);
    transition: background 0.3s ease;
    user-select: none;
    position: relative;
}

.faq-question:hover {
    background: rgba(122, 166, 28, 0.08);
}

/* FAQ Toggle Icon */
.faq-question::after {
    content: "+";
    font-size: 1.5em;
    color: var(--brand-1);
    transition: transform 0.3s ease;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 15px;
}

/* Active FAQ Toggle Icon (rotated to ×) */
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

/* FAQ Answer */
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--white);
    color: var(--brand-navy-weak);
    line-height: 1.6;
}

/* Active FAQ Answer (expanded) */
.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px; /* Adjust as needed for longer answers */
}

/* Quick Answer Box */
#quick-answer {
    background: linear-gradient(135deg, rgba(122, 166, 28, 0.05) 0%, rgba(161, 217, 41, 0.05) 100%);
    border-left: 4px solid var(--brand-1);
    padding: 20px;
    margin: 20px 0;
    border-radius: var(--brand-radius-sm);
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--brand-navy-weak);
}

#quick-answer strong {
    color: var(--brand-1-dark);
    font-weight: 600;
}

/* Mobile Responsiveness for FAQ */
@media (max-width: 768px) {
    #quick-faq {
        padding: 20px;
    }
    
    #quick-faq h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .faq-question {
        font-size: 0.95em;
        padding: 14px 16px;
    }
    
    .faq-question::after {
        font-size: 1.3em;
    }
    
    .faq-answer {
        font-size: 0.95em;
    }
    
    .faq-item.active .faq-answer {
        padding: 16px;
    }
    
    #quick-answer {
        padding: 16px;
        font-size: 1em;
    }
}

/* Print-Friendly Styles for FAQ */
@media print {
    #quick-faq {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .faq-item {
        page-break-inside: avoid;
    }
    
    .faq-question::after {
        display: none;
    }
    
    .faq-answer {
        max-height: none !important;
        padding: 15px 20px !important;
        display: block !important;
    }
}

/* ===========================
   BLACK FRIDAY HUB COMPONENTS
   =========================== */

/* Verdict Badge System */
.verdict-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--brand-radius);
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0;
    position: relative;
    transition: all 0.3s ease;
}

.verdict-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.verdict-badge.verdict-buy {
    background: linear-gradient(135deg, rgba(122, 166, 28, 0.15) 0%, rgba(122, 166, 28, 0.08) 100%);
    border: 2px solid var(--brand-1);
    color: var(--brand-1-dark);
}

.verdict-badge.verdict-buy::before {
    background: var(--brand-1);
}

.verdict-badge.verdict-wait {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange-hover);
}

.verdict-badge.verdict-wait::before {
    background: var(--brand-orange);
}

.verdict-badge.verdict-caution {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
    border: 2px solid #ef4444;
    color: #dc2626;
}

.verdict-badge.verdict-caution::before {
    background: #ef4444;
}

.verdict-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--brand-shadow);
}

/* Verdict Reason Box */
.verdict-reason {
    background: var(--surface);
    border-left: 4px solid var(--brand-1);
    padding: 16px 20px;
    margin: 10px 0 20px 0;
    border-radius: var(--brand-radius-sm);
    font-size: 0.95em;
    line-height: 1.6;
}

.verdict-reason ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.verdict-reason li {
    margin-bottom: 8px;
}

/* Changelog Box */
.changelog-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--brand-radius-sm);
    padding: 16px 20px;
    margin: 20px 0;
    position: relative;
}

.changelog-box::before {
    content: "??";
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.2em;
    opacity: 0.6;
}

.changelog-timestamp {
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.changelog-updates {
    margin-top: 12px;
    padding-left: 0;
    list-style: none;
}

.changelog-updates li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.95em;
    color: var(--brand-navy-weak);
}

.changelog-updates li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: bold;
}

/* Calculator Embed Container */
.calculator-embed {
    background: var(--white);
    border: 2px solid var(--brand-1);
    border-radius: var(--brand-radius);
    padding: 24px;
    margin: 30px 0;
    box-shadow: var(--brand-shadow-sm);
    position: relative;
    overflow: hidden;
}

.calculator-embed::before {
    content: "??";
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--surface);
}

.calculator-title {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0;
}

.calculator-reset {
    background: var(--surface);
    border: 1px solid var(--brand-1);
    color: var(--brand-1-dark);
    padding: 6px 14px;
    border-radius: var(--brand-radius-sm);
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calculator-reset:hover {
    background: var(--brand-1);
    color: var(--white);
}

/* Calculator Form Elements */
.calc-field-group {
    margin-bottom: 20px;
}

.calc-field-group label {
    display: block;
    font-weight: 600;
    color: var(--brand-navy-weak);
    margin-bottom: 8px;
    font-size: 0.95em;
}

.calc-field-group input,
.calc-field-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(2, 6, 23, .12);
    border-radius: var(--brand-radius-sm);
    font-size: 1em;
    transition: all 0.2s ease;
}

.calc-field-group input:focus,
.calc-field-group select:focus {
    outline: none;
    border-color: var(--brand-1);
    box-shadow: 0 0 0 3px rgba(122, 166, 28, 0.1);
}

.calc-field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Calculator Results */
.calculator-results {
    background: linear-gradient(135deg, rgba(122, 166, 28, 0.08) 0%, rgba(161, 217, 41, 0.08) 100%);
    border-radius: var(--brand-radius-sm);
    padding: 20px;
    margin-top: 24px;
    border: 1px solid rgba(122, 166, 28, 0.2);
}

.calc-result-primary {
    font-size: 2em;
    font-weight: 700;
    color: var(--brand-1-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.calc-result-label {
    font-size: 0.5em;
    font-weight: 600;
    color: var(--brand-navy-weak);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(122, 166, 28, 0.2);
}

.calc-detail-item {
    display: flex;
    flex-direction: column;
}

.calc-detail-label {
    font-size: 0.85em;
    color: var(--muted);
    margin-bottom: 4px;
}

.calc-detail-value {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--brand-navy);
}

/* Price Guardrail Display */
.price-guardrail {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    border: 2px solid var(--brand-1);
    border-radius: var(--brand-radius);
    padding: 12px 16px;
    box-shadow: var(--brand-shadow);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    max-width: 300px;
}

.price-guardrail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(2, 6, 23, .12);
}

.guardrail-icon {
    font-size: 1.5em;
}

.guardrail-content {
    flex: 1;
}

.guardrail-label {
    font-size: 0.75em;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.5px;
    display: block;
}

.guardrail-value {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--brand-1-dark);
}

.guardrail-close {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.2em;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.guardrail-close:hover {
    background: var(--surface);
    color: var(--brand-navy);
}

/* Deal Comparison Table */
.deal-comparison-table {
    overflow-x: auto;
    margin: 30px 0;
}

.deal-comparison-table table {
    width: 100%;
    background: var(--white);
    border-radius: var(--brand-radius);
    overflow: hidden;
    box-shadow: var(--brand-shadow-sm);
}

.deal-comparison-table th {
    background: var(--brand-navy);
    color: var(--white);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.deal-comparison-table th.highlight {
    background: var(--brand-1);
}

.deal-comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--surface);
    vertical-align: middle;
}

.deal-comparison-table tr:hover {
    background: rgba(122, 166, 28, 0.03);
}

.deal-comparison-table .check-mark {
    color: var(--brand-green);
    font-weight: bold;
    font-size: 1.2em;
}

.deal-comparison-table .x-mark {
    color: #ef4444;
    font-weight: bold;
    font-size: 1.2em;
}

/* Model Code Display */
.model-code {
    font-family: 'Courier New', monospace;
    background: var(--surface);
    padding: 8px 12px;
    border-radius: var(--brand-radius-sm);
    border: 1px dashed var(--brand-navy-weak);
    display: inline-block;
    margin: 8px 0;
    font-size: 1.05em;
    letter-spacing: 1px;
}

.model-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--brand-radius-sm);
}

.model-segment {
    display: flex;
    flex-direction: column;
}

.model-segment-code {
    font-family: 'Courier New', monospace;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--brand-1-dark);
    margin-bottom: 4px;
}

.model-segment-meaning {
    font-size: 0.9em;
    color: var(--brand-navy-weak);
}

/* Tool CTA Button */
.tool-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-1-dark) 100%);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--brand-radius);
    font-weight: 600;
    font-size: 1.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(122, 166, 28, 0.3);
    text-decoration: none;
    margin: 20px 0;
}

.tool-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 166, 28, 0.4);
    color: var(--white);
    text-decoration: none;
}

.tool-cta::before {
    content: "??";
    font-size: 1.2em;
}

/* Quick Stats Grid */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: var(--white);
    border: 1px solid rgba(2, 6, 23, .08);
    border-radius: var(--brand-radius-sm);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--brand-shadow-sm);
    border-color: var(--brand-1);
}

.stat-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--brand-1-dark);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9em;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    display: block;
}

/* Risk Score Indicator */
.risk-score {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.risk-score-bar {
    flex: 1;
    height: 24px;
    background: var(--surface);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.risk-score-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.6s ease;
    position: relative;
}

.risk-score-fill::after {
    content: attr(data-score);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9em;
}

.risk-low {
    background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-green-hover) 100%);
}

.risk-medium {
    background: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-orange-hover) 100%);
}

.risk-high {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.risk-label {
    font-weight: 600;
    color: var(--brand-navy-weak);
    white-space: nowrap;
}

/* Interactive Toggle for Calculators */
.calc-toggle-group {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    padding: 4px;
    background: var(--surface);
    border-radius: var(--brand-radius-sm);
}

.calc-toggle {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: calc(var(--brand-radius-sm) - 4px);
    font-weight: 600;
    color: var(--brand-navy-weak);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-toggle:hover {
    background: rgba(255, 255, 255, 0.5);
}

.calc-toggle.active {
    background: var(--white);
    color: var(--brand-1-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .verdict-badge {
        font-size: 0.95em;
        padding: 10px 16px;
    }
    
    .calc-field-row {
        grid-template-columns: 1fr;
    }
    
    .calculator-embed {
        padding: 20px 16px;
    }
    
    .calc-result-primary {
        font-size: 1.5em;
    }
    
    .price-guardrail {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .deal-comparison-table {
        font-size: 0.9em;
    }
    
    .model-breakdown {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-value {
        font-size: 2em;
    }
}

/* Print Styles */
@media print {
    .calculator-embed,
    .price-guardrail,
    .changelog-box,
    .tool-cta {
        display: none !important;
    }
    
    .verdict-badge {
        break-inside: avoid;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 166, 28, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(122, 166, 28, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(122, 166, 28, 0);
    }
}

/* Dark Mode Support (Optional - if your site supports it) */
@media (prefers-color-scheme: dark) {
    .calculator-embed,
    .verdict-reason,
    .changelog-box {
        background: var(--brand-navy);
        color: #E2E8F0;
    }
    
    .calculator-embed {
        border-color: rgba(122, 166, 28, 0.3);
    }
    
    .calc-field-group input,
    .calc-field-group select {
        background: var(--brand-navy-weak);
        color: var(--white);
        border-color: rgba(255, 255, 255, 0.1);
    }
}