/* public/css/homepage.css - QRPrint SaaS Modern SaaS Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --q-primary: #2563EB;
    --q-primary-hover: #1D4ED8;
    --q-primary-light: #EFF6FF;
    --q-dark: #0F172A;
    --q-slate: #475569;
    --q-muted: #64748B;
    --q-light-bg: #F8FAFC;
    --q-border: #E2E8F0;
    --q-success: #16A34A;
    --q-success-bg: #F0FDF4;
    --q-radius-sm: 8px;
    --q-radius-md: 12px;
    --q-radius-lg: 16px;
    --q-radius-xl: 24px;
    --q-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --q-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
    --q-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--q-dark);
    background-color: #FFFFFF;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── CONTAINER ───────────────────────────────────────────────────────────── */
.q-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HEADER / NAVBAR ──────────────────────────────────────────────────────── */
.q-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--q-border);
    z-index: 1000;
    transition: all 0.25s ease;
}

.q-navbar.q-nav-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.q-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.q-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--q-dark);
}

.q-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s ease;
}

.q-logo:hover .q-logo-img {
    transform: scale(1.05);
}

.q-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 28px;
    height: 28px;
}

.q-logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.q-dot-1 { background-color: #2563EB; }
.q-dot-2 { background-color: #3B82F6; }
.q-dot-3 { background-color: #60A5FA; }
.q-dot-4 { background-color: #93C5FD; }

.q-logo-text {
    display: flex;
    flex-direction: column;
}

.q-logo-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--q-dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.q-logo-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--q-muted);
    letter-spacing: -0.1px;
}

.q-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.q-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--q-slate);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
}

.q-nav-link:hover, .q-nav-link.active {
    color: var(--q-primary);
}

.q-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2.5px;
    background-color: var(--q-primary);
    border-radius: 2px;
}

.q-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.q-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: var(--q-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    white-space: nowrap;
}

.q-btn-outline {
    background-color: #FFFFFF;
    border-color: var(--q-primary);
    color: var(--q-primary);
}

.q-btn-outline:hover {
    background-color: var(--q-primary-light);
}

.q-btn-primary {
    background-color: var(--q-primary);
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.q-btn-primary:hover {
    background-color: var(--q-primary-hover);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    color: #FFFFFF;
}

.q-btn-hero-primary {
    background-color: var(--q-primary);
    color: #FFFFFF;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: var(--q-radius-md);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.q-btn-hero-primary:hover {
    background-color: var(--q-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    color: #FFFFFF;
}

.q-btn-hero-secondary {
    background-color: #FFFFFF;
    border: 1px solid var(--q-primary);
    color: var(--q-primary);
    font-size: 15px;
    padding: 12px 22px;
    border-radius: var(--q-radius-md);
}

.q-btn-hero-secondary:hover {
    background-color: var(--q-primary-light);
    transform: translateY(-1px);
}

.q-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--q-dark);
    cursor: pointer;
}

/* ── HERO SECTION ─────────────────────────────────────────────────────────── */
.q-hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

.q-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.q-hero-left {
    max-width: 540px;
}

.q-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #DBEAFE;
    color: #1E40AF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.q-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    color: var(--q-dark);
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}

.q-text-blue {
    color: var(--q-primary);
}

.q-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--q-slate);
    margin-bottom: 32px;
    max-width: 510px;
}

.q-hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.q-trust-points {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.q-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--q-slate);
}

.q-trust-icon {
    color: var(--q-success);
    font-size: 16px;
}

/* ── HERO RIGHT VISUAL ────────────────────────────────────────────────────── */
.q-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
}

.q-hero-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.q-hero-visual-wrapper:hover {
    transform: translateY(-5px) scale(1.015);
}

.q-hero-glow-backdrop {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 75%);
    filter: blur(45px);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

.q-hero-theme-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.16), 0 8px 20px -6px rgba(37, 99, 235, 0.12);
    transition: box-shadow 0.4s ease;
}

.q-hero-visual-wrapper:hover .q-hero-theme-img {
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.22), 0 12px 28px -6px rgba(37, 99, 235, 0.18);
}


