/**
 * JD Stride — custom.css
 * Extended component library: classes extracted from 8 landing pages
 * that go beyond the 20-variable core framework.
 *
 * Load order: AFTER jdstride-brand-variables.css and jdstride-components.css
 *
 * SECTIONS:
 *  1.  Site Logo / Nav Bar
 *  2.  Section Eyebrow Labels
 *  3.  Problem Agitation (flex-row items)
 *  4.  Threat Items (alias of problem-item, dark bg variant)
 *  5.  Pain Items (orange variant, dark bg)
 *  6.  Comparison Blocks (good vs bad)
 *  7.  Who-Is-This-For Cards
 *  8.  Step / Process Cards
 *  9.  Finding Cards (audit results)
 * 10.  Advantage Cards (benefit cards with top-border)
 * 11.  Decision Cards (gold-border variant)
 * 12.  Pricing Cards
 * 13.  Feature Lists (inside cards)
 * 14.  Visual Placeholder Box
 * 15.  Trust Section (dark, dot-pattern bg)
 * 16.  Guarantee Section
 * 17.  Offer Section
 * 18.  CTA Box / Content (inside dark sections)
 * 19.  Tech Bar / Logos
 * 20.  Stats Bar (dark bg strip)
 * 21.  Authority / Bio Section
 * 22.  FAQ Section
 * 23.  Platform & Misc Badges
 * 24.  Form Notes
 * 25.  Responsive Overrides
 */


/* ========================================
   1. SITE LOGO / NAV BAR
======================================== */

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--brand-primary);
    font-style: italic;
    text-align: center;
    text-decoration: none;
}

.logo span {
    color: var(--brand-secondary);
    font-weight: 600;
}

/* Sticky nav bar — used on longer pages */
.nav-bar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--brand-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ========================================
   2. SECTION EYEBROW LABELS
   Uppercase label above h2 — e.g. "THE PROBLEM"
======================================== */

.section-eyebrow,
.hero-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-secondary);
    margin-bottom: 16px;
    font-family: var(--font-accent);
}

.hero-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    font-style: italic;
}


/* ========================================
   3. PROBLEM AGITATION — FLEX ROW ITEMS
   Most-used uncovered pattern (12 instances)
   Structure: .problem-item > .problem-icon + .problem-item-content
======================================== */

.problem-section {
    background: var(--section-light);
    padding: var(--section-padding-y) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.problem-intro {
    font-size: 1.1rem;
    color: var(--grey-400);
    margin-bottom: var(--space-40);
    line-height: 1.8;
}

.problem-content h2 {
    margin-bottom: var(--space-24);
}

.problem-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: var(--space-32);
}

/* The repeating item row */
.problem-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
    padding: var(--space-20);
    margin-bottom: 12px;
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid var(--brand-error);
    border-radius: var(--radius-sm);
}

.problem-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.problem-item-content {
    flex: 1;
}

.problem-item-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--brand-primary);
    font-family: var(--font-accent);
}

.problem-item-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--grey-400);
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Dark-background version (e.g. inside hero or offer sections) */
.problem-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 50px var(--space-40);
}

.problem-box h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.5rem;
}


/* ========================================
   4. THREAT ITEMS (Alias — dark bg variant)
   Identical structure to problem-item.
   Used in cybersecurity hero section.
======================================== */

.threat-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
    padding: var(--space-20);
    margin-bottom: 12px;
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--brand-error);
    border-radius: var(--radius-sm);
}

.threat-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.threat-item-content {
    flex: 1;
}

.threat-item-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--white);
    font-family: var(--font-accent);
}

.threat-item-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

.threat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Glassmorphism container (cybersecurity hero) */
.threat-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 50px var(--space-40);
}

.threat-box h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.threat-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: var(--space-24);
    font-style: italic;
}


/* ========================================
   5. PAIN ITEMS (Orange variant — dark bg)
   Used in digital marketing pages on navy bg.
======================================== */

.pain-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pain-list li {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    padding: 18px;
    margin-bottom: 12px;
    background: rgba(255, 107, 53, 0.1);
    border-left: 3px solid var(--brand-accent);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.pain-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: var(--space-32);
}

