/**
 * SoftwareHope - High Performance Native Homepage Stylesheet
 * Update-Proof, Zero Shortcode, Zero Conflict with Astra Parent Theme
 */

/* ==========================================================================
   1. CSS Variables & Scoped Reset
   ========================================================================== */
.sh-home-wrap {
    --sh-navy: #0A2540;
    --sh-navy-dark: #071A2E;
    --sh-navy-light: #1E3A5F;
    --sh-green: #00B67A;
    --sh-green-hover: #009e6a;
    --sh-green-subtle: #ECFDF5;
    --sh-blue: #2563EB;
    --sh-blue-subtle: #EFF6FF;
    --sh-purple: #7C3AED;
    --sh-purple-subtle: #F5F3FF;
    --sh-amber: #F59E0B;
    --sh-slate-900: #0F172A;
    --sh-slate-800: #1E293B;
    --sh-slate-700: #334155;
    --sh-slate-600: #475569;
    --sh-slate-500: #64748B;
    --sh-slate-400: #94A3B8;
    --sh-slate-200: #E2E8F0;
    --sh-slate-100: #F1F5F9;
    --sh-slate-50: #F8FAFC;
    --sh-white: #FFFFFF;
    
    --sh-shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.05);
    --sh-shadow-md: 0 4px 16px -2px rgba(10, 37, 64, 0.08), 0 2px 6px -1px rgba(10, 37, 64, 0.04);
    --sh-shadow-lg: 0 16px 32px -4px rgba(10, 37, 64, 0.12), 0 6px 14px -2px rgba(10, 37, 64, 0.05);
    --sh-shadow-xl: 0 24px 48px -12px rgba(10, 37, 64, 0.18);
    
    --sh-radius-sm: 6px;
    --sh-radius-md: 12px;
    --sh-radius-lg: 18px;
    --sh-radius-full: 9999px;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
    color: var(--sh-slate-800);
    background: #FFFFFF;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sh-home-wrap *,
.sh-home-wrap *::before,
.sh-home-wrap *::after {
    box-sizing: border-box;
}

/* Ensure Astra full-width container stretches completely ONLY on front page */
body.home .site-content > .ast-container,
body.front-page .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sh-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Section Spacing */
.sh-section {
    padding: 72px 0;
    position: relative;
}

.sh-section-alt {
    background-color: var(--sh-slate-50);
    border-top: 1px solid var(--sh-slate-200);
    border-bottom: 1px solid var(--sh-slate-200);
}

.sh-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px auto;
}

.sh-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--sh-green-subtle);
    color: var(--sh-green);
    border: 1px solid rgba(0, 182, 122, 0.25);
    border-radius: var(--sh-radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.sh-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--sh-navy);
    line-height: 1.25;
    margin: 0 0 14px 0;
    letter-spacing: -0.02em;
}

.sh-section-desc {
    font-size: 17px;
    color: var(--sh-slate-600);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.sh-hero-section {
    background: linear-gradient(180deg, #071A2E 0%, #0A2540 60%, #0D2D4E 100%);
    color: var(--sh-white);
    padding: 88px 0 80px 0;
    position: relative;
    overflow: visible;
}

/* The Astra child header is fixed over the page flow. Keep the hero badge clear of it. */
.sh-home-wrap .sh-hero-section {
    padding-top: 128px;
}

.sh-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.15), transparent 70%),
                radial-gradient(circle at 85% 60%, rgba(0, 182, 122, 0.1), transparent 50%);
    pointer-events: none;
}

.sh-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.sh-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--sh-radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #A7F3D0;
    margin-bottom: 24px;
}

.sh-hero-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--sh-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--sh-green);
    display: inline-block;
    animation: shPulse 2s infinite ease-in-out;
}

@keyframes shPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.sh-hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--sh-white);
    margin: 0 0 18px 0;
}

.sh-hero-title-accent {
    background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sh-hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 32px auto;
    max-width: 760px;
}

