/* ============================================================
   YUVMEDIA — Premium Enterprise Landing Page
   Stack: HTML5 + CSS3 + Vanilla JS · Blue & White design system
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
    --primary: #007BFF;
    --primary-dark: #0063cc;
    --blue-300: #3395ff;
    --blue-200: #66b3ff;
    --blue-100: #cce5ff;
    --blue-50: #eaf4ff;
    --white: #FFFFFF;
    --ink: #0b1b33;
    /* very dark blue for text */
    --ink-soft: #43587a;
    /* muted blue-grey text */
    --border: rgba(0, 123, 255, 0.14);
    --surface: #f6faff;

    --grad-primary: linear-gradient(135deg, #007BFF 0%, #3395ff 55%, #66b3ff 100%);
    --grad-soft: linear-gradient(180deg, #ffffff 0%, #eaf4ff 100%);

    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;

    --shadow-sm: 0 2px 10px rgba(11, 27, 51, 0.06);
    --shadow-md: 0 10px 34px rgba(0, 123, 255, 0.12);
    --shadow-lg: 0 24px 64px rgba(0, 123, 255, 0.18);
    --shadow-glow: 0 0 0 4px rgba(0, 123, 255, 0.14), 0 12px 32px rgba(0, 123, 255, 0.35);

    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 76px;
}

/* ---------- Reset & Base ---------- */
.shopify-content {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.shopify-content *,
.shopify-content *::before,
.shopify-content *::after {
    box-sizing: border-box;
}

.shopify-content img,
.shopify-content svg {
    display: block;
    max-width: 100%;
}

.shopify-content a {
    color: inherit;
    text-decoration: none;
}

.shopify-content ul,
.shopify-content ol {
    list-style: none;
}

.shopify-content button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: #007bff;
}

.shopify-content input,
.shopify-content select,
.shopify-content textarea {
    font: inherit;
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.shopify-content .container {
    width: min(1200px, 100% - 48px);
    margin-inline: auto;
}

.shopify-content .container-narrow {
    width: min(860px, 100% - 48px);
}

/* ---------- Typography helpers ---------- */
.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--blue-50);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.18);
    animation: pulse 2.2s infinite;
}

.section {
    padding: 112px 0;
}

.section-tint {
    background: var(--surface);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 18px;
}

.section-sub {
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.75;
}

.section-cta {
    text-align: center;
    margin-top: 52px;
}

/* ---------- Buttons ---------- */
.shopify-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 999px;
    padding: 13px 26px;
    font-size: 0.95rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
        background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
    white-space: nowrap;
}

.shopify-content .btn-sm {
    padding: 10px 20px;
    font-size: 0.88rem;
}

.shopify-content .btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.shopify-content .btn-block {
    width: 100%;
}

.shopify-content .btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(0, 123, 255, 0.32);
}

.shopify-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.shopify-content .btn-glow {
    position: relative;
}

.shopify-content .btn-outline {
    border: 1.5px solid var(--blue-100);
    color: var(--primary);
    background: var(--white);
}

.shopify-content .btn-outline:hover {
    border-color: var(--primary);
    background: var(--blue-50);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.shopify-content .btn-ghost {
    color: var(--ink);
    padding-inline: 14px;
}

.shopify-content .btn-ghost:hover {
    color: var(--primary);
}

.shopify-content .btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 28px rgba(11, 27, 51, 0.22);
}

.shopify-content .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(11, 27, 51, 0.3);
}

.shopify-content .btn-outline-white {
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.shopify-content .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 84px) 0 110px;
    overflow: hidden;
    background: var(--grad-soft);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}

.orb-1 {
    width: 560px;
    height: 560px;
    background: var(--blue-100);
    top: -180px;
    right: -120px;
    animation: drift 14s ease-in-out infinite alternate;
}

.orb-2 {
    width: 420px;
    height: 420px;
    background: rgba(102, 179, 255, 0.55);
    bottom: -160px;
    left: -140px;
    animation: drift 18s ease-in-out infinite alternate-reverse;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 123, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 123, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.35rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 22px;
}

.hero-sub {
    color: var(--ink-soft);
    font-size: 1.07rem;
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.hero-cta.center {
    justify-content: center;
    margin-bottom: 0;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}

.trust-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.trust-badges svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Hero dashboard visual */
.hero-visual {
    position: relative;
}

.dashboard {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: floatY 7s ease-in-out infinite;
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-100);
}

.dash-dots span:first-child {
    background: var(--blue-200);
}

.dash-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-soft);
}

.dash-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--blue-50);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 11px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 1.8s infinite;
}

.dash-body {
    display: flex;
}

