.bg-gradient-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.bg-gradient-success {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.bg-gradient-info {
background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%) !important;
}

.bg-gradient-warning {
background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%) !important;
}

/* ==========================================
   HERO TITLE SECTION - Custom Design
   ========================================== */

.hero-title {
    font-family: 'HK Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem !important;
    text-align: center;
    position: relative;
}

.hero-title-line {
    display: block !important;
    position: relative;
}

.hero-title-primary {
    color: #ffffff;
    font-size: 3.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.hero-title-secondary {
    font-size: 2.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

.hero-title-text {
    display: inline-block;
    position: relative;
}

/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 25%,
        #f093fb 50%,
        #f5576c 75%,
        #4facfe 100%
    );
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 8s ease-in-out infinite;
    text-shadow: none !important;
}

/* Enhanced Gradient Animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title-primary {
        font-size: 2.5rem;
    }

    .hero-title-secondary {
        font-size: 2rem;
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title-primary {
        font-size: 2rem;
    }

    .hero-title-secondary {
        font-size: 1.6rem;
    }
}

/* Hover Effects for Interactive Enhancement */
.hero-title:hover .hero-title-text {
    transform: translateY(-2px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title:hover .text-gradient {
    animation-duration: 3s;
    filter: brightness(1.1);
}

/* Accent Elements */
.hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #667eea 50%, transparent 100%);
    border-radius: 2px;
    opacity: 0.6;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #764ba2 50%, transparent 100%);
    border-radius: 2px;
    opacity: 0.4;
}

/* Enhanced Feature Cards Styling */
.feature-highlight-card {
cursor: pointer;
transform: translateY(0);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}

.feature-highlight-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.feature-highlight-card:hover .feature-icon {
transform: scale(1.1);
box-shadow: 0 12px 35px rgba(0,0,0,0.4) !important;
}

.feature-highlight-card:hover .icon-glow {
opacity: 0.8;
transform: translateX(-50%) scale(1.2);
}

.feature-highlight-card:hover .feature-hover-overlay {
opacity: 1;
}

.feature-highlight-card:hover h5 {
transform: scale(1.05);
}

.feature-icon-wrapper {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}

.feature-icon {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
justify-content: center;
}

.icon-glow {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0.3;
}

.feature-hover-overlay {
transition: opacity 0.3s ease;
}

.feature-highlight-card h5 {
transition: transform 0.3s ease;
text-align: center;
width: 100%;
}

.feature-highlight-card p {
text-align: center;
width: 100%;
}

/* Add subtle animation on page load */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.feature-highlight-card {
animation: fadeInUp 0.6s ease-out;
}

.feature-highlight-card:nth-child(1) { animation-delay: 0.1s; }
.feature-highlight-card:nth-child(2) { animation-delay: 0.2s; }
.feature-highlight-card:nth-child(3) { animation-delay: 0.3s; }
.feature-highlight-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 768px) {
.feature-highlight-card {
padding: 1.5rem !important;
}
.feature-icon {
width: 60px !important;
height: 60px !important;
}
.feature-icon i {
font-size: 1.5rem !important;
}
}

