/* ==========================================================================
   VMAX CUSTOM INTEGRATION STYLESHEET (CLEAN & OPTIMIZED)
   ========================================================================== */

/* --- 1. CORE RESETS & SCOPED BASE STYLES --- */
.templates-section,
.templates-section * {
    box-sizing: border-box;
}

.templates-section {
    font-family: inherit;
    background-color: #fff;
    color: #1e293b;
    padding: 2rem 0;
    overflow: hidden;
}

.templates-section a {
    text-decoration: none;
    color: inherit;
}

.templates-section img {
    max-width: 100%;
}

.templates-section .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* --- 2. FLATSOME NATIVE ANIMATION ENGINE ENABLED --- */


/* Connecting Lines for Journey Timeline */
.js-enabled .seo-journey-card::after {
    background-size: 0 100%;
    transition: background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.seo-journey-timeline.is-line-revealed .seo-journey-card::after {
    background-size: 100% 100%;
}

.js-enabled .seo-journey-line {
    background-size: 100% 0;
    transition: background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.seo-journey-timeline.is-line-revealed .seo-journey-line {
    background-size: 100% 100%;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .js-enabled .scroll-reveal,
    .js-enabled .scroll-reveal.is-revealed,
    .js-enabled .templates-grid .scroll-reveal,
    .js-enabled .templates-grid .scroll-reveal.is-revealed,
    .seo-journey-card,
    .seo-journey-card::after,
    .seo-journey-icon svg,
    .seo-journey-icon .seo-journey-img,
    .seo-journey-timeline.is-line-revealed .seo-journey-card::after,
    .seo-journey-timeline.is-line-revealed .seo-journey-line,
    .seo-journey-card.highlight-step .seo-journey-number,
    .seo-journey-card.highlight-step .seo-journey-number::before {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        background-size: 100% 100% !important;
    }
}


/* --- 3. SHOWROOM HERO SECTION --- */
.templates-section .templates-hero-wrapper {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4.5rem;
}

.templates-section .templates-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 60%;
}

.templates-section .showroom-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #c9edcc;
    color: #087a24;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.templates-section .templates-hero-left h2 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 24px;
    font-family: inherit;
    font-weight: 800;
    color: #212121;
    letter-spacing: -.02em;
}

.templates-section .templates-hero-left h2 .text-primary {
    color: #35c94a;
}

.typing-cursor {
    display: inline-block;
    margin-left: 4px;
    font-weight: 300;
    color: #35c94a;
    animation: typing-blink 0.8s step-end infinite;
}

@keyframes typing-blink {

    from,
    to {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.templates-section .showroom-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 90%;
}

/* Showroom Stats Row */
.templates-section .showroom-stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.templates-section .rating-card {
    background-color: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    min-width: 160px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .02);
}

.templates-section .rating-card .stars {
    color: #f59e0b;
    font-size: .95rem;
    margin-bottom: .25rem;
    letter-spacing: .1em;
}

.templates-section .rating-card .rating-score {
    font-size: 1.35rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.2;
}

.templates-section .rating-card .rating-sub {
    font-size: .725rem;
    color: #64748b;
    font-weight: 600;
    margin-top: .15rem;
}

.templates-section .mini-stats-list {
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
    flex-grow: 1;
}

.templates-section .mini-stat-item {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.templates-section .mini-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background-color: rgba(97, 198, 63, .1);
    color: rgb(97, 198, 63);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.templates-section .mini-stat-info .value {
    font-size: 1.15rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.2;
}

.templates-section .mini-stat-info .label {
    font-size: .725rem;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}

/* Browser Mockup on Hero (Desktop) */
.templates-section .templates-hero-right {
    display: flex;
    justify-content: center;
    width: 40%;
}

.templates-section .hero-browser-mockup {
    width: 100%;
    max-width: 520px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -3px rgba(15, 23, 42, .08), 0 4px 6px -4px rgba(15, 23, 42, .03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.templates-section .templates-tablet-mockup {
    display: none !important;
}

.templates-section .hero-browser-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    gap: 1rem;
}

.templates-section .hero-browser-dots {
    display: flex;
    gap: .35rem;
    flex-shrink: 0;
}

.templates-section .hero-browser-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
}

.templates-section .hero-browser-dots .dot.red {
    background-color: #ef4444;
}

.templates-section .hero-browser-dots .dot.yellow {
    background-color: #f59e0b;
}

.templates-section .hero-browser-dots .dot.green {
    background-color: rgb(97, 198, 63);
}

.templates-section .hero-browser-address {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    flex-grow: 1;
    max-width: 280px;
    height: 22px;
    font-size: .725rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
}

.templates-section .hero-browser-actions {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: .85rem;
    cursor: pointer;
    flex-shrink: 0;
}

.templates-section .hero-browser-body {
    height: 260px;
    background-color: #f8fafc;
    overflow: hidden;
}

.templates-section .hero-browser-body img {
    width: 100%;
    height: 100%;
    object-position: top;
}

/* --- 4. CONTROLS ROW (SEARCH & FILTERS) --- */
.templates-section .templates-controls-row {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
    width: 100%;
}

.templates-section .search-box-wrapper {
    width: 100%;
}

.templates-section .search-input-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}

