/* ==========================================================================
   SMARTQUOTATION — MODERN B2B PRODUCT LANDING PAGE DESIGN SYSTEM
   Clean, Premium, Minimalist, Fast
   ========================================================================== */

:root {
    --sq-bg: #FFFFFF;
    --sq-bg-subtle: #F8FAFC;
    --sq-bg-dark: #0F172A;
    --sq-bg-card: #FFFFFF;
    
    --sq-text-primary: #0F172A;
    --sq-text-secondary: #475569;
    --sq-text-muted: #64748B;
    --sq-text-light: #F8FAFC;
    
    --sq-border: #E2E8F0;
    --sq-border-subtle: #F1F5F9;
    --sq-border-strong: #CBD5E1;
    
    --sq-accent: #2563EB;
    --sq-accent-hover: #1D4ED8;
    --sq-accent-subtle: #EFF6FF;
    --sq-accent-text: #1E40AF;
    
    --sq-dark-card: #1E293B;
    --sq-dark-border: #334155;
    
    --sq-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --sq-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --sq-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --sq-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --sq-shadow-preview: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    
    --sq-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --sq-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    
    --sq-max-w: 1200px;
    --sq-max-w-narrow: 840px;
    --sq-radius: 8px;
    --sq-radius-lg: 12px;
    --sq-radius-xl: 16px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sq-font-sans);
    color: var(--sq-text-primary);
    background-color: var(--sq-bg);
    line-height: 1.6;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Layout Utilities */
.sq-container {
    max-width: var(--sq-max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sq-container-narrow {
    max-width: var(--sq-max-w-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sq-section {
    padding: 6rem 0;
}

.sq-section-subtle {
    background-color: var(--sq-bg-subtle);
    border-top: 1px solid var(--sq-border);
    border-bottom: 1px solid var(--sq-border);
}

.sq-section-dark {
    background-color: var(--sq-bg-dark);
    color: var(--sq-text-light);
}

/* Section Header */
.sq-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.sq-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sq-accent);
    margin-bottom: 0.75rem;
}

.sq-eyebrow-dark {
    color: #93C5FD;
}

.sq-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--sq-text-primary);
    margin-bottom: 1rem;
}

.sq-section-title-dark {
    color: #FFFFFF;
}

.sq-section-desc {
    font-size: 1.125rem;
    color: var(--sq-text-secondary);
    line-height: 1.6;
}

.sq-section-desc-dark {
    color: #94A3B8;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.sq-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sq-border);
}

.sq-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.sq-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.1875rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sq-text-primary);
}

.sq-brand-icon {
    width: 32px;
    height: 32px;
    background: var(--sq-bg-dark);
    color: #FFFFFF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.sq-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.sq-nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--sq-text-secondary);
    transition: color 0.15s ease;
}

.sq-nav-link:hover {
    color: var(--sq-text-primary);
}

.sq-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.sq-mobile-only {
    display: none;
}

.sq-desktop-only {
    display: inline-flex;
}

/* Mobile Toggle */
.sq-mobile-toggle {
    display: none;
    font-size: 1.25rem;
    color: var(--sq-text-primary);
    padding: 0.25rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.sq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--sq-radius);
    transition: all 0.15s ease;
    white-space: nowrap;
    text-align: center;
}

.sq-btn-primary {
    background-color: var(--sq-bg-dark);
    color: #FFFFFF;
    border: 1px solid var(--sq-bg-dark);
}

.sq-btn-primary:hover {
    background-color: #1E293B;
    border-color: #1E293B;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: var(--sq-shadow-md);
}

.sq-btn-secondary {
    background-color: #FFFFFF;
    color: var(--sq-text-primary);
    border: 1px solid var(--sq-border-strong);
}

.sq-btn-secondary:hover {
    background-color: var(--sq-bg-subtle);
    border-color: #94A3B8;
    color: var(--sq-text-primary);
}

