/* Pressonify Design System v2.0
   Newspaper-inspired aesthetic with NO ROUNDED CORNERS
   Sharp edges, heavy typography, sophisticated interactions
*/

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */

:root {
    /* Core Colors */
    --black: #0a0a0a;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #525252;
    --gray-500: #737373;
    --gray-400: #a3a3a3;
    --gray-300: #d4d4d4;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --gray-50: #fafafa;
    --white: #ffffff;

    /* Accent Colors */
    --accent-primary: #dc2626;
    --accent-red: #dc2626;
    --accent-green: #15803d;
    --accent-amber: #d97706;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --letter-spacing-tight: -0.03em;
    --letter-spacing-normal: -0.011em;
    --letter-spacing-wide: 0.05em;
    --letter-spacing-wider: 0.1em;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
    --transition-bounce: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CRITICAL: NO ROUNDED CORNERS - Newspaper style */
*, *::before, *::after {
    border-radius: 0 !important;
}

body {
    background: var(--white);
    color: var(--black);
    letter-spacing: var(--letter-spacing-normal);
    line-height: 1.6;
    font-size: 16px;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: var(--letter-spacing-tight);
    line-height: 1.1;
    color: var(--black);
}

h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.text-small {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

/* ============================================
   3. LAYOUT & CONTAINERS
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   4. NAVIGATION
   ============================================ */

nav.primary-nav {
    background: var(--white);
    border-bottom: 2px solid var(--black);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    color: var(--black);
    display: inline-block;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 2rem;
}

.logo:hover {
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

/* Override for button links in nav */
.nav-links a.btn,
.nav-links a.btn:hover,
.nav-links a.btn:visited,
.nav-links a.btn:active {
    color: var(--white) !important;
    background: var(--black) !important;
    text-decoration: none !important;
}

.nav-links a:not(.btn):hover {
    color: var(--black);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* ============================================
   5. BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    box-shadow: 0 2px 0 var(--gray-800);
}

.btn-primary:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 4px 0 var(--gray-800);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 0 var(--gray-800);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--black);
    border: 2px solid transparent;
    padding: 0.5rem 1rem;
}

.btn-ghost:hover {
    border-color: var(--black);
    background: var(--gray-50);
}

/* ============================================
   6. CARDS & PANELS
   ============================================ */

.card {
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    background: var(--white);
    transition: var(--transition-bounce);
    position: relative;
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gray-300);
    transition: var(--transition-normal);
}

.card:hover {
    border-color: var(--black);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    background: var(--accent-primary);
    width: 6px;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gray-700);
    transition: background var(--transition-normal);
}

.card:hover .card-category {
    background: var(--accent-primary);
}

/* ============================================
   7. SECTION HEADERS
   ============================================ */

.section-header {
    border-top: 4px solid var(--black);
    border-bottom: 1px solid var(--gray-300);
    padding: 0.75rem 0;
    margin-bottom: 3rem;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-tight);
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
}

/* ============================================
   8. BADGES & INDICATORS
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--gray-700);
    transition: var(--transition-bounce);
}

.badge:hover {
    background: var(--gray-50);
    border-color: var(--accent-green);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

.badge-success {
    border-color: var(--accent-green);
    background: rgba(21, 128, 61, 0.1);
    color: var(--accent-green);
}

.badge-info {
    border-color: var(--accent-primary);
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-primary);
}

.badge-warning {
    border-color: var(--accent-amber);
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-amber);
}

/* ============================================
   9. FORMS & INPUTS
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: var(--gray-500);
}

/* ============================================
   10. TABLES
   ============================================ */

.table-container {
    background: var(--white);
    border: 2px solid var(--gray-300);
    overflow: hidden;
}

.table-header {
    background: var(--gray-900);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    font-size: 0.875rem;
}

.table-row {
    display: grid;
    border-bottom: 1px solid var(--gray-200);
    transition: background var(--transition-fast);
}

.table-row:hover {
    background: var(--gray-50);
}

.table-cell {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   11. ANIMATIONS & EFFECTS
   ============================================ */

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Pulse */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Typing Cursor */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typing-cursor::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    color: var(--accent-primary);
    font-weight: 300;
}

/* Loading Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--accent-primary);
    animation: spin 0.6s linear infinite;
}

/* ============================================
   12. UTILITY CLASSES
   ============================================ */

/* Spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 2rem; }
.pt-6 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 2rem; }
.pb-6 { padding-bottom: 3rem; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Screen Reader Only (Accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Flexbox */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Backgrounds */
.bg-white { background: var(--white); }
.bg-gray-50 { background: var(--gray-50); }
.bg-gray-100 { background: var(--gray-100); }
.bg-black { background: var(--black); }
.bg-gray-900 { background: var(--gray-900); }

/* Borders */
.border { border: 1px solid var(--gray-300); }
.border-2 { border: 2px solid var(--gray-300); }
.border-black { border-color: var(--black); }
.border-top { border-top: 1px solid var(--gray-300); }
.border-bottom { border-bottom: 1px solid var(--gray-300); }
.border-left-accent {
    border-left: 4px solid var(--accent-primary);
}

/* Colors */
.text-black { color: var(--black); }
.text-white { color: var(--white); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-accent-primary { color: var(--accent-primary); }
.text-accent-green { color: var(--accent-green); }

/* ============================================
   13. RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.813rem;
    }

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

/* ============================================
   14. PRINT STYLES
   ============================================ */

@media print {
    nav,
    .btn,
    .no-print {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: none;
        color: var(--black);
    }
}
/* ============================================
   15. HOW IT WORKS & PRICING PAGES
   ============================================ */

/* Clean Hero Styles */
.hero-clean {
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
    border-bottom: 2px solid var(--black);
    padding: 5rem 0;
    position: relative;
}

.hero-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray-300), transparent);
}

.hero-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--gray-500);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-label::after {
    content: '';
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: var(--gray-300);
}

.hero-title-clean {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: var(--letter-spacing-tight);
}

.hero-subtitle-clean {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.6;
    max-width: 600px;
}

/* Process Timeline */
.process-timeline {
    max-width: 800px;
    margin: 3rem auto;
}

.process-step-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step-card.last {
    margin-bottom: 0;
}

.step-indicator {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--white);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    border: 3px solid var(--black);
    transition: all var(--transition-normal);
    z-index: 2;
}

.process-step-card:hover .step-number {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: scale(1.1);
}

.step-line {
    width: 2px;
    flex: 1;
    background: var(--gray-300);
    margin-top: 1rem;
}

.step-content {
    flex: 1;
    padding: 0.5rem 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-features {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-features li {
    font-size: 0.875rem;
    color: var(--gray-500);
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    border-left: 2px solid var(--accent-green);
}

/* Agent Mini Grid */
.agent-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.agent-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
}

.agent-mini:hover {
    background: var(--white);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.agent-icon-small {
    font-size: 1.5rem;
}

/* Agents Detailed Grid */
.agents-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.agent-detail-card {
    border: 1px solid var(--gray-200);
    padding: 2rem;
    background: var(--white);
    transition: all var(--transition-bounce);
}

.agent-detail-card:hover {
    border-color: var(--black);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.agent-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.agent-icon-large {
    font-size: 3rem;
}

.agent-header h3 {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.agent-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.agent-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.capability-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-left: 2px solid var(--accent-primary);
    font-weight: 600;
}

/* Technical Grid */
.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.technical-card {
    border: 1px solid var(--gray-200);
    padding: 2rem;
    background: var(--white);
}

.technical-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--black);
}

.technical-list {
    list-style: none;
}

.technical-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.technical-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

/* Pricing Cards Modern */
.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card-modern {
    border: 2px solid var(--gray-300);
    background: var(--white);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-bounce);
    position: relative;
}

.pricing-card-modern:hover {
    border-color: var(--black);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-modern.featured {
    border-width: 3px;
    border-color: var(--accent-primary);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--white);
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.pricing-header {
    padding: 2.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--gray-500);
    display: block;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--black);
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
    display: block;
}

.pricing-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features-list {
    list-style: none;
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: 0.875rem;
}

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

.pricing-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    font-size: 0.813rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* Comparison Table Modern */
.comparison-table-modern {
    margin: 3rem 0;
    border: 2px solid var(--black);
    overflow-x: auto;
}

.comparison-table-modern table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table-modern thead {
    background: var(--gray-900);
    color: var(--white);
}

.comparison-table-modern th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    font-size: 0.875rem;
}

.comparison-table-modern th.highlight {
    background: var(--accent-primary);
}

.comparison-table-modern td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table-modern tr:last-child td {
    border-bottom: none;
}

.comparison-table-modern td.positive {
    color: var(--accent-green);
    font-weight: 700;
}

.comparison-table-modern td.negative {
    color: var(--gray-500);
}

.comparison-table-modern td.neutral {
    color: var(--gray-700);
}