.docs-sidebar .nav-link {
color: #6c757d;
    padding: 0.5rem 0;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.docs-sidebar .nav-link:hover {
color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.docs-sidebar .nav-link.active {
color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    font-weight: 600;
}

.card.shadow-sm {
transition: all 0.3s ease-in-out;
}

.card.shadow-sm:hover {
transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.bg-dark pre {
background-color: #1e1e1e !important;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0;
}

.bg-dark code {
color: #e6e6e6 !important;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.accordion-button:not(.collapsed) {
background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.accordion-button:focus {
box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.badge {
font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.table th {
font-weight: 600;
    background-color: #f8f9fa;
}

.btn-group .btn {
border-radius: 0.375rem;
    margin: 0 0.125rem;
}

.sticky-top {
position: sticky;
    top: 2rem;
    z-index: 1020;
}

.language-bash {
color: #00ff00;
}

.language-python {
color: #3776ab;
}

.language-javascript {
color: #f7df1e;
}

.language-json {
color: #ff6b6b;
}

.language-http {
color: #61dafb;
}

.docs-sidebar {
margin-bottom: 2rem;
}

.sticky-top {
position: relative;
        top: 0;
}

.card {
animation: fadeInUp 0.6s ease-out;
}

.bg-dark::-webkit-scrollbar {
width: 8px;
    height: 8px;
}

.bg-dark::-webkit-scrollbar-track {
background: #2d2d2d;
}

.bg-dark::-webkit-scrollbar-thumb {
background: #555;
    border-radius: 4px;
}

.bg-dark::-webkit-scrollbar-thumb:hover {
background: #777;
}

/* ======================================================
   HERO TITLE – Fluid sizing, underline glow, reduced motion
   ====================================================== */

/* Fluid type scales via clamp with overridable CSS vars */
.hero-title {
    --hero-primary-size: clamp(2.25rem, 3vw + 1rem, 3.75rem);
    --hero-secondary-size: clamp(1.25rem, 2.2vw + 0.5rem, 3rem);
    --hero-underline-width: 80%;
    --hero-underline-height: 6px;
}

.hero-title-primary {
    font-size: var(--hero-primary-size);
    letter-spacing: -0.015em;
}

.hero-title-secondary {
    font-size: var(--hero-secondary-size);
    letter-spacing: -0.01em;
}

/* Animated gradient underline for the second line */
.hero-title-secondary .hero-title-text {
    position: relative;
}

.hero-title-secondary .hero-title-text::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.4em;
    width: var(--hero-underline-width);
    height: var(--hero-underline-height);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(118,75,162,0.35) 15%,
        rgba(240,147,251,0.65) 50%,
        rgba(79,172,254,0.35) 85%,
        rgba(255,255,255,0) 100%
    );
    background-size: 200% 100%;
    border-radius: 999px;
    filter: blur(0.25px);
    box-shadow: 0 6px 22px rgba(118,75,162,0.25), 0 2px 10px rgba(79,172,254,0.2);
    animation: underline-flow 5s ease-in-out infinite;
}

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

/* Interactive enhancements */
.hero-title:hover .hero-title-text { transform: translateY(-1px); }
.hero-title:hover .hero-title-secondary .hero-title-text::after {
    height: calc(var(--hero-underline-height) + 2px);
    box-shadow: 0 8px 28px rgba(118,75,162,0.32), 0 3px 14px rgba(79,172,254,0.28);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-title * { transition: none !important; animation: none !important; }
    .hero-title-secondary .hero-title-text::after { animation: none; }
}

/* High-contrast/forced-colors fallback for gradient text */
@media (forced-colors: active) {
    .text-gradient { -webkit-text-fill-color: CanvasText; color: CanvasText; }
}

/* Subtle header enhancements (no markup changes) */
.hero-title-primary .hero-title-text::before {
    content: '';
    position: absolute;
    top: -0.6em;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 10px;
    background: radial-gradient(circle, rgba(118,75,162,0.25) 0%, rgba(118,75,162,0) 70%);
    filter: blur(6px);
    pointer-events: none;
}

.hero-title-primary .hero-title-text::after {
    content: '';
    position: absolute;
    bottom: -0.5em;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(148,163,184,0.5), transparent);
    opacity: 0.7;
}

/* ==========================================
   DETECTION POWER VISUALIZATION
   ========================================== 
   Note: Old bar chart styles have been replaced with modern design.
   See home-page.css for the new .detection-power-section styles.
   This section is kept for backward compatibility only.
   ========================================== */

/* ==========================================
   MODERN COMPARISON TABLES - Clean Redesign
   ========================================== */

/* First Comparison Table - MOSS vs Codequiry Hexagram */
/* ========================================
   MOSS VS CODEQUIRY COMPARISON TABLE
   Modern, Clean, Responsive Design
   ======================================== */

.moss-feature-comparison-modern {
    margin: 3rem auto;
    max-width: 1400px;
    padding: 0 1rem;
}

/* Main Container */
.comparison-grid-modern {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(10px);
}

/* Header Row */
.comparison-grid-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border-bottom: 2px solid rgba(99, 102, 241, 0.4);
    padding: 2rem 1.5rem;
    gap: 2rem;
    align-items: center;
}

.header-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #f8fafc;
    text-align: center;
    line-height: 1.3;
}

.header-cell i {
    opacity: 0.95;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.header-cell.feature-header {
    justify-content: flex-start;
    padding-left: 0.5rem;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

.header-cell.moss-header {
    flex-direction: column;
    gap: 0.5rem;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.7);
    padding: 1.25rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.3s ease;
}

.header-cell.moss-header:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(148, 163, 184, 0.35);
}

.header-cell.codequiry-header {
    flex-direction: column;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    padding: 1.25rem 1rem;
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 
        0 8px 24px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-cell.codequiry-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.header-cell.codequiry-header:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(99, 102, 241, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Feature Rows */
.comparison-feature-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1.75rem 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.25s ease;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.comparison-feature-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: all 0.25s ease;
}

.comparison-feature-row:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.06), transparent);
    padding-left: 2rem;
}