/* Light bg variant (pain card list) */
.pain-box {
    background: #fef2f2;
    border-left: 4px solid var(--brand-error);
    padding: var(--space-24);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-20);
    transition: all var(--transition-base);
}

.pain-box:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-strong);
}


/* ========================================
   6. COMPARISON BLOCKS (Good vs Bad)
   Structure: .comparison-grid > .comparison-card.comparison-bad + .comparison-card.comparison-good
======================================== */

.comparison-section {
    background: var(--section-muted);
    padding: var(--section-padding-y) 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-40);
    margin-top: var(--space-48);
}

.comparison-icon {
    font-size: 3rem;
    margin-bottom: var(--space-20);
    display: block;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--grey-400);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--brand-border);
}

.comparison-list li:last-child {
    border-bottom: none;
}

/* Bad column — red tint */
.comparison-bad {
    background: #fef2f2;
    border-left: 4px solid var(--brand-error);
}

.comparison-bad .comparison-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--brand-error);
    font-size: 1.1rem;
}

/* Good column — green tint */
.comparison-good {
    background: #f0fdf4;
    border-left: 4px solid var(--brand-success);
}

.comparison-good .comparison-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-success);
    font-weight: 700;
    font-size: 1rem;
}


/* ========================================
   7. WHO-IS-THIS-FOR CARDS
   Structure: .who-grid > .who-card > .who-icon + content
======================================== */

.who-section {
    background: var(--section-light);
    padding: var(--section-padding-y) 0;
}

/* Dark variant */
.who-section.dark {
    background: var(--section-gradient);
    color: var(--white);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-40);
    margin-top: var(--space-48);
}

.who-card {
    background: var(--section-muted);
    padding: var(--space-40);
    border-radius: var(--radius-sm);
    border-top: 4px solid var(--brand-primary);
    text-align: center;
    transition: all var(--transition-base);
}

.who-card:hover {
    transform: var(--hover-lift);
    box-shadow: var(--shadow-strong);
    border-top-color: var(--brand-secondary);
}

.who-icon {
    font-size: 3rem;
    margin-bottom: var(--space-20);
    display: block;
}

.who-content {
    position: relative;
    z-index: 2;
}


/* ========================================
   8. STEP / PROCESS CARDS
   Structure: .steps-grid > .step-card > .step-number + .step-icon + content
======================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-40);
    margin-top: var(--space-48);
}

.step-card {
    background: var(--white);
    padding: 50px var(--space-40);
    border-radius: var(--radius-sm);
    border-top: 4px solid var(--brand-primary);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-soft);
}

.step-card:hover {
    transform: var(--hover-lift);
    box-shadow: var(--shadow-strong);
    border-top-color: var(--brand-secondary);
}

/* Large ordinal number — DM Serif for elegance */
.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--brand-secondary);
    display: block;
    margin-bottom: var(--space-20);
    font-weight: 400;
    line-height: 1;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--space-24);
    display: block;
    line-height: 1;
}


/* ========================================
   9. FINDING CARDS (Audit results)
   Used in PPC Audit page — blue left border
======================================== */

.findings-section {
    padding: var(--section-padding-y) 0;
    background: var(--section-muted);
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    margin-top: var(--space-48);
}

.finding-card {
    background: var(--white);
    padding: var(--space-40);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--brand-secondary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-soft);
}

.finding-card:hover {
    transform: var(--hover-lift);
    box-shadow: var(--shadow-strong);
}

.finding-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-20);
    display: block;
    line-height: 1;
}


/* ========================================
  10. ADVANTAGE CARDS (Top-border, center-aligned)
   Used in Shopify page — same structure as step-card
======================================== */

.advantages-section {
    background: var(--section-muted);
    padding: var(--section-padding-y) 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-40);
    margin-top: var(--space-48);
}

.advantage-card {
    background: var(--white);
    padding: 50px var(--space-40);
    border-radius: var(--radius-sm);
    border-top: 4px solid var(--brand-primary);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-soft);
}

