/**
 * PumaGate Public Pages - Common Styles
 * Shared CSS for all public-facing marketing pages
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Primary accent colors - Security blue/purple theme */
    --accent-primary: #3B82F6;
    --accent-primary-light: #60A5FA;
    --accent-secondary: #22C55E;
    --accent-secondary-dark: #16A34A;
    --accent-tertiary: #8B5CF6;
    --accent-purple: #8B5CF6;
    --accent-purple-light: #A78BFA;
    
    /* Surface colors */
    --surface-dark: #0d0d0d;
    --surface-card: #171717;
    --surface-elevated: rgba(30, 30, 35, 0.8);
    --surface-elevated-solid: #1f1f1f;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --text-muted: #94a3b8;
    
    /* Border colors */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(59, 130, 246, 0.2);
    
    /* Glow effects */
    --glow-primary: rgba(59, 130, 246, 0.4);
    --glow-secondary: rgba(34, 197, 94, 0.3);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    padding: 6rem 0 4rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Page title color variants */
.page-title.green-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #28a745 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title.purple-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title.orange-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: var(--accent-primary);
}

.breadcrumb-nav span {
    color: #64748b;
    margin: 0 0.5rem;
}

.breadcrumb-nav .current {
    color: var(--text-secondary);
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section-dark {
    background: #121212;
}

.section-darker {
    background: linear-gradient(180deg, #151515 0%, #121212 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow,
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* ==========================================================================
   Trust & Engineer Badges
   ========================================================================== */
.trust-badges,
.engineer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.trust-badge,
.engineer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233, 84, 32, 0.15);
    border: 1px solid rgba(233, 84, 32, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-purple-light);
}

.trust-badge i,
.engineer-badge i {
    font-size: 1rem;
}

.trust-badge.green,
.engineer-badge.green {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.4);
    color: #28a745;
}

.trust-badge.orange,
.engineer-badge.orange {
    background: rgba(233, 84, 32, 0.2);
    border-color: rgba(233, 84, 32, 0.4);
    color: #3B82F6;
}

/* ==========================================================================
   Last Updated Badge
   ========================================================================== */
.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(233, 84, 32, 0.2);
    border: 1px solid rgba(233, 84, 32, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-top: 1.5rem;
}

.last-updated.purple {
    background: rgba(111, 66, 193, 0.2);
    border-color: rgba(111, 66, 193, 0.4);
    color: #6f42c1;
}

/* ==========================================================================
   Quick Stats Section
   ========================================================================== */
.quick-stats {
    padding: 3rem 0;
    background: #0f0f0f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
}

.stat-value.orange {
    color: var(--accent-primary);
}

.stat-value.green {
    color: #28a745;
}