/* Plant background accent */
.q-plant-bg {
    position: absolute;
    right: 20px;
    top: 10px;
    width: 140px;
    height: 180px;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

/* Handwritten arrow annotation */
.q-handwritten-note {
    position: absolute;
    right: 30px;
    top: 40px;
    font-family: 'Caveat', cursive;
    font-size: 22px;
    line-height: 1.1;
    color: #3B82F6;
    transform: rotate(6deg);
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.q-handwritten-arrow {
    width: 50px;
    height: 40px;
    stroke: #3B82F6;
    stroke-width: 2;
    fill: none;
    margin-left: 10px;
}

/* Smartphone Mockup */
.q-phone-mockup {
    width: 230px;
    background: #FFFFFF;
    border: 8px solid #0F172A;
    border-radius: 36px;
    padding: 12px 10px 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    z-index: 4;
    position: relative;
    margin-right: -20px;
}

.q-phone-notch {
    width: 60px;
    height: 14px;
    background-color: #0F172A;
    border-radius: 0 0 10px 10px;
    margin: -12px auto 10px;
}

.q-phone-header {
    text-align: center;
    margin-bottom: 12px;
}

.q-phone-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--q-dark);
}

.q-phone-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.q-phone-step-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--q-light-bg);
    border: 1px solid var(--q-border);
    border-radius: 10px;
    padding: 8px 10px;
}

.q-step-num {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background-color: var(--q-primary-light);
    color: var(--q-primary);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.q-step-text {
    display: flex;
    flex-direction: column;
}

.q-step-head {
    font-size: 11px;
    font-weight: 700;
    color: var(--q-dark);
    line-height: 1.2;
}

.q-step-sub {
    font-size: 9px;
    color: var(--q-muted);
}

.q-phone-btn {
    width: 100%;
    background-color: var(--q-primary);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    padding: 9px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Acrylic Desktop QR Sign Stand */
.q-qr-stand {
    width: 200px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    z-index: 5;
    position: relative;
}

.q-qr-head {
    text-align: center;
    margin-bottom: 10px;
}

.q-qr-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--q-dark);
}

.q-qr-sub {
    font-size: 9.5px;
    color: var(--q-muted);
    font-weight: 500;
}

.q-qr-code-box {
    width: 130px;
    height: 130px;
    margin: 0 auto 10px;
    background: #FFFFFF;
    border: 2px solid var(--q-dark);
    border-radius: 10px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.q-qr-code-svg {
    width: 100%;
    height: 100%;
}

.q-qr-tags {
    font-size: 9px;
    font-weight: 700;
    color: var(--q-slate);
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.q-qr-banner {
    background-color: var(--q-primary);
    color: #FFFFFF;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.q-qr-banner-brand {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.q-qr-banner-text {
    font-size: 8.5px;
    font-weight: 500;
    opacity: 0.9;
}

/* Printer Hardware Visual */
.q-printer-visual {
    width: 210px;
    position: absolute;
    right: 0;
    bottom: 20px;
    z-index: 2;
}

.q-printer-body {
    background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 100%);
    border: 2px solid #CBD5E1;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.q-printer-slot {
    height: 6px;
    background-color: #0F172A;
    border-radius: 3px;
    margin-bottom: 8px;
    position: relative;
}

.q-printed-paper {
    width: 130px;
    height: 70px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    margin: -10px auto 0;
    border-radius: 2px 2px 6px 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(4px);
    transition: transform 0.3s ease;
}

.q-paper-line {
    height: 3px;
    background-color: #E2E8F0;
    border-radius: 2px;
}

.q-paper-line-sm { width: 60%; }

/* ── BENEFITS FLOATING BAR ────────────────────────────────────────────────── */
.q-benefits-bar-wrap {
    margin-top: -30px;
    position: relative;
    z-index: 20;
    margin-bottom: 70px;
}

.q-benefits-bar {
    background-color: #FFFFFF;
    border: 1px solid var(--q-border);
    border-radius: var(--q-radius-xl);
    box-shadow: var(--q-shadow-lg);
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.q-benefit-col {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.q-benefit-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background-color: var(--q-border);
}

.q-benefit-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.q-icon-green { background-color: #DCFCE7; color: #16A34A; }
.q-icon-blue { background-color: #DBEAFE; color: #2563EB; }
.q-icon-purple { background-color: #F3E8FF; color: #9333EA; }
.q-icon-pink { background-color: #FFE4E6; color: #E11D48; }

.q-benefit-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--q-dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.q-benefit-text p {
    font-size: 12.5px;
    color: var(--q-muted);
}

/* ── SECTIONS COMMON ──────────────────────────────────────────────────────── */
.q-section-header {
    text-align: center;
    margin-bottom: 28px;
    display: block;
}

.q-section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--q-dark);
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.q-section-desc {
    font-size: 16px;
    color: var(--q-slate);
    line-height: 1.55;
    margin: 0 auto;
    max-width: 680px;
}

/* ── FEATURE CARDS SECTION ────────────────────────────────────────────────── */
.q-features-section {
    padding-bottom: 60px;
}

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

.q-feature-card {
    background: #FFFFFF;
    border: 1px solid var(--q-border);
    border-radius: var(--q-radius-lg);
    padding: 28px 24px;
    transition: all 0.25s ease;
    box-shadow: var(--q-shadow-sm);
    display: flex;
    flex-direction: column;
}

.q-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--q-shadow-md);
    border-color: #BFDBFE;
}

.q-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--q-primary-light);
    color: var(--q-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.q-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--q-dark);
    margin-bottom: 8px;
}

.q-feature-desc {
    font-size: 14px;
    color: var(--q-slate);
    line-height: 1.5;
}

/* ── PAGE SELECTION DEMO SECTION ─────────────────────────────────────────── */
.q-page-demo-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--q-light-bg);
    border-top: 1px solid var(--q-border);
    border-bottom: 1px solid var(--q-border);
}