.sq-btn-blue {
    background-color: var(--sq-accent);
    color: #FFFFFF;
    border: 1px solid var(--sq-accent);
}

.sq-btn-blue:hover {
    background-color: var(--sq-accent-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: var(--sq-shadow-md);
}

.sq-btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sq-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.sq-btn-lg {
    padding: 0.8125rem 1.75rem;
    font-size: 1rem;
    border-radius: 9px;
}

.sq-btn-sm {
    padding: 0.4375rem 0.875rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.sq-hero {
    padding: 5rem 0 6rem 0;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--sq-bg-subtle) 100%);
    overflow: hidden;
}

.sq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background-color: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sq-text-secondary);
    margin-bottom: 2rem;
    box-shadow: var(--sq-shadow-sm);
}

.sq-hero-badge-pill {
    background-color: var(--sq-bg-dark);
    color: #FFFFFF;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sq-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--sq-text-primary);
    max-width: 860px;
    margin: 0 auto 1.5rem auto;
}

.sq-hero-subtitle {
    font-size: 1.25rem;
    color: var(--sq-text-secondary);
    line-height: 1.6;
    max-width: 660px;
    margin: 0 auto 2.5rem auto;
}

.sq-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* ==========================================================================
   HERO VISUAL: REALISTIC QUOTATION DOCUMENT PREVIEW
   ========================================================================== */
.sq-hero-preview-wrapper {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.sq-doc-frame {
    background: #FFFFFF;
    border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius-lg);
    box-shadow: var(--sq-shadow-preview);
    overflow: hidden;
    text-align: left;
    transition: transform 0.2s ease;
}

.sq-doc-topbar {
    background-color: #F8FAFC;
    border-bottom: 1px solid var(--sq-border);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--sq-text-muted);
}

.sq-doc-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sq-doc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #CBD5E1;
}

.sq-doc-dot.red { background-color: #FDA4AF; }
.sq-doc-dot.yellow { background-color: #FDE047; }
.sq-doc-dot.green { background-color: #86EFAC; }

.sq-doc-body {
    padding: 2.5rem 3rem;
    font-size: 0.875rem;
    color: #1E293B;
}

.sq-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #0F172A;
    margin-bottom: 1.5rem;
}

.sq-doc-brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0F172A;
}

.sq-doc-brand-sub {
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 2px;
}

.sq-doc-meta-title {
    font-size: 1.375rem;
    font-weight: 800;
    text-align: right;
    letter-spacing: 0.04em;
    color: #0F172A;
}

.sq-doc-meta-detail {
    font-size: 0.8125rem;
    text-align: right;
    color: #475569;
    margin-top: 2px;
}

.sq-doc-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.sq-doc-card {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
}

.sq-doc-card-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748B;
    margin-bottom: 4px;
}

.sq-doc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.sq-doc-table th {
    background-color: #F1F5F9;
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #334155;
    border-bottom: 1px solid #CBD5E1;
}

.sq-doc-table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: top;
}

.sq-doc-sec-row {
    background-color: #F8FAFC;
    font-weight: 700;
    color: #0F172A;
    border-left: 3px solid #0F172A;
}

.sq-doc-summary {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.sq-doc-summary-box {
    width: 280px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
}

.sq-doc-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    color: #475569;
}

.sq-doc-summary-total {
    border-top: 1px solid #CBD5E1;
    margin-top: 6px;
    padding-top: 6px;
    font-weight: 800;
    font-size: 0.9375rem;
    color: #0F172A;
}

.sq-doc-footer-bar {
    border-top: 1px solid #E2E8F0;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: #64748B;
}

/* ==========================================================================
   FEATURES GRID (6 FEATURES)
   ========================================================================== */
.sq-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.sq-feature-card {
    background-color: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius-lg);
    padding: 2rem;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sq-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sq-shadow-lg);
    border-color: #CBD5E1;
}

