﻿.sm-hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    align-items: center;
    padding: 72px 0;
}

.sm-hero-content h1 {
    max-width: 760px;
    margin: 14px 0 18px;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    font-weight: 850;
}

.sm-hero-content p {
    max-width: 680px;
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--sm-muted);
}

.sm-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: var(--sm-radius-pill);
    background: var(--sm-primary-soft);
    color: var(--sm-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.sm-hero-card {
    position: relative;
}

/* Store preview */

.sm-store-preview {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 34px;
    box-shadow: var(--sm-shadow-lg);
    overflow: hidden;
}

.sm-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--sm-border);
    color: var(--sm-muted);
    font-weight: 700;
    font-size: 0.92rem;
}

.sm-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 6px;
    border-radius: var(--sm-radius-pill);
    background: #d0d5dd;
}

.sm-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 22px;
}

.sm-product-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 22px;
    background: var(--sm-surface-alt);
    border: 1px solid #edf0f3;
}

    .sm-product-card strong {
        font-size: 1rem;
    }

    .sm-product-card span {
        color: var(--sm-muted);
        font-size: 0.9rem;
        line-height: 1.45;
    }

.sm-product-img {
    height: 78px;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 75, 51, 0.28), transparent 28%), linear-gradient(135deg, #ffffff, #eef2f6);
    border: 1px solid #edf0f3;
}

/* Intro */

.sm-intro p {
    max-width: 900px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--sm-muted);
}

/* Features */

.sm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sm-feature-card:hover {
    border-color: red;
    box-shadow: 10px 10px 5px #808080;
}

.sm-feature-card,
.sm-step {
    transition: 0.2s ease-in-out;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    border-radius: 26px;
    padding: 24px;
    box-shadow: var(--sm-shadow-sm);
}

    .sm-steps :hover {
        border-color: red;
    }


.sm-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--sm-primary-soft);
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.sm-feature-card h3,
.sm-step h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    font-weight: 850;
}

.sm-feature-card p,
.sm-step p,
.sm-final-cta p {
    margin: 0;
    color: var(--sm-muted);
    line-height: 1.65;
}

/* Steps */

.sm-steps-section {
    background: #ffffff;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.sm-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sm-step span {
    display: inline-flex;
    margin-bottom: 16px;
    font-size: 0.86rem;
    font-weight: 900;
    color: var(--sm-primary-dark);
}

/* Industries */

.sm-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .sm-pill-list span {
        display: inline-flex;
        padding: 12px 18px;
        border-radius: var(--sm-radius-pill);
        background: #ffffff;
        border: 1px solid var(--sm-border);
        color: var(--sm-dark);
        font-weight: 750;
        box-shadow: 0 12px 28px rgba(16, 24, 40, 0.04);
    }

/* Final CTA */

.sm-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 56px 0 84px;
    padding: 36px;
    border-radius: 34px;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 36%), linear-gradient(135deg, #101828, #1d2939);
    color: #ffffff;
}

    .sm-final-cta h2 {
        margin: 14px 0 0;
        font-size: clamp(2rem, 4vw, 3.3rem);
        line-height: 1;
        letter-spacing: -0.045em;
        font-weight: 850;
        color: #ffffff;
    }

    .sm-final-cta p {
        max-width: 680px;
        color: rgba(255, 255, 255, 0.74);
    }

    .sm-final-cta .sm-kicker {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

/* Responsive */

@media (max-width: 1100px) {
    .sm-hero {
        grid-template-columns: 1fr;
    }

    .sm-feature-grid,
    .sm-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .sm-hero {
        padding: 42px 0;
    }

    .sm-hero-content h1 {
        font-size: clamp(2.3rem, 14vw, 3.5rem);
    }

    .sm-product-grid,
    .sm-feature-grid,
    .sm-steps {
        grid-template-columns: 1fr;
    }

    .sm-final-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 26px;
    }
}
/* ================================
   Homepage upgrades
================================ */

.sm-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

    .sm-trust-row span {
        display: inline-flex;
        align-items: center;
        padding: 9px 13px;
        border-radius: var(--sm-radius-pill);
        background: rgba(255, 255, 255, 0.75);
        border: 1px solid var(--sm-border);
        color: var(--sm-dark);
        font-size: 0.84rem;
        font-weight: 800;
        box-shadow: var(--sm-shadow-sm);
    }

/* Animated hero preview */