.stat-label {
    font-size: 0.95rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Base Card Styles
   ========================================================================== */
.card-base {
    background: linear-gradient(145deg, #1c1c1c 0%, #252525 100%);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-base:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 84, 32, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

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

/* ==========================================================================
   Control Cards (used in trust, privacy, about pages)
   ========================================================================== */
.data-control-card,
.compliance-card,
.philosophy-card,
.frustration-card {
    background: linear-gradient(145deg, #1c1c1c 0%, #252525 100%);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.data-control-card::before,
.compliance-card::before,
.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.frustration-card::before {
    background: linear-gradient(90deg, #ff6b6b, #ffa502);
}

.data-control-card:hover,
.compliance-card:hover,
.philosophy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(40, 167, 69, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.frustration-card:hover {
    border-color: rgba(255, 107, 107, 0.3);
}

.data-control-card:hover::before,
.compliance-card:hover::before,
.philosophy-card:hover::before,
.frustration-card:hover::before {
    opacity: 1;
}

/* Control Icons */
.control-icon,
.compliance-icon,
.philosophy-icon,
.frustration-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(32, 201, 151, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: #28a745;
    transition: all 0.3s ease;
}

.frustration-icon {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 165, 2, 0.1) 100%);
    color: #ff6b6b;
}

.data-control-card:hover .control-icon,
.compliance-card:hover .compliance-icon,
.philosophy-card:hover .philosophy-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    transform: scale(1.1);
}

.frustration-card:hover .frustration-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa502 100%);
    color: white;
    transform: scale(1.1);
}

.control-title,
.compliance-title,
.philosophy-title,
.frustration-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.control-description,
.compliance-description,
.philosophy-text,
.frustration-text {
    color: #a0a0a0;
    line-height: 1.8;
}

.control-actions {
    margin-top: auto;
}

.control-link {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.control-link:hover {
    color: #20c997;
    gap: 0.75rem;
}

/* ==========================================================================
   Data Tables
   ========================================================================== */
.data-table-wrapper,
.sla-table-wrapper {
    background: linear-gradient(145deg, #1c1c1c 0%, #252525 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
}

.data-table,
.sla-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.sla-table th {
    text-align: left;
    padding: 1rem;
    color: #28a745;
    font-weight: 600;
    border-bottom: 2px solid rgba(40, 167, 69, 0.3);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sla-table th {
    color: var(--accent-primary);
    border-bottom-color: rgba(233, 84, 32, 0.3);
}

.data-table td,
.sla-table td {
    padding: 1rem;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.data-table tr:hover td,
.sla-table tr:hover td {
    background: rgba(40, 167, 69, 0.05);
}

.sla-table tr:hover td {
    background: rgba(233, 84, 32, 0.05);
}

/* Data Type Badges */
.data-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-required {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.badge-optional {
    background: rgba(233, 84, 32, 0.2);
    color: #3B82F6;
}

.badge-never {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Plan Badges */
.plan-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-badge.solo {
    background: rgba(108, 117, 125, 0.2);
    color: #adb5bd;
}

.plan-badge.pro {
    background: rgba(233, 84, 32, 0.2);
    color: #3B82F6;
}

.plan-badge.enterprise {
    background: rgba(111, 66, 193, 0.2);
    color: #6f42c1;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    text-align: left;
}

.faq-question:hover {
    background: rgba(233, 84, 32, 0.05);
}

.faq-question:focus {
    outline: none;
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: -2px;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

.faq-question i {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

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

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: #a0a0a0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================================================
   Sub-processors Section
   ========================================================================== */
.subprocessor-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.subprocessor-item:hover {
    background: rgba(40, 167, 69, 0.05);
    border-color: rgba(40, 167, 69, 0.2);
}

.subprocessor-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.subprocessor-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.subprocessor-info p {
    color: #a0a0a0;
    margin: 0;
    font-size: 0.95rem;
}

.subprocessor-location {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

.subprocessor-location .flag {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.subprocessor-location .country {
    font-size: 0.85rem;
    color: #a0a0a0;
}

/* ==========================================================================
   Control Lists
   ========================================================================== */
.control-category {
    margin-bottom: 3rem;
}

.control-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.control-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.control-list li:hover {
    background: rgba(40, 167, 69, 0.05);
    border-color: rgba(40, 167, 69, 0.2);
}

.control-list li i {
    color: #28a745;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.control-list li span {
    color: #e0e0e0;
    line-height: 1.6;
}

/* ==========================================================================
   CTA Sections
   ========================================================================== */
.cta-section {
    padding: 5rem 0;
    background: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title,
.contact-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-subtitle,
.contact-cta-text {
    font-size: 1.15rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons,
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.cta-note i {
    margin-right: 0.25rem;
}

/* Contact CTA */
.contact-cta {
    padding: 5rem 0;
    background: transparent;
    text-align: center;
}

/* ==========================================================================
   CTA Buttons
   ========================================================================== */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-light) 100%);
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-cta-primary.orange {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-purple-light) 100%);
    box-shadow: 0 4px 20px rgba(233, 84, 32, 0.3);
}

.btn-cta-primary.orange:hover {
    box-shadow: 0 8px 30px rgba(233, 84, 32, 0.4);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Hero Buttons (Landing page style) */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff8855 100%);
    border: none;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(3px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Legal Content (Terms, Privacy, SLA)
   ========================================================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(233, 84, 32, 0.3);
}

.legal-section-title i {
    color: var(--accent-primary);
    margin-right: 0.75rem;
}

.legal-section-title.purple i {
    color: #6f42c1;
}

.legal-section-title.purple {
    border-bottom-color: rgba(111, 66, 193, 0.3);
}

.legal-text {
    color: #c0c0c0;
    line-height: 1.8;
    font-size: 1rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.75rem;
}

.legal-text strong {
    color: #ffffff;
}

.legal-text a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-text a:hover {
    color: var(--accent-purple-light);
    text-decoration: underline;
}

/* Table of Contents */
.toc-wrapper {
    background: linear-gradient(145deg, #1c1c1c 0%, #252525 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
}

.toc-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    gap: 1rem;
}

.toc-list li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.toc-list a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.toc-list a:hover {
    color: var(--accent-primary);
    padding-left: 0.5rem;
}

.toc-list a i {
    color: var(--accent-primary);
    font-size: 0.75rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(145deg, rgba(233, 84, 32, 0.1) 0%, rgba(247, 127, 95, 0.05) 100%);
    border: 1px solid rgba(233, 84, 32, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box.purple {
    background: linear-gradient(145deg, rgba(111, 66, 193, 0.1) 0%, rgba(155, 109, 255, 0.05) 100%);
    border-color: rgba(111, 66, 193, 0.3);
}

.highlight-box.warning {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

.highlight-box h4 {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.highlight-box.purple h4 {
    color: #6f42c1;
}

.highlight-box.warning h4 {
    color: #ffc107;
}

.highlight-box p {
    color: #c0c0c0;
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   SLA Cards
   ========================================================================== */
.sla-card {
    background: linear-gradient(145deg, #1c1c1c 0%, #252525 100%);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.sla-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-purple-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sla-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 84, 32, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

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

.sla-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(233, 84, 32, 0.2) 0%, rgba(247, 127, 95, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.sla-card:hover .sla-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-purple-light) 100%);
    color: white;
    transform: scale(1.1);
}

.sla-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.sla-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.sla-description {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #080810;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5), transparent);
}

/* CTA Section */
.footer-cta {
    padding: 3.5rem 0;
    position: relative;
}

.footer-cta-inner {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    overflow: hidden;
}

.footer-cta-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.footer-cta-text {
    color: #94a3b8;
    font-size: 1rem;
    margin: 0;
}

.footer-cta-btn {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

.footer-cta-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
}

.footer-cta-btn-outline {
    color: #94a3b8;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
}

.footer-cta-btn-outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

/* Main Footer */
.footer-main {
    padding: 3.5rem 0 3rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.footer-logo:hover .footer-logo-text {
    color: #3B82F6;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon img {
    border-radius: 8px;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.2s ease;
}

.footer-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-link:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3B82F6;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-heading {
    color: #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    border-radius: 2px;
}

.footer-heading-sub {
    margin-top: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
    color: #64748b;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e5e7eb;
    transform: translateX(3px);
}

.footer-links a:hover i {
    color: #3B82F6;
}

/* Trust Badges */
.footer-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.footer-trust-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.15);
}

.footer-trust-badge i {
    font-size: 1rem;
    color: #10b981;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.footer-trust-badge div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-trust-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #d1d5db;
}

.footer-trust-value {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.82rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #e5e7eb;
}

.footer-bottom-sep {
    color: #64748b;
    font-size: 0.7rem;
}

@media (max-width: 991.98px) {
    .footer-cta {
        padding: 2.5rem 0;
    }

    .footer-cta-inner {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .footer-cta-title {
        font-size: 1.3rem;
    }

    .footer-main {
        padding: 2.5rem 0 2rem;
    }

    .footer-brand {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .footer-bottom-inner {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .footer-cta-btn,
    .footer-cta-btn-outline {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .footer-cta-btn {
        margin-right: 0 !important;
    }

    .footer-heading-sub {
        margin-top: 1.25rem;
    }

    .footer-trust-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-trust-badge {
        flex: 1;
        min-width: 120px;
    }
}

/* ==========================================================================
   Notifications, Toasts, and Feature Gates
   ========================================================================== */
#notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 350px;
    z-index: 10000;
}

#cta-container {
    position: fixed;
    top: 76px;
    right: 20px;
    max-width: 350px;
    z-index: 10000;
}

.alert-slide-in {
    animation: slideInNotification 0.5s forwards;
}

@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-slide-out {
    animation: slideOutNotification 0.5s forwards;
}

@keyframes slideOutNotification {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.alert-notification {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
}

.feature-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    position: relative;
    user-select: none;
}

.feature-disabled:hover {
    opacity: 0.5;
    text-decoration: none !important;
}

.feature-disabled:focus {
    outline: none;
    box-shadow: none;
}

.feature-lock-icon {
    margin-left: 0.25rem;
}

#pg-global-toast-container {
    position: fixed;
    top: 72px;
    right: 20px;
    z-index: 99999;
    pointer-events: none;
}

.pg-toast {
    pointer-events: auto;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 440px;
    color: #e4e4e4;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    animation: pgToastIn 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pg-toast.pg-toast-out {
    animation: pgToastOut 0.3s ease forwards;
}

.pg-toast.success { border-left: 4px solid #10b981; }
.pg-toast.success i { color: #10b981; }
.pg-toast.error { border-left: 4px solid #ef4444; }
.pg-toast.error i { color: #ef4444; }
.pg-toast.warning { border-left: 4px solid #f59e0b; }
.pg-toast.warning i { color: #f59e0b; }
.pg-toast.info { border-left: 4px solid #3b82f6; }
.pg-toast.info i { color: #3b82f6; }

.pg-toast i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pg-toast span {
    flex: 1;
    word-break: break-word;
}

.pg-toast-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}

.pg-toast-close:hover {
    color: #e4e4e4;
}

@keyframes pgToastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pgToastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.feature-gate-toast {
    background-color: #1a1a2e !important;
    border: 1px solid #333355 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.feature-gate-toast-header {
    background-color: #b8860b !important;
    color: #000 !important;
    border-bottom: 1px solid #333355 !important;
}

.feature-gate-toast-header .btn-close {
    filter: invert(1);
}

.feature-gate-toast-body {
    background-color: #1a1a2e !important;
    color: #e0e0e0 !important;
}

.feature-gate-toast-body .border-top {
    border-color: #333355 !important;
}

/* ==========================================================================
   Marketing Components (Feature Cards, Benefits, Compare, etc.)
   ========================================================================== */

/* Primary CTA Button */
.btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
    color: white;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(145deg, #1c1c1c 0%, #252525 100%);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

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

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(247, 127, 95, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #8B5CF6;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: white;
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card-description {
    color: #a0a0a0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-card-link {
    color: #3B82F6;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.feature-card-link:hover {
    color: #8B5CF6;
    gap: 0.75rem;
}

/* Benefit Cards */
.benefit-card {
    background: linear-gradient(145deg, #1c1c1c 0%, #252525 100%);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.benefit-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-text {
    color: #a0a0a0;
    line-height: 1.7;
}

/* Compare Cards */
.compare-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.compare-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.compare-card-icon {
    font-size: 2.5rem;
    color: #8B5CF6;
    margin-bottom: 1rem;
}

.compare-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.compare-card-text {
    font-size: 0.95rem;
    color: #a0a0a0;
    margin-bottom: 1rem;
}

/* Stats Section */
.stat-item {
    text-align: center;
}

/* Value Props */
.value-prop-item {
    text-align: center;
    padding: 1rem;
}

.value-prop-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: #000;
}

.value-prop-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.value-prop-text {
    font-size: 0.9rem;
    color: #888;
}

/* Hero Badges */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #8B5CF6;
}

.hero-badge i {
    font-size: 1rem;
}

/* Differentiator Cards */
.diff-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.diff-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: #000;
}

.diff-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.diff-text {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.diff-buyer {
    display: inline-block;
    background: rgba(247, 127, 95, 0.1);
    border: 1px solid rgba(247, 127, 95, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #8B5CF6;
    font-weight: 500;
}

/* Tech Cards */
.tech-card {
    background: linear-gradient(145deg, #1c1c1c 0%, #252525 100%);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(247, 127, 95, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #8B5CF6;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: white;
}

.tech-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.tech-description {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature Link */
.feature-link {
    color: #3B82F6;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #8B5CF6;
    gap: 0.75rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .toc-list {
        columns: 1;
    }
    
    .subprocessor-item {
        flex-direction: column;
        text-align: center;
    }
    
    .subprocessor-location {
        margin-left: 0;
        text-align: center;
    }
    
    .cta-title,
    .contact-cta-title {
        font-size: 1.75rem;
    }
    
    .sla-value {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .card-base:hover,
    .data-control-card:hover,
    .compliance-card:hover,
    .philosophy-card:hover,
    .frustration-card:hover,
    .sla-card:hover,
    .btn-hero-primary:hover,
    .btn-hero-secondary:hover,
    .btn-cta-primary:hover,
    .btn-cta-secondary:hover,
    .feature-card:hover,
    .benefit-card:hover,
    .tech-card:hover,
    .btn-cta:hover {
        transform: none;
    }

    .feature-card,
    .benefit-card,
    .compare-card,
    .tech-card,
    .btn-cta,
    .feature-link,
    .feature-card-link {
        transition: none;
    }
    
    .faq-item .faq-answer {
        transition: none;
    }
    
    .control-icon,
    .compliance-icon,
    .philosophy-icon,
    .frustration-icon,
    .sla-icon {
        transition: none;
    }

    .pg-sidebar-links {
        transition: none;
    }

    .pg-sidebar-chevron {
        transition: none;
    }
}

/* ==========================================================================
   Common Header Template Styles
   ========================================================================== */
body {
    padding-top: 64px;
    background-color: #121212;
    color: #e4e4e4;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-style: normal;
}

blockquote, em {
    font-family: 'Merriweather', serif;
    font-weight: 400;
}

/* Modern Navbar */
.navbar-main {
    background: rgba(10, 10, 12, 0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    padding: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-main > .container,
.navbar-main > .container-fluid {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-main.scrolled {
    background: rgba(10, 10, 12, 0.96);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.03);
}

.navbar-main.scrolled > .container,
.navbar-main.scrolled > .container-fluid {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.navbar-brand {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.25s ease;
    letter-spacing: -0.01em;
}

.navbar-brand:hover {
    color: #fff !important;
    transform: scale(1.015);
}

.navbar-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover .navbar-brand-icon {
    transform: rotate(-4deg) scale(1.05);
}

/* Nav Link with Animated Indicator */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    letter-spacing: 0.005em;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #fff !important;
}

.navbar-nav .nav-link:hover::before {
    width: 50%;
    left: 25%;
}

.navbar-nav .nav-link.active {
    color: #3B82F6 !important;
}

.navbar-nav .nav-link.active::before {
    width: 50%;
    left: 25%;
}

/* Dropdown caret animation */
.navbar-nav .dropdown-toggle::after {
    transition: transform 0.25s ease;
}

.navbar-nav .show > .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Panel */
.navbar-nav .dropdown-menu {
    background: rgba(20, 20, 24, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    padding: 0.5rem;
    margin-top: 0.65rem !important;
    min-width: 240px;
    animation: dropdownReveal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top center;
}

@keyframes dropdownReveal {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.78);
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.15s ease;
    font-weight: 450;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.dropdown-item i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.dropdown-item:hover i {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0.35rem 0.5rem;
}

.dropdown-header {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.85rem 0.2rem;
}

/* User Avatar */
.nav-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    margin-right: 0.5rem;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    box-shadow: 0 0 0 2px rgba(10, 10, 12, 1), 0 0 0 3.5px rgba(99, 102, 241, 0.3);
}

.nav-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-user-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nav-user-dropdown-toggle {
    padding: 0;
}

/* CTA Button */
.btn-nav-cta {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #8B5CF6 100%);
    background-size: 200% 200%;
    color: #fff !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.25);
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    animation: ctaGlow 4s ease infinite;
}

.btn-nav-cta::before {
    display: none !important;
}

@keyframes ctaGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-nav-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Sign In Button */
.btn-nav-signin {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    padding: 0.45rem 1.1rem !important;
    transition: all 0.2s ease;
}

.btn-nav-signin:hover {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.04);
}

.btn-nav-signin::before {
    display: none !important;
}

/* Notification Badge */
.nav-notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid rgba(10, 10, 12, 1);
    animation: notifPulse 2s ease infinite;
}

@keyframes notifPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
}

/* Hamburger Toggle */
.navbar-toggler {
    border: none !important;
    padding: 0.5rem;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: none !important;
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar-toggler-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background-color: #343a40;
    color: #fff;
    border: 1px solid #444;
    height: calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2));
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--bs-border-radius, 0.375rem);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 20px;
    line-height: 1.5;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 0.5rem;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 0.25rem;
}

.form-select-sm + .select2-container .select2-selection--single,
.form-select-sm + .select2-container .select2-selection--multiple {
    height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2));
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.form-select-sm + .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
}

.select2-dropdown {
    background-color: #343a40;
    border: 1px solid #444;
    z-index: 1060;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #adb5bd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b,
.select2-container--default .select2-selection--multiple .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #495057;
    color: #fff;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #444;
    background-color: #343a40;
    color: #fff;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #6c757d;
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 117, 125, 0.25);
}

.select2-results__message {
    color: #adb5bd;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.select2-results__options::-webkit-scrollbar {
    width: 5px;
}

.select2-results__options::-webkit-scrollbar-track {
    background: #343a40;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: #495057;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}

.select2-selection__choice {
    background: #343a40 !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #6c757d;
    box-shadow: 0 0 0 2px rgba(108, 117, 125, 0.25);
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--multiple:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 2px rgba(108, 117, 125, 0.25);
    outline: none;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #6c757d;
    box-shadow: 0 0 0 2px rgba(108, 117, 125, 0.25);
    outline: none;
}

.modal .select2-container {
    z-index: 1056;
}

table {
    width: 100% !important;
}

.dt-layout-row {
    padding: 10px;
}

.bg-dark {
    background-color: #232323 !important;
}

.datatable {
    background-color: #2D2D2D;
    color: #E4E4E4;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.datatable th,
.datatable td {
    padding: 12px 20px;
    text-align: left;
}

.datatable thead {
    background-color: #1B1B1B;
}

.datatable th {
    font-weight: bold;
    border-bottom: 2px solid #444;
}

.datatable tbody tr:nth-child(odd) {
    background-color: #323232;
}

.datatable tbody tr:hover {
    background-color: #1E70A1;
}

.datatable a {
    color: #4A9CD3;
    text-decoration: none;
}

.datatable a:hover {
    text-decoration: underline;
}

.datatable button {
    background-color: #4A9CD3;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.datatable button:hover {
    background-color: #357CA5;
}

.dropdown-section {
    flex: 1;
    min-width: 150px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.form-control {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #495057;
}

.form-control:focus {
    background-color: #3e444a;
    color: #f8f9fa;
    border-color: #ced4da;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #6c757d;
    color: #e9ecef;
    border-color: #6c757d;
}

/* Main content wrapper */
.main-content {
    flex: 1;
}

/* Mobile navbar adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(18, 18, 22, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    }

    .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-nav .nav-link {
        padding: 0.6rem 0.75rem !important;
    }

    .navbar-nav .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 0.5rem;
        margin-top: 0 !important;
        animation: none;
    }

    .nav-user-section {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 0.75rem;
        margin-top: 0.75rem;
    }

    .btn-nav-cta {
        text-align: center;
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .btn-nav-signin {
        text-align: center;
        display: block;
        width: 100%;
    }
}

/* Authenticated Top Bar */
.pg-topbar {
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    height: 64px;
    padding: 0 1rem;
    z-index: 1040;
}

.pg-sidebar-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    padding: 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.pg-sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.pg-topbar-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pg-topbar-icon:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Sidebar */
.pg-sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    width: 250px;
    background: #0c0c10;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1035;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: thin;
    scrollbar-color: #222 transparent;
}

.pg-sidebar::-webkit-scrollbar { width: 4px; }
.pg-sidebar::-webkit-scrollbar-track { background: transparent; }
.pg-sidebar::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

.pg-sidebar-nav { padding: 0.5rem 0; }

.pg-sidebar-section {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pg-sidebar-section:last-child { border-bottom: none; }

.pg-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.7rem 1.25rem 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.2s ease;
}

.pg-sidebar-heading:hover { color: rgba(255, 255, 255, 0.65); }
.pg-sidebar-heading:focus { outline: none; }
.pg-sidebar-heading:focus-visible { outline: 2px solid rgba(59, 130, 246, 0.5); outline-offset: -2px; border-radius: 4px; }

.pg-sidebar-chevron {
    font-size: 0.55rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    opacity: 0.6;
}

.pg-section-collapsed .pg-sidebar-chevron { transform: rotate(-90deg); }

.pg-sidebar-links {
    overflow: hidden;
    max-height: 500px;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    opacity: 1;
    padding-bottom: 0.35rem;
}

.pg-section-collapsed .pg-sidebar-links {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

.pg-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.42rem 1.25rem;
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 450;
    transition: all 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 6px;
    margin: 1px 0.5rem;
}

.pg-sidebar-link i {
    width: 18px;
    text-align: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: color 0.15s ease;
    opacity: 0.75;
}

.pg-sidebar-link span { transition: opacity 0.2s ease; }

.pg-sidebar-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.pg-sidebar-link:hover i { color: #60A5FA; opacity: 1; }

.pg-sidebar-link.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.12);
    border-left: none;
    box-shadow: inset 3px 0 0 #3B82F6;
}

.pg-sidebar-link.active i { color: #3B82F6; opacity: 1; }

.pg-sidebar-link.pg-superadmin-link { color: #f5576c; }
.pg-sidebar-link.pg-superadmin-link:hover { background: rgba(245, 87, 108, 0.08); }
.pg-sidebar-link.pg-superadmin-link i { color: #f5576c; opacity: 1; }

.pg-sidebar-overlay {
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1034;
    display: none;
}

/* Sidebar collapsed state */
body.sidebar-collapsed .pg-sidebar { width: 68px; }
body.sidebar-collapsed .pg-sidebar-heading { opacity: 0; height: 0; padding: 0; margin: 0; overflow: hidden; }
body.sidebar-collapsed .pg-sidebar-links { max-height: 500px !important; opacity: 1 !important; padding-bottom: 0.25rem; }
body.sidebar-collapsed .pg-sidebar-section { border-bottom: none; }
body.sidebar-collapsed .pg-sidebar-link span { opacity: 0; width: 0; }
body.sidebar-collapsed .pg-sidebar-link { justify-content: center; padding: 0.6rem 0; margin: 1px 0; border-radius: 0; }
body.sidebar-collapsed .pg-sidebar-link i { width: 100%; font-size: 1rem; }
body.sidebar-collapsed .pg-sidebar-link.active { box-shadow: inset 3px 0 0 #3B82F6; }

/* Content with sidebar */
body.has-sidebar .main-content,
body.has-sidebar .site-footer {
    margin-left: 250px;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.has-sidebar.sidebar-collapsed .main-content,
body.has-sidebar.sidebar-collapsed .site-footer {
    margin-left: 68px;
}

/* Banners with sidebar */
body.has-sidebar #impersonation-banner { margin-left: 250px; transition: margin-left 0.3s ease; }
body.has-sidebar.sidebar-collapsed #impersonation-banner { margin-left: 68px; }
body.has-sidebar .trial-banner { left: 250px; transition: left 0.3s ease; }
body.has-sidebar.sidebar-collapsed .trial-banner { left: 68px; }
body.has-sidebar.has-trial-banner .pg-sidebar { top: 102px; }

/* Mobile sidebar */
@media (max-width: 991.98px) {
    .pg-sidebar {
        transform: translateX(-100%);
        width: 250px !important;
        box-shadow: none;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body.sidebar-mobile-open .pg-sidebar {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    }

    body.sidebar-mobile-open .pg-sidebar-overlay { display: block; }

    body.has-sidebar .main-content,
    body.has-sidebar .site-footer,
    body.has-sidebar.sidebar-collapsed .main-content,
    body.has-sidebar.sidebar-collapsed .site-footer {
        margin-left: 0;
    }

    body.has-sidebar #impersonation-banner,
    body.has-sidebar.sidebar-collapsed #impersonation-banner { margin-left: 0; }
    body.has-sidebar .trial-banner,
    body.has-sidebar.sidebar-collapsed .trial-banner { left: 0; }
}

/* Impersonation Banner */
#impersonation-banner {
    display: none;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    padding: 8px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 1040;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.impersonation-stop-btn {
    font-weight: 600;
    border-radius: 6px;
}

/* Trial Banner */
.trial-banner {
    display: none;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.trial-banner.trial-expired {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

.trial-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trial-banner .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.trial-banner .btn-close:hover {
    opacity: 1;
}

/* Adjust body padding when trial banner is visible */
body.has-trial-banner {
    padding-top: 102px;
}
