/*
 * ZiacPay – DEFERRED CSS  (beforelogin-deferred.css)
 * ─────────────────────────────────────────────────────────────
 * Loaded non-blocking via:
 *   <link rel="preload" href="beforelogin-deferred.css" as="style"
 *         onload="this.onload=null;this.rel='stylesheet'">
 *   <noscript><link rel="stylesheet" href="beforelogin-deferred.css"></noscript>
 *
 * Contains all styles for content below the hero fold:
 *   • Shared section wrappers (.zp-section, headings, bg helpers)
 *   • Section 1  — AI Summary
 *   • Section 2  — Problems / Challenges
 *   • Section 3  — How It Works (steps)
 *   • Features section
 *   • Section 4  — Screenshots
 *   • Section 5  — Comparison table
 *   • Section 6  — FAQ accordion
 *   • Start / CTA sections
 *   • Footer
 *   • Animations (float, pulse, shimmer)
 *   • All responsive overrides for below-fold content
 *
 * NOTE: CSS custom properties (:root) live in the critical file.
 * This file references them freely — browsers resolve vars at
 * paint time, so the cascade is safe even when this sheet
 * arrives slightly after the critical one.
 * ─────────────────────────────────────────────────────────────
 */

/* ============================================================
   SHARED SECTION WRAPPER
   ============================================================ */
.zp-section {
    padding: 100px 0;
    position: relative;
    width: 100%;
}

.zp-section-head { text-align: center; margin-bottom: 3.5rem; }

.zp-section-head h2 {
    font-family: var(--zp-heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--zpn-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.zp-section-head p {
    font-size: 1.2rem;
    color: var(--zpn-gray);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features section title / subtitle */
.zp-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--zp-dark);
}

.zp-section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--zp-gray);
    margin-bottom: 4rem;
}

/* Section background helpers */
.zp-problems-bg  { background: var(--zpn-gray-bg); }
.zp-screenshots-bg { background: var(--zpn-gray-bg); }

/* ============================================================
   SECTION 1 — AI SUMMARY
   ============================================================ */
.zp-ai-section {
    background: var(--zpn-blue-lt);
    border: 1px solid var(--zpn-blue-mid);
    border-radius: var(--zpn-radius);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--zpn-shadow);
    transition: var(--zpn-transition);
}

.zp-ai-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--zpn-primary), var(--zpn-accent));
}

.zp-ai-section:hover { box-shadow: var(--zpn-shadow-h); }

.zp-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1A56DB, #4F8CFF);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.35);
}

.zp-ai-section h2 {
    font-family: var(--zp-heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--zpn-dark);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.zp-ai-section p {
    font-size: 1.05rem;
    color: var(--zpn-dark);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.zp-ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.75rem;
}

.zp-ai-tag {
    background: #ffffff;
    border: 1px solid var(--zpn-blue-mid);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--zpn-secondary);
    transition: var(--zpn-transition);
    cursor: default;
}

.zp-ai-tag:hover {
    background: var(--zpn-primary);
    color: #ffffff;
    border-color: var(--zpn-primary);
    transform: translateY(-2px);
    box-shadow: var(--zpn-shadow);
}

/* ============================================================
   SECTION 2 — PROBLEMS / CHALLENGES
   ============================================================ */
.zp-problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.zp-problem-card {
    background: #ffffff;
    border-radius: var(--zpn-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--zpn-shadow);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--zpn-transition);
    position: relative;
    overflow: hidden;
}

.zp-problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--zpn-coral), #ff8569);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.zp-problem-card:hover::before { transform: scaleX(1); }
.zp-problem-card:hover { transform: translateY(-10px); box-shadow: var(--zpn-shadow-h); }

.zp-problem-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--zpn-coral-lt);
    border: 1px solid var(--zpn-coral-mid);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--zpn-coral);
    transition: var(--zpn-transition);
}