.sm-live-store-preview {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: var(--sm-shadow-lg);
}

.sm-live-preview-body {
    position: relative;
    padding: 22px;
    min-height: 480px;
}

.sm-live-store-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: var(--sm-surface-alt);
    border: 1px solid var(--sm-border);
}

.sm-mini-logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-dark));
    color: #ffffff;
    font-weight: 900;
}

.sm-live-store-top strong,
.sm-live-store-top small {
    display: block;
}

.sm-live-store-top small {
    color: var(--sm-muted);
    font-weight: 700;
}

.sm-live-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.sm-live-product {
    position: relative;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-sm);
}

.sm-live-product-image {
    height: 120px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: radial-gradient(circle at 25% 20%, rgba(255, 75, 51, 0.25), transparent 32%), linear-gradient(135deg, #ffffff, #edf0f3);
}

.sm-live-product strong,
.sm-live-product small {
    display: block;
}

.sm-live-product small {
    color: var(--sm-primary-dark);
    font-weight: 900;
}

.sm-sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 9px;
    border-radius: var(--sm-radius-pill);
    background: var(--sm-primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
}

.sm-mini-cart-notice,
.sm-payment-toast {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 270px;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-md);
}

.sm-mini-cart-notice {
    left: 22px;
    bottom: 88px;
    animation: smSlideNotice 4s ease-in-out infinite;
}

.sm-payment-toast {
    right: 22px;
    bottom: 24px;
    animation: smSlideNotice 4s ease-in-out infinite 1s;
}

    .sm-mini-cart-notice > span,
    .sm-payment-toast > span {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: var(--sm-primary-soft);
        color: var(--sm-primary-dark);
        font-weight: 900;
    }

    .sm-mini-cart-notice strong,
    .sm-payment-toast strong,
    .sm-mini-cart-notice small,
    .sm-payment-toast small {
        display: block;
    }

    .sm-mini-cart-notice small,
    .sm-payment-toast small {
        color: var(--sm-muted);
    }

.sm-float-one {
    animation: smFloat 5s ease-in-out infinite;
}

.sm-float-two {
    animation: smFloat 5s ease-in-out infinite 0.8s;
}

/* Story sections */

.sm-story-section {
    position: relative;
}

