/* ===================================================================
   Single Pass Printing Page - singlepassprinting.css
   Modern product landing page for Inkzar single pass inks
   =================================================================== */

/* ---- Reset page chrome from legacy template ---- */
#imPage { max-width: 100% !important; padding: 0 !important; }
#imContent { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
#imContentGraphics { display: none !important; }
#imSideBar { display: none !important; }
#imPageExtContainer, #imPageIntContainer { overflow: visible !important; }

/* ---- Base Layout ---- */
.sp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sp-section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .sp-section { padding: 2.5rem 0; }
}

/* ---- Grid System ---- */
.sp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.sp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sp-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .sp-grid-2 { grid-template-columns: 1fr; }
    .sp-grid-3 { grid-template-columns: 1fr 1fr; }
    .sp-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .sp-grid-3 { grid-template-columns: 1fr; }
    .sp-grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ---- Typography ---- */
.sp-section h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.sp-section h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sp-section h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}

.sp-section p, .sp-section li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: #374151;
}

.sp-lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

.sp-section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

.sp-mt-1 { margin-top: 1rem; }
.sp-mt-2 { margin-top: 1.5rem; }

/* ---- Buttons ---- */
.sp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.sp-btn-primary {
    background: #1F2937;
    color: #fff;
    border-color: #1F2937;
}
.sp-btn-primary:hover {
    background: #374151;
    border-color: #374151;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

.sp-btn-outline {
    background: transparent;
    color: #1F2937;
    border-color: #D1D5DB;
}
.sp-btn-outline:hover {
    border-color: #1F2937;
    background: #F9FAFB;
    color: #1F2937;
}

.sp-btn-secondary {
    background: #0369A1;
    color: #fff;
    border-color: #0369A1;
}
.sp-btn-secondary:hover {
    background: #0284C7;
    border-color: #0284C7;
    color: #fff;
}

.sp-btn-uv {
    background: #7C3AED;
    color: #fff;
    border-color: #7C3AED;
}
.sp-btn-uv:hover {
    background: #6D28D9;
    border-color: #6D28D9;
    color: #fff;
}

.sp-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.sp-btn .sp-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ---- Tags / Badges ---- */
.sp-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #E5E7EB;
    color: #374151;
    margin-bottom: 0.75rem;
}

.sp-tag-gold {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    border: 1px solid #F59E0B;
}

.sp-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    margin-bottom: 1.25rem;
}

/* ---- Icon helper ---- */
.sp-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ---- Image helpers ---- */
.sp-img-rounded {
    border-radius: 0.75rem;
    width: 100%;
    height: auto;
    display: block;
}

.sp-img-caption {
    font-size: 0.85rem;
    color: #6B7280;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.sp-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 40%, #334155 100%);
    overflow: hidden;
    padding: 4rem 1.5rem;
}

.sp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.10) 0%, transparent 50%);
    pointer-events: none;
}

.sp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.sp-hero h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #F9FAFB;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.sp-hero-accent {
    background: linear-gradient(135deg, #06B6D4, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-hero-subtitle {
    font-size: 1.15rem;
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.sp-hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sp-hero .sp-btn-primary {
    background: #06B6D4;
    border-color: #06B6D4;
}
.sp-hero .sp-btn-primary:hover {
    background: #0891B2;
    border-color: #0891B2;
}
.sp-hero .sp-btn-outline {
    color: #E2E8F0;
    border-color: rgba(255,255,255,0.25);
}
.sp-hero .sp-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

@media (max-width: 768px) {
    .sp-hero { min-height: 400px; padding: 3rem 1rem; }
    .sp-hero h1 { font-size: 2rem; }
    .sp-hero-subtitle { font-size: 1rem; }
}

/* ===================================================================
   F40 HIGHLIGHT SECTION
   =================================================================== */
.sp-f40 {
    background: #FFFBEB;
    border-top: 3px solid #F59E0B;
}

.sp-f40-content {
    padding-right: 1rem;
}

.sp-f40-visual img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.sp-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0 0;
}

.sp-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.45rem 0;
    font-size: 0.95rem;
    color: #374151;
}