/* ==========================================================================
   3. Live Search Component
   ========================================================================== */
.sh-search-wrap {
    position: relative;
    max-width: 720px;
    margin: 0 auto 28px auto;
    z-index: 50;
}

.sh-search-box {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--sh-radius-full);
    min-width: 0;
    padding: 7px 8px 7px 20px;
    box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}

.sh-search-box:focus-within {
    border-color: var(--sh-green);
    box-shadow: 0 16px 44px -4px rgba(0, 182, 122, 0.35), 0 0 0 4px rgba(0, 182, 122, 0.15);
}

.sh-search-icon {
    flex-shrink: 0;
    color: var(--sh-slate-400);
    margin-right: 12px;
}

.sh-search-input {
    flex: 1;
    min-width: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 16px !important;
    color: var(--sh-slate-900) !important;
    padding: 10px 0 !important;
    font-family: inherit;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sh-search-input::placeholder {
    color: var(--sh-slate-400);
}

.sh-search-clear {
    background: transparent;
    border: none;
    color: var(--sh-slate-400);
    font-size: 20px;
    cursor: pointer;
    padding: 0 10px;
    display: none;
    line-height: 1;
}

.sh-search-clear:hover {
    color: var(--sh-slate-700);
}

.sh-search-btn {
    flex-shrink: 0;
    background: var(--sh-green);
    color: var(--sh-white);
    border: none;
    border-radius: var(--sh-radius-full);
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.sh-search-btn:hover {
    background: var(--sh-green-hover);
    transform: translateY(-1px);
}

/* Search Dropdown Drawer */
.sh-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: var(--sh-radius-md);
    box-shadow: var(--sh-shadow-xl);
    border: 1px solid var(--sh-slate-200);
    max-height: 420px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    text-align: left;
}

.sh-search-dropdown.active {
    display: block;
    animation: shFadeDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shFadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sh-search-dropdown-header {
    padding: 12px 18px;
    background: var(--sh-slate-50);
    border-bottom: 1px solid var(--sh-slate-200);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sh-slate-500);
    display: flex;
    justify-content: space-between;
}

.sh-search-item {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--sh-slate-100);
    text-decoration: none !important;
    transition: background 0.15s ease;
    color: var(--sh-slate-800);
}

.sh-search-item:last-child {
    border-bottom: none;
}

.sh-search-item:hover,
.sh-search-item.highlighted {
    background: var(--sh-slate-50);
}

.sh-search-item-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--sh-radius-sm);
    object-fit: cover;
    background: #FFFFFF;
    border: 1px solid var(--sh-slate-200);
    margin-right: 14px;
    flex-shrink: 0;
}

.sh-search-item-fallback {
    width: 40px;
    height: 40px;
    border-radius: var(--sh-radius-sm);
    background: var(--sh-navy);
    color: var(--sh-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-right: 14px;
    flex-shrink: 0;
}

.sh-search-item-info {
    flex: 1;
    min-width: 0;
}

.sh-search-item-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--sh-navy);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sh-search-item-category {
    font-size: 12px;
    color: var(--sh-slate-500);
}

.sh-search-item-meta {
    flex-shrink: 0;
    text-align: right;
    margin-left: 14px;
}

.sh-search-item-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--sh-green-subtle);
    color: var(--sh-green);
    padding: 3px 8px;
    border-radius: var(--sh-radius-full);
    font-size: 12px;
    font-weight: 700;
}

/* Hero Category Pills */
.sh-hero-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}

.sh-hero-pill {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--sh-radius-full);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.sh-hero-pill:hover {
    background: var(--sh-green);
    color: var(--sh-white);
    border-color: var(--sh-green);
    transform: translateY(-1px);
}

/* Hero Stats Bar */
.sh-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 800px;
    margin: 0 auto;
}

.sh-hero-stat-item {
    text-align: center;
}

.sh-hero-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--sh-white);
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.sh-hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   4. Categories Grid Section
   ========================================================================== */
