/* =========================================================================
   SHOPIFY.CSS — Shopify Development Service Page Styles
   ========================================================================= */

/* ---- HERO ---- */
.shopify-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--color-bg-dark, #f8f9fc);
}

.shopify-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.sh-blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
    top: -100px; left: -120px;
}
.sh-blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(124,58,237,0.13) 0%, transparent 70%);
    top: 50px; right: -80px;
}
.sh-blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 70%);
    bottom: 0; left: 40%;
}

.shopify-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Centered variant — when no visual */
.shopify-hero-centered {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    justify-items: center;
}

.shopify-hero-content-center {
    text-align: center;
    max-width: 740px;
    width: 100%;
}

.shopify-hero-content-center .shopify-hero-desc {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.shopify-hero-content-center .sh-hero-actions {
    justify-content: center;
}

.shopify-hero-content-center .sh-hero-stats {
    justify-content: center;
}

.sh-gradient-text {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shopify-hero-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--color-text-pure, #0f1117);
    margin-bottom: 20px;
}

.shopify-hero-desc {
    font-size: 17px;
    color: var(--color-text-silver, #6b7280);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 480px;
}

.sh-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.sh-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}
.sh-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37,99,235,0.4);
}

.sh-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-primary, #2563eb);
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1.5px solid rgba(37,99,235,0.25);
    transition: all 0.3s ease;
}
.sh-btn-ghost:hover {
    background: rgba(37,99,235,0.06);
    border-color: rgba(37,99,235,0.5);
}

.sh-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0 0;
    border-top: 1px solid var(--color-border-glass, rgba(0,0,0,0.08));
}