/* ============================================
   Pricing Page Enhancements
   ============================================ */

/* Enhanced Featured Pricing Card */
.pricing-card-modern.featured {
    border-color: var(--accent-green);
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(21, 128, 61, 0.15);
    z-index: 1;
    position: relative;
}

.pricing-card-modern.featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 16px 48px rgba(21, 128, 61, 0.2);
}

/* Green Premium Badge */
.pricing-card-modern.featured .pricing-badge {
    background: var(--accent-green);
}

/* Green Success Button */
.btn-success-block {
    background: var(--accent-green);
    color: white;
    border: 2px solid var(--accent-green);
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-success-block:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

/* Improved Disabled Features - Better contrast */
.feature-disabled {
    color: #737373; /* WCAG AA compliant */
    text-decoration: line-through;
}

/* Premium Features with Star */
.feature-premium {
    color: var(--accent-green);
    font-weight: 600;
}

.feature-premium::before {
    content: '\2605 ';
}

/* Trust Signals Row */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-200);
}

.trust-signal-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: var(--gray-600);
}

.trust-signal-check {
    color: var(--accent-green);
    font-weight: 700;
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Included Grid */
.included-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .included-grid {
        grid-template-columns: 1fr;
    }
}

.included-category {
    border: 1px solid var(--gray-200);
    padding: 2rem;
    background: var(--white);
}

.included-category h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

/* Numbered Category Headers (Citation Economy) */
.numbered-category {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--black);
}

/* Citation ROI Comparison Callout */
.citation-roi-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    margin: 2rem 0;
    background: var(--white);
    border: 2px solid var(--black);
}

.citation-roi-callout .roi-stat {
    text-align: center;
}

.citation-roi-callout .stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--black);
    line-height: 1;
}

.citation-roi-callout .roi-stat:first-child .stat-value {
    color: var(--accent-green);
}

.citation-roi-callout .stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    margin-top: 0.5rem;
    max-width: 180px;
}

.citation-roi-callout .roi-vs {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    padding: 0 1rem;
}

@media (max-width: 640px) {
    .citation-roi-callout {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .citation-roi-callout .stat-value {
        font-size: 2rem;
    }

    .citation-roi-callout .roi-vs {
        padding: 0;
    }
}

.clean-list-compact {
    list-style: none;
}

.clean-list-compact li {
    padding: 0.5rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.clean-list-compact li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gray-400);
}

/* FAQ List */
.faq-list {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: var(--white);
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--black);
    transform: translateX(4px);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Section Styles */
.section-white {
    background: var(--white);
    padding: 4rem 0;
}

.section-gray {
    background: var(--gray-50);
    padding: 4rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    line-height: 1.6;
}

/* CTA Dark */
.cta-dark {
    background: linear-gradient(135deg, var(--gray-900), var(--black));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.02) 49%, rgba(255,255,255,0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.02) 49%, rgba(255,255,255,0.02) 51%, transparent 52%);
    background-size: 60px 60px;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.btn-white-large {
    background: var(--white);
    color: var(--black);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    border: 2px solid var(--white);
    display: inline-block;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.btn-white-large:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary-block,
.btn-outline-block {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 0.875rem;
}

.btn-primary-block {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.btn-primary-block:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-block {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--gray-300);
}

.btn-outline-block:hover {
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-step-card {
        flex-direction: column;
        gap: 1rem;
    }

    .step-line {
        display: none;
    }

    .agent-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .comparison-table-modern {
        font-size: 0.813rem;
    }

    .comparison-table-modern th,
    .comparison-table-modern td {
        padding: 0.75rem 0.5rem;
    }
}

/* ============================================
   ENHANCED FOOTER STYLES
   ============================================ */

/* Footer - Enhanced */
footer {
    background: var(--gray-900);
    border-top: 4px solid var(--black);
    padding: 4rem 0 2rem;
    color: var(--gray-300);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-700);
}

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

.footer-brand .logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-grid {
    display: contents;
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--accent-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-column a::before {
    content: '→';
    position: absolute;
    left: -1rem;
    opacity: 0;
    transition: all 0.2s ease;
    color: var(--accent-primary);
}

.footer-column a:hover::before {
    opacity: 1;
    left: -1.25rem;
}

.footer-newsletter {
    max-width: 280px;
}

.footer-newsletter h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.footer-newsletter p {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--gray-700);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form button {
    padding: 0.75rem;
    background: var(--accent-green);
    color: var(--white);
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(21, 128, 61, 0.1);
    border: 1px solid rgba(21, 128, 61, 0.3);
    color: var(--accent-green);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.footer-badge::before {
    content: '✓';
    font-weight: 700;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ============================================
   CONVERSION COMPONENTS
   Phase 1: Floating CTA, Exit Popup, Social Proof, Countdown
   ============================================ */

/* 1. FLOATING CTA BAR */
.floating-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--accent-red);
}

.floating-cta-bar.visible {
    transform: translateY(0);
}

.floating-cta-bar .floating-cta-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.floating-cta-bar .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    background: var(--accent-red);
    color: var(--white);
}