.comparison-feature-row:hover::before {
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
}

.comparison-feature-row.featured {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.04));
    border-left: 3px solid #6366f1;
}

.comparison-feature-row.featured::before {
    background: linear-gradient(180deg, #6366f1, #ec4899);
}

.comparison-feature-row.featured:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.06));
}

.comparison-feature-row:last-child {
    border-bottom: none;
    border-radius: 0 0 20px 20px;
}

/* Feature Names */
.feature-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding-left: 0.5rem;
}

.feature-name strong {
    font-size: 1.05rem;
    color: #f1f5f9;
    font-weight: 600;
    line-height: 1.4;
}

.feature-name small {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Feature Values */
.feature-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1rem;
    color: #e2e8f0;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    min-height: 50px;
}

.feature-value i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* MOSS Values */
.feature-value.moss-value {
    color: #cbd5e1;
}

.feature-value.moss-value i.fa-check-circle {
    color: #94a3b8;
    opacity: 0.8;
}

.feature-value.moss-value i.fa-times-circle {
    color: #f87171;
    opacity: 0.9;
}

.feature-value.moss-value i.fa-exclamation-triangle {
    color: #fbbf24 !important;
    opacity: 0.9;
}

/* Codequiry Values */
.feature-value.codequiry-value {
    font-weight: 600;
    color: #f8fafc;
}

.feature-value.codequiry-value i.fa-check-circle {
    color: #4ade80;
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.4));
}

.feature-value.codequiry-value i.fa-star {
    color: #fbbf24;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
}

.feature-value.codequiry-value i.fa-infinity {
    color: #a78bfa;
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.4));
}

.feature-value.codequiry-value i.fa-bolt {
    color: #fbbf24;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
}

.feature-value.codequiry-value i.fa-headset {
    color: #60a5fa;
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.4));
}

.feature-value.codequiry-value.highlighted {
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(34, 197, 94, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-value.codequiry-value.highlighted:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(34, 197, 94, 0.12));
    border-color: rgba(99, 102, 241, 0.3);
}

/* Text Utilities */
.text-danger-soft {
    color: #f87171 !important;
}

.text-purple {
    color: #a78bfa !important;
}

.text-info {
    color: #60a5fa !important;
}

.text-success {
    color: #4ade80 !important;
}

.text-warning {
    color: #fbbf24 !important;
}

.text-primary {
    color: #6366f1 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-muted.small {
    color: #94a3b8 !important;
    font-size: 0.95rem;
}

/* Badges */
.feature-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(59, 130, 246, 0.25));
    color: #c7d2fe;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.25s ease;
}

.feature-badge:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(59, 130, 246, 0.35));
    border-color: rgba(99, 102, 241, 0.4);
}

.feature-badge-premium {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #ffffff;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.feature-badge-premium:hover {
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

/* Special Text Styles */
.lang-count, .speed-slow {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 1.05rem;
}

/* ========================================
   STRIPE/APPLE-INSPIRED COMPARISON TABLE - WHY EDUCATORS CHOOSE CODEQUIRY
   ======================================== */

/* Section Styling */
.comparison-clean-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    padding: 6rem 0;
}

/* Header Elements */
.comparison-badge {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    color: #6366f1;
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

.comparison-clean-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.comparison-clean-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75;
}