.sp-features .sp-icon {
    color: #059669;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ===================================================================
   FORMATS STRIP
   =================================================================== */
.sp-formats-strip {
    background: #F3F4F6;
    padding: 3rem 0;
    text-align: center;
}

.sp-formats-strip h3 {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.sp-format-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.sp-format-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.sp-format-icon {
    font-size: 2rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.sp-format-card span {
    font-size: 0.9rem;
    color: #6B7280;
}

.sp-formats-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #4B5563;
}

.sp-formats-note a {
    color: #0369A1;
    font-weight: 600;
    text-decoration: underline;
}

/* ===================================================================
   HP PAGEWIDE SECTION
   =================================================================== */
.sp-hp {
    background: #fff;
}

.sp-hp-content img {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Model list */
.sp-model-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.sp-model-item {
    background: #F9FAFB;
    border-left: 3px solid #0369A1;
    padding: 0.75rem 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.sp-model-item strong {
    display: block;
    font-size: 0.95rem;
    color: #0369A1;
    margin-bottom: 0.2rem;
}

.sp-model-item span {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.5;
}

/* Specs list */
.sp-specs {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.sp-specs li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.sp-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    background: #059669;
    border-radius: 50%;
}

/* Compatible machines */
.sp-compat-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid #E5E7EB;
}

.sp-compat-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.sp-compat-list-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-compat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.sp-compat-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    border-bottom: 1px solid #F3F4F6;
}

.sp-compat-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

/* ---- Comparison cards ---- */
.sp-comparison {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid #E5E7EB;
}

.sp-comparison h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.sp-comp-card {
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
}

.sp-comp-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E5E7EB;
}

.sp-comp-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-comp-card li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
}

.sp-comp-card li::before {
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

.sp-comp-dye {
    background: #FEF2F2;
    border-color: #FECACA;
}

.sp-comp-dye h4 {
    color: #991B1B;
    border-color: #FECACA;
}

.sp-comp-neg::before {
    content: '\2717';
    color: #DC2626;
}

.sp-comp-pigment {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.sp-comp-pigment h4 {
    color: #166534;
    border-color: #BBF7D0;
}

.sp-comp-pos::before {
    content: '\2713';
    color: #059669;
}

.sp-comp-recommended {
    display: inline-block;
    background: #059669;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    vertical-align: middle;
    margin-left: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ---- Brochure CTA ---- */
.sp-cta-brochure {
    margin-top: 3rem;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid #BFDBFE;
}

.sp-cta-brochure-inner {
    align-items: center;
}

.sp-cta-brochure img {
    max-width: 350px;
    margin: 0 auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.sp-cta-brochure-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.sp-cta-brochure-text p {
    margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
    .sp-cta-brochure { padding: 1.5rem; }
    .sp-cta-brochure img { max-width: 100%; }
}

/* ===================================================================
   EPSON SECTION
   =================================================================== */
.sp-epson {
    background: #F9FAFB;
}

.sp-product-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 200ms ease, box-shadow 200ms ease;
    display: flex;
    flex-direction: column;
}

.sp-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.sp-product-card-header {
    padding: 2rem 1.5rem;
    text-align: center;
}

.sp-product-card-header.sp-water {
    background: linear-gradient(135deg, #0369A1, #0284C7);
    color: #fff;
}

.sp-product-card-header.sp-uv {
    background: linear-gradient(135deg, #6D28D9, #7C3AED);
    color: #fff;
}

.sp-product-card-header h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.sp-product-sub {
    font-size: 0.9rem;
    opacity: 0.85;
}

.sp-product-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
    stroke: #fff;
}

.sp-product-card-body {
    padding: 1.5rem;
    flex: 1;
}

.sp-product-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0.5rem 0;
}

.sp-product-card-body li {
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9rem;
}

.sp-product-card-body li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #6B7280;
    font-weight: 700;
}

/* ===================================================================
   APPLICATIONS
   =================================================================== */
.sp-applications {
    background: #fff;
}

.sp-app-item {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: 0.75rem;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.sp-app-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    border-color: #D1D5DB;
}

.sp-app-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E0E7FF;
    border-radius: 50%;
}

.sp-app-icon-wrap svg {
    width: 28px;
    height: 28px;
    stroke: #4338CA;
}

.sp-app-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.sp-app-item p {
    font-size: 0.88rem;
    color: #6B7280;
    line-height: 1.55;
}

/* ===================================================================
   FINAL CTA
   =================================================================== */
.sp-final-cta {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    padding: 4rem 0;
}

.sp-cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.sp-cta-badge {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
}

.sp-cta-box h2 {
    color: #F9FAFB;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.sp-cta-box p {
    color: #CBD5E1;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.sp-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.sp-final-cta .sp-btn-primary {
    background: #06B6D4;
    border-color: #06B6D4;
}
.sp-final-cta .sp-btn-primary:hover {
    background: #0891B2;
    border-color: #0891B2;
}
.sp-final-cta .sp-btn-outline {
    color: #E2E8F0;
    border-color: rgba(255,255,255,0.25);
}
.sp-final-cta .sp-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.sp-cta-small {
    font-size: 0.9rem;
    color: #94A3B8 !important;
}

.sp-cta-small a {
    color: #06B6D4;
    text-decoration: underline;
}

/* ===================================================================
   PRINT STYLES
   =================================================================== */
@media print {
    .sp-hero { min-height: auto; padding: 2rem; background: #fff !important; }
    .sp-hero h1, .sp-hero-subtitle { color: #000 !important; }
    .sp-hero-accent { -webkit-text-fill-color: #000 !important; }
    .sp-btn { display: none !important; }
    .sp-final-cta { background: #fff !important; }
    .sp-cta-box h2, .sp-cta-box p { color: #000 !important; }
}