.dash-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 14px;
    border-right: 1px solid var(--border);
}

.side-item {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--blue-300);
    background: var(--blue-50);
    transition: all 0.3s;
}

.side-item.active {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.35);
}

.side-item svg {
    width: 20px;
    height: 20px;
}

.dash-main {
    flex: 1;
    padding: 18px;
    display: grid;
    gap: 16px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dash-stat {
    background: var(--blue-50);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    display: grid;
    gap: 2px;
}

.ds-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.ds-value {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ds-trend {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
}

.dash-chart {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    background: #fff;
}

.dash-chart svg {
    width: 100%;
    height: 110px;
}

.chart-line {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: draw 2.6s 0.5s var(--ease) forwards;
}

.chart-area {
    opacity: 0;
    animation: fadeIn 1.2s 1.6s forwards;
}

.dash-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.channel-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--ink-soft);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: var(--shadow-sm);
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Floating cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.float-card strong {
    display: block;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
}

.float-card small {
    color: var(--ink-soft);
    font-size: 0.72rem;
}

.fc-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--blue-50);
    border-radius: 11px;
}

.fc-icon svg {
    width: 20px;
    height: 20px;
}

.float-card-1 {
    top: -26px;
    right: -14px;
    animation: floatY 5.5s 0.4s ease-in-out infinite;
}

.float-card-2 {
    bottom: 82px;
    left: -38px;
    animation: floatY 6.5s 1.1s ease-in-out infinite;
}

.float-card-3 {
    bottom: -24px;
    right: 40px;
    animation: floatY 6s 0.8s ease-in-out infinite;
}

.float-card-4 {
    top: -20px;
    right: -10px;
    animation: floatY 6s 0.3s ease-in-out infinite;
}

.float-card-5 {
    bottom: -22px;
    left: -16px;
    animation: floatY 7s 1s ease-in-out infinite;
}

/* ---------- Client logos ---------- */
.logos-section {
    padding: 44px 0 52px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.logos-title {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    margin-bottom: 26px;
}

.logos-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 48px;
}

.client-logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--blue-200);
    transition: color 0.3s, transform 0.3s;
}

.client-logo:nth-child(2n) {
    font-style: italic;
    font-weight: 700;
}

.client-logo:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* ---------- Feature cards (multi-channel) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.feature-card,
.why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.feature-card:hover,
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-100);
}

.feature-card h3,
.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 18px 0 8px;
}

.feature-card p,
.why-card p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.65;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--blue-50);
    color: var(--primary);
    transition: all 0.35s var(--ease);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card:hover .feature-icon,
.why-card:hover .feature-icon {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(0, 123, 255, 0.35);
    transform: scale(1.06) rotate(-4deg);
}

/* ---------- ERP cards ---------- */
.erp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.erp-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.erp-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.erp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.erp-card:hover::before {
    transform: scaleX(1);
}

.erp-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--blue-50);
    color: var(--primary);
    margin-bottom: 22px;
    transition: all 0.35s var(--ease);
}

.erp-icon svg {
    width: 28px;
    height: 28px;
}

.erp-card:hover .erp-icon {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(0, 123, 255, 0.35);
}

.erp-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.erp-card p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    transition: gap 0.3s var(--ease);
}

.card-link:hover {
    gap: 11px;
}

.card-link.light {
    color: var(--white);
}

/* ---------- Split sections ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.split .section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.split .section-sub {
    margin-bottom: 30px;
}

/* Browser mock illustration */
.split-visual {
    position: relative;
}

.browser-mock {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: floatY 8s ease-in-out infinite;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.browser-url {
    flex: 1;
    max-width: 260px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--blue-50);
    border-radius: 999px;
    padding: 5px 16px;
    text-align: center;
}

.browser-body {
    padding: 26px;
    display: grid;
    gap: 22px;
}

.bm-hero {
    display: grid;
    gap: 12px;
    justify-items: start;
}

.bm-pill {
    width: 120px;
    height: 20px;
    border-radius: 999px;
    background: var(--blue-100);
}

.bm-line {
    height: 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--blue-100), var(--blue-50));
}

.w-70 {
    width: 70%;
}

.w-45 {
    width: 45%;
}

.bm-btn {
    width: 130px;
    height: 38px;
    border-radius: 999px;
    background: var(--grad-primary);
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.3);
}

.bm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.bm-card {
    height: 88px;
    border-radius: 14px;
    background: var(--blue-50);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.bm-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 12px 14px;
    height: 8px;
    border-radius: 4px;
    background: var(--blue-100);
}

/* Check list */
.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 26px;
}

.check-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.check-badge {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--blue-50);
    color: var(--primary);
    transition: all 0.3s;
}