.zp-problem-card:hover .zp-problem-icon {
    background: linear-gradient(45deg, var(--zpn-coral), #ff6b6b);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1) rotate(-5deg);
}

.zp-problem-icon svg { width: 20px; height: 20px; }

.zp-problem-text {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--zpn-gray);
    padding-top: 0.25rem;
}

.zp-problems-cta {
    background: linear-gradient(135deg, #eef1fd 0%, #e8f0fe 100%);
    border: 1px solid var(--zpn-blue-mid);
    border-radius: var(--zpn-radius);
    padding: 1.75rem 2.5rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--zpn-dark);
    line-height: 1.75;
    box-shadow: var(--zpn-shadow);
    position: relative;
    z-index: 1;
}

.zp-problems-cta strong {
    font-family: var(--zp-heading-font);
    font-weight: 700;
    color: var(--zpn-secondary);
}

/* ============================================================
   SECTION 3 — HOW IT WORKS (steps)
   ============================================================ */
.zp-steps {
    display: flex;
    flex-direction: column;
    max-width: 760px;
    margin: 0 auto;
}

.zp-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0 1.5rem;
}

.zp-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zp-step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--zpn-primary), var(--zpn-secondary));
    color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--zp-heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--zpn-shadow);
    transition: var(--zpn-transition);
    z-index: 1;
}

.zp-step:hover .zp-step-num { transform: scale(1.12); box-shadow: var(--zpn-shadow-h); }

.zp-step-line {
    width: 2px;
    flex: 1;
    min-height: 24px;
    background: linear-gradient(to bottom, var(--zpn-blue-mid), var(--zpn-blue-lt));
    margin: 6px auto 0;
}

.zp-step-content { padding-bottom: 2.25rem; padding-top: 12px; }

.zp-step-content h3 {
    font-family: var(--zp-heading-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--zpn-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.zp-step:hover .zp-step-content h3 { color: var(--zpn-primary); }

.zp-step-content p {
    font-size: 1rem;
    color: var(--zpn-gray);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.zp-features-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.zp-features-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.zp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.zp-feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--zp-shadow);
    transition: var(--zp-transition);
    position: relative;
    overflow: hidden;
}

.zp-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--zp-primary), var(--zp-accent));
}

.zp-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.15);
}

.zp-feature-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--zp-primary), var(--zp-accent));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.zp-feature-title  { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; color: var(--zp-dark); }
.zp-feature-description { color: var(--zp-gray); line-height: 1.6; }

/* Floating animation applied to feature cards */
.zp-floating { animation: float 6s ease-in-out infinite; }
.zp-floating:nth-child(2) { animation-delay: -2s; }
.zp-floating:nth-child(3) { animation-delay: -4s; }

/* ============================================================
   SECTION 4 — SCREENSHOTS
   ============================================================ */
.zp-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.zp-screenshot-card {
    background: #ffffff;
    border-radius: var(--zpn-radius);
    overflow: hidden;
    box-shadow: var(--zpn-shadow);
    transition: var(--zpn-transition);
    position: relative;
}

.zp-screenshot-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--zpn-primary), var(--zpn-accent));
    z-index: 1;
}

.zp-screenshot-card:hover { transform: translateY(-10px); box-shadow: var(--zpn-shadow-h); }

.zp-screenshot-mock {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
}

.zp-screenshot-label { padding: 1.25rem 1.5rem; border-top: 1px solid rgba(67, 97, 238, 0.08); }
.zp-screenshot-label h4 { font-family: var(--zp-heading-font); font-size: 1rem; font-weight: 600; color: var(--zpn-dark); margin-bottom: 0.3rem; }
.zp-screenshot-label p  { font-size: 0.88rem; color: var(--zpn-gray); line-height: 1.55; margin: 0; }

/* ============================================================
   SECTION 5 — COMPARISON TABLE
   ============================================================ */
.zp-compare-wrap {
    overflow-x: auto;
    border-radius: var(--zpn-radius);
    box-shadow: var(--zpn-shadow);
    border: 1px solid var(--zpn-border);
}