.templates-section .search-input-container:hover,
.templates-section .search-input-container:focus-within {
    transform: translateY(-2px);
}

.templates-section .search-input-container .search-icon {
    position: relative;
    left: 2rem;
    top: -6.5px;
    color: #64748B;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.templates-section .search-input-container:hover .search-icon,
.templates-section .search-input-container input:focus~.search-icon {
    color: rgb(97, 198, 63);
}

.templates-section .search-input-container input {
    width: 100%;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    margin: 0 !important;
    padding: 0 2.5rem 0 2.75rem;
    font-size: .875rem;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 5px 5px 5px 0 #1e293b8c;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    outline: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.templates-section .search-input-container input::placeholder {
    transition: opacity .25s ease-in-out;
    opacity: .65;
}

.templates-section .search-input-container input:focus::placeholder {
    opacity: .25;
}

.templates-section .search-input-container:hover input {
    border-color: rgb(97, 198, 63);
    box-shadow: 0 6px 16px rgba(97, 198, 63, .15);
}

.templates-section .search-input-container input:focus {
    background-color: #fff;
    border-color: rgb(97, 198, 63);
    box-shadow: none;
}

.templates-section .clear-search-btn {
    position: absolute;
    right: 1rem;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem;
    border-radius: 9999px;
}

.templates-section .clear-search-btn:hover {
    color: #ef4444;
}

.templates-section .templates-filter-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 6px 0;
    margin: -6px 0;
}

.templates-section .templates-filter-bar {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    gap: .5rem;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 12px;
    margin-top: -6px;
    margin-bottom: -12px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.templates-section .templates-filter-bar::-webkit-scrollbar {
    height: 3px;
}

.templates-section .templates-filter-bar::-webkit-scrollbar-thumb {
    background: rgba(97, 198, 63, .15);
    border-radius: 10px;
}

.templates-section .filter-btn {
    flex-shrink: 0;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    margin: 0 !important;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 0 1rem;
    border-radius: 9999px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-sizing: border-box;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 5px 5px 5px 0 #1e293b8c;
}

.templates-section .filter-btn .f-icon {
    display: flex;
    align-items: center;
    color: #64748b;
    transition: color .28s ease;
}

.templates-section .filter-btn:hover {
    background-color: #f3fff4;
    border-color: rgb(97, 198, 63);
    color: rgb(97, 198, 63);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(97, 198, 63, .12);
}

.templates-section .filter-btn:hover .f-icon {
    color: rgb(97, 198, 63);
}

.templates-section .filter-btn.active {
    background: linear-gradient(135deg, #218738 0%, #5fc53f 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(0);
}

.templates-section .filter-btn.active .f-icon {
    color: #fff;
}

.templates-section .filter-btn.active:hover {
    background: linear-gradient(135deg, #1e7a32 0%, #4ea331 100%);
    color: #fff;
    transform: translateY(-2px);
}

/* --- 5. SORT DROPDOWN --- */
.templates-section .templates-sub-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    width: 100%;
}

.templates-section .sort-dropdown-container {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    margin: 0 !important;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 1rem;
    position: relative;
    cursor: pointer;
    min-width: 210px;
    white-space: nowrap;
    box-sizing: border-box;
}

.templates-section .sort-label {
    font-size: .85rem;
    color: #64748b;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0 !important;
}

.templates-section select,
.templates-section select#sort-select,
.templates-section .sort-select {
    border: none !important;
    background: transparent !important;
    font-size: .85rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    outline: none !important;
    padding: 0 1.5rem 0 0 !important;
    margin: 0 !important;
    height: 100% !important;
    line-height: 42px !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    white-space: nowrap !important;
    text-align: left !important;
    text-align-last: left !important;
    flex: 1 !important;
}

.templates-section .dropdown-chevron {
    position: absolute;
    right: .65rem;
    pointer-events: none;
    color: #64748b;
}

/* --- 6. TEMPLATES GRID & CARD DESIGN --- */
.templates-section .templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    width: 100%;
}

.templates-section .temp-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .03);
    overflow: hidden;
    transition: box-shadow .3s cubic-bezier(.25, 1, .5, 1), border-color .3s cubic-bezier(.25, 1, .5, 1);
    position: relative;
}

.templates-section .temp-card.hidden {
    display: none !important;
}

.templates-section .temp-card:hover {
    transform: translateY(-6px) !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 10px 10px -5px rgba(0, 0, 0, .04) !important;
}

.templates-section .temp-card .browser-mockup,
.templates-section .browser-mockup {
    width: 100%;
    height: 246px;
    min-height: 246px;
    max-height: 246px;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #fff;
    overflow: hidden;
    box-sizing: border-box;
    transition: all .4s cubic-bezier(.25, 1, .5, 1);
}

.templates-section .card-status-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 30;
    padding: 5px 10px 3px;
    height: 22px;
    font-size: .65rem;
    font-weight: 800;
    border-radius: 50px;
    color: #fff;
    letter-spacing: .05em;
    pointer-events: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.templates-section .card-status-badge.badge-new {
    background-color: #16a34a;
}

.templates-section .card-status-badge.badge-best {
    background-color: #2563eb;
}