.q-demo-card {
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid var(--q-border);
    border-radius: var(--q-radius-xl);
    box-shadow: var(--q-shadow-lg);
    padding: 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.q-doc-selector {
    background-color: var(--q-light-bg);
    border: 1px solid var(--q-border);
    border-radius: var(--q-radius-md);
    padding: 20px;
}

.q-doc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--q-border);
}

.q-doc-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--q-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-doc-total-pages {
    font-size: 12px;
    font-weight: 600;
    color: var(--q-muted);
}

.q-page-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.q-page-pill {
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid var(--q-border);
    background: #FFFFFF;
    color: var(--q-slate);
    cursor: pointer;
    transition: all 0.2s;
}

.q-page-pill.selected {
    background-color: var(--q-primary);
    color: #FFFFFF;
    border-color: var(--q-primary);
}

.q-calc-box {
    background-color: #FFFFFF;
    border: 1px dashed #93C5FD;
    border-radius: var(--q-radius-md);
    padding: 20px;
}

.q-calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--q-slate);
    margin-bottom: 8px;
}

.q-calc-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 800;
    color: var(--q-dark);
    padding-top: 12px;
    border-top: 1px solid var(--q-border);
    margin-top: 12px;
}

.q-calc-amount {
    color: var(--q-primary);
}

/* ── HOW IT WORKS TIMELINE ────────────────────────────────────────────────── */
.q-how-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.q-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.q-timeline-step {
    text-align: center;
    position: relative;
}

.q-step-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--q-primary-light);
    color: var(--q-primary);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid #BFDBFE;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
}

.q-step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--q-dark);
    margin-bottom: 8px;
}

.q-step-desc {
    font-size: 14px;
    color: var(--q-slate);
    line-height: 1.5;
}

/* ── SHOP OWNER SECTION ──────────────────────────────────────────────────── */
.q-shop-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
    border-top: 1px solid var(--q-border);
}

.q-shop-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.q-shop-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0 32px;
}

.q-shop-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--q-dark);
}

.q-shop-feature-item i {
    color: var(--q-primary);
}

.q-dashboard-mockup {
    background: #FFFFFF;
    border: 1px solid var(--q-border);
    border-radius: var(--q-radius-xl);
    box-shadow: var(--q-shadow-lg);
    overflow: hidden;
}

.q-dash-header {
    background-color: var(--q-dark);
    color: #FFFFFF;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.q-dash-title {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-dash-agent-status {
    font-size: 11px;
    background: rgba(22, 163, 74, 0.2);
    color: #4ADE80;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.q-dash-body {
    padding: 20px;
}

.q-dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.q-dash-metric-card {
    background-color: var(--q-light-bg);
    border: 1px solid var(--q-border);
    border-radius: 10px;
    padding: 12px;
}

.q-metric-lbl {
    font-size: 11px;
    color: var(--q-muted);
    font-weight: 600;
}

.q-metric-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--q-dark);
}