/* Table Wrapper */
.comparison-clean-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Modern Table Styles */
.comparison-clean-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Table Header - Minimal Stripe Style */
.comparison-clean-table thead tr {
    background: #fafafa;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-clean-table th {
    padding: 1.25rem 1.5rem;
    text-align: center;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-clean-table th:first-child {
    text-align: left;
    padding-left: 2rem;
}

.comparison-clean-table th:not(:last-child) {
    border-right: 1px solid #f3f4f6;
}

.comparison-clean-table th.feature-header {
    background: #fafafa;
}

.comparison-clean-table th.codequiry-header {
    background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 1px solid #bbf7d0;
    border-right: 1px solid #bbf7d0;
}

.comparison-clean-table th .th-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.comparison-clean-table th .th-content i {
    font-size: 1.25rem;
    opacity: 0.7;
}

.comparison-clean-table th .th-content span:first-of-type {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.comparison-clean-table th.codequiry-header .th-content span:first-of-type {
    color: #059669;
}

.comparison-clean-table th .best-badge {
    display: inline-block;
    background: #059669;
    color: #ffffff;
    padding: 0.125rem 0.625rem;
    border-radius: 12px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table Body - Clean Apple Style */
.comparison-clean-table tbody tr.feature-row {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.comparison-clean-table tbody tr.feature-row:hover {
    background: #f9fafb;
}

.comparison-clean-table tbody tr.feature-row:last-child {
    border-bottom: none;
}

.comparison-clean-table td {
    padding: 1.25rem 1.5rem;
    text-align: center;
    vertical-align: middle;
}

.comparison-clean-table td:first-child {
    text-align: left;
    padding-left: 2rem;
}

.comparison-clean-table td:not(:last-child) {
    border-right: 1px solid #f9fafb;
}

/* Feature Name Cell */
.comparison-clean-table td.feature-name {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comparison-clean-table td.feature-name .feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: #6366f1;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.comparison-clean-table td.feature-name .feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.comparison-clean-table td.feature-name strong {
    color: #111827;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
}

.comparison-clean-table td.feature-name small {
    color: #6b7280;
    font-size: 0.8125rem;
    line-height: 1.25;
}

/* Codequiry Column Highlight */
.comparison-clean-table td.codequiry-cell {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.5) 0%, rgba(220, 252, 231, 0.3) 100%);
    border-left: 1px solid #f0fdf4;
    border-right: 1px solid #f0fdf4;
}

/* Check Icons - Minimal */
.check-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #10b981;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1rem;
}

.check-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f3f4f6;
    border-radius: 50%;
    color: #9ca3af;
    font-size: 1rem;
}