.advantage-card:hover {
    transform: var(--hover-lift);
    box-shadow: var(--shadow-strong);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: var(--space-24);
    display: block;
    line-height: 1;
}


/* ========================================
  11. DECISION CARDS (Gold left-border)
   Used for "Who should choose X" sections
======================================== */

.decision-section {
    background: var(--section-light);
    padding: var(--section-padding-y) 0;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: var(--space-48);
}

.decision-card {
    background: var(--section-muted);
    padding: var(--space-40);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--brand-accent);
}

.decision-card h3 {
    color: var(--brand-primary);
    margin-bottom: var(--space-20);
}

.decision-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.decision-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: var(--grey-400);
    font-size: 1rem;
    border-bottom: 1px solid var(--brand-border);
}

.decision-list li:last-child {
    border-bottom: none;
}

.decision-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-accent);
    font-weight: 700;
}


/* ========================================
  12. PRICING CARDS
   Structure: .pricing-grid > .price-card > .price-header + .price-body + .price-footer
======================================== */

.pricing-section {
    padding: var(--section-padding-y) 0;
    background: var(--section-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-32);
    margin-top: var(--space-48);
    align-items: start;
}

.price-card {
    border: 1px solid var(--brand-border);
    border-radius: var(--card-radius);
    background: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--brand-secondary);
}

/* Featured/bestseller variant */
.price-card.bestseller {
    border: 2px solid var(--brand-secondary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(46, 91, 255, 0.15);
}

.price-card.bestseller .price-header {
    background: var(--brand-secondary);
    color: var(--white);
}

.price-header {
    background: var(--section-muted);
    padding: var(--space-32);
    text-align: center;
    border-bottom: 1px solid var(--brand-border);
}

.price-header h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Price display */
.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--grey-400);
    margin-bottom: 6px;
    font-family: var(--font-accent);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--brand-primary);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--grey-400);
    font-weight: normal;
    font-family: var(--font-body);
}

.price-body {
    padding: var(--space-32);
    flex: 1;
}

.price-footer {
    padding: var(--space-32);
    text-align: center;
    border-top: 1px solid var(--brand-border);
}

/* Ribbon badge inside price card */
.badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--brand-accent);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-accent);
}


/* ========================================
  13. FEATURE LISTS (Inside price/comparison cards)
======================================== */

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    margin-bottom: 14px;
    font-size: 0.95rem;
    padding-left: 26px;
    position: relative;
    color: var(--grey-400);
    line-height: 1.5;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-success);
    font-weight: 700;
}


/* ========================================
  14. VISUAL PLACEHOLDER BOX
   Used when imagery not yet available
======================================== */

.visual-box {
    background: var(--section-muted);
    border: 2px dashed var(--brand-border);
    height: 350px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-40);
    text-align: center;
}

.visual-box-content {
    color: var(--grey-400);
}

.visual-icon {
    font-size: 4rem;
    margin-bottom: var(--space-20);
    display: block;
    line-height: 1;
}


/* ========================================
  15. TRUST SECTION (Dark bg, dot-pattern)
   Used for authority statements and guarantees
======================================== */

.trust-section {
    background: var(--section-gradient);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Dot-pattern overlay */
.trust-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 30px 30px;
}

.trust-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.trust-content h2 {
    color: var(--white);
    margin-bottom: var(--space-24);
}

.trust-content p {
    color: rgba(255, 255, 255, 0.85);
}


/* ========================================
  16. GUARANTEE SECTION
======================================== */

.guarantee-section {
    background: var(--section-gradient);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Grid-line overlay */
.guarantee-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.guarantee-content {
    position: relative;
    z-index: 2;
}

.guarantee-box {
    border: 2px dashed rgba(255,255,255,0.25);
    padding: var(--space-40);
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    text-align: center;
}

.guarantee-highlight {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-20);
}


/* ========================================
  17. OFFER SECTION (Dark, two-column layout)
======================================== */

.offer-section {
    background: var(--section-gradient);
    color: var(--white);
    padding: var(--section-padding-y) 0;
    position: relative;
    overflow: hidden;
}