.sm-story-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.sm-story-card {
    position: relative;
    padding: 22px;
    border-radius: 26px;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .sm-story-card:hover {
        transform: translateY(-8px);
        border-color: rgba(255, 75, 51, 0.35);
        box-shadow: var(--sm-shadow-md);
    }

    .sm-story-card span {
        display: inline-flex;
        margin-bottom: 18px;
        color: var(--sm-primary-dark);
        font-size: 0.82rem;
        font-weight: 900;
    }

    .sm-story-card h3 {
        margin-bottom: 10px;
        font-size: 1.15rem;
    }

    .sm-story-card p {
        margin: 0;
        color: var(--sm-muted);
    }

/* Before / After */

.sm-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.sm-compare-card {
    padding: 28px;
    border-radius: 30px;
    border: 1px solid var(--sm-border);
    background: var(--sm-surface);
    box-shadow: var(--sm-shadow-sm);
}

.sm-compare-before {
    background: #ffffff;
}

.sm-compare-after {
    border-color: rgba(255, 75, 51, 0.35);
    background: radial-gradient(circle at top right, rgba(255, 75, 51, 0.1), transparent 45%), #ffffff;
}

.sm-compare-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: var(--sm-radius-pill);
    background: var(--sm-primary-soft);
    color: var(--sm-primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sm-compare-card ul {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.sm-compare-card li {
    position: relative;
    padding-left: 28px;
    color: var(--sm-muted);
}

    .sm-compare-card li::before {
        position: absolute;
        left: 0;
        font-weight: 900;
    }

.sm-compare-before li::before {
    content: "×";
    color: #d92d20;
}

.sm-compare-after li::before {
    content: "✓";
    color: var(--sm-primary-dark);
}

/* What you get */

.sm-get-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sm-get-item {
    position: relative;
    padding: 18px 18px 18px 48px;
    border-radius: 22px;
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-sm);
    color: var(--sm-dark);
    font-weight: 850;
}

    .sm-get-item::before {
        content: "✓";
        position: absolute;
        left: 18px;
        top: 18px;
        width: 22px;
        height: 22px;
        display: grid;
        place-items: center;
        border-radius: var(--sm-radius-pill);
        background: var(--sm-primary-soft);
        color: var(--sm-primary-dark);
        font-size: 0.8rem;
        font-weight: 900;
    }

/* Showcase */

.sm-showcase {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.sm-showcase-tabs {
    display: grid;
    gap: 10px;
}

.sm-showcase-tab {
    padding: 15px 18px;
    border: 1px solid var(--sm-border);
    border-radius: 18px;
    background: #ffffff;
    color: var(--sm-dark);
    font-weight: 900;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

    .sm-showcase-tab:hover,
    .sm-showcase-tab.active {
        background: var(--sm-primary);
        color: #ffffff;
        transform: translateX(4px);
    }

.sm-showcase-panel {
    position: relative;
    min-height: 350px;
    padding: 30px;
    border-radius: 32px;
    background: radial-gradient(circle at top left, rgba(255, 75, 51, 0.14), transparent 40%), linear-gradient(135deg, #ffffff, #f9fafb);
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-md);
}

.sm-showcase-screen {
    display: none;
    height: 100%;
    animation: smFadeUp 0.35s ease both;
}

    .sm-showcase-screen.active {
        display: block;
    }

    .sm-showcase-screen span {
        color: var(--sm-primary-dark);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .sm-showcase-screen h3 {
        max-width: 620px;
        margin: 14px 0;
        font-size: clamp(2rem, 4vw, 3.4rem);
        line-height: 0.95;
    }

    .sm-showcase-screen p {
        max-width: 680px;
        color: var(--sm-muted);
        font-size: 1.08rem;
    }

/* Mid CTA */

.sm-mid-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 30px 0;
    padding: 32px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(255, 75, 51, 0.22);
    box-shadow: var(--sm-shadow-md);
}

    .sm-mid-cta h2 {
        margin: 14px 0 10px;
        font-size: clamp(1.8rem, 4vw, 3rem);
        line-height: 1;
    }

    .sm-mid-cta p {
        margin: 0;
        color: var(--sm-muted);
    }

/* Industries */

.sm-industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sm-industry-card {
    padding: 24px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .sm-industry-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--sm-shadow-md);
    }

    .sm-industry-card > span {
        font-size: 2rem;
    }

    .sm-industry-card h3 {
        margin: 14px 0 10px;
    }

    .sm-industry-card p {
        margin: 0;
        color: var(--sm-muted);
    }

/* Pricing preview */

.sm-pricing-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sm-pricing-mini {
    padding: 26px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-sm);
}

.sm-pricing-mini-featured {
    border-color: rgba(255, 75, 51, 0.35);
    box-shadow: 0 24px 60px rgba(255, 75, 51, 0.14);
}

.sm-pricing-mini span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: var(--sm-radius-pill);
    background: var(--sm-primary-soft);
    color: var(--sm-primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.sm-pricing-mini p {
    color: var(--sm-muted);
}

.sm-pricing-mini a {
    font-weight: 900;
}

/* FAQ teaser */

.sm-faq-teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sm-faq-mini {
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-sm);
}

    .sm-faq-mini h3 {
        font-size: 1.1rem;
    }

    .sm-faq-mini p {
        margin: 0;
        color: var(--sm-muted);
    }

/* Floating CTA */

.sm-floating-demo-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--sm-radius-pill);
    background: var(--sm-primary);
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(255, 75, 51, 0.32);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    .sm-floating-demo-btn.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .sm-floating-demo-btn:hover {
        color: #ffffff;
        background: var(--sm-primary-dark);
    }

/* Animations */

@keyframes smFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes smSlideNotice {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes smFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media (max-width: 1150px) {
    .sm-story-grid,
    .sm-faq-teaser-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-get-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm-showcase {
        grid-template-columns: 1fr;
    }

    .sm-showcase-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .sm-compare-grid,
    .sm-industry-grid,
    .sm-pricing-mini-grid {
        grid-template-columns: 1fr;
    }

    .sm-mid-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .sm-live-preview-body {
        min-height: 520px;
    }

    .sm-live-product-grid,
    .sm-story-grid,
    .sm-get-grid,
    .sm-faq-teaser-grid,
    .sm-showcase-tabs {
        grid-template-columns: 1fr;
    }

    .sm-floating-demo-btn {
        left: 16px;
        right: 16px;
        width: auto;
    }
}