.sq-feature-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sq-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.sq-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--sq-bg-subtle);
    border: 1px solid var(--sq-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--sq-text-primary);
    margin-bottom: 1.25rem;
}

.sq-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sq-text-primary);
    margin-bottom: 0.625rem;
    letter-spacing: -0.015em;
}

.sq-feature-desc {
    font-size: 0.9375rem;
    color: var(--sq-text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   TEMPLATES COMPARISON SECTION
   ========================================================================== */
.sq-templates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.sq-template-card {
    background-color: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sq-shadow-sm);
}

.sq-template-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background-color: var(--sq-bg-subtle);
    border: 1px solid var(--sq-border);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sq-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.sq-template-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.sq-template-desc {
    font-size: 0.9375rem;
    color: var(--sq-text-secondary);
    margin-bottom: 1.5rem;
}

.sq-template-preview-box {
    background-color: #F8FAFC;
    border: 1px solid var(--sq-border);
    border-radius: 6px;
    padding: 1.25rem;
    font-size: 0.8125rem;
    font-family: var(--sq-font-sans);
    margin-top: auto;
}

.sq-t-row {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    border-bottom: 1px solid #EEF2F6;
}

.sq-t-row:last-child {
    border-bottom: none;
}

.sq-t-pkg-header {
    font-weight: 700;
    color: #0F172A;
    background-color: #F1F5F9;
    padding: 0.375rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.sq-t-item-indent {
    padding-left: 1rem;
    color: #475569;
    font-size: 0.78125rem;
}

/* ==========================================================================
   HOW IT WORKS (4-STEP WORKFLOW)
   ========================================================================== */
.sq-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.sq-step-card {
    background-color: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.sq-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--sq-bg-dark);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
}

.sq-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sq-step-desc {
    font-size: 0.875rem;
    color: var(--sq-text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   WHO IT IS FOR (INDUSTRY GRID)
   ========================================================================== */
.sq-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.sq-industry-card {
    background-color: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.15s ease;
}

.sq-industry-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: var(--sq-shadow-sm);
}

.sq-industry-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--sq-bg-subtle);
    border: 1px solid var(--sq-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--sq-text-primary);
    flex-shrink: 0;
}

.sq-industry-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sq-text-primary);
}

/* ==========================================================================
   YOUR BRAND / WHITE LABEL SECTION
   ========================================================================== */
.sq-brand-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sq-brand-visual-box {
    background: #0B1120;
    border: 1px solid #1E293B;
    border-radius: var(--sq-radius-xl);
    padding: 2.5rem;
    box-shadow: var(--sq-shadow-xl);
}

.sq-brand-token-item {
    background: #1E293B;
    border: 1px dashed #334155;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #94A3B8;
    font-size: 0.875rem;
}

.sq-brand-token-item:last-child {
    margin-bottom: 0;
}

.sq-brand-token-val {
    color: #F8FAFC;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   BUSINESS MODEL (CLOUD SAAS VS PRIVATE EDITION)
   ========================================================================== */
.sq-model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.sq-model-card {
    background-color: var(--sq-bg-card);
    border: 1px solid var(--sq-border);
    border-radius: var(--sq-radius-xl);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--sq-shadow-sm);
}

.sq-model-card.featured {
    border: 2px solid var(--sq-bg-dark);
    box-shadow: var(--sq-shadow-lg);
}

.sq-model-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background-color: var(--sq-bg-dark);
    color: #FFFFFF;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sq-model-tag {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sq-accent);
    margin-bottom: 0.5rem;
}

.sq-model-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.sq-model-desc {
    font-size: 0.9375rem;
    color: var(--sq-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.55;
}

.sq-model-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.sq-model-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--sq-text-secondary);
    margin-bottom: 0.875rem;
}