.sh-stat {
    display: flex;
    flex-direction: column;
}
.sh-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary, #2563eb);
    letter-spacing: -0.02em;
}
.sh-stat-label {
    font-size: 12px;
    color: var(--color-text-silver, #6b7280);
    font-weight: 500;
}
.sh-stat-sep {
    width: 1px;
    height: 36px;
    background: var(--color-border-glass, rgba(0,0,0,0.1));
}

/* Store Mockup Visual */
.shopify-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sh-store-mockup {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(0,0,0,0.06);
    animation: sh-float 5s ease-in-out infinite;
}

@keyframes sh-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.sh-mockup-bar {
    background: #f3f4f6;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e5e7eb;
}
.sh-dot { width: 10px; height: 10px; border-radius: 50%; }
.sh-dot-r { background: #ef4444; }
.sh-dot-y { background: #f59e0b; }
.sh-dot-g { background: #10b981; }
.sh-url-bar {
    margin-left: 10px;
    font-size: 11px;
    color: #9ca3af;
    background: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    flex: 1;
    border: 1px solid #e5e7eb;
}

.sh-mockup-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.sh-mock-nav {
    height: 8px;
    background: linear-gradient(90deg, #e5e7eb 60%, transparent);
    border-radius: 4px;
}

.sh-mock-hero-img {
    height: 120px;
    background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(124,58,237,0.10) 100%);
    border-radius: 10px;
    position: relative;
    border: 1px solid rgba(37,99,235,0.1);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 10px;
}
.sh-mock-badge-live {
    background: #10b981;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.sh-mock-product-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.sh-mock-product {
    height: 60px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.sh-mock-product-feat {
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
    border-color: rgba(37,99,235,0.15);
}

.sh-mock-cta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
}
.sh-mock-cta-btn {
    height: 32px;
    flex: 1;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-radius: 8px;
}
.sh-mock-metric {
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    line-height: 1.3;
}
.sh-metric-up {
    display: block;
    font-weight: 800;
    font-size: 13px;
    color: #10b981;
}

/* Floating Badges */
.sh-float-badge {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-pure, #0f1117);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.sh-float-1 { bottom: 30px; left: -20px; animation: sh-float 4s ease-in-out infinite 1s; }
.sh-float-2 { top: 20px; right: -20px; animation: sh-float 4s ease-in-out infinite 2s; }

/* ---- SERVICES SECTION ---- */
.sh-services-section {
    padding: 100px 0;
    background: #fff;
}

.sh-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sh-service-card {
    background: var(--color-bg-dark, #f8f9fc);
    border: 1px solid var(--color-border-glass, rgba(0,0,0,0.07));
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    opacity: 0;
    transform: translateY(20px);
}
.sh-service-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.sh-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    border-color: rgba(37,99,235,0.15);
}

.sh-service-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: var(--ib);
    color: var(--ic);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sh-service-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-pure, #0f1117);
    margin-bottom: 10px;
}

.sh-service-card p {
    font-size: 14px;
    color: var(--color-text-silver, #6b7280);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sh-service-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary, #2563eb);
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
}

/* ---- PROCESS SECTION ---- */
.sh-process-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.sh-process-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(124,58,237,0.03) 100%);
}

.sh-process-steps {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
}

.sh-process-step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--color-border-glass, rgba(0,0,0,0.07));
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.sh-process-step.visible {
    opacity: 1;
    transform: translateY(0);
}
.sh-process-step:hover {
    box-shadow: 0 12px 40px rgba(37,99,235,0.1);
    border-color: rgba(37,99,235,0.2);
}

.sh-step-num {
    font-size: 36px;
    font-weight: 900;
    color: rgba(37,99,235,0.15);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 12px;
}

.sh-step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-pure, #0f1117);
    margin-bottom: 8px;
}

.sh-step-content p {
    font-size: 13px;
    color: var(--color-text-silver, #6b7280);
    line-height: 1.55;
}

.sh-process-arrow {
    padding: 0 8px;
    color: rgba(37,99,235,0.3);
    flex-shrink: 0;
}

/* ---- RESULTS SECTION ---- */
.sh-results-section {
    padding: 100px 0;
    background: #fff;
}

.sh-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sh-result-card {
    background: var(--color-bg-dark, #f8f9fc);
    border: 1px solid var(--color-border-glass, rgba(0,0,0,0.07));
    border-radius: 16px;
    padding: 36px 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.sh-result-card.visible { opacity: 1; transform: translateY(0); }

.sh-result-card-featured {
    background: linear-gradient(135deg, #0f1117 0%, #1e293b 100%);
    border-color: rgba(37,99,235,0.3);
    position: relative;
    overflow: hidden;
}
.sh-result-card-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 60% 40%, rgba(37,99,235,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.sh-result-metric {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary, #2563eb);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
}
.sh-result-card-featured .sh-result-metric { color: #60a5fa; }

.sh-result-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-silver, #6b7280);
    margin-bottom: 16px;
}
.sh-result-card-featured .sh-result-label { color: rgba(255,255,255,0.5); }

.sh-result-text {
    font-size: 14px;
    color: var(--color-text-silver, #6b7280);
    line-height: 1.65;
    margin-bottom: 24px;
    font-style: italic;
}
.sh-result-card-featured .sh-result-text { color: rgba(255,255,255,0.7); }

.sh-result-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sh-result-author .t-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.sh-result-author div:last-child strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-pure, #0f1117);
}
.sh-result-card-featured .sh-result-author div:last-child strong { color: #fff; }
.sh-result-author div:last-child span {
    font-size: 12px;
    color: var(--color-text-silver, #6b7280);
}
.sh-result-card-featured .sh-result-author div:last-child span { color: rgba(255,255,255,0.5); }

/* ---- PRICING TWEAKS for Shopify page ---- */
.sh-pricing-section { padding: 100px 0; }

/* ---- CTA SECTION ---- */
.sh-cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-dark, #f8f9fc);
}

.sh-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.sh-cta-blob-1 {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
    top: -200px; left: -100px;
    filter: blur(60px);
}
.sh-cta-blob-2 {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
    bottom: -100px; right: -80px;
    filter: blur(60px);
}

.sh-cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.sh-cta-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-pure, #0f1117);
    margin: 12px 0 16px;
    line-height: 1.12;
}

.sh-cta-desc {
    font-size: 16px;
    color: var(--color-text-silver, #6b7280);
    line-height: 1.6;
    margin-bottom: 36px;
}

.sh-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- NAVBAR ACTIVE STATE ---- */
.nav-link.active-shopify { color: var(--color-primary, #2563eb) !important; }

/* ---- REVEAL ANIMATION ---- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .shopify-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .shopify-hero-visual { display: none; }
    .sh-services-grid { grid-template-columns: repeat(2, 1fr); }
    .sh-results-grid { grid-template-columns: repeat(2, 1fr); }
    .sh-process-steps { gap: 8px; }
}

@media (max-width: 768px) {
    .shopify-hero { padding: 90px 0 60px; }
    .sh-services-grid { grid-template-columns: 1fr; }
    .sh-results-grid { grid-template-columns: 1fr; }
    .sh-process-steps { flex-direction: column; align-items: stretch; }
    .sh-process-arrow { transform: rotate(90deg); }
    .sh-process-step { max-width: 100%; }
    .sh-hero-stats { flex-wrap: wrap; gap: 16px; }
}