.zp-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--zp-body-font);
    font-size: 0.97rem;
    min-width: 520px;
}

.zp-compare-table th {
    padding: 1rem 1.35rem;
    font-family: var(--zp-heading-font);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.zp-compare-table th:not(:first-child) { text-align: center; }

.zp-col-header-ziac {
    background: linear-gradient(45deg, var(--zpn-primary), var(--zpn-secondary));
    color: #ffffff !important;
    min-width: 160px;
}

.zp-compare-table td {
    padding: 0.85rem 1.35rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--zpn-dark);
    vertical-align: middle;
}

.zp-compare-table td:not(:first-child) { text-align: center; }
.zp-compare-table tr:last-child td     { border-bottom: none; }
.zp-compare-table tbody tr             { transition: background 0.15s ease; }
.zp-compare-table tbody tr:hover td   { background: var(--zpn-blue-lt); }
.zp-col-ziac { background: rgba(67, 97, 238, 0.04); }

.zp-badge-yes, .zp-badge-no, .zp-badge-lim {
    display: inline-block;
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
}

.zp-badge-yes { background: var(--zpn-teal-lt);  color: var(--zpn-teal); }
.zp-badge-no  { background: var(--zpn-coral-lt); color: var(--zpn-coral); }
.zp-badge-lim { background: var(--zpn-amber-lt); color: var(--zpn-amber); }

/* ============================================================
   SECTION 6 — FAQ ACCORDION
   ============================================================ */
.zp-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.zp-faq-item {
    background: #ffffff;
    border-radius: var(--zpn-radius);
    overflow: hidden;
    box-shadow: var(--zpn-shadow);
    transition: var(--zpn-transition);
}

.zp-faq-item.zp-faq-open { box-shadow: var(--zpn-shadow-h); }

.zp-faq-q {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.35rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: var(--zp-heading-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--zpn-dark);
    transition: background 0.2s ease, color 0.2s ease;
}

.zp-faq-q:hover { background: var(--zpn-blue-lt); color: var(--zpn-primary); }

.zp-faq-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--zpn-blue-lt);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--zpn-primary);
    transition: var(--zpn-transition);
}

.zp-faq-icon svg { width: 12px; height: 12px; }

.zp-faq-open .zp-faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(45deg, var(--zpn-primary), var(--zpn-secondary));
    color: #ffffff;
    box-shadow: var(--zpn-shadow);
}

.zp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s ease;
    padding: 0 1.75rem;
}

.zp-faq-open .zp-faq-a {
    max-height: 400px;
    padding: 0 1.75rem 1.5rem;
    margin-top: 10px;
}

.zp-faq-a p {
    font-size: 0.97rem;
    color: var(--zpn-gray);
    line-height: 1.8;
    margin: 0;
}

/* ============================================================
   START SECTION
   ============================================================ */
.zp-start-section {
    background: linear-gradient(135deg, #fbf5df 0%, #f8f3e6 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.zp-start-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--zp-transition);
}

.zp-start-card:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(0,0,0,0.15); }

.zp-start-icon {
    width: 80px; height: 80px;
    background: linear-gradient(45deg, #ffc107, #ff6b35);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.zp-cta-section {
    background: linear-gradient(135deg, var(--zp-primary) 0%, var(--zp-secondary) 100%);
    color: white;
    padding: 170px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.zp-cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="ctaGrad" cx="50%" cy="50%"><stop offset="0%" style="stop-color:white;stop-opacity:0.15"/><stop offset="100%" style="stop-color:white;stop-opacity:0"/></radialGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23ctaGrad)"/><circle cx="900" cy="200" r="120" fill="url(%23ctaGrad)"/><circle cx="700" cy="800" r="100" fill="url(%23ctaGrad)"/><circle cx="300" cy="600" r="90" fill="url(%23ctaGrad)"/></svg>');
    z-index: 1;
}