.templates-section .card-status-badge.badge-seo {
    background-color: #0d9488;
}

.templates-section .card-status-badge.badge-hot {
    background-color: #ea580c;
}

.templates-section .card-status-badge.badge-custom {
    background-color: #7c3aed;
    background-image: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
}

.templates-section .browser-header {
    background-color: transparent;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.templates-section .browser-dots {
    display: none !important;
}

.templates-section .browser-address {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    font-size: .725rem;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    height: 24px;
    font-weight: 500;
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
}

.templates-section .browser-body {
    background-color: #fff;
    position: relative;
    height: 186px;
    min-height: 186px;
    max-height: 186px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    overflow: hidden;
    box-sizing: border-box;
}

.templates-section .preview-scroll {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.templates-section .preview-scroll .scroll-img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 9s ease-in-out;
    transform: translateY(0);
    will-change: transform;
}

.templates-section .temp-card:hover .scroll-img,
.templates-section .temp-card:hover .preview-scroll .scroll-img {
    transform: translateY(calc(186px - 100%)) !important;
}

/* --- 7. PHONE MOCKUP ENGINE --- */
.templates-section .phone-mockup {
    position: absolute;
    top: 170px;
    right: 10px;
    width: 58px;
    height: 118px;
    min-width: 58px;
    max-width: 58px;
    min-height: 118px;
    max-height: 118px;
    z-index: 20;
    pointer-events: none;
    background: #09090b;
    border-radius: 12px;
    box-shadow: 5px 5px 3px #8581819c;
    transition: transform .3s cubic-bezier(.25, 1, .5, 1);
    transform-origin: bottom center;
    animation: phone-float 5s ease-in-out infinite;
    overflow: hidden;
    box-sizing: border-box;
}

.templates-section .phone-mockup::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 2.5px;
    background: #18181b;
    border-radius: 1.5px;
    z-index: 10;
}

.templates-section .temp-card:hover .phone-mockup {
    transform: translateY(-4px) scale(1.03);
}

@keyframes phone-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.templates-section .phone-frame {
    display: none !important;
}

.templates-section .phone-screen {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 9px;
    overflow: hidden;
    z-index: 1;
    background-color: #000;
}

.templates-section .phone-scroll-img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 9s ease-in-out;
    transform: translateY(0);
    will-change: transform;
}

.templates-section .temp-card:hover .phone-scroll-img {
    transform: translateY(calc(112px - 100%)) !important;
}

/* --- 8. CARD INFO & ACTION BUTTONS --- */
.templates-section .temp-info-box {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.templates-section .temp-info-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    min-height: 42px;
    width: 80%;
    color: #1e293b;
    margin-bottom: .2rem;
}

.templates-section .temp-category {
    font-size: .8rem;
    color: #059669;
    margin-bottom: .3rem;
    font-weight: 600;
}

.templates-section .temp-sub-lbl {
    font-size: .8rem;
    color: #6b7280;
    margin-bottom: .85rem;
    font-weight: 500;
    height: 30px;
}

.templates-section .temp-specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .25rem;
    margin-bottom: 1rem;
    border-top: 1px solid #f3f4f6;
    padding-top: .75rem;
    margin-top: .25rem;
    width: 100%;
}

.templates-section .temp-specs-track {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.templates-section .spec-item-clone {
    display: none !important;
}

.templates-section .spec-item {
    font-size: .75rem;
    font-weight: 500;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.templates-section .spec-icon {
    color: #9ca3af;
    flex-shrink: 0;
}

.templates-section .temp-actions {
    display: flex;
    gap: .5rem;
    margin-top: auto;
    width: 100%;
}

.templates-section .btn-card-detail {
    flex: 1;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    color: #1e293b;
    font-size: .8rem;
    padding: .55rem;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
}

.templates-section .btn-card-detail:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.templates-section .btn-outline-demo {
    flex: 1.1;
    background: linear-gradient(135deg, #0e8d28 0%, rgb(97, 198, 63) 100%);
    border: 1px solid transparent;
    color: #fff;
    font-size: .8rem;
    padding: .55rem;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    cursor: pointer;
    transition: filter .25s ease, box-shadow .25s ease;
}

.templates-section .btn-outline-demo:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 10px rgba(97, 198, 63, .25);
}

/* --- 9. BOTTOM CTA BANNER & PAGINATION --- */
.templates-section .templates-footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4.5rem;
    gap: 2.5rem;
    width: 100%;
}

.templates-section .templates-bottom-banner {
    width: 100%;
    order: 2;
    background: radial-gradient(circle at 0% 50%, rgba(97, 198, 63, .08) 0%, rgba(255, 255, 255, 0) 45%), #fff;
    border: 1px solid rgba(0, 0, 0, .04);
    border-radius: 20px;
    padding: 1.5rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .04);
    transition: all .4s cubic-bezier(.25, 1, .5, 1);
}

.templates-section .templates-bottom-banner:hover {
    box-shadow: 0 15px 35px -10px rgba(97, 198, 63, .1);
    border-color: rgba(97, 198, 63, .15);
}