.sh-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sh-cat-card {
    background: var(--sh-white);
    border: 1px solid var(--sh-slate-200);
    border-radius: var(--sh-radius-md);
    padding: 24px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.sh-cat-card:hover {
    border-color: var(--sh-green);
    box-shadow: var(--sh-shadow-md);
    transform: translateY(-3px);
}

.sh-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--sh-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    background: var(--sh-slate-100);
    color: var(--sh-navy);
    transition: all 0.2s ease;
}

.sh-home-wrap .sh-cat-icon-svg {
    display: block;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    color: currentColor;
}

.sh-cat-card:hover .sh-cat-icon {
    background: var(--sh-green);
    color: var(--sh-white);
}

.sh-cat-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--sh-navy);
    margin: 0 0 6px 0;
}

.sh-cat-count {
    font-size: 13px;
    color: var(--sh-slate-500);
    font-weight: 600;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   5. Trending Software Cards Grid
   ========================================================================== */
.sh-tabs-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.sh-tab-btn {
    background: var(--sh-white);
    color: var(--sh-slate-700);
    border: 1px solid var(--sh-slate-200);
    border-radius: var(--sh-radius-full);
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sh-tab-btn:hover {
    background: var(--sh-slate-100);
    color: var(--sh-navy);
}

.sh-tab-btn.active {
    background: var(--sh-navy);
    color: var(--sh-white);
    border-color: var(--sh-navy);
}

.sh-software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.sh-card {
    background: var(--sh-white);
    border: 1px solid var(--sh-slate-200);
    border-radius: var(--sh-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.sh-card:hover {
    border-color: rgba(0, 182, 122, 0.4);
    box-shadow: var(--sh-shadow-lg);
    transform: translateY(-4px);
}

.sh-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.sh-card-logo-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--sh-radius-md);
    background: #FFFFFF;
    border: 1px solid var(--sh-slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.sh-card-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sh-card-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sh-navy), var(--sh-navy-light));
    color: var(--sh-white);
    font-weight: 800;
    font-size: 20px;
}

.sh-card-logo-fallback[hidden] {
    display: none !important;
}

.sh-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.sh-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--sh-navy);
    margin: 0 0 4px 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sh-card-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.sh-card-title a:hover {
    color: var(--sh-green) !important;
}

.sh-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sh-blue);
    background: var(--sh-blue-subtle);
    padding: 2px 8px;
    border-radius: var(--sh-radius-sm);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sh-card-rating-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.sh-card-stars {
    position: relative;
    display: inline-block;
    color: #CBD5E1;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1;
}

.sh-card-stars::before {
    content: '★★★★★';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--sh-rating-fill, 0%);
    overflow: hidden;
    white-space: nowrap;
    color: var(--sh-green);
}

.sh-card-stars-empty::before {
    content: none;
}

.sh-card-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--sh-slate-800);
}

.sh-card-reviews {
    font-size: 12px;
    color: var(--sh-slate-500);
}

.sh-card-tagline {
    font-size: 13px;
    line-height: 1.5;
    color: var(--sh-slate-600);
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.sh-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--sh-slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sh-card-pricing {
    font-size: 12px;
    font-weight: 700;
    color: var(--sh-slate-700);
    background: var(--sh-slate-100);
    padding: 3px 8px;
    border-radius: var(--sh-radius-sm);
}

.sh-card-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--sh-green);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.sh-card-btn:hover {
    color: var(--sh-green-hover);
    gap: 7px;
}

/* ==========================================================================
   6. Curated Collections / Lists (Batches)
   ========================================================================== */
.sh-batches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sh-batch-card {
    background: var(--sh-white);
    border: 1px solid var(--sh-slate-200);
    border-radius: var(--sh-radius-md);
    padding: 28px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.sh-batch-card:hover {
    border-color: var(--sh-navy);
    box-shadow: var(--sh-shadow-lg);
    transform: translateY(-4px);
}

.sh-batch-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--sh-purple-subtle);
    color: var(--sh-purple);
    padding: 4px 10px;
    border-radius: var(--sh-radius-full);
    margin-bottom: 14px;
}