.floating-cta-bar .btn:hover {
    background: var(--white);
    color: var(--black);
}

.floating-cta-bar .floating-cta-close {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s;
}

.floating-cta-bar .floating-cta-close:hover {
    color: var(--white);
}

.floating-cta-bar .floating-cta-close:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
    color: var(--white);
}

.floating-cta-bar .btn:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .floating-cta-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .floating-cta-bar .btn {
        width: 100%;
        text-align: center;
    }
}

/* 2. EXIT INTENT POPUP */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.exit-popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.exit-popup {
    background: var(--white);
    max-width: 480px;
    width: 90%;
    padding: 2.5rem;
    position: relative;
    border: 3px solid var(--black);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.exit-popup-overlay.visible .exit-popup {
    transform: scale(1) translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: color 0.2s;
    line-height: 1;
}

.exit-popup-close:hover {
    color: var(--black);
}

.exit-popup-close:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
    color: var(--black);
}

.exit-popup h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.exit-popup-offer {
    font-size: 1rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 1.5rem;
}

.exit-popup-badge {
    display: inline-block;
    background: var(--accent-green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exit-popup-form input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    width: 100%;
}

.exit-popup-form input:focus {
    outline: none;
    border-color: var(--black);
}

.exit-popup-form .btn {
    width: 100%;
    padding: 0.875rem;
    text-align: center;
}

.exit-popup-dismiss {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

.exit-popup-dismiss:hover {
    color: var(--gray-700);
}

.exit-popup-dismiss:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

.exit-popup-form .btn:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

/* 3. SOCIAL PROOF TOAST */
.social-proof-container {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 998;
}

.social-proof-toast {
    background: var(--white);
    border: 2px solid var(--black);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 320px;
    transform: translateX(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-proof-toast.visible {
    transform: translateX(0);
}

.social-proof-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.social-proof-content {
    flex: 1;
}

.social-proof-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.125rem;
}

.social-proof-message {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.social-proof-time {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

.social-proof-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    margin-left: 0.5rem;
}

.social-proof-close:hover {
    color: var(--black);
}

.social-proof-close:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .social-proof-container {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 80px; /* Above floating CTA */
    }

    .social-proof-toast {
        max-width: 100%;
    }
}

/* 4. COUNTDOWN TIMER */
.countdown-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid var(--accent-red);
    padding: 0.375rem 0.875rem;
    margin-top: 1rem;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-red);
}

.countdown-timer {
    display: flex;
    gap: 0.125rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2rem;
}

.countdown-value {
    font-size: 1rem;
    font-weight: 900;
    color: var(--accent-red);
    font-variant-numeric: tabular-nums;
}

.countdown-separator {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-red);
    align-self: center;
}