.templates-section .banner-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.templates-section .banner-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(97, 198, 63, .12) 0%, rgba(97, 198, 63, .04) 100%);
    color: rgb(97, 198, 63);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, .8), 0 4px 10px rgba(97, 198, 63, .05);
    transition: all .4s cubic-bezier(.25, 1, .5, 1);
}

.templates-section .templates-bottom-banner:hover .banner-icon-circle {
    transform: rotate(15deg) scale(1.05);
    background: radial-gradient(circle, rgba(97, 198, 63, .18) 0%, rgba(97, 198, 63, .06) 100%);
}

.templates-section .banner-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .25rem;
    letter-spacing: -.3px;
}

.templates-section .banner-text p {
    color: #64748b;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.4;
}

.templates-section .banner-btn-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 1rem;
    background: linear-gradient(135deg, #0e8d28 0%, rgb(97, 198, 63) 100%);
    padding: 1.7rem 1.75rem;
    border-radius: 18px;
    transition: all .4s cubic-bezier(.25, 1, .5, 1);
    box-shadow: 0 4px 15px rgba(14, 141, 40, .2);
    cursor: pointer;
    border: none;
    animation: cta-wobble-shake 3s infinite ease-in-out;
}

.templates-section .banner-btn-cta::before,
.templates-section .banner-btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #0e8d28 0%, rgb(97, 198, 63) 100%);
    z-index: -1;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(97, 198, 63, .6);
}

.templates-section .banner-btn-cta::before {
    animation: cta-pulse-ring-1 3s cubic-bezier(.215, .61, .355, 1) infinite;
}

.templates-section .banner-btn-cta::after {
    animation: cta-pulse-ring-2 3s cubic-bezier(.215, .61, .355, 1) infinite;
}

.templates-section .banner-btn-cta:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 25px rgba(14, 141, 40, .35);
}

@keyframes cta-pulse-ring-1 {
    0% {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 18px;
        opacity: .65;
    }

    25% {
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        border-radius: 38px;
        opacity: 0;
    }

    100% {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
    }
}

@keyframes cta-pulse-ring-2 {

    0%,
    8% {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 18px;
        opacity: 0;
    }

    9% {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 18px;
        opacity: .65;
    }

    35% {
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        border-radius: 38px;
        opacity: 0;
    }

    100% {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
    }
}

@keyframes cta-wobble-shake {

    0%,
    20%,
    100% {
        transform: scale(1) rotate(0);
    }

    4% {
        transform: scale(1.04) rotate(-2deg);
    }

    8% {
        transform: scale(1.04) rotate(2deg);
    }

    12% {
        transform: scale(1.04) rotate(-1.5deg);
    }

    16% {
        transform: scale(1.04) rotate(1.5deg);
    }
}

.templates-section .banner-text h3,
.templates-section .banner-text p,
.templates-section .btn-cta-title,
.templates-section .btn-cta-sub {
    font-family: inherit !important;
}

.templates-section .btn-cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
}

.templates-section .btn-cta-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1.2;
}

.templates-section .btn-cta-sub {
    color: rgba(255, 255, 255, .85);
    font-size: .72rem;
    font-weight: 400;
}

.templates-section .btn-cta-arrow {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background-color: #fff;
    color: #0e8d28;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .05);
    transition: all .4s cubic-bezier(.25, 1, .5, 1);
}

.templates-section .banner-btn-cta:hover .btn-cta-arrow {
    transform: translateX(3px) scale(1.05);
    color: rgb(97, 198, 63);
}

/* Pagination container */
.templates-section .templates-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
    order: 1;
    width: 100%;
}

.templates-section .page-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    color: #0f172a;
    font-weight: 800;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .02);
    transition: all .4s cubic-bezier(.25, 1, .5, 1);
}

.templates-section .page-ellipsis {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 4px;
    font-weight: 700;
    color: #a1a1aa;
    user-select: none;
}

.templates-section .page-nav-btn:hover {
    border-color: rgb(97, 198, 63);
    color: rgb(97, 198, 63);
    background-color: rgba(97, 198, 63, .1);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(97, 198, 63, .1);
}