.check-badge svg {
    width: 14px;
    height: 14px;
}

.check-list li:hover .check-badge {
    background: var(--grad-primary);
    color: var(--white);
}

.check-list strong {
    font-size: 0.96rem;
    letter-spacing: -0.01em;
}

.check-list p {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-top: 2px;
}

/* ---------- What We Build ---------- */
.build-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.build-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    color: var(--white);
    background: linear-gradient(150deg, #0063cc 0%, #007BFF 45%, #3395ff 100%);
    overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
    box-shadow: 0 14px 36px rgba(0, 123, 255, 0.22);
}

.build-card:nth-child(2) {
    background: linear-gradient(150deg, #007BFF 0%, #3395ff 55%, #66b3ff 100%);
}

.build-card:nth-child(3) {
    background: linear-gradient(150deg, #0b1b33 0%, #0a3d78 55%, #007BFF 100%);
}

.build-card:nth-child(4) {
    background: linear-gradient(150deg, #1a8cff 0%, #007BFF 60%, #0063cc 100%);
}

.build-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -90px;
    right: -90px;
    transition: transform 0.6s var(--ease);
}

.build-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 26px 60px rgba(0, 123, 255, 0.4);
}

.build-card:hover::after {
    transform: scale(1.5);
}

.build-num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-size: 0.85rem;
    font-weight: 800;
    opacity: 0.55;
    letter-spacing: 0.06em;
}

.build-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    margin-bottom: 24px;
}

.build-icon svg {
    width: 32px;
    height: 32px;
}

.build-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.build-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.88;
    margin-bottom: 22px;
}

/* ---------- Statistics ---------- */
.shopify-content .stats-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #0b1b33 0%, #0a3d78 55%, #0063cc 100%);
    color: var(--white);
}

.shopify-content .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 30%, #66b3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-100);
    letter-spacing: 0.02em;
}

/* ---------- Why choose us ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ---------- Process ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.process-step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 34px 26px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.process-step::after {
    content: "→";
    position: absolute;
    top: 40px;
    right: -21px;
    color: var(--blue-200);
    font-size: 1.2rem;
    font-weight: 800;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-num {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.35);
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.65;
}

/* ---------- Tech stack ---------- */
.stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.stack-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 12px 22px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
}

.stack-chip svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.stack-chip:hover {
    transform: translateY(-4px);
    border-color: var(--blue-200);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

/* ---------- Testimonials ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.testi-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: var(--primary);
    letter-spacing: 4px;
    font-size: 1rem;
}

.testi-card blockquote {
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--ink-soft);
    flex: 1;
}

.testi-card figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.testi-card strong {
    display: block;
    font-size: 0.94rem;
}

.testi-card small {
    color: var(--ink-soft);
    font-size: 0.8rem;
}

/* ---------- FAQ ---------- */
.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item[open],
.faq-item:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blue-50);
    transition: background 0.3s, transform 0.35s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.35s var(--ease), background 0.3s;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
    background: var(--grad-primary);
    transform: rotate(180deg);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
    background: var(--white);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s var(--ease);
}

.faq-answer p {
    padding: 0 26px 24px;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.75;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, #0063cc 0%, #007BFF 45%, #3395ff 100%);
    overflow: hidden;
}

.cta-orbs span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(60px);
}

.cta-orbs span:first-child {
    width: 420px;
    height: 420px;
    top: -180px;
    left: -120px;
    animation: drift 12s ease-in-out infinite alternate;
}

.cta-orbs span:last-child {
    width: 360px;
    height: 360px;
    bottom: -160px;
    right: -100px;
    animation: drift 15s ease-in-out infinite alternate-reverse;
}

.cta-banner h2 {
    position: relative;
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-banner p {
    position: relative;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 38px;
}

/* ---------- Contact ---------- */
.contact-list {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-ic {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--blue-50);
    color: var(--primary);
}

.contact-ic svg {
    width: 22px;
    height: 22px;
}

.contact-list strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.contact-list a,
.contact-list span:not(.contact-ic) {
    font-weight: 600;
    font-size: 0.98rem;
}

.contact-list a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1.5px solid var(--blue-100);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 0.94rem;
    background: var(--surface);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    outline: none;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8aa3c7;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    min-height: 1.2em;
    text-align: center;
}

/* ---------- Newsletter ---------- */
.newsletter {
    padding: 72px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 48px;
    box-shadow: var(--shadow-md);
}

.newsletter h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.newsletter p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-form input {
    min-width: 260px;
    border: 1.5px solid var(--blue-100);
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 0.94rem;
    background: var(--surface);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12);
}