@media (max-width: 480px) {
    .countdown-wrapper {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   MOBILE TEXT WRAPPING & TOUCH FIXES (GLOBAL)
   ============================================ */

/* Small tablets and large phones (768px and below) */
@media (max-width: 768px) {
    /* Hero sections responsive sizing */
    .hero-clean {
        padding: 3rem 0;
    }

    .hero-title-clean {
        font-size: clamp(2rem, 8vw, 3rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle-clean {
        font-size: 1rem;
    }

    /* Section titles */
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* Pricing cards stack */
    .pricing-comparison {
        flex-direction: column;
    }

    .pricing-card-modern {
        margin-bottom: 1.5rem;
    }

    .pricing-card-modern.featured {
        transform: none;
    }

    /* Button touch targets */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-ghost,
    .btn-primary-block,
    .btn-outline-block {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }

    /* Form inputs */
    .form-input,
    .form-textarea,
    .form-select {
        min-height: 48px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Included grid */
    .included-grid {
        grid-template-columns: 1fr;
    }

    /* ============================================
       BLOG CONTENT TABLES — MOBILE RESPONSIVE
       Scoped to .article-content (blog_post.html) so this
       does NOT affect admin dashboards or other UI tables.
       Pattern: horizontal scroll with shadow/gradient edge
       hints. Cells unwrap so scroll is meaningful. Prefer
       this over card-stack because markdown tables cannot
       emit data-label attrs for stacked labelling.
       ============================================ */
    .article-content table {
        display: block;
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        /* Allow cell text to wrap so tables stay narrow on mobile and the
           sticky first column has fewer characters to anchor against.
           Sticky columns (below) prevent the alignment-loss problem that
           `nowrap` was originally compensating for. */
        white-space: normal;
        /* Scroll-shadow gradient hints on left/right edges */
        background:
            linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
            linear-gradient(to right, rgba(255, 255, 255, 0), white 70%) 0 100%,
            radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0)),
            radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0)) 0 100%;
        background-repeat: no-repeat;
        background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
        background-attachment: local, local, scroll, scroll;
        margin: 1.5rem 0;
        font-size: 0.9375rem;
    }

    /* Un-wrap cell content so horizontal scroll conveys information */
    .article-content table td,
    .article-content table th {
        white-space: normal;
        min-width: 140px;
        padding: 0.5rem 0.75rem;
        vertical-align: top;
    }

    /* Hint line above the table prompting the scroll gesture */
    .article-content table::before {
        /* Note: ::before on a block-level <table> does not render reliably
           across browsers. A wrapping element would be needed for a visible
           hint. We rely on the edge-shadow gradient instead. */
        content: "";
    }

    /* ----- Sticky thead + first column on mobile -----------------------
       Keeps the row label (first cell) visible while the user scrolls
       horizontally and the column headers visible while scrolling
       vertically on tall tables. Solid white backgrounds on the sticky
       cells so they obscure the gradient scroll-affordance backgrounds
       behind them — the gradients still render on the non-sticky region
       so the swipe hint stays intact. */
    .article-content table thead th {
        position: sticky;
        top: 0;
        background: #ffffff;
        z-index: 2;
        box-shadow: 0 1px 0 #e5e5e5;
    }
    .article-content table tbody td:first-child,
    .article-content table thead th:first-child {
        position: sticky;
        left: 0;
        background: #ffffff;
        z-index: 1;
        box-shadow: 1px 0 0 #e5e5e5;
        font-weight: 600;
    }
    /* Top-left corner cell — overlap of two stickies, raise above both */
    .article-content table thead th:first-child {
        z-index: 3;
    }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
    /* Hero sections */
    .hero-clean {
        padding: 2rem 0;
    }

    .hero-title-clean {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
        line-height: 1.1;
    }

    .hero-subtitle-clean {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    /* Pricing */
    .pricing-header {
        padding: 1.5rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .pricing-body {
        padding: 1.5rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.625rem;
    }

    /* Container padding */
    .container,
    .container-narrow,
    .container-wide {
        padding: 0 1rem;
    }

    /* Comparison tables */
    .comparison-table-modern th,
    .comparison-table-modern td {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
}

/* iPhone SE and very small screens (375px and below) */
@media (max-width: 375px) {
    /* Hero */
    .hero-title-clean {
        font-size: 1.5rem;
    }

    .hero-subtitle-clean {
        font-size: 0.875rem;
    }

    .hero-label {
        font-size: 0.625rem;
    }

    /* Sections */
    .section-label {
        font-size: 0.625rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    /* Pricing */
    .pricing-amount {
        font-size: 2rem;
    }

    .pricing-label,
    .pricing-period {
        font-size: 0.75rem;
    }

    .pricing-features-list li {
        font-size: 0.8125rem;
    }

    /* FAQ */
    .faq-question-text {
        font-size: 0.9375rem;
    }

    .faq-answer-content {
        font-size: 0.875rem;
    }
}

/* Ensure all interactive elements have minimum touch targets */
@media (max-width: 768px) {
    button,
    .btn,
    a.btn,
    input[type="submit"],
    input[type="button"],
    [role="button"] {
        min-height: 44px;
    }

    /* Links in navigation-style contexts */
    .clean-list-compact a,
    .footer-links a,
    .footer-bottom-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* ===== Accessibility ===== */
*:focus-visible {
    outline: 2px solid var(--accent-green, #15803d);
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ===== Mobile Touch Target Compliance (WCAG 2.5.8) ===== */
@media (max-width: 768px) {
    footer a,
    .tag-item,
    .sidebar-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .mobile-menu-close,
    .exit-popup-close,
    .social-proof-close,
    [class*="-close"] {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