.templates-section .page-nav-btn.active {
    background: linear-gradient(135deg, #0e8d28 0%, rgb(97, 198, 63) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(97, 198, 63, .35);
}

/* --- 10. TEMPLATES SHOWROOM RESPONSIVE BREAKPOINTS (GROUPED) --- */
@media (max-width: 1199px) {
    .templates-section .templates-hero-content {
        display: flex;
        flex-direction: column;
    }

    .templates-section .templates-hero-left {
        width: 100% !important;
        max-width: 100% !important;
    }

    .templates-section .templates-hero-right {
        display: none !important;
    }

    .templates-section .templates-tablet-mockup {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 1.5rem;
        margin-bottom: 2.25rem;
    }

    .templates-section .hero-browser-body {
        height: auto !important;
    }

    .templates-section .hero-browser-body img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .templates-section .showroom-stats-row,
    .templates-section .mini-stats-list {
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
}

@media (max-width: 991px) {
    .templates-section .templates-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3.5rem;
    }

    .templates-section .templates-hero-left {
        align-items: center;
        text-align: center;
    }

    .templates-section .showroom-stats-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .templates-section .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .templates-section .templates-controls-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .templates-section .search-box-wrapper {
        max-width: 100%;
    }

    .templates-section .templates-footer-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .templates-section .templates-pagination-container {
        justify-content: center;
        gap: 6px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .templates-section .page-nav-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    .templates-section .page-ellipsis {
        padding: 0 2px !important;
        font-size: 0.85rem !important;
    }

    .templates-section .templates-bottom-banner {
        flex-direction: row;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .templates-section .banner-left {
        flex-direction: row;
        gap: .75rem;
        width: 60%;
    }

    .templates-section .banner-right {
        width: 40%;
    }

    .templates-section .banner-btn-cta {
        width: 100%;
        justify-content: space-evenly;
    }

    .templates-section .phone-mockup {
        width: 48px;
        height: 98px;
        top: 134px;
        right: 20px;
    }

    .templates-section .phone-screen {
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;
        border-radius: 8px;
    }

    .templates-section .temp-card:hover .phone-scroll-img {
        transform: translateY(calc(92px - 100%)) !important;
    }
}

@media (max-width: 820px) {
    .templates-section .showroom-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-auto-rows: 1fr !important;
        gap: 0 !important;
        width: 100% !important;
        background-color: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, .04) !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .templates-section .mini-stats-list {
        display: contents !important;
    }

    .templates-section .rating-card {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-right: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        background-color: transparent !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 1rem .5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
    }

    .templates-section .mini-stats-list .mini-stat-item {
        padding: 1rem .5rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: .6rem !important;
        height: 100% !important;
        margin: 0 !important;
    }

    .templates-section .mini-stats-list .mini-stat-item:nth-child(1) {
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .templates-section .mini-stats-list .mini-stat-item:nth-child(2) {
        border-right: 1px solid #e2e8f0 !important;
    }

    .templates-section .mini-stat-icon {
        width: 34px !important;
        height: 34px !important;
        flex-shrink: 0 !important;
    }

    .templates-section .mini-stat-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .templates-section .mini-stat-info .value {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        line-height: 1.2 !important;
    }

    .templates-section .mini-stat-info .label {
        font-size: .7rem !important;
        white-space: normal !important;
        line-height: 1.25 !important;
        color: #64748b !important;
        margin-top: .1rem !important;
    }

    .templates-section .rating-card .stars {
        font-size: .85rem !important;
        margin-bottom: .25rem !important;
        letter-spacing: .05em !important;
    }

    .templates-section .rating-card .rating-score {
        font-size: 1.15rem !important;
        margin-bottom: .15rem !important;
    }

    .templates-section .rating-card .rating-sub {
        font-size: .65rem !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }
}

/* --- RESPONSIVE GRID BREAKPOINTS --- */
@media (max-width: 1279px) and (min-width: 1024px) {
    .templates-section .templates-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1.2rem !important;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .templates-section .templates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.2rem !important;
    }
}

@media (max-width: 767px) {
    .templates-section .container {
        padding: 0 16px !important;
    }

    .templates-section .templates-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }

    .templates-section .temp-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-height: auto !important;
    }

    .templates-section .temp-info-box {
        padding: 1rem 1.25rem !important;
    }

    .templates-section .temp-info-box h3 {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.4rem !important;
    }

    .templates-section .temp-specs-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        overflow: visible !important;
        margin-bottom: 0.85rem !important;
        width: 100% !important;
    }

    .templates-section .spec-item {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        margin-right: 0 !important;
    }

    .templates-section .spec-item-clone {
        display: none !important;
    }

    .templates-section .temp-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .templates-section .btn-card-detail,
    .templates-section .btn-outline-demo {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.65rem 0.5rem !important;
        font-size: 0.825rem !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }

    .templates-section .phone-mockup {
        bottom: 12px !important;
        right: 12px !important;
        width: 52px !important;
        height: 106px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        min-height: 106px !important;
        max-height: 106px !important;
        z-index: 15 !important;
    }

    .templates-section .templates-controls-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        align-items: stretch !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }

    .templates-section .search-box-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .templates-section [data-animate-delay] {
        transition-delay: 0s !important;
        -webkit-transition-delay: 0s !important;
    }

    .templates-section .search-input-container {
        width: 100% !important;
    }

    .templates-section .search-input-container input {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .templates-section .templates-filter-wrapper {
        width: 100% !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .templates-section .templates-filter-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0.6rem !important;
        padding-top: 6px !important;
        padding-bottom: 12px !important;
        padding-left: 2px !important;
        padding-right: 24px !important;
        margin: 0 !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .templates-section .templates-filter-bar::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
        width: 0 !important;
    }

    .templates-section .filter-btn {
        flex: 0 0 auto !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    .templates-section .sort-dropdown-container {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.75rem !important;
        margin: 0 !important;
        padding: 0 1rem !important;
        background-color: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        position: relative !important;
    }

    .templates-section .sort-label {
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        color: #64748b !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .templates-section select,
    .templates-section select#sort-select,
    .templates-section .sort-select {
        flex: 1 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 1.5rem 0 0 !important;
        line-height: 42px !important;
        font-size: 0.875rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        background-color: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        text-align: left !important;
        text-align-last: left !important;
        cursor: pointer !important;
    }

    .templates-section .dropdown-chevron {
        position: absolute !important;
        right: 0.85rem !important;
        flex-shrink: 0 !important;
        pointer-events: none !important;
    }

    .templates-section .banner-right,
    .templates-section .banner-left,
    .templates-section .templates-bottom-banner,
    .templates-section .templates-hero-wrapper {
        width: 100%;
        flex-direction: column;
    }
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 576px) {
    .templates-section .mini-stats-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 550px) {
    .templates-section .rating-card {
        padding: .2rem .15rem !important;
    }

    .templates-section .mini-stats-list .mini-stat-item {
        padding: .85rem .25rem !important;
        gap: .4rem !important;
    }

    .templates-section .mini-stat-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .templates-section .mini-stat-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .templates-section .mini-stat-info .value {
        font-size: .95rem !important;
    }

    .templates-section .mini-stat-info .label {
        font-size: .65rem !important;
    }

    .templates-section .rating-card .stars {
        font-size: .75rem !important;
    }

    .templates-section .rating-card .rating-score {
        font-size: 1.05rem !important;
    }

    .templates-section .rating-card .rating-sub {
        font-size: .6rem !important;
    }
}

@media (max-width: 480px) {
    .templates-section .phone-mockup {
        width: 40px;
        height: 82px;
        top: 150px;
        right: 20px;
        border-radius: 8px;
    }

    .templates-section .phone-screen {
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        border-radius: 7px;
    }

    .templates-section .temp-card:hover .phone-scroll-img {
        transform: translateY(calc(78px - 100%)) !important;
    }
}

@media (max-width: 380px) {

    .templates-section .btn-card-detail,
    .templates-section .btn-outline-demo {
        font-size: .625rem;
        padding: .4rem .15rem;
    }

    .templates-section .btn-outline-demo svg {
        display: none !important;
    }
}


/* ==========================================================================
   11. VMAX SEO SECTIONS (HERO, JOURNEY, BENEFITS, PRICING, PROJECTS, ETC.)
   ========================================================================== */

/* --- SCOPED COMMON STYLES --- */
.seo-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}



/* --- SEO HERO SECTION --- */
.seo-hero {
    padding: 60px 0;
    background: radial-gradient(circle at 72% 42%, #eaf7ec 0, #f1f6f2 34%, transparent 58%), linear-gradient(180deg, #f3f3f3 0, #f6f8f6 100%);
    position: relative;
    overflow: hidden;
}

.seo-hero-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
}

.seo-hero-content {
    grid-column: 1;
    grid-row: 1;
}

.seo-hero-visual {
    grid-column: 2;
    grid-row: 1 / 3;
    position: relative;
    width: 100%;
}

.seo-actions {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    gap: 16px;
    max-width: 100%;
}

/* Hero Content details */
.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #c9edcc;
    color: #087a24;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
}