.q-dash-printer-info {
    background-color: var(--q-primary-light);
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--q-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ── PRICING SECTION (Vibrant Colorful Card Themes) ──────────────────────── */
.q-pricing-section {
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
}

.q-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.q-price-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 34px 26px 28px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.q-price-card:hover {
    transform: translateY(-8px);
}

/* --- Theme 1: Emerald Teal (STARTER) --- */
.q-price-card.q-plan-emerald {
    border: 2px solid #10B981;
    background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 28%);
    box-shadow: 0 12px 30px -8px rgba(16, 185, 129, 0.2);
}
.q-price-card.q-plan-emerald:hover {
    box-shadow: 0 20px 40px -8px rgba(16, 185, 129, 0.35);
    border-color: #059669;
}
.q-price-card.q-plan-emerald .q-plan-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.q-price-card.q-plan-emerald .q-plan-name {
    color: #065F46;
}
.q-price-card.q-plan-emerald .q-plan-price {
    color: #047857;
}
.q-price-card.q-plan-emerald .q-plan-pages-tag {
    background: #D1FAE5;
    color: #065F46;
}
.q-price-card.q-plan-emerald .q-plan-features-list i {
    color: #10B981;
}
.q-price-card.q-plan-emerald .q-plan-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.q-price-card.q-plan-emerald .q-plan-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}

/* --- Theme 2: Royal Indigo / Violet (BASIC PACK - Featured Popular) --- */
.q-price-card.q-plan-indigo {
    border: 2.5px solid #6366F1;
    background: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 30%);
    box-shadow: 0 18px 45px -8px rgba(99, 102, 241, 0.35);
    transform: scale(1.03);
    z-index: 2;
}
.q-price-card.q-plan-indigo:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 24px 50px -8px rgba(99, 102, 241, 0.45);
    border-color: #4F46E5;
}
.q-price-card.q-plan-indigo .q-plan-badge {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    font-weight: 800;
}
.q-price-card.q-plan-indigo .q-plan-name {
    color: #312E81;
}
.q-price-card.q-plan-indigo .q-plan-price {
    color: #4338CA;
}
.q-price-card.q-plan-indigo .q-plan-pages-tag {
    background: #E0E7FF;
    color: #3730A3;
}
.q-price-card.q-plan-indigo .q-plan-features-list i {
    color: #6366F1;
}
.q-price-card.q-plan-indigo .q-plan-btn {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.4);
}
.q-price-card.q-plan-indigo .q-plan-btn:hover {
    background: linear-gradient(135deg, #4338CA 0%, #6D28D9 100%);
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.55);
}

/* --- Theme 3: Sunset Coral / Amber (PRO BUNDLE) --- */
.q-price-card.q-plan-amber {
    border: 2px solid #F97316;
    background: linear-gradient(180deg, #FFF7ED 0%, #FFFFFF 28%);
    box-shadow: 0 12px 30px -8px rgba(249, 115, 22, 0.22);
}
.q-price-card.q-plan-amber:hover {
    box-shadow: 0 20px 40px -8px rgba(249, 115, 22, 0.38);
    border-color: #EA580C;
}
.q-price-card.q-plan-amber .q-plan-badge {
    background: linear-gradient(135deg, #F97316 0%, #DC2626 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}
.q-price-card.q-plan-amber .q-plan-name {
    color: #7C2D12;
}
.q-price-card.q-plan-amber .q-plan-price {
    color: #C2410C;
}
.q-price-card.q-plan-amber .q-plan-pages-tag {
    background: #FFEDD5;
    color: #9A3412;
}
.q-price-card.q-plan-amber .q-plan-features-list i {
    color: #F97316;
}
.q-price-card.q-plan-amber .q-plan-btn {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
}
.q-price-card.q-plan-amber .q-plan-btn:hover {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
}

/* Card internals */
.q-price-card-header {
    margin-bottom: 12px;
}

.q-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.q-plan-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    margin-top: 6px;
    letter-spacing: -0.3px;
}

.q-plan-pages-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.q-price-box {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #E2E8F0;
}

.q-plan-price {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.q-plan-per-page {
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
}

.q-plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.q-plan-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
}

.q-plan-features-list li i {
    font-size: 16px;
    flex-shrink: 0;
}

.q-plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* ── SECURITY SECTION ────────────────────────────────────────────────────── */
.q-security-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--q-light-bg);
    border-top: 1px solid var(--q-border);
    border-bottom: 1px solid var(--q-border);
}

.q-security-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    text-align: center;
}