.sh-batch-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--sh-navy);
    line-height: 1.35;
    margin: 0 0 12px 0;
}

.sh-batch-meta {
    margin-top: auto;
    font-size: 13px;
    color: var(--sh-green);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   7. Features / Value Props Section
   ========================================================================== */
.sh-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sh-feature-col {
    text-align: left;
    background: var(--sh-white);
    padding: 32px;
    border-radius: var(--sh-radius-md);
    border: 1px solid var(--sh-slate-200);
}

.sh-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--sh-radius-md);
    background: var(--sh-green-subtle);
    color: var(--sh-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.sh-feature-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--sh-navy);
    margin: 0 0 10px 0;
}

.sh-feature-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--sh-slate-600);
    margin: 0;
}

/* ==========================================================================
   8. Ad-Safe Container (Prevents Layout Shifting / Splitting)
   ========================================================================== */
.sh-ad-zone-wrap {
    width: 100%;
    padding: 24px 0;
    background: transparent;
}

.sh-ad-zone {
    max-width: 970px;
    min-height: 90px;
    margin: 0 auto;
    background: #FAFAFA;
    border: 1px dashed var(--sh-slate-200);
    border-radius: var(--sh-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    clear: both;
}

.sh-ad-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sh-slate-400);
    margin-bottom: 4px;
}

.sh-home-wrap .sh-ad-status {
    margin: 0;
    color: var(--sh-slate-500);
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================================================
   9. CTA Bottom Banner
   ========================================================================== */
.sh-cta-section {
    background: linear-gradient(135deg, var(--sh-navy-dark) 0%, var(--sh-navy) 100%);
    color: var(--sh-white);
    text-align: center;
    padding: 68px 0;
    border-radius: var(--sh-radius-lg);
    margin: 40px auto 60px auto;
}

.sh-cta-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 14px 0;
    color: var(--sh-white);
}

.sh-cta-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 28px auto;
}

/* Keep Astra's global heading palette and tracking from overriding this page. */
.sh-home-wrap .sh-section-title,
.sh-home-wrap .sh-card-title,
.sh-home-wrap .sh-feature-title,
.sh-home-wrap .sh-batch-title {
    color: var(--sh-navy) !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.sh-home-wrap .sh-cta-title {
    color: var(--sh-white) !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.sh-cta-btn {
    background: var(--sh-green);
    color: var(--sh-white);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--sh-radius-full);
    text-decoration: none !important;
    display: inline-block;
    transition: background 0.2s ease, transform 0.15s ease;
}

.sh-cta-btn:hover {
    background: var(--sh-green-hover);
    transform: translateY(-2px);
    color: var(--sh-white) !important;
}

/* ==========================================================================
   10. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .sh-hero-title {
        font-size: 40px;
    }
    .sh-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sh-software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sh-batches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sh-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sh-hero-section {
        padding: 60px 0 50px 0;
    }
    .sh-home-wrap .sh-hero-section {
        padding-top: 104px;
    }
    .sh-hero-title {
        font-size: 30px;
    }
    .sh-hero-subtitle {
        font-size: 16px;
    }
    .sh-search-box {
        gap: 4px;
        padding: 4px 6px 4px 14px;
        border-radius: 20px;
    }
    .sh-home-wrap .sh-search-input {
        font-size: 14px !important;
        letter-spacing: 0;
    }
    .sh-search-clear {
        padding: 0 4px;
    }
    .sh-search-btn {
        min-width: 88px;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }
    .sh-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .sh-hero-stat-item:last-child {
        grid-column: 1 / -1;
    }
    .sh-categories-grid {
        grid-template-columns: 1fr;
    }
    .sh-software-grid {
        grid-template-columns: 1fr;
    }
    .sh-batches-grid {
        grid-template-columns: 1fr;
    }
    .sh-section {
        padding: 48px 0;
    }
    .sh-section-title {
        font-size: 26px;
    }
}