.seo-badge svg {
    width: 16px;
    height: 16px;
}

.seo-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 24px;
    font-family: inherit;
    font-weight: 800;
    text-align: left;
    max-width: 96%;
}

.seo-title span {
    display: block;
}

.seo-title-highlight {
    color: #35c94a;
}

.seo-title-dark {
    color: #212121;
}

.seo-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 32px;
    max-width: 90%;
}

.seo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
    border: 2px solid transparent;
}

.seo-btn svg:not(.seo-arrow-icon) {
    width: 20px;
    height: 20px;
}

.seo-arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform .3s;
}

.seo-btn:hover .seo-arrow-icon {
    transform: translateX(5px);
}

.seo-btn-primary {
    background: #35c94a;
    color: #fff;
    box-shadow: 0 10px 20px rgba(53, 201, 74, .2);
}

.seo-btn-primary:hover {
    background: #087a24;
    box-shadow: 0 15px 25px rgba(53, 201, 74, .3);
}

.seo-btn-secondary {
    background: #fff;
    color: #212121;
    border-color: #eee;
}

.seo-btn-secondary:hover {
    border-color: #35c94a;
    color: #35c94a;
}

.seo-hero-visual-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1.2;
}

.seo-hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(53, 201, 74, .15) 0, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.seo-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    image-rendering: crisp-edges;
    transform: translateZ(0);
}

/* Reputation Bar */
.seo-reputation-bar {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    gap: 20px 48px;
    background: #fff;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.seo-rep-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.seo-rep-icon {
    width: 48px;
    height: 48px;
    background: #e8f5e9;
    color: #35c94a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-rep-icon svg {
    width: 24px;
    height: 24px;
}

.seo-rep-text {
    display: flex;
    flex-direction: column;
}

.seo-rep-text strong {
    font-size: 24px;
    font-weight: 700;
    color: #212121;
}

.seo-rep-text span {
    font-size: 13px;
    color: #555;
}

/* --- SEO JOURNEY TIMELINE SECTION --- */
.seo-journey-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #e7f3e7 0%, #fff 15%, #f7fff9 100%);
    position: relative;
    overflow: hidden;
}

.seo-journey-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.seo-journey-heading {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.seo-journey-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #087a24;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.seo-journey-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.5;
    color: #212121;
    margin-bottom: 16px;
    font-family: inherit;
}

