:root {
    --primary: #059669;
    --primary-hover: #047857;
    --primary-light: #ecfdf5;
    --primary-border: #a7f3d0;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --slate: #475569;
    --slate-light: #64748b;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --diff-bg: #fffbe6;
    --diff-border: #fef08a;
    --diff-text: #854d0e;
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 6px 16px -2px rgb(0 0 0 / 0.08), 0 2px 6px -1px rgb(0 0 0 / 0.04);
    --shadow-lg: 0 16px 36px -8px rgb(0 0 0 / 0.12), 0 4px 12px -4px rgb(0 0 0 / 0.08);
    --shadow-glow: 0 0 24px rgba(5, 150, 105, 0.3);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-center {
    text-align: center;
}

/* Announcement Bar */
.top-announcement-bar {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.announcement-badge {
    background: var(--accent);
    color: #000;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
}
.announcement-right {
    color: #34d399;
    font-weight: 600;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}
.logo-icon {
    font-size: 28px;
}
.logo-accent {
    color: var(--primary);
}
.main-nav {
    display: flex;
    gap: 28px;
}
.main-nav a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}
.main-nav a.active, .main-nav a:hover {
    color: var(--primary);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}
.btn-glow {
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--slate);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.btn-outline-sm {
    padding: 7px 14px;
    font-size: 13px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 700;
}
.btn-outline-sm:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}
.btn-light {
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
}
.btn-light:hover {
    background: var(--primary-light);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #a7f3d0;
    margin-bottom: 20px;
}
.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}
.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 17px;
    color: #94a3b8;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Hero Search Box */
.hero-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 6px 8px 6px 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    margin-bottom: 32px;
}
.search-icon {
    font-size: 18px;
    margin-right: 10px;
}
.hero-search-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: var(--dark);
}
.hero-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    color: var(--dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}
.hero-search-dropdown.active {
    display: block;
}

/* Hero Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item {
    text-align: left;
}
.stat-number {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #34d399;
}
.stat-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

/* Hero Visual Showcase */
.hero-visual {
    position: relative;
}
.visual-card-stack {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    background: #1e293b;
}
.hero-main-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}
.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}
.badge-top {
    top: 20px;
    left: 20px;
}
.badge-bottom {
    bottom: 20px;
    right: 20px;
}

/* Section Header */
.section-header {
    margin-bottom: 40px;
}
.section-subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-header p {
    font-size: 16px;
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
}

/* Popular Preset Comparisons Section */
.popular-comparisons-section {
    padding: 70px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}
.popular-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.preset-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.preset-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: #ffffff;
}
.preset-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}
.badge-heavy {
    background: #fef3c7;
    color: #b45309;
}
.badge-tech {
    background: #e0e7ff;
    color: #4338ca;
}
.preset-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
    margin-top: 10px;
}
.preset-images img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: #ffffff;
    padding: 6px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.vs-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dark);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preset-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.preset-specs {
    font-size: 13px;
    color: var(--slate);
    margin-bottom: 16px;
}

/* Main Content Area */
.main-content {
    padding: 70px 0;
}
.page-title-section {
    text-align: center;
    margin-bottom: 30px;
}

/* Toolbar */
.comparison-toolbar {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.toolbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 26px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--primary);
}
input:checked + .slider:before {
    transform: translateX(22px);
}
.toggle-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}
.diff-counter-tag {
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #fef08a;
}
.toolbar-right {
    display: flex;
    gap: 12px;
}

/* Selector Grid Cards */
.comparison-grid-headers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.selector-card {
    background: var(--card-bg);
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    position: relative;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}
.selector-card.filled {
    border-style: solid;
    border-color: var(--border);
    box-shadow: var(--shadow-md);
    justify-content: flex-start;
}
.selector-card.filled:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.selector-card .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    border: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}
.selector-card .remove-btn:hover {
    background: #ef4444;
    color: white;
}

/* Real High Quality Tractor Image Styling */
.selector-card .card-img-wrap {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    background: radial-gradient(circle, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-md);
    padding: 8px;
}
.tractor-real-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.selector-card:hover .tractor-real-img {
    transform: scale(1.05);
}

.selector-card .hp-pill-tag {
    background: var(--primary-light);
    color: var(--primary-hover);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 6px;
    border: 1px solid var(--primary-border);
}
.selector-card .tractor-title {
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4px;
    line-height: 1.3;
}
.selector-card .tractor-brand {
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.selector-card .tractor-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 6px;
}

/* Dropdown Search Box */
.search-selector-wrap {
    width: 100%;
    position: relative;
}
.search-input-box {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.search-input-box:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 250px;
    overflow-y: auto;
    z-index: 50;
    margin-top: 4px;
    display: none;
}
.search-results-dropdown.active {
    display: block;
}
.dropdown-item {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}
.dropdown-item:hover {
    background: var(--primary-light);
}
.dropdown-thumb-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 6px;
    padding: 2px;
    border: 1px solid var(--border);
}
.dropdown-item-info .item-name {
    font-weight: 800;
    font-size: 13px;
}
.dropdown-item-info .item-hp {
    font-size: 11px;
    color: var(--slate);
}