.q-security-item {
    background: #FFFFFF;
    border: 1px solid var(--q-border);
    border-radius: var(--q-radius-md);
    padding: 20px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--q-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.q-security-item i {
    font-size: 24px;
    color: var(--q-success);
}

/* ── FINAL CTA SECTION ───────────────────────────────────────────────────── */
.q-final-cta-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.q-final-cta-card {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-radius: var(--q-radius-xl);
    padding: 60px 32px;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.q-final-cta-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--q-dark);
    margin-bottom: 12px;
}

.q-final-cta-desc {
    font-size: 16px;
    color: var(--q-slate);
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.q-footer {
    background-color: var(--q-dark);
    color: #94A3B8;
    padding: 70px 0 30px;
    font-size: 14px;
}

.q-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.q-footer-brand-title {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.q-footer-col h5 {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.q-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.q-footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.q-footer-links a:hover {
    color: #FFFFFF;
}

.q-footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #64748B;
}

/* ── RESPONSIVE MEDIA QUERIES ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .q-hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .q-hero-left { max-width: 100%; margin: 0 auto; }
    .q-hero-desc { margin-left: auto; margin-right: auto; }
    .q-hero-ctas, .q-trust-points { justify-content: center; }
    .q-benefits-bar { grid-template-columns: repeat(2, 1fr); }
    .q-benefit-col:nth-child(2)::after { display: none; }
    .q-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; }
    .q-shop-grid { grid-template-columns: 1fr; }
    .q-pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .q-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .q-nav-links, .q-nav-actions { display: none; }
    .q-mobile-toggle { display: block; }
    .q-hero-title { font-size: 38px; }
    .q-benefits-bar { grid-template-columns: 1fr; }
    .q-benefit-col::after { display: none !important; }
    .q-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    min-width: 255px;
}
}

#hp-root .q-logo-grid {
    width: 40px;
    height: 40px;
    gap: 4px;
}

#hp-root .q-logo-dot {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

#hp-root .q-logo-title {
    font-size: 24px;
    letter-spacing: -.7px;
}

#hp-root .q-logo-sub {
    font-size: 10.5px;
    margin-top: 1px;
}

#hp-root .q-nav-links {
    gap: 27px;
}

#hp-root .q-nav-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    transition: color 0.2s ease;
}

#hp-root .q-nav-link:hover,
#hp-root .q-nav-link.active {
    color: #2563EB !important;
}

#hp-root .q-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #2563EB !important;
    border-radius: 2px;
}

#home, #features, #shop-owners, #pricing, #how-it-works, #contact {
    scroll-margin-top: 80px;
}

#hp-root .q-nav-actions {
    gap: 10px;
    min-width: 255px;
    justify-content: flex-end;
}

#hp-root .q-btn {
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 9px;
    font-size: 13.5px;
}

#hp-root .q-hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background:
        radial-gradient(circle at 78% 35%, rgba(219,234,254,.72), transparent 28%),
        linear-gradient(180deg, #f4f9ff 0%, #eef6ff 55%, #f8fbff 100%);
}

#hp-root .q-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 28px;
    min-height: 485px;
}

#hp-root .q-hero-left {
    max-width: 620px;
    padding-left: 8px;
}

#hp-root .q-hero-badge {
    margin-bottom: 24px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #e8f2ff;
    color: #1763df;
    font-size: 10.5px;
    letter-spacing: 1.35px;
}

#hp-root .q-hero-title {
    font-size: clamp(45px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -2.15px;
    margin-bottom: 18px;
}

#hp-root .q-hero-desc {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.62;
    color: #53627a;
    margin-bottom: 27px;
}

#hp-root .q-hero-ctas {
    gap: 16px;
    margin-bottom: 25px;
}

#hp-root .q-btn-hero-primary,
#hp-root .q-btn-hero-secondary {
    min-height: 58px;
    padding: 13px 25px;
    border-radius: 10px;
    font-size: 14.5px;
}

#hp-root .q-btn-hero-primary {
    box-shadow: 0 9px 22px rgba(37,99,235,.22);
}

#hp-root .q-btn-hero-secondary {
    border-color: #a9c8ff;
}

#hp-root .q-trust-points {
    gap: 28px;
}

#hp-root .q-trust-item {
    font-size: 12.5px;
    font-weight: 500;
}

#hp-root .q-trust-icon {
    font-size: 17px;
}

#hp-root .q-hero-right {
    min-height: 485px;
    transform: translateY(-3px);
}

#hp-root .q-phone-mockup {
    width: 228px;
    border-width: 7px;
    border-radius: 35px;
    padding: 12px 10px 15px;
    transform: translateX(-25px) rotate(-1deg);
    box-shadow: 0 25px 45px rgba(15,23,42,.17);
}

#hp-root .q-qr-stand {
    width: 215px;
    padding: 16px 14px 13px;
    border-radius: 7px;
    transform: translate(55px, 35px) rotate(3deg);
    box-shadow: 0 20px 38px rgba(15,23,42,.15);
}

#hp-root .q-qr-code-box {
    width: 132px;
    height: 132px;
    border: 0;
    border-radius: 7px;
    padding: 8px;
}

#hp-root .q-qr-title {
    font-size: 19px;
    text-align: left;
    padding-left: 8px;
}

#hp-root .q-qr-sub {
    font-size: 10px;
    text-align: left;
    padding-left: 8px;
}

#hp-root .q-qr-tags {
    font-size: 9.5px;
}

#hp-root .q-qr-banner {
    margin: 0 -14px -13px;
    border-radius: 0 0 6px 6px;
    padding: 12px 8px 13px;
}

#hp-root .q-qr-banner-brand {
    font-size: 18px;
}

#hp-root .q-qr-banner-text {
    font-size: 9px;
}

#hp-root .q-printer-visual {
    width: 275px;
    right: -12px;
    bottom: 23px;
    opacity: .98;
}

#hp-root .q-printer-body {
    border-radius: 13px;
    padding: 13px;
    background: linear-gradient(180deg,#edf2f7 0%,#d9e1ea 100%);
}

#hp-root .q-printed-paper {
    width: 145px;
    height: 80px;
}

#hp-root .q-handwritten-note {
    right: 2px;
    top: 35px;
    font-size: 22px;
    color: #385b8e;
}

#hp-root .q-benefits-bar-wrap {
    margin-top: -34px;
    margin-bottom: 64px;
}

#hp-root .q-benefits-bar {
    padding: 25px 36px;
    border-radius: 21px;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    box-shadow: 0 14px 35px rgba(15,23,42,.08);
}

#hp-root .q-benefit-col {
    min-width: 0;
    gap: 14px;
}

#hp-root .q-benefit-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 21px;
}

#hp-root .q-benefit-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

#hp-root .q-benefit-text p {
    font-size: 12.5px;
}

#hp-root .q-features-section {
    padding-bottom: 60px;
}

#hp-root .q-section-header {
    text-align: center;
    margin-bottom: 28px;
}

#hp-root .q-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    color: #7890b3;
    margin-bottom: 10px;
}

#hp-root .q-section-title {
    font-size: 38px;
    letter-spacing: -1.2px;
}

#hp-root .q-section-desc {
    font-size: 16px;
    color: #687892;
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}

#hp-root .q-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

#hp-root .q-feature-card {
    min-height: 190px;
    padding: 20px 24px 24px;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(15,23,42,.025);
}

#hp-root .q-feature-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 12px;
}

#hp-root .q-feature-title {
    font-size: 17px;
    margin-bottom: 7px;
}

#hp-root .q-feature-desc {
    font-size: 14px;
    color: #64748b;
}

/* Mobile navigation: clean drawer matching the same visual language. */
@media (max-width: 1024px) {
    #hp-root .q-container {
        width: min(100% - 40px, 900px);
    }

    #hp-root .q-nav-links {
        display: none;
    }

    #hp-root .q-nav-actions {
        display: none;
    }

    #hp-root .q-logo {
        min-width: 0;
    }

    #hp-root .q-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid #dbe5f3;
        border-radius: 9px;
        background: #fff;
        font-size: 20px;
    }

    #hp-root .q-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    #hp-root .q-hero-left {
        max-width: 700px;
        margin: 0 auto;
        padding-left: 0;
    }

    #hp-root .q-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    #hp-root .q-hero-right {
        min-height: 460px;
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

    #hp-root .q-hero-ctas,
    #hp-root .q-trust-points {
        justify-content: center;
    }

    #hp-root .q-benefits-bar {
        grid-template-columns: repeat(2,1fr);
    }

    #hp-root .q-benefit-col:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    #hp-root .q-container {
        width: min(100% - 28px, 620px);
    }

    #hp-root .q-navbar {
        height: 62px;
    }

    #hp-root .q-logo-grid {
        width: 34px;
        height: 34px;
    }

    #hp-root .q-logo-dot {
        width: 15px;
        height: 15px;
    }

    #hp-root .q-logo-title {
        font-size: 21px;
    }

    #hp-root .q-logo-sub {
        font-size: 9px;
    }

    #hp-root .q-hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
    }

    #hp-root .q-hero-title {
        font-size: clamp(36px, 10vw, 46px);
        letter-spacing: -1.5px;
    }

    #hp-root .q-hero-desc {
        font-size: 14px;
    }

    #hp-root .q-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    #hp-root .q-btn-hero-primary,
    #hp-root .q-btn-hero-secondary {
        width: 100%;
    }

    #hp-root .q-hero-right {
        min-height: 395px;
        transform: none;
    }

    #hp-root .q-phone-mockup {
        width: 190px;
        transform: translateX(-48px) rotate(-1deg) scale(.92);
        transform-origin: center;
    }

    #hp-root .q-qr-stand {
        width: 175px;
        transform: translate(45px, 30px) rotate(3deg) scale(.9);
        transform-origin: center;
    }

    #hp-root .q-printer-visual {
        width: 215px;
        right: -12px;
        bottom: 8px;
    }

    #hp-root .q-handwritten-note {
        display: none;
    }

    #hp-root .q-benefits-bar-wrap {
        margin-top: -24px;
        margin-bottom: 50px;
    }

    #hp-root .q-benefits-bar {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 14px;
        border-radius: 16px;
    }

    #hp-root .q-benefit-col {
        padding: 2px 0;
    }

    #hp-root .q-section-title {
        font-size: 31px;
    }

    #hp-root .q-section-desc {
        font-size: 14px;
    }

    #hp-root .q-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    }
    #hp-root .q-mobile-link {
        width: 100%;
        border: 0;
        background: transparent;
        padding: 11px 12px;
        text-align: left;
        color: #334155;
        font: 600 14px/1.2 Inter,system-ui,sans-serif;
        border-radius: 8px;
    }
    #hp-root .q-mobile-link.active,
    #hp-root .q-mobile-link:hover {
        color: #2563eb;
        background: #eff6ff;
    }
    #hp-root .q-mobile-menu-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding-top: 10px;
        margin-top: 8px;
        border-top: 1px solid #e2e8f0;
    }
    #hp-root .q-mobile-menu-actions .q-btn {
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
    }
}
@media (max-width: 420px) {
    #hp-root .q-mobile-menu-actions {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   REGISTERED PRINT SHOPS DIRECTORY SECTION
   ══════════════════════════════════════════════════════════════════════════════ */
.q-shops-section {
    padding: 72px 0 64px;
    scroll-margin-top: 80px;
}

.q-shops-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.q-shops-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.q-shops-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #EFF6FF;
    border: 1.5px solid #BFDBFE;
    border-radius: 9999px;
    font-size: 13.5px;
    color: #1E40AF;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

.q-shops-count-dot {
    width: 8px;
    height: 8px;
    background: #16A34A;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
    animation: qDotPulse 2s infinite ease-in-out;
}

@keyframes qDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
}