.seo-journey-highlight {
    background: linear-gradient(90deg, #1fa83d, #36d653);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.seo-journey-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 680px;
    margin: 0 auto;
}

.seo-journey-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.seo-journey-line {
    display: none;
}

.seo-journey-card {
    position: relative;
    background: #fff;
    border: 1px solid #e7eee9;
    border-radius: 20px;
    padding: 40px 18px 24px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(16, 24, 40, .04);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    transition: box-shadow .35s ease, border-color .35s ease;
    margin-top: 40px;
}

.seo-journey-card::after {
    content: '';
    position: absolute;
    top: -35px;
    left: 50%;
    height: 4px;
    background-color: #d9e5dc;
    background-image: linear-gradient(90deg, rgba(45, 200, 76, .18), rgb(45, 200, 76));
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size 2s cubic-bezier(.22, 1, .36, 1);
    transform: translateY(-50%);
    z-index: 0;
    display: none;
}

@media (min-width: 1200px) {
    .seo-journey-card:first-of-type::after {
        display: block;
        width: calc(500% + 5 * 20px);
    }
}

.seo-journey-card:hover {
    box-shadow: 0 24px 48px rgba(16, 24, 40, .08);
    border-color: #e8f5e9;
}

.seo-journey-card:hover .seo-journey-icon svg,
.seo-journey-card:hover .seo-journey-icon .seo-journey-img {
    transform: scale(1.04);
}

.seo-journey-number {
    position: absolute;
    top: -61px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1fa83d, #2cc84d);
    color: #fff;
    border-radius: 50%;
    border: 5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 5px 4px 5px #00000073;
    z-index: 999;
}

.seo-journey-card.highlight-step .seo-journey-number {
    animation: seo-badge-wiggle 3s infinite ease-in-out;
    box-shadow: 0 0 0 6px rgba(44, 200, 77, .15), 0 8px 16px rgba(44, 200, 77, .3);
}

.seo-journey-card.highlight-step .seo-journey-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid #2cc84d;
    opacity: 0;
    animation: seo-badge-pulse 3s infinite ease-out;
    pointer-events: none;
    z-index: 10;
}

@keyframes seo-badge-wiggle {

    0%,
    70%,
    100% {
        transform: translateX(-50%) rotate(0deg);
    }

    75%,
    85% {
        transform: translateX(-50%) rotate(-10deg);
    }

    80%,
    90% {
        transform: translateX(-50%) rotate(10deg);
    }
}