.offer-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.offer-content {
    position: relative;
    z-index: 2;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Dashed-border box for offer list */
.offer-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.25);
    padding: 50px;
    border-radius: var(--radius-sm);
}

.offer-box h3 {
    color: var(--white);
    text-align: center;
    margin-bottom: var(--space-32);
}


/* ========================================
  18. CTA BOX / CONTENT (Inside dark sections)
======================================== */

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
    border-radius: var(--radius-sm);
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: var(--space-20);
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-40);
}


/* ========================================
  19. TECH BAR / LOGOS (Certified partner strip)
======================================== */

.tech-bar {
    background: var(--brand-primary);
    padding: var(--space-40) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-40);
    flex-wrap: wrap;
}

.tech-logo {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition-base);
}

.tech-logo:hover {
    color: var(--white);
}


/* ========================================
  20. STATS BAR (Dark bg horizontal strip)
======================================== */

.stats-bar {
    background: var(--brand-primary);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-bar .stats-grid {
    color: var(--white);
}

.stats-bar .stat-number {
    color: var(--brand-accent);
}

.stats-bar .stat-label {
    color: rgba(255, 255, 255, 0.75);
}


/* ========================================
  21. AUTHORITY / BIO SECTION
======================================== */

.authority-section {
    background: var(--section-muted);
    padding: var(--section-padding-y) 0;
}

.bio-box {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--brand-secondary);
    box-shadow: var(--shadow-medium);
}

.bio-box h3 {
    color: var(--brand-primary);
    margin-bottom: var(--space-24);
}


/* ========================================
  22. FAQ SECTION
======================================== */

.faq-section {
    padding: var(--section-padding-y) 0;
    background: var(--section-muted);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: var(--space-24);
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--brand-secondary);
    transition: all var(--transition-base);
}

.faq-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
}

.faq-question {
    font-weight: 700;
    margin-bottom: var(--space-8);
    color: var(--brand-primary);
    font-size: 1.05rem;
    font-family: var(--font-accent);
}

.faq-item p {
    color: var(--grey-400);
    font-size: 0.95rem;
    margin-bottom: 0;
}


/* ========================================
  23. PLATFORM & MISC BADGES
======================================== */

/* Inline pill badge (inside cards, above headings) */
.platform-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-secondary);
    background: rgba(46, 91, 255, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-20);
    font-family: var(--font-accent);
}

/* Gold variant for featured items */
.comparison-card.featured .platform-badge {
    color: var(--brand-accent);
    background: rgba(255, 107, 53, 0.1);
}


/* ========================================
  24. FORM NOTES (Small text below form)
======================================== */

.form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: var(--space-16);
    font-style: italic;
}


/* ========================================
  25. DARK SECTION TEXTURE OVERLAYS
  Apply via block Advanced → Additional CSS class.
  The parent group block must have position:relative
  (Gutenberg sets this automatically on group blocks).
  ─────────────────────────────────────────
  Usage:
    Dark hero with dot texture   → add class: has-dot-pattern
    Dark section with grid lines → add class: has-grid-pattern
    Dark section with crosshatch → add class: has-cross-pattern
======================================== */

/* Dot-grid (trust-section, guarantee-section) */
.has-dot-pattern {
    position: relative;
    overflow: hidden;
}

.has-dot-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.05) 2px,
        transparent 2px
    );
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* Push block content above the overlay */
.has-dot-pattern > * {
    position: relative;
    z-index: 1;
}

/* Fine grid lines (offer-section, guarantee-section) */
.has-grid-pattern {
    position: relative;
    overflow: hidden;
}

.has-grid-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.has-grid-pattern > * {
    position: relative;
    z-index: 1;
}

/* Crosshatch / plus-sign (hero sections) */
.has-cross-pattern {
    position: relative;
    overflow: hidden;
}

.has-cross-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.has-cross-pattern > * {
    position: relative;
    z-index: 1;
}


/* ========================================
  26. GLASSMORPHISM PANELS
  Apply to inner group blocks sitting on
  top of a dark/navy background.
  ─────────────────────────────────────────
  Usage:
    Frosted form or offer box → add class: glass-panel
    With dashed border        → add class: glass-panel glass-panel--dashed
    With accent border        → add class: glass-panel glass-panel--accent
======================================== */

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm, 4px);
}