.q-btn-map-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.q-btn-map-toggle:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    color: #0F172A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Filter Card */
.q-shops-filter-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    margin-bottom: 24px;
}

.q-shops-filter-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.3fr 1.6fr 1.6fr auto;
    gap: 16px;
    align-items: flex-end;
}

.q-filter-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.q-filter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.q-filter-icon {
    position: absolute;
    left: 13px;
    color: #94A3B8;
    font-size: 14px;
    pointer-events: none;
}

.q-filter-input {
    width: 100%;
    height: 42px;
    padding: 8px 12px 8px 36px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 13.5px;
    color: #0F172A;
    font-family: inherit;
    transition: all 0.2s ease;
}

.q-filter-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.q-filter-btn-group {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.q-filter-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 0;
    white-space: nowrap;
}

.q-filter-btn-search {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.q-filter-btn-search:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.q-filter-btn-reset {
    background: #F1F5F9;
    color: #475569;
    border: 1.5px solid #CBD5E1;
}

.q-filter-btn-reset:hover {
    background: #E2E8F0;
    color: #1E293B;
}

/* Table Card */
.q-shops-table-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.q-table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.q-shops-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.q-shops-table thead th {
    background: #F8FAFC;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 18px;
    border-bottom: 1.5px solid #E2E8F0;
    white-space: nowrap;
}

.q-shops-table tbody tr {
    transition: background 0.15s ease;
}

.q-shops-table tbody tr:hover {
    background: #F8FAFC;
}

.q-shops-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 13.5px;
    color: #1E293B;
    vertical-align: middle;
}