/* Badges - Refined */
.badge-limited {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.badge-discontinued {
    display: inline-block;
    background: #fee2e2;
    color: #991b1b;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Value Highlights */
.value-highlight {
    font-weight: 600;
    color: #059669;
    font-size: 0.9375rem;
}

.value-standard {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Disclaimer */
.comparison-disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .moss-feature-comparison-modern {
        padding: 0 0.75rem;
    }

    .comparison-grid-header,
    .comparison-feature-row {
        grid-template-columns: 1.8fr 1fr 1fr;
        gap: 1.25rem;
        padding: 1.5rem 1rem;
    }

    .header-cell {
        font-size: 1.1rem;
    }

    .header-cell i {
        font-size: 1.2rem;
    }

    .feature-name strong {
        font-size: 1rem;
    }

    .feature-value {
        font-size: 0.95rem;
    }

    .feature-badge,
    .feature-badge-premium {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }
    
    /* Clean Comparison Table - Tablet */
    .comparison-clean-title {
        font-size: 2.25rem;
    }

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

    .comparison-clean-table th {
        padding: 1rem 1rem;
        font-size: 0.8125rem;
    }

    .comparison-clean-table th .th-content i {
        font-size: 1.125rem;
    }

    .comparison-clean-table th .th-content span:first-of-type {
        font-size: 0.8125rem;
    }

    .comparison-clean-table td {
        padding: 1rem 1rem;
    }

    .comparison-clean-table td.feature-name .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .comparison-clean-table td.feature-name strong {
        font-size: 0.875rem;
    }

    .comparison-clean-table td.feature-name small {
        font-size: 0.75rem;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .moss-feature-comparison-modern {
        padding: 0 0.5rem;
        margin: 2rem auto;
    }

    .comparison-grid-modern {
        border-radius: 16px;
    }

    /* Header becomes vertical stack */
    .comparison-grid-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .header-cell {
        justify-content: center;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .header-cell.feature-header {
        justify-content: center;
        padding-left: 0;
        background: rgba(30, 41, 59, 0.6);
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.25);
        text-align: center;
    }

    .header-cell.moss-header,
    .header-cell.codequiry-header {
        margin: 0;
    }

    .header-cell.codequiry-header::before {
        display: none;
    }

    /* Feature rows become vertical */
    .comparison-feature-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 1rem;
        border-left: none;
    }

    .comparison-feature-row::before {
        display: none;
    }

    .comparison-feature-row:hover {
        padding-left: 1rem;
    }

    .comparison-feature-row.featured {
        border-left: none;
        border-top: 3px solid #6366f1;
    }

    .feature-name {
        text-align: center;
        padding-left: 0;
        background: rgba(30, 41, 59, 0.4);
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.15);
    }

    .feature-name strong {
        font-size: 1.05rem;
    }

    /* Value containers with labels */
    .feature-value {
        flex-direction: row;
        justify-content: center;
        background: rgba(30, 41, 59, 0.25);
        border: 1px solid rgba(148, 163, 184, 0.1);
        padding: 1rem;
        min-height: auto;
    }

    .feature-value.moss-value::before {
        content: 'MOSS: ';
        font-weight: 700;
        color: #94a3b8;
        margin-right: 0.5rem;
    }

    .feature-value.codequiry-value::before {
        content: 'Codequiry: ';
        font-weight: 700;
        color: #c7d2fe;
        margin-right: 0.5rem;
    }

    .feature-value.codequiry-value.highlighted {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(34, 197, 94, 0.1));
        border-color: rgba(99, 102, 241, 0.25);
    }
    
    /* Clean Comparison Table - Mobile */
    .comparison-clean-section {
        padding: 4rem 0;
    }

    .comparison-clean-title {
        font-size: 2rem;
    }

    .comparison-clean-subtitle {
        font-size: 0.9375rem;
    }

    /* Make table scrollable on mobile */
    .comparison-clean-wrapper {
        padding: 0 1rem;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }

    .comparison-clean-table {
        min-width: 700px;
    }

    .comparison-clean-table th {
        padding: 0.875rem 0.75rem;
        font-size: 0.75rem;
    }

    .comparison-clean-table th .th-content i {
        font-size: 1rem;
    }

    .comparison-clean-table th .th-content span:first-of-type {
        font-size: 0.75rem;
    }

    .comparison-clean-table th .best-badge {
        font-size: 0.5625rem;
        padding: 0.125rem 0.5rem;
    }

    .comparison-clean-table td {
        padding: 0.875rem 0.75rem;
    }

    .comparison-clean-table td:first-child {
        padding-left: 1rem;
    }

    .comparison-clean-table td.feature-name {
        gap: 0.75rem;
    }

    .comparison-clean-table td.feature-name .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }

    .comparison-clean-table td.feature-name strong {
        font-size: 0.8125rem;
    }

    .comparison-clean-table td.feature-name small {
        font-size: 0.6875rem;
    }

    .check-yes,
    .check-no {
        width: 24px;
        height: 24px;
        font-size: 0.875rem;
    }

    .badge-limited,
    .badge-discontinued {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }

    .value-highlight {
        font-size: 0.8125rem;
    }

    .value-standard {
        font-size: 0.8125rem;
    }

    .educator-feature-cell::before {
        content: attr(data-label);
        font-weight: 700;
        color: #94a3b8;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        display: block;
    }

    .educator-feature-cell.feature-col::before {
        display: none;
    }
    
    .modern-comparison-title {
        font-size: 2.2rem;
    }

    .modern-comparison-subtitle {
        font-size: 1rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .moss-feature-comparison-modern {
        margin: 1.5rem auto;
        padding: 0 0.25rem;
    }

    .comparison-grid-modern {
        border-radius: 12px;
    }

    .comparison-grid-header {
        padding: 1.25rem 0.75rem;
    }

    .comparison-feature-row {
        padding: 1.25rem 0.75rem;
    }

    .header-cell {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .header-cell i {
        font-size: 1.1rem;
    }

    .header-cell.feature-header {
        font-size: 1.1rem;
    }

    .feature-name strong {
        font-size: 0.95rem;
    }

    .feature-name small {
        font-size: 0.825rem;
    }

    .feature-value {
        font-size: 0.9rem;
        padding: 0.875rem;
        flex-wrap: wrap;
    }

    .feature-value i {
        font-size: 1.3rem;
    }

    .feature-badge,
    .feature-badge-premium {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .lang-count,
    .speed-slow {
        font-size: 0.95rem;
    }

    .modern-comparison-title {
        font-size: 1.85rem;
    }

    .modern-comparison-subtitle {
        font-size: 0.9rem;
    }
    
    .educator-cta-button {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .educator-feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .educator-feature-content .feature-title {
        font-size: 0.95rem;
    }

    .educator-feature-content .feature-desc {
        font-size: 0.85rem;
    }

    .educator-badge-success,
    .educator-badge-limited,
    .educator-badge-discontinued {
        font-size: 0.8rem;
        padding: 0.35rem 0.85rem;
    }

    .educator-value-premium {
        font-size: 1.2rem;
    }
}