/* Dashed border variant (offer-box, guarantee-box) */
.glass-panel--dashed {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.25);
    border-width: 2px;
}

/* Accent-colour border variant */
.glass-panel--accent {
    border-color: rgba(255, 107, 53, 0.4);
    border-width: 2px;
}


/* ========================================
  27. FLUID TYPOGRAPHY OVERRIDES
  Gutenberg only supports fixed font sizes.
  These classes restore the clamp() scaling
  from the original static pages.
  ─────────────────────────────────────────
  Usage — add to heading blocks via
  Advanced → Additional CSS class:
    H1 hero headline   → fluid-h1
    H2 section heading → fluid-h2
    H3 card heading    → fluid-h3
======================================== */

.fluid-h1,
.fluid-h1 h1,
.fluid-h1.wp-block-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.fluid-h2,
.fluid-h2 h2,
.fluid-h2.wp-block-heading {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.fluid-h3,
.fluid-h3 h3,
.fluid-h3.wp-block-heading {
    font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
    line-height: 1.3;
}


/* ========================================
  28. EYEBROW LABEL UTILITY
  The small uppercase label above H2 headings.
  ─────────────────────────────────────────
  Usage — add to a paragraph block:
    Blue eyebrow   → eyebrow
    Orange eyebrow → eyebrow eyebrow--accent
    White eyebrow  → eyebrow eyebrow--white
======================================== */

.eyebrow,
.eyebrow.wp-block-paragraph {
    display: block;
    font-size: 0.8rem !important;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-secondary, #2E5BFF);
    margin-bottom: 16px !important;
    font-family: var(--font-body);
}

.eyebrow--accent,
.eyebrow.eyebrow--accent {
    color: var(--brand-accent, #FF6B35);
}

.eyebrow--white,
.eyebrow.eyebrow--white {
    color: rgba(255, 255, 255, 0.75);
}


/* ========================================
  29. RESPONSIVE OVERRIDES
======================================== */

@media (max-width: 768px) {

    /* Section layouts */
    .problem-grid,
    .offer-grid,
    .decision-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: var(--space-40);
    }

    /* 3-column → 1-column */
    .who-grid,
    .steps-grid,
    .advantages-grid,
    .findings-grid {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }

    /* Pricing: keep 1-col on mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Reset scale on bestseller card */
    .price-card.bestseller {
        transform: none;
        margin-top: var(--space-16);
    }

    /* Offer box padding */
    .offer-box,
    .cta-box {
        padding: var(--space-32);
    }

    /* Bio box */
    .bio-box {
        padding: var(--space-32);
    }

    /* FAQ slide */
    .faq-item:hover {
        transform: none;
    }

    /* Problem items */
    .problem-item,
    .threat-item {
        padding: var(--space-16);
    }

    /* Stats bar */
    .stats-bar {
        padding: var(--space-40) 0;
    }

    /* Tech logos wrap tightly */
    .tech-logos {
        gap: var(--space-16);
    }
}


/* ========================================
   SECTION 29 — MISSING COVERAGE
   Classes from static pages not yet defined.
   Fills remaining gaps found in coverage audit.
======================================== */

/* Alert / urgency badges */
.alert-badge,
.hero-badge {
    display: inline-block;
    background: var(--brand-error, #ef4444);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
}

.form-badge {
    display: inline-block;
    background: var(--brand-success, #10b981);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* Authority / partner bar */
.authority-bar,
.trust-bar {
    background: var(--section-muted, #F8F7F5);
    padding: 32px 0;
    border-top: 1px solid var(--brand-border, #E5E3DF);
    border-bottom: 1px solid var(--brand-border, #E5E3DF);
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.partner-logo {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--grey-400, #9CA3AF);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Benefits section wrapper + internals */
.benefits-section {
    background: var(--section-muted, #F8F7F5);
    padding: var(--space-64, 64px) 0;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--brand-success, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    margin-top: 2px;
}

.benefit-content { flex: 1; }

.benefit-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--grey-900, #111827);
}

.benefit-text {
    font-size: 0.95rem;
    color: var(--grey-500, #6B7280);
    line-height: 1.6;
    margin: 0;
}

/* CTA section (dark wrapper) */
.cta-section {
    background: var(--section-dark, #0A1628);
    color: #ffffff;
    padding: var(--space-64, 64px) 0;
    text-align: center;
}

/* Hero internals */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
    align-items: start;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Inline highlight span */
.highlight { color: var(--brand-accent, #FF6B35); }

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey-500, #6B7280);
    max-width: 680px;
    margin: 0 auto;
}

/* Form box + internals */
.form-box {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--card-radius, 4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--grey-900, #111827);
    margin-bottom: 8px;
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--grey-400, #9CA3AF);
    margin-top: 12px;
}

.lock-icon { color: var(--brand-success, #10b981); flex-shrink: 0; }

/* Stats section + stat item */
.stats-section {
    background: var(--section-dark, #0A1628);
    padding: 48px 0;
}

.stat-item { padding: 16px; text-align: center; }

/* Service-specific button variants */
.btn-security { background: #3b82f6; color: #ffffff; }
.btn-security:hover { background: #2563eb; }
.btn-teal     { background: #14B8A6; color: #ffffff; }
.btn-teal:hover { background: #0d9488; }
.btn-gold     { background: #C59D5F; color: #ffffff; }
.btn-gold:hover { background: #b08a4a; }
.btn-google   { background: #4285F4; color: #ffffff; }
.btn-google:hover { background: #3367d6; }
.btn-growth   { background: #10b981; color: #ffffff; }
.btn-growth:hover { background: #059669; }
.btn-shopify  { background: #96bf48; color: #ffffff; }
.btn-shopify:hover { background: #7da33a; }

/* Layout helpers */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Footer / disclaimer */
.disclaimer { font-size: 0.8rem; color: var(--grey-400, #9CA3AF); text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 24px; font-size: 0.8rem; }
.footer-links a { color: var(--grey-400, #9CA3AF); }

/* Infrastructure pricing misc */
.pricing-highlight {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent, #FF6B35);
    margin-bottom: 8px;
}

.price-preview {
    font-size: 0.85rem;
    color: var(--grey-400, #9CA3AF);
    margin-top: 8px;
}

/* Responsive additions for new classes */
@media (max-width: 768px) {
    .hero-grid,
    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .partner-logos {
        gap: 24px;
    }
}


/* ========================================
   MOBILE: REPLACE BACKDROP-FILTER WITH
   SOLID SEMI-TRANSPARENT BACKGROUNDS

   backdrop-filter: blur() is GPU-expensive
   on mobile — particularly older Android.
   Most mobile users won't notice the
   difference. This recovers ~15-25ms of
   rendering time per panel on low-end devices.

   Applies to all 6 glassmorphism components:
     .nav-bar, .problem-box, .threat-box,
     .offer-box, .cta-box, .glass-panel

   Solid fallback colour chosen per context:
     — Dark panel on navy:  rgba(10,22,40,0.85)
       gives a deep-but-not-opaque dark panel
       that still reads as distinct from the
       section background
     — Nav bar (light):     rgba(255,255,255,0.97)
       effectively opaque — blur was decorative
======================================== */

@media (max-width: 768px) {

    /* Sticky nav bar */
    .nav-bar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
    }

    /* Problem box (dark section context) */
    .problem-box {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 22, 40, 0.85);
    }

    /* Threat box (cybersecurity hero) */
    .threat-box {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 22, 40, 0.85);
    }

    /* Offer box (dashed border on dark section) */
    .offer-box {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 22, 40, 0.75);
    }

    /* CTA box (dark section) */
    .cta-box {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 22, 40, 0.85);
        padding: 32px 24px; /* reduce desktop padding on mobile */
    }

    /* Utility glass-panel class (hero form boxes,
       guarantee boxes, any manual application) */
    .glass-panel {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 22, 40, 0.80);
    }

    /* glass-panel on light backgrounds
       (e.g. if used outside a dark section) */
    .glass-panel--light {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.95);
    }
}