.q-shops-table tbody tr:last-child td {
    border-bottom: 0;
}

.q-shop-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.q-shop-logo-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: contain;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 3px;
    flex-shrink: 0;
}

.q-shop-name-txt {
    font-weight: 700;
    color: #0F172A;
    font-size: 14px;
    line-height: 1.3;
}

.q-shop-code-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    color: #2563EB;
    background: #EFF6FF;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid #DBEAFE;
    letter-spacing: 0.3px;
}

.q-shop-address-txt {
    max-width: 220px;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

.q-shop-badge-light {
    display: inline-block;
    padding: 3px 9px;
    background: #F1F5F9;
    color: #334155;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.q-shop-pincode-pill {
    display: inline-block;
    padding: 3px 8px;
    background: #EFF6FF;
    color: #1D4ED8;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    border: 1px solid #BFDBFE;
}

.q-shop-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #334155;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    white-space: nowrap;
}

.q-btn-view-shop {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #EFF6FF;
    color: #2563EB;
    border: 1.5px solid #BFDBFE;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.q-btn-view-shop:hover {
    background: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.28);
}

/* Mobile Shop Cards */
.q-shops-mobile-list {
    display: none;
    padding: 14px;
    gap: 12px;
}

.q-shop-mobile-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.q-mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Pagination Bar */
.q-shops-pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #F8FAFC;
    border-top: 1.5px solid #E2E8F0;
    flex-wrap: wrap;
    gap: 12px;
}