.sq-model-features li i {
    color: #10B981;
    font-size: 1.125rem;
    margin-top: 1px;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.sq-cta-box {
    background: var(--sq-bg-dark);
    color: #FFFFFF;
    border-radius: var(--sq-radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sq-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.sq-cta-desc {
    font-size: 1.1875rem;
    color: #94A3B8;
    max-width: 540px;
    margin: 0 auto 2.5rem auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sq-footer {
    background-color: #FFFFFF;
    border-top: 1px solid var(--sq-border);
    padding: 4rem 0 3rem 0;
    font-size: 0.875rem;
    color: var(--sq-text-muted);
}

.sq-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.sq-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sq-footer-name {
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--sq-text-primary);
    letter-spacing: -0.02em;
}

.sq-footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.sq-footer-links a:hover {
    color: var(--sq-text-primary);
}

/* ==========================================================================
   MODAL: REQUEST A DEMO
   ========================================================================== */
.sq-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sq-modal-backdrop.active {
    display: flex;
}

.sq-modal-card {
    background: #FFFFFF;
    border-radius: var(--sq-radius-xl);
    box-shadow: var(--sq-shadow-xl);
    width: 100%;
    max-width: 520px;
    padding: 2.25rem;
    position: relative;
    border: 1px solid var(--sq-border);
    max-height: 90vh;
    overflow-y: auto;
}

.sq-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.25rem;
    color: var(--sq-text-muted);
    cursor: pointer;
    padding: 0.25rem;
}

.sq-modal-close:hover {
    color: var(--sq-text-primary);
}

.sq-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.sq-modal-desc {
    font-size: 0.875rem;
    color: var(--sq-text-secondary);
    margin-bottom: 1.5rem;
}

.sq-form-group {
    margin-bottom: 1.125rem;
}

.sq-form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sq-text-primary);
    margin-bottom: 0.375rem;
}

.sq-form-input, .sq-form-select, .sq-form-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--sq-border-strong);
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--sq-text-primary);
    background-color: #FFFFFF;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sq-form-input:focus, .sq-form-select:focus, .sq-form-textarea:focus {
    outline: none;
    border-color: var(--sq-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .sq-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sq-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sq-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sq-brand-section-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .sq-desktop-only {
        display: none !important;
    }
    .sq-mobile-only {
        display: block !important;
    }
    .sq-hero-title {
        font-size: 2.5rem;
    }
    .sq-hero-subtitle {
        font-size: 1.125rem;
    }
    .sq-chatbox-header {
        padding: 1.1rem 1.25rem;
        gap: 0.75rem;
    }
    .sq-chatbox-main-title {
        font-size: 28px;
        font-weight: 700;
        line-height: 1.2;
    }
    .sq-hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .sq-hero-cta .sq-btn {
        width: 100%;
    }
    .sq-nav-links {
        display: none;
    }
    .sq-nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        padding: 1.75rem 1.5rem;
        border-bottom: 1px solid var(--sq-border);
        box-shadow: var(--sq-shadow-xl);
        gap: 1.25rem;
        z-index: 1005;
    }
    .sq-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 6px;
        border: 1px solid var(--sq-border);
        background: #FFFFFF;
        font-size: 1.25rem;
        cursor: pointer;
        z-index: 1010;
    }
    .sq-nav-actions {
        gap: 0.5rem;
    }
    .sq-nav-actions .sq-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.8125rem;
    }
    .sq-features-grid {
        grid-template-columns: 1fr;
    }
    .sq-templates-grid {
        grid-template-columns: 1fr;
    }
    .sq-steps-grid {
        grid-template-columns: 1fr;
    }
    .sq-industries-grid {
        grid-template-columns: 1fr;
    }
    .sq-model-grid {
        grid-template-columns: 1fr;
    }
    .sq-doc-cards {
        grid-template-columns: 1fr;
    }
    .sq-doc-body {
        padding: 1.5rem 1.25rem;
    }
    .sq-cta-box {
        padding: 3.5rem 1.5rem;
    }
    .sq-cta-title {
        font-size: 2rem;
    }
    .sq-ai-flow-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    .sq-flow-arrow {
        transform: rotate(90deg);
    }
}