.zp-cta-section::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.zp-cta-content   { position: relative; z-index: 2; }
.zp-cta-title     { font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.zp-cta-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.zp-cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.zp-cta-stat-number { font-size: 2.5rem; font-weight: 700; display: block; margin-bottom: 0.5rem; }
.zp-cta-stat-label  { font-size: 1rem; opacity: 0.8; }

.zp-btn-light {
    background: white;
    color: var(--zp-primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.zp-btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: var(--zp-primary);
}

.zp-cta-note { margin-top: 1.5rem; opacity: 0.9; font-size: 1.1rem; }
.zp-cta-note a { color: white; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); }
.zp-cta-note a:hover { border-bottom-color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: #1f2937;
    color: rgba(255,255,255,0.8);
    padding: 50px 0 0;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.3px;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-about p { margin-bottom: 0; opacity: 0.7; }

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a  { color: rgba(255,255,255,0.7); transition: var(--zp-transition); }
.footer-links a:hover { color: white; text-decoration: none; }

.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p { margin: 0; }

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.1);
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    transition: var(--zp-transition);
}

.social-link:hover { background-color: var(--zp-primary); color: white; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-20px); }
}

@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.zp-pulse { animation: pulse 2s ease-in-out infinite; }

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================================
   RESPONSIVE — TABLET  ≤ 991px
   ============================================================ */