/* Empty Placeholder Card */
.add-placeholder {
    text-align: center;
    width: 100%;
}
.add-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 28px;
    font-weight: 800;
}

/* Sticky Header Bar */
.sticky-compare-bar {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 900;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.sticky-compare-bar.show {
    transform: translateY(0);
    opacity: 1;
}
.sticky-bar-inner {
    display: grid;
    grid-template-columns: 220px repeat(4, 1fr);
    gap: 16px;
    align-items: center;
    padding: 10px 24px;
}
.sticky-label {
    font-weight: 800;
    font-size: 13px;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sticky-tractor-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sticky-thumb-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 6px;
    padding: 2px;
    border: 1px solid var(--border);
}
.sticky-tractor-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

/* Spec Comparison Table Wrapper */
.comparison-table-wrapper {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.comparison-table tr.section-header td {
    background: #f1f5f9;
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-icon {
    margin-right: 8px;
}

.comparison-table tr.spec-row td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

/* Sticky First Column for Spec Titles on Mobile & Horizontal Scroll */
.comparison-table tr.spec-row td:first-child {
    font-weight: 700;
    color: var(--slate);
    width: 220px;
    min-width: 180px;
    background: #fafafa;
    position: sticky;
    left: 0;
    z-index: 10;
    border-right: 1px solid var(--border);
    box-shadow: 2px 0 5px rgba(0,0,0,0.04);
}
.comparison-table tr.spec-row td:not(:first-child) {
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    min-width: 180px;
}

/* Highlight Differences */
.comparison-table tr.spec-row.is-different td:not(:first-child) {
    background: var(--diff-bg);
    color: var(--diff-text);
    font-weight: 800;
}
.comparison-table tr.spec-row.is-different td:first-child {
    background: #fefce8;
    color: #854d0e;
}

body.highlight-diff-active .comparison-table tr.spec-row:not(.is-different) {
    display: none;
}

/* Brands Section */
.brands-section {
    padding: 70px 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.brand-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.brand-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
}
.brand-logo-text {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}
.brand-count {
    font-size: 12px;
    color: var(--slate);
}

/* Why Us Section */
.why-us-section {
    padding: 80px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}
.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: var(--slate);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    padding: 60px 0;
}
.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.cta-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}
.cta-content p {
    color: #a7f3d0;
    font-size: 16px;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: var(--primary);
}
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Rules
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 30px;
    }
    .comparison-grid-headers {
        grid-template-columns: repeat(2, 1fr);
    }
    .sticky-bar-inner {
        grid-template-columns: 140px repeat(4, 1fr);
    }
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Announcement Bar */
    .top-announcement-bar {
        font-size: 12px;
        padding: 6px 0;
    }
    .announcement-right {
        display: none;
    }

    /* Header Nav Collapsible */
    .header-inner {
        height: 64px;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border);
    }
    .main-nav.active {
        display: flex;
    }
    .header-actions {
        display: none;
    }

    /* Hero Section */
    .hero-section {
        padding: 40px 0 50px;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .hero-content p {
        font-size: 15px;
        margin: 0 auto 20px;
    }
    .hero-search-box {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        border-radius: var(--radius-md);
    }
    .hero-search-box input {
        text-align: center;
        padding: 6px 0;
    }
    .hero-search-box .btn {
        width: 100%;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        text-align: center;
    }
    .stat-item {
        text-align: center;
    }
    .hero-main-img {
        height: 250px;
    }

    /* Popular Comparisons Preset Cards */
    .popular-comparisons-section {
        padding: 40px 0;
    }
    .popular-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Toolbar */
    .comparison-toolbar {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
        text-align: center;
        padding: 16px;
    }
    .toolbar-left {
        justify-content: center;
        flex-wrap: wrap;
    }
    .toolbar-right .btn {
        width: 100%;
    }

    /* Selector Grid Cards on Mobile */
    .comparison-grid-headers {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .selector-card {
        min-height: 280px;
        padding: 14px 10px;
    }
    .selector-card .card-img-wrap {
        height: 100px;
    }

    /* Sticky Bar on Mobile */
    .sticky-compare-bar {
        top: 64px;
        overflow-x: auto;
    }
    .sticky-bar-inner {
        display: flex;
        gap: 12px;
        min-width: 600px;
        padding: 8px 16px;
    }
    .sticky-label {
        font-size: 11px;
    }

    /* Spec Table Sticky First Column */
    .comparison-table-wrapper {
        border-radius: var(--radius-md);
    }
    .comparison-table tr.section-header td {
        padding: 10px 16px;
        font-size: 14px;
    }
    .comparison-table tr.spec-row td {
        padding: 10px 14px;
        font-size: 13px;
    }
    .comparison-table tr.spec-row td:first-child {
        width: 140px;
        min-width: 130px;
        font-size: 12px;
    }

    /* Brands & Features Grid */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* CTA & Footer */
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .comparison-grid-headers {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 26px;
    }
    .section-header h2 {
        font-size: 24px;
    }
}