/* AI Pipeline & Visual Demo Components */
.sq-btn-blue {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF !important;
    border: 1px solid #1E40AF;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sq-btn-blue:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

.sq-ai-pipeline-box {
    max-width: 820px;
    margin: 2.5rem auto 3rem auto;
    background: #FFFFFF;
    border: 1px solid var(--sq-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: var(--sq-shadow-md);
}

.sq-ai-prompt-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.sq-ai-bubble {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sq-text-primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.sq-ai-flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sq-flow-step {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #F8FAFC;
    border: 1px solid var(--sq-border);
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sq-text-secondary);
}

.sq-flow-step.active {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: #2563EB;
    font-weight: 700;
}

.sq-flow-arrow {
    color: var(--sq-text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   HERO AI CHATBOX & LIVE INTERACTIVE QUOTATION STYLES
   ========================================================================== */
.sq-hero-chat-wrapper {
    max-width: 860px;
    margin: 2rem auto 3rem auto;
}

.sq-chatbox-card {
    background: #FFFFFF;
    border: 1px solid var(--sq-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sq-chatbox-header {
    background: #F8FAFC;
    border-bottom: 1px solid var(--sq-border);
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.sq-chatbox-header-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sq-chatbox-main-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--sq-text-primary);
    letter-spacing: -0.025em;
    margin: 0;
}

.sq-chatbox-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sq-chatbox-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1rem;
    color: var(--sq-text-primary);
    letter-spacing: -0.01em;
}

.sq-chat-online-dot {
    width: 9px;
    height: 9px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.sq-chat-stream {
    padding: 1.5rem;
    max-height: 520px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #FFFFFF;
}

.sq-chat-row {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.sq-chat-row.ai {
    justify-content: flex-start;
}

.sq-chat-row.user {
    justify-content: flex-end;
}

.sq-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--sq-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #DBEAFE;
}

.sq-ai-outline-icon {
    width: 18px;
    height: 18px;
    color: var(--sq-accent);
    stroke: currentColor;
    stroke-width: 1.75px;
}

.sq-chat-bubble {
    max-width: 88%;
    padding: 1.1rem 1.35rem;
    border-radius: 14px;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.sq-chat-row.ai .sq-chat-bubble {
    background: #F8FAFC;
    border: 1px solid var(--sq-border);
    color: var(--sq-text-primary);
    border-top-left-radius: 2px;
}

.sq-chat-row.user .sq-chat-bubble {
    background: var(--sq-accent);
    color: #FFFFFF;
    border-top-right-radius: 2px;
    font-weight: 500;
}

.sq-chat-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sq-chat-chip {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: var(--sq-text-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.sq-chat-chip i {
    font-size: 0.9375rem;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.sq-chat-chip:hover {
    border-color: var(--sq-accent);
    color: var(--sq-accent);
    background: #EFF6FF;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.08);
}

.sq-chat-chip:hover i {
    color: var(--sq-accent);
}

.sq-chat-understood-box {
    background: #FFFFFF;
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-top: 0.875rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.sq-understood-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #E2E8F0;
    font-size: 0.9rem;
    gap: 1.5rem;
}

.sq-understood-item:last-child {
    border-bottom: none;
}

.sq-understood-label {
    color: var(--sq-text-muted);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    min-width: 80px;
}

.sq-understood-val {
    font-weight: 700;
    color: var(--sq-text-primary);
    text-align: right;
}

.sq-chat-actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.sq-chat-input-header {
    background: #F8FAFC;
    border-top: 1px solid var(--sq-border);
    padding: 0.875rem 1.25rem 0.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sq-chat-input-hint {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sq-chat-disclaimer {
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.45;
    text-align: left;
}

.sq-chat-input-bar {
    background: #F8FAFC;
    border-top: none;
    padding: 0.4rem 1.25rem 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sq-chat-input-field {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid var(--sq-border);
    border-radius: 10px;
    padding: 0.75rem 1.1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--sq-text-primary);
    outline: none;
    transition: all 0.15s ease;
}

.sq-chat-input-field:focus {
    border-color: var(--sq-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.sq-chat-send-btn {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border-radius: 10px;
    padding: 0.75rem 1.4rem;
    font-weight: 700;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.sq-chat-send-btn:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
}

.sq-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
}

.sq-typing-dot {
    width: 7px;
    height: 7px;
    background: #94A3B8;
    border-radius: 50%;
    animation: sqDotPulse 1.4s infinite ease-in-out both;
}

.sq-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.sq-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes sqDotPulse {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ==========================================================================
   AI QUOTATION DRAFT CARD (Directly below Chatbox on Landing Page)
   ========================================================================== */
.sq-draft-card {
    background: #FFFFFF;
    border: 1px solid #BFDBFE;
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.1);
    overflow: hidden;
    margin-top: 2rem;
    animation: sqSlideUp 0.3s ease-out;
}

@keyframes sqSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.sq-draft-header {
    background: linear-gradient(135deg, #1E40AF 0%, #1D4ED8 100%);
    color: #FFFFFF;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sq-draft-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sq-draft-body {
    padding: 1.75rem;
}

.sq-draft-client-box {
    border-bottom: 2px solid #F1F5F9;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.sq-draft-client-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.sq-draft-project-title {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 600;
    margin-top: 0.2rem;
}

.sq-draft-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.sq-draft-table th {
    background: #F8FAFC;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748B;
    border-bottom: 1px solid #E2E8F0;
    font-weight: 700;
}

.sq-draft-table td {
    padding: 0.85rem;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.9rem;
    color: #1E293B;
}

.sq-draft-table tr:last-child td {
    border-bottom: none;
}

.sq-draft-summary-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.1rem 1.35rem;
    max-width: 360px;
    margin-left: auto;
    margin-bottom: 1.75rem;
}

.sq-draft-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: #64748B;
}

.sq-draft-summary-row.total {
    border-top: 1px solid #CBD5E1;
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1E40AF;
}

.sq-draft-actions-bar {
    border-top: 1px solid #E2E8F0;
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   MOBILE-FIRST DEDICATED UX ENHANCEMENTS (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .sq-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. Hero & Header Spacing */
    .sq-hero {
        padding: 2.25rem 0 3rem 0;
    }

    .sq-hero-badge {
        margin-bottom: 0.875rem;
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .sq-hero-title {
        font-size: 2.1rem !important;
        line-height: 1.15 !important;
        letter-spacing: -0.025em !important;
        margin-bottom: 0.75rem !important;
        padding: 0 0.25rem;
    }

    .sq-hero-subtitle {
        font-size: 0.9375rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.25rem;
    }

    .sq-hero-chat-wrapper {
        max-width: 100% !important;
        margin: 1rem auto 2rem auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .sq-chatbox-card {
        border-radius: 14px;
        box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.08);
        width: 100%;
        box-sizing: border-box;
    }

    /* 1. AI Header & Compact Controls */
    .sq-chatbox-header {
        padding: 0.875rem 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
    }

    .sq-chatbox-header-main {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.25rem !important;
        min-width: 0;
        flex: 1;
    }

    .sq-chatbox-main-title {
        font-size: 24px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em !important;
        margin: 0 !important;
        word-break: break-word;
    }

    .sq-chatbox-status {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
    }

    .sq-chatbox-status .sq-flow-step {
        font-size: 0.7rem !important;
        padding: 0.15rem 0.45rem !important;
    }

    #btnResetHeroChat {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.75rem !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
        height: auto !important;
    }

    /* 2. AI Intro & Message Stream */
    .sq-chat-stream {
        padding: 1rem !important;
        max-height: 380px !important;
        gap: 0.875rem !important;
        overflow-x: hidden !important;
    }

    .sq-chat-row {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .sq-chat-avatar {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }

    .sq-chat-avatar svg,
    .sq-ai-outline-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .sq-chat-bubble {
        max-width: 88% !important;
        min-width: 0 !important;
        padding: 0.875rem 1rem !important;
        font-size: 0.875rem !important;
        line-height: 1.45 !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    /* Footer wrap on mobile */
    .sq-footer-inner {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center !important;
        align-items: center !important;
    }

    .sq-footer-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1rem !important;
        padding: 0 !important;
    }

    /* 3. Example Prompts - Horizontal Swipeable Compact Chip Strip */
    .sq-chat-chips-wrap {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0.5rem !important;
        padding: 0.25rem 0 0.5rem 0 !important;
        margin-top: 0.75rem !important;
        scrollbar-width: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .sq-chat-chips-wrap::-webkit-scrollbar {
        display: none !important;
    }

    .sq-chat-chip {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 0.78125rem !important;
        padding: 0.4rem 0.75rem !important;
        border-radius: 9999px !important;
    }

    .sq-chat-chip i {
        font-size: 0.875rem !important;
    }

    /* 4. Instruction & 5. AI Disclaimer */
    .sq-chat-input-header {
        padding: 0.75rem 1rem 0.25rem 1rem !important;
        gap: 0.25rem !important;
        text-align: center !important;
    }

    .sq-chat-input-hint {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #475569 !important;
        text-align: center !important;
        justify-content: center !important;
        line-height: 1.35 !important;
    }

    .sq-chat-disclaimer {
        font-size: 0.6875rem !important;
        color: #94A3B8 !important;
        line-height: 1.35 !important;
        text-align: center !important;
        padding: 0 !important;
    }

    /* 6. Input Area — 100% Width & 56px Stacking on Mobile */
    .sq-chat-input-bar {
        padding: 0.5rem 1rem 1rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.625rem !important;
    }

    .sq-chat-input-field {
        width: 100% !important;
        min-height: 56px !important;
        height: 56px !important;
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
        padding: 0.875rem 1rem !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    .sq-chat-send-btn {
        width: 100% !important;
        height: 56px !important;
        min-height: 56px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
        box-sizing: border-box !important;
    }

    /* AI Understood Box & Actions on Mobile */
    .sq-chat-understood-box {
        padding: 0.875rem !important;
        margin-top: 0.75rem !important;
        border-radius: 10px !important;
    }

    .sq-understood-item {
        padding: 0.4rem 0 !important;
        font-size: 0.8125rem !important;
        gap: 0.75rem !important;
        flex-direction: row !important;
    }

    .sq-understood-label {
        font-size: 0.75rem !important;
        min-width: 65px !important;
    }

    .sq-chat-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .sq-chat-actions .sq-btn {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center !important;
    }

    /* Quotation Draft Card on Mobile */
    .sq-draft-card {
        margin-top: 1.5rem !important;
        border-radius: 14px !important;
    }

    .sq-draft-header {
        padding: 1rem 1.1rem !important;
    }

    .sq-draft-body {
        padding: 1.25rem 1rem !important;
    }

    .sq-draft-client-name {
        font-size: 1.1rem !important;
    }

    .sq-draft-project-title {
        font-size: 0.875rem !important;
    }

    .sq-draft-table th, .sq-draft-table td {
        padding: 0.65rem 0.35rem !important;
        font-size: 0.8125rem !important;
    }

    .sq-draft-summary-box {
        max-width: 100% !important;
        margin-left: 0 !important;
        padding: 0.875rem 1rem !important;
    }

    .sq-draft-actions-bar {
        flex-direction: column !important;
        gap: 0.65rem !important;
    }

    .sq-draft-actions-bar .sq-btn {
        width: 100% !important;
        min-height: 50px !important;
        justify-content: center !important;
    }
}