.q-pagination-info {
    font-size: 13px;
    color: #64748B;
}

.q-pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-limit-selector-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #64748B;
    margin-right: 6px;
}

.q-limit-select {
    height: 32px;
    padding: 2px 8px;
    border: 1.5px solid #CBD5E1;
    border-radius: 6px;
    background: #FFF;
    font-size: 12px;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
}

.q-pagination-btn {
    height: 32px;
    padding: 0 12px;
    border: 1.5px solid #CBD5E1;
    border-radius: 6px;
    background: #FFF;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.q-pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.q-pagination-btn:not(:disabled):hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #94A3B8;
}

.q-page-numbers {
    display: flex;
    gap: 4px;
}

.q-page-num-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border: 1.5px solid #CBD5E1;
    border-radius: 6px;
    background: #FFF;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.q-page-num-btn:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
}

.q-page-num-btn.active {
    background: #2563EB;
    color: #FFF;
    border-color: #2563EB;
}

/* Loading & Empty states */
.q-shops-loading-state,
.q-shops-empty-state,
.q-shops-error-state {
    padding: 48px 20px;
    text-align: center;
}

.q-btn-sm-retry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #2563EB;
    color: #FFF;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.q-btn-sm-retry:hover {
    background: #1D4ED8;
}

/* Modals */
.q-shop-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: qFadeIn 0.2s ease;
}

.q-shop-modal-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    max-width: 580px;
    width: 100%;
    overflow: hidden;
    animation: qScaleUp 0.2s ease;
}

@keyframes qFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes qScaleUp {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.q-shop-modal-header {
    padding: 20px 24px;
    border-bottom: 1.5px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8FAFC;
}

.q-shop-modal-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: contain;
    background: #FFF;
    border: 1px solid #E2E8F0;
    padding: 4px;
}

.q-modal-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: #E2E8F0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.q-modal-close-btn:hover {
    background: #CBD5E1;
    color: #0F172A;
}

.q-shop-modal-body {
    padding: 22px 24px;
    max-height: calc(85vh - 140px);
    overflow-y: auto;
}

.q-shop-modal-footer {
    padding: 16px 24px;
    border-top: 1.5px solid #E2E8F0;
    background: #F8FAFC;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .q-shops-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    .q-filter-btn-group {
        grid-column: span 2;
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .q-table-responsive-wrapper {
        display: none;
    }
    .q-shops-mobile-list {
        display: grid;
    }
    .q-shops-filter-grid {
        grid-template-columns: 1fr;
    }
    .q-filter-btn-group {
        grid-column: span 1;
        width: 100%;
    }
    .q-filter-btn-group .q-filter-btn {
        flex: 1;
    }
    .q-shops-header-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
    .q-shops-pagination-bar {
        flex-direction: column;
        align-items: center;
    }
}