/* ---------- Footer ---------- */
.footer {
    background: #0b1b33;
    color: var(--blue-100);
    padding: 80px 0 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 44px;
    padding-bottom: 54px;
    border-bottom: 1px solid rgba(102, 179, 255, 0.18);
}

.footer-logo {
    color: var(--white);
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #9db8dd;
    max-width: 300px;
    margin-bottom: 24px;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(0, 123, 255, 0.16);
    color: var(--blue-100);
    transition: all 0.3s var(--ease);
}

.socials svg {
    width: 18px;
    height: 18px;
}

.socials a:hover {
    background: var(--grad-primary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 123, 255, 0.4);
}

.footer-col {
    display: grid;
    gap: 13px;
    align-content: start;
}

.footer-col h3 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.footer-col a,
.footer-muted {
    font-size: 0.92rem;
    color: #9db8dd;
    transition: color 0.25s, transform 0.25s;
}

.footer-col a:hover {
    color: var(--blue-200);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 30px;
    font-size: 0.85rem;
    color: #9db8dd;
}

.footer-legal {
    display: flex;
    gap: 26px;
}

.footer-legal a:hover {
    color: var(--blue-200);
}

/* ---------- Floating helpers ---------- */
.floating-cta {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 13px 22px;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.4);
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.3s;
}

.floating-cta svg {
    width: 18px;
    height: 18px;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--blue-100);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s, color 0.3s;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--grad-primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---------- Scroll reveal animations ---------- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}

.reveal {
    transform: translateY(36px);
}

.reveal-left {
    transform: translateX(-48px);
}

.reveal-right {
    transform: translateX(48px);
}

.reveal-scale {
    transform: scale(0.9);
}

.in-view {
    opacity: 1;
    transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }

    60% {
        box-shadow: 0 0 0 8px rgba(0, 123, 255, 0);
    }
}

@keyframes drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, 36px) scale(1.12);
    }
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 90px;
    }

    .hero-content {
        max-width: 640px;
    }

    .hero-visual {
        max-width: 620px;
        margin-inline: auto;
        width: 100%;
    }

    .erp-grid,
    .why-grid,
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .build-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2)::after {
        display: none;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .split-visual {
        max-width: 600px;
        margin-inline: auto;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .shopify-content .section {
        padding: 84px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 24px;
    }

    .newsletter-inner {
        padding: 34px 26px;
    }
}

@media (max-width: 620px) {
    .shopify-content .container {
        width: min(1200px, 100% - 36px);
    }

    .shopify-content .hero {
        padding-top: 50PX;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .erp-grid,
    .why-grid,
    .testi-grid,
    .build-grid,
    .process-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        display: none !important;
    }

    .float-card {
        padding: 10px 13px;
    }

    .float-card strong {
        font-size: 0.76rem;
    }

    .float-card small {
        font-size: 0.66rem;
    }

    .float-card-2 {
        left: -8px;
    }

    .float-card-1,
    .float-card-4 {
        right: -6px;
    }

    .dash-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .ds-value {
        font-size: 0.9rem;
    }

    .shopify-content .hero-cta .btn {
        width: 100%;
    }

    .shopify-content .newsletter-form,
    .shopify-content .newsletter-form input,
    .shopify-content .newsletter-form .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .floating-cta {
        left: 16px;
        bottom: 16px;
        font-size: 0.8rem;
        padding: 11px 17px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

/* ================= GROWTH FORM (Hero Section) ================= */
.gform-growth-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-lg);
}

.gform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.gform-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.gform-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.gform-group .required {
    color: #e74c3c;
}

.gform-group input,
.gform-group select,
.gform-group textarea {
    padding: 12px 14px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 15px;
    transition: 0.3s;
    font-family: var(--font);
}

.gform-group input::placeholder,
.gform-group textarea::placeholder {
    color: #9aa9bb;
}

.gform-group input:focus,
.gform-group select:focus,
.gform-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
    outline: none;
    background: var(--white);
}

.gform-full-span {
    grid-column: 1 / -1;
}

.gform-actions {
    margin-top: 24px;
}

.gform-submit-btn {
    width: 100%;
    background: var(--grad-primary);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
}

.gform-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.gform-footer-text {
    margin-top: 14px;
    font-size: 13px;
    color: var(--ink-soft);
    text-align: center;
}

.gform-footer-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.gform-footer-text a:hover {
    text-decoration: underline;
}

/* Loader */
.gform-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: gformSpin 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes gformSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .gform-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gform-growth-form {
        padding: 24px 18px;
    }

    .gform-submit-btn {
        padding: 13px;
        font-size: 15px;
    }
}