@media (max-width: 991.98px) {
    .zp-section { padding: 80px 0; }
    .zp-section-head h2 { font-size: 2rem; }
    .zp-section-head p  { font-size: 1.1rem; }
    .zp-problems-grid   { grid-template-columns: 1fr 1fr; }
    .zp-screenshots-grid { grid-template-columns: 1fr 1fr; }
    .zp-features-grid   { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE  ≤ 768px
   (nav/hero mobile overrides are in the critical file)
   ============================================================ */
@media (max-width: 768px) {
    /* Sections */
    .zp-section         { padding: 60px 0; }
    .zp-section-head h2 { font-size: 1.75rem; }
    .zp-section-head p  { font-size: 1rem; }
    .zp-section-subtitle {
        font-size: 0.95rem;
        text-align: justify;
        margin-bottom: 2rem;
        padding: 0 10px;
        line-height: 1.6;
    }

    /* AI section */
    .zp-ai-section    { padding: 2rem 1.5rem; }
    .zp-ai-section h2 { font-size: 1.3rem; }
    .zp-ai-section p  { font-size: 0.97rem; }

    /* Problems */
    .zp-problems-grid  { grid-template-columns: 1fr; }
    .zp-problem-card   { padding: 1.5rem 1.25rem; }
    .zp-problems-cta   { padding: 1.35rem; font-size: 0.97rem; }

    /* Steps */
    .zp-step         { grid-template-columns: 50px 1fr; gap: 0 1rem; }
    .zp-step-num     { width: 44px; height: 44px; font-size: 1rem; }
    .zp-step-content h3 { font-size: 1.05rem; }
    .zp-step-content p  { font-size: 0.95rem; }

    /* Screenshots */
    .zp-screenshots-grid { grid-template-columns: 1fr 1fr; }

    /* Features */
    .zp-features-grid { grid-template-columns: 1fr; }
    .zp-feature-card  { padding: 1.5rem; }
    .zp-section-title { font-size: 2rem; }

    /* CTA */
    .zp-cta-section     { padding: 70px 20px; }
    .zp-cta-title       { font-size: 1.9rem; line-height: 1.3; }
    .zp-cta-description { font-size: 1rem; margin-bottom: 2rem; }
    .zp-cta-stats       { flex-direction: column; gap: 1.5rem; align-items: center; margin-bottom: 2rem; }
    .zp-cta-stat-number { font-size: 2rem; }
    .zp-cta-stat-label  { font-size: 0.9rem; }
    .zp-btn-light       { padding: 12px 22px; font-size: 0.95rem; }
    .zp-cta-note        { font-size: 0.9rem; }

    /* FAQ */
    .zp-faq-q           { font-size: 0.93rem; padding: 1.1rem 1.25rem; }
    .zp-faq-open .zp-faq-a { padding: 0 1.25rem 1.25rem; }

    /* Footer */
    .footer-social { justify-content: flex-start; margin-top: 20px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  ≤ 575px
   ============================================================ */
@media (max-width: 575.98px) {
    .zp-section-head h2 { font-size: 1.5rem; }
    .zp-ai-section      { padding: 1.5rem 1.1rem; }
    .zp-ai-section h2   { font-size: 1.15rem; }
    .zp-ai-section p    { font-size: 0.93rem; }
    .zp-ai-tags         { gap: 7px; justify-content: center; }
    .zp-ai-tag          { font-size: 0.75rem; padding: 4px 12px; }
    .zp-problem-card    { padding: 1.25rem 1rem; }
    .zp-problem-text    { font-size: 0.93rem; }
    .zp-step            { grid-template-columns: 44px 1fr; gap: 0 0.9rem; }
    .zp-step-num        { width: 40px; height: 40px; font-size: 0.9rem; }
    .zp-screenshots-grid { grid-template-columns: 1fr; }
    .zp-faq-q           { font-size: 0.88rem; padding: 1rem 1.1rem; }
    .zp-faq-open .zp-faq-a { padding: 0 1.1rem 1.1rem; }
    .zp-compare-table   { font-size: 0.82rem; }
    .zp-compare-table th,
    .zp-compare-table td { padding: 0.7rem 0.9rem; }
    .zp-feature-card    { padding: 1.5rem; }
}

/* ============================================================
   LARGE DESKTOP  ≥ 1280px
   ============================================================ */
@media (min-width: 1280px) {
    .zp-section-head h2 { font-size: 2.5rem; }
    .zp-section-head p  { font-size: 1.2rem; }
    .zp-problems-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
    .zp-problems-grid .zp-problem-card:last-child:nth-child(3n + 1) { grid-column: 2; }
    .zp-step-content h3  { font-size: 1.25rem; }
    .zp-step-content p   { font-size: 1rem; }
    .zp-screenshots-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   FEATURES PAGE — ziac-* component system
   Used by Features.cshtml. Sourced from styles.css and cleaned.
   ============================================================ */

/* ── Page hero (features-only) ── */
.zf-page-hero {
    margin-top: 74px;
    padding: 5rem 5% 4rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #eef1fd 100%);
    border-bottom: 1px solid rgba(67, 97, 238, 0.1);
}

.zf-page-hero-label {
    display: inline-block;
    background: rgba(67, 97, 238, 0.1);
    color: #4361ee;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.zf-page-hero-title {
    font-family: var(--zp-heading-font);
    font-size: 2.8rem;
    font-weight: 700;
    color: #2b2d42;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.zf-page-hero-sub {
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Feature section wrapper ── */
.ziac-main-wrapper {
    font-family: var(--zp-body-font);
    color: #2b2d42;
    line-height: 1.6;
}

.ziac-feature-section {
    padding: 90px 0;
    position: relative;
}

.ziac-feature-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.03) 100%);
    pointer-events: none;
}

/* ── Section backgrounds ── */
.ziac-bg-cream      { background: linear-gradient(135deg, #fcfcf7 0%, #f8f8f3 100%); }
.ziac-bg-blue-light { background: linear-gradient(135deg, #f2f8fc 0%, #e8f4f8 100%); }

/* ── Container ── */
.ziac-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section header ── */
.ziac-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.ziac-section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #4361ee, #4cc9f0);
    border-radius: 2px;
}

/* ── Icon circle ── */
.ziac-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px; height: 80px;
    font-size: 2rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ziac-section-icon:hover {
    transform: translateY(-8px) rotate(8deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.14);
}

/* ── Titles ── */
.ziac-main-title {
    font-family: var(--zp-heading-font);
    font-size: 2.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.ziac-subtitle {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.ziac-description {
    font-size: 1.05rem;
    color: #6c757d;
    max-width: 780px;
    margin: 0 auto 50px;
    line-height: 1.75;
}

/* ── Feature items grid ── */
.ziac-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.ziac-feature-item {
    background: rgba(255,255,255,0.96);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s ease,
                border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(67, 97, 238, 0.08);
}

.ziac-feature-item::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.06), transparent);
    transition: left 0.55s ease;
}

.ziac-feature-item:hover::before { left: 100%; }

.ziac-feature-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 40px rgba(67, 97, 238, 0.14);
    border-color: rgba(67, 97, 238, 0.25);
}

/* ── Check icon ── */
.ziac-check-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    user-select: none;
}

.ziac-check-icon svg {
    width: 18px; height: 18px;
    stroke: #28a745;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    display: block;
}

.ziac-feature-item:hover .ziac-check-icon {
    background: rgba(40, 167, 69, 0.2);
    transform: scale(1.1) rotate(360deg);
}

/* ── Feature text — changed from h2 to p in markup ── */
.ziac-feature-text {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.45;
    margin: 0;
}

/* ── CTA button ── */
.ziac-cta-wrapper {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.ziac-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.32);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.ziac-cta-button::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.ziac-cta-button:hover::before { width: 320px; height: 320px; }

.ziac-cta-button:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(67, 97, 238, 0.42);
}

.ziac-cta-button .fas {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.ziac-cta-button:hover .fas { transform: translateX(4px); }

/* ── Scroll-to-top button (features page only) ── */
.zf-scroll-btn {
    position: fixed;
    bottom: 28px;
    right: 100px;          /* offset right so it clears the offer bubble */
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #2b2d42;
    color: white;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1040;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    overflow: hidden;
}

.zf-scroll-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.zf-scroll-btn:hover { background: #4361ee; }

.zf-scroll-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(#4361ee 0%, rgba(255,255,255,0.15) 0%);
    transition: background 0.2s;
}

.zf-scroll-btn .fas {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

/* ── Features page responsive ── */
@media (max-width: 991.98px) {
    .zf-page-hero-title  { font-size: 2.2rem; }
    .ziac-main-title     { font-size: 2rem; }
    .ziac-subtitle       { font-size: 1.1rem; }
    .ziac-description    { font-size: 1rem; }
    .ziac-features-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .zf-page-hero        { margin-top: 60px; padding: 3.5rem 20px 2.5rem; }
    .zf-page-hero-title  { font-size: 1.75rem; }
    .zf-page-hero-sub    { font-size: 1rem; }
    .ziac-feature-section { padding: 60px 0; }
    .ziac-container      { padding: 0 16px; }
    .ziac-main-title     { font-size: 1.6rem; letter-spacing: 0; }
    .ziac-subtitle       { font-size: 1rem; }
    .ziac-description    { font-size: 0.95rem; margin-bottom: 32px; }
    .ziac-features-grid  { grid-template-columns: 1fr; gap: 16px; }
    .ziac-feature-item   { padding: 18px 20px; }
    .ziac-section-header { margin-bottom: 44px; }
    .ziac-section-icon   { width: 64px; height: 64px; font-size: 1.6rem; }
    .ziac-cta-button     { font-size: 0.88rem; padding: 14px 24px; }
    .zf-scroll-btn       { right: 90px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    .ziac-feature-section { padding: 48px 0; }
    .ziac-main-title      { font-size: 1.4rem; }
    .ziac-subtitle        { font-size: 0.95rem; }
    .ziac-feature-text    { font-size: 0.93rem; }
    .ziac-cta-button      { width: 100%; justify-content: center; max-width: 320px; }
    .zf-scroll-btn        { right: 80px; bottom: 20px; }
}