@keyframes seo-badge-pulse {

    0%,
    70% {
        transform: scale(.95);
        opacity: 0;
    }

    75% {
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.seo-journey-icon {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
}

.seo-journey-icon svg,
.seo-journey-icon .seo-journey-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: fill;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.seo-journey-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 12px;
    height: 42px;
    line-height: 1.3;
}

.seo-journey-step-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Animations (handled by unified engine) */

@keyframes seo-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.seo-anim-blink {
    animation: seo-blink 1s step-end infinite;
}

@keyframes seo-grow-chart {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

.seo-journey-timeline.is-line-revealed .seo-anim-grow {
    transform-origin: bottom;
    transform-box: fill-box;
    transform: scaleY(0);
    animation: seo-grow-chart 1s cubic-bezier(.22, 1, .36, 1) forwards;
}

.seo-anim-shine {
    position: absolute;
    animation: seo-shine 3s infinite;
}

@keyframes seo-shine {
    0% {
        transform: translateX(-150%) skewX(-20deg);
    }

    20%,
    100% {
        transform: translateX(150%) skewX(-20deg);
    }
}

/* --- 12. SEO BREAKPOINTS (GROUPED) --- */
@media (max-width: 1199px) {
    .seo-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .seo-hero-content,
    .seo-hero-visual,
    .seo-actions {
        grid-column: auto;
        grid-row: auto;
    }

    .seo-hero-content {
        text-align: left;
    }



    .seo-title span {
        display: inline;
    }

    .seo-desc {
        max-width: 100%;
    }

    .seo-actions {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 16px;
    }

    .seo-actions .seo-btn {
        flex: 1;
        justify-content: center;
    }

    .seo-actions .seo-btn-primary {
        order: 1;
    }

    .seo-actions .seo-btn-secondary {
        order: 2;
    }

    .seo-hero-visual {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }

    .seo-hero-visual-inner {
        flex: 1;
    }

    .seo-reputation-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 40px;
        padding: 24px 32px;
        width: 100%;
        max-width: 90%;
    }

    .seo-rep-item {
        justify-content: flex-start;
        justify-self: center;
        width: 100%;
        max-width: 230px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .seo-journey-title {
        font-size: 32px;
    }

    .seo-journey-timeline {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        row-gap: 60px;
        max-width: 96%;
        margin: 0 auto;
    }

    .seo-journey-line {
        display: none !important;
    }

    .seo-journey-card::after {
        display: none;
    }

    .seo-journey-card:nth-of-type(3n-2)::after {
        display: block;
        width: calc(200% + 2 * 24px);
    }

    .seo-journey-card {
        flex: none;
        width: 90%;
        margin-top: 40px;
        justify-self: center;
    }

    .seo-journey-icon {
        height: auto;
    }
}

@media (max-width: 767px) {
    .seo-journey-section {
        padding: 60px 0;
    }

    .seo-journey-title {
        font-size: 24px;
    }

    .seo-journey-timeline {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 48px 0 16px;
        position: relative;
    }

    .seo-journey-line {
        display: block !important;
        position: absolute;
        top: 56px;
        bottom: 56px;
        left: 34px;
        width: 3px;
        height: auto;
        right: auto;
        background-color: #d9e5dc;
        background-image: linear-gradient(180deg, rgba(45, 200, 76, .18), rgb(45, 200, 76));
        background-repeat: no-repeat;
        background-size: 100% 0;
        transition: background-size 2s cubic-bezier(.22, 1, .36, 1);
        transform: translateX(-50%);
        z-index: 1;
    }

    .seo-journey-timeline::before,
    .seo-journey-timeline::after {
        display: none !important;
    }

    .seo-journey-card {
        display: grid;
        grid-template-columns: 32px 80px 1fr;
        grid-template-rows: auto auto;
        gap: 4px 16px;
        align-items: center;
        text-align: left;
        padding: 16px;
        padding-left: 0;
        margin-top: 0;
        width: 100%;
        flex: none;
        background: none;
        border: none;
        box-shadow: none;
        position: relative;
        isolation: isolate;
    }

    .seo-journey-card::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 42px;
        right: 0;
        background: #fff;
        border: 1px solid #e7eee9;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
        z-index: -1;
        transition: none;
    }

    .seo-journey-card::after {
        display: none !important;
    }

    .seo-journey-icon {
        grid-column: 2;
        grid-row: 1 / 3;
        width: 80px;
        height: 80px;
        margin: 0;
        border-radius: 8px;
    }

    .seo-journey-icon svg,
    .seo-journey-icon .seo-journey-img {
        border-radius: 8px;
    }

    .seo-journey-step-title {
        grid-column: 3;
        grid-row: 1;
        margin: 0;
        align-self: end;
        font-size: 14px;
        line-height: 1.3;
    }

    .seo-journey-step-desc {
        grid-column: 3;
        grid-row: 2;
        margin: 0;
        align-self: start;
        font-size: 12px;
        line-height: 1.5;
        min-width: 0;
        word-break: break-word;
    }

    .seo-journey-number {
        grid-column: 1;
        grid-row: 1 / 3;
        position: static;
        transform: none;
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-width: 3px;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, .15);
        z-index: 3;
    }

    .seo-journey-card.highlight-step .seo-journey-number {
        position: relative;
        top: auto;
        left: auto;
        animation: seo-badge-wiggle-mobile 3s infinite ease-in-out;
    }

    @keyframes seo-badge-wiggle-mobile {

        0%,
        70%,
        100% {
            transform: rotate(0);
        }

        75%,
        85% {
            transform: rotate(-10deg);
        }

        80%,
        90% {
            transform: rotate(10deg);
        }
    }

    .seo-journey-card:hover {
        box-shadow: none;
        border-color: transparent;
    }

    .seo-journey-card:hover::before {
        box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
        border-color: #e7eee9;
    }

    .seo-journey-card:hover .seo-journey-icon svg,
    .seo-journey-card:hover .seo-journey-icon .seo-journey-img {
        transform: none;
    }
}

@media (max-width: 767px) {
    .seo-hero {
        padding: 40px 0;
    }

    .seo-title {
        font-size: 24px;
    }

    .seo-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .seo-actions .seo-btn {
        width: 100%;
        flex: none;
        padding: 12px 20px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .seo-actions .seo-btn-primary {
        order: 2;
    }

    .seo-actions .seo-btn-secondary {
        order: 1;
    }

    .seo-hero-visual {
        flex-direction: column;
        gap: 24px;
    }

    .seo-hero-visual-inner {
        width: 100%;
    }

    .seo-reputation-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .seo-rep-item {
        gap: 8px;
        justify-content: flex-start;
        justify-self: center;
        width: 100%;
        max-width: 190px;
    }

    .seo-rep-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .seo-rep-icon svg {
        width: 16px;
        height: 16px;
    }

    .seo-rep-text strong {
        font-size: 14px;
        display: block;
        line-height: 1.2;
    }

    .seo-rep-text span {
        font-size: 10px;
        display: block;
        line-height: 1.2;
    }
}

@media (max-width: 712px) {
    .seo-journey-title {
        font-size: 26px;
    }
}

/* Accessibility overrides */
@media (prefers-reduced-motion: reduce) {

    .seo-journey-card,
    .seo-journey-card::after,
    .seo-journey-icon svg,
    .seo-journey-icon .seo-journey-img,
    body.seo-js-enabled [data-seo-reveal-item],
    .seo-journey-timeline.is-line-revealed .seo-journey-card::after,
    .seo-journey-card.highlight-step .seo-journey-number,
    .seo-journey-card.highlight-step .seo-journey-number::before {
        transition: none !important;
        animation: none !important;
    }
}

[data-animate-delay="1200"] {
    -webkit-transition-delay: 1.2s;
    -o-transition-delay: 1.2s;
    transition-delay: 1.2s;
}