/* ============================================================
   CORPORATE TAX PAGE — corporate-tax.css
   Accent: Purple  #7C3AED / #6D28D9
   Prefix: ct-
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   SECTION 0 — SHIMS
   Classes used by this page that are NOT in styles.css or
   inherited from sales.css.  Defining them here lets this page
   stand alone without depending on any other page's CSS.
   ──────────────────────────────────────────────────────────── */

/* Hero pills row */
.sm-hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.sm-hero-pill {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(124,58,237,0.08);
    color: #7C3AED;
    border: 1px solid rgba(124,58,237,0.2);
    white-space: nowrap;
}

/* Pipeline / hero mockup */
.sm-pipeline-card {
    background: var(--bg-card, #fff);
    border-radius: 16px;
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.sm-pipeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.sm-pipeline-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary, #0f172a);
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,100%{ opacity:1 } 50%{ opacity:0.4 }
}
.sm-pipeline-body { display: flex; flex-direction: column; gap: 10px; }
.sm-pipe-row { display: flex; align-items: center; gap: 10px; }
.sm-pipe-label { font-size: 12px; color: var(--color-text-muted,#64748b); min-width: 130px; white-space: nowrap; }
.sm-pipe-track { flex: 1; height: 6px; background: var(--color-border,#e2e8f0); border-radius: 50px; overflow: hidden; }
.sm-pipe-bar { height: 100%; border-radius: 50px; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.sm-pipe-count { font-size: 12px; font-weight: 600; color: var(--color-text-primary,#0f172a); min-width: 72px; text-align: right; }
.sm-pipeline-footer { display: flex; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--color-border,#e2e8f0); }
.sm-pipe-kpi { display: flex; flex-direction: column; gap: 2px; }
.sm-kpi-val { font-size: 16px; font-weight: 700; color: var(--color-text-primary,#0f172a); }
.sm-kpi-lbl { font-size: 11px; color: var(--color-text-muted,#64748b); }

/* Float cards */
.sm-float-card {
    position: absolute;
    background: var(--bg-card,#fff);
    border: 1px solid var(--color-border,#e2e8f0);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    pointer-events: none;
    z-index: 2;
}
.sm-float-card--tl { top: -18px; left: -18px; }
.sm-float-card--br { bottom: -18px; right: -18px; }
.sm-float-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sm-float-body { display: flex; flex-direction: column; gap: 2px; }
.sm-float-val { font-size: 13px; font-weight: 600; color: var(--color-text-primary,#0f172a); white-space: nowrap; }
.sm-float-lbl { font-size: 11px; color: var(--color-text-muted,#64748b); white-space: nowrap; }

/* Module nav */
.sm-module-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-card,#fff);
    border-bottom: 1px solid var(--color-border,#e2e8f0);
    backdrop-filter: blur(8px);
}
.sm-module-nav {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
}
.sm-module-nav::-webkit-scrollbar { display: none; }
.sm-module-nav--sticky .sm-module-nav { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

/* Stats section */
.sm-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.sm-stat-card {
    background: var(--bg-card,#fff);
    border-radius: 16px;
    border: 1px solid var(--color-border,#e2e8f0);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: transform .2s, box-shadow .2s;
}
.sm-stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.sm-stat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.sm-stat-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #7C3AED, #9333EA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.sm-stat-lbl { font-size: 13px; color: var(--color-text-muted,#64748b); }

/* Section containers */
.sm-section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sm-section-header { text-align: center; margin-bottom: 48px; }
.sm-section-title { font-size: 34px; font-weight: 800; color: var(--color-text-primary,#0f172a); margin: 12px 0; line-height: 1.2; }
.sm-section-desc { font-size: 16px; color: var(--color-text-muted,#64748b); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* Section badge */
.section-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(124,58,237,0.08);
    color: #7C3AED;
    border: 1px solid rgba(124,58,237,0.2);
}

/* Module cards grid */
.sm-modules-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.sm-module-card {
    background: var(--bg-card,#fff);
    border: 1px solid var(--color-border,#e2e8f0);
    border-radius: 16px;
    padding: 22px 18px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sm-module-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: rgba(124,58,237,0.3); }
.sm-module-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.sm-module-card h3 { font-size: 15px; font-weight: 700; color: var(--color-text-primary,#0f172a); margin: 0; }
.sm-module-card p  { font-size: 13px; color: var(--color-text-muted,#64748b); line-height: 1.5; margin: 0; flex: 1; }
.sm-module-arrow { font-size: 13px; font-weight: 600; color: #7C3AED; display: flex; align-items: center; gap: 4px; }

/* Feature sections */
.sm-feature-section { padding: 80px 0; }
.sm-alt { background: var(--color-surface, #f8fafc); }
.sm-feature-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.sm-feature-content { display: flex; flex-direction: column; gap: 16px; }
.sm-feature-title { font-size: 30px; font-weight: 800; color: var(--color-text-primary,#0f172a); line-height: 1.2; margin: 4px 0; }
.sm-feature-desc { font-size: 15px; color: var(--color-text-secondary,#475569); line-height: 1.7; }
.sm-feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sm-feature-list li {
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--color-text-secondary,#475569);
    line-height: 1.6;
}
.sm-feature-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 16px; height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.sm-feature-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.sm-feature-mockup { position: relative; }

/* Testimonials */
.sm-testimonials-section { padding: 80px 0; background: var(--color-surface,#f8fafc); }
.sm-carousel-outer { overflow: hidden; border-radius: 16px; }
.sm-carousel-wrap { display: flex; transition: transform 0.45s cubic-bezier(.4,0,.2,1); }
.sm-tcard {
    min-width: 100%;
    background: var(--bg-card,#fff);
    border-radius: 16px;
    border: 1px solid var(--color-border,#e2e8f0);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}
.sm-tcard-stars { color: #F59E0B; font-size: 18px; letter-spacing: 2px; }
.sm-tcard-quote { font-size: 15px; color: var(--color-text-secondary,#475569); line-height: 1.7; font-style: italic; flex: 1; }
.sm-tcard-author { display: flex; align-items: center; gap: 12px; }
.sm-av {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: #fff;
    flex-shrink: 0;
}
.sm-tcard-name { font-size: 14px; font-weight: 700; color: var(--color-text-primary,#0f172a); }
.sm-tcard-role { font-size: 12px; color: var(--color-text-muted,#64748b); }
.sm-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.sm-carousel-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border,#e2e8f0);
    background: var(--bg-card,#fff);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s;
    color: var(--color-text-secondary,#475569);
}
.sm-carousel-btn:hover { border-color: #7C3AED; color: #7C3AED; }
.sm-carousel-dots { display: flex; gap: 8px; align-items: center; }
.sm-carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-border,#e2e8f0);
    cursor: pointer; transition: all .2s;
}
.sm-carousel-dot--active { background: #7C3AED !important; transform: scale(1.2); }

/* FAQ */
.sm-faq-section { padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--color-border,#e2e8f0); border-radius: 12px; overflow: hidden; }
.faq-question {
    width: 100%; text-align: left;
    padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 15px; font-weight: 600;
    color: var(--color-text-primary,#0f172a);
    background: var(--bg-card,#fff);
    border: none; cursor: pointer;
    gap: 12px;
    transition: background .15s;
}
.faq-question:hover { background: rgba(124,58,237,0.04); }
.faq-item.is-open .faq-question { background: rgba(124,58,237,0.05); }
.faq-chevron { flex-shrink: 0; transition: transform .3s; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--color-text-secondary,#475569);
    line-height: 1.7;
    background: var(--bg-card,#fff);
}
.faq-item.is-open .faq-answer { display: block; }

/* CTA */
.sm-cta-section { padding: 80px 0; }
.sm-cta-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sm-cta-content {
    background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 50%, #0F172A 100%);
    border-radius: 24px;
    padding: 60px 48px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.sm-cta-title { font-size: 36px; font-weight: 800; color: #fff; line-height: 1.2; margin: 0; }
.sm-cta-highlight { color: #C4B5FD; }
.sm-cta-subtitle { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 560px; line-height: 1.7; }
.sm-cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.sm-cta-ghost {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 15px; font-weight: 500;
    text-decoration: none;
    transition: color .2s;
}
.sm-cta-ghost:hover { color: #fff; }
.sm-cta-note { font-size: 13px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 6px; }

/* Integrations */
.sm-integrations-section { padding: 80px 0; }
.sm-int-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
.sm-int-icon {
    width: 72px; height: 72px;
    border-radius: 16px;
    border: 1px solid var(--color-border,#e2e8f0);
    background: var(--bg-card,#fff);
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s, box-shadow .2s;
    overflow: hidden;
}
.sm-int-icon img { width: 42px; height: 42px; object-fit: contain; }
.sm-int-icon:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.10); }

/* Workflow section */
.sm-workflow-section  { padding: 80px 0; background: var(--color-surface, #f8fafc); }
.ct-workflow-section  { padding: 80px 0; background: var(--color-surface, #f8fafc); }

/* Modules section */
.sm-modules-section { padding: 80px 0; }

/* Hero title / subtitle / ctas / mockup */
.sm-hero-title {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 900;
    color: var(--color-text-primary, #0f172a);
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.sm-hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--color-text-secondary, #475569);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 0 32px;
}
.sm-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}
.sm-hero-mockup {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}


/* ────────────────────────────────────────────────────────────
   SECTION 1 — HERO
   ──────────────────────────────────────────────────────────── */
.ct-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative;
    overflow: visible;
}

/* ────────────────────────────────────────────────────────────
   ACCENT COLOURS (bar / kpi / badge)
   ──────────────────────────────────────────────────────────── */
.ct-badge--violet {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(124,58,237,0.1);
    color: #7C3AED;
    border: 1px solid rgba(124,58,237,0.25);
    letter-spacing: 0.3px;
}

.ct-bar--violet { background: linear-gradient(90deg, #7C3AED, #9333EA); }
.ct-bar--green  { background: linear-gradient(90deg, #10B981, #059669); }
.ct-bar--amber  { background: linear-gradient(90deg, #F59E0B, #D97706); }
.ct-bar--rose   { background: linear-gradient(90deg, #F43F5E, #E11D48); }

.ct-kpi-violet { background: linear-gradient(135deg, #7C3AED, #9333EA); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Stats accent border */
.ct-stats-accent .sm-stat-card { border-top: 3px solid rgba(124,58,237,0.3); }

/* Module grid override (5 col) */
.ct-modules-grid { grid-template-columns: repeat(5, 1fr) !important; }

/* Nav tab hook */
.ct-nav-tab { /* inherits .sm-nav-tab styles from sales.css */ }
.ct-nav-tab.sm-nav-tab--active {
    color: #7C3AED !important;
    border-bottom-color: #7C3AED !important;
}

/* ────────────────────────────────────────────────────────────
   MOCK CARD — shared container
   ──────────────────────────────────────────────────────────── */
.ct-mock-card {
    background: var(--bg-card,#fff);
    border: 1px solid var(--color-border,#e2e8f0);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: box-shadow .3s;
    font-size: 13px;
}
.ct-mock-card:hover { box-shadow: 0 12px 40px rgba(124,58,237,0.12); }
.ct-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary,#0f172a);
}
.ct-mock-badge {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.ct-mock-badge--violet { background: rgba(124,58,237,0.1); color: #7C3AED; border: 1px solid rgba(124,58,237,0.2); }
.ct-mock-badge--green  { background: rgba(16,185,129,0.1);  color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.ct-mock-badge--amber  { background: rgba(245,158,11,0.1);  color: #D97706; border: 1px solid rgba(245,158,11,0.2); }

/* ────────────────────────────────────────────────────────────
   FEATURE 1 — TAXABLE INCOME COMPUTATION TABLE
   ──────────────────────────────────────────────────────────── */
.ct-income-table { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ct-income-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .15s;
}
.ct-income-row:hover { background: rgba(124,58,237,0.04); }
.ct-income-label { font-size: 13px; color: var(--color-text-secondary,#475569); }
.ct-income-type {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}
.ct-income-type--add  { background: rgba(16,185,129,0.1); color: #059669; }
.ct-income-type--less { background: rgba(244,63,94,0.1);  color: #E11D48; }
.ct-income-type--net  { background: rgba(124,58,237,0.1); color: #7C3AED; }
.ct-income-amount { font-size: 13px; font-weight: 600; color: var(--color-text-primary,#0f172a); text-align: right; min-width: 90px; }
.ct-income-total {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 10px;
    margin-top: 6px;
    border-top: 2px solid rgba(124,58,237,0.2);
    background: rgba(124,58,237,0.05);
    border-radius: 0 0 8px 8px;
}
.ct-income-total-label { font-size: 13px; font-weight: 700; color: var(--color-text-primary,#0f172a); }
.ct-income-total-value { font-size: 15px; font-weight: 800; color: #7C3AED; text-align: right; }

/* ────────────────────────────────────────────────────────────
   FEATURE 2 — DEDUCTIONS TABLE
   ──────────────────────────────────────────────────────────── */
.ct-ded-table { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ct-ded-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .15s;
}
.ct-ded-row:hover { background: rgba(124,58,237,0.04); }
.ct-ded-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ct-ded-label { flex: 1; font-size: 13px; color: var(--color-text-secondary,#475569); }
.ct-ded-pct   { font-size: 12px; font-weight: 600; color: #7C3AED; min-width: 42px; text-align: right; }
.ct-ded-value { font-size: 13px; font-weight: 600; color: var(--color-text-primary,#0f172a); min-width: 82px; text-align: right; }
.ct-ded-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    margin-top: 4px;
    border-top: 2px solid rgba(124,58,237,0.2);
    background: rgba(124,58,237,0.05);
    border-radius: 0 0 8px 8px;
}
.ct-ded-total-label { font-size: 13px; font-weight: 700; color: var(--color-text-primary,#0f172a); }
.ct-ded-total-value { font-size: 14px; font-weight: 800; color: #7C3AED; }

/* ────────────────────────────────────────────────────────────
   FEATURE 3 — CT RETURN / TAX PAYABLE TABLE
   ──────────────────────────────────────────────────────────── */
.ct-return-table { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ct-return-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .15s;
}
.ct-return-row:hover { background: rgba(124,58,237,0.04); }
.ct-return-label { font-size: 13px; color: var(--color-text-secondary,#475569); }
.ct-return-value { font-size: 13px; font-weight: 600; color: var(--color-text-primary,#0f172a); }
.ct-return-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    margin-top: 6px;
    border-top: 2px solid rgba(124,58,237,0.2);
    background: rgba(124,58,237,0.06);
    border-radius: 8px;
}
.ct-return-total-label { font-size: 14px; font-weight: 700; color: var(--color-text-primary,#0f172a); }
.ct-return-total-value { font-size: 16px; font-weight: 800; color: #7C3AED; }

/* ────────────────────────────────────────────────────────────
   FEATURE 4 — SMALL BUSINESS RELIEF CARD
   ──────────────────────────────────────────────────────────── */
.ct-relief-card {
    background: var(--bg-card,#fff);
    border: 2px solid rgba(124,58,237,0.2);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ct-relief-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(124,58,237,0.1);
    display: flex; align-items: center; justify-content: center;
}
.ct-relief-title { font-size: 16px; font-weight: 800; color: var(--color-text-primary,#0f172a); }
.ct-relief-val { font-size: 28px; font-weight: 900; color: #7C3AED; line-height: 1; }
.ct-relief-sub { font-size: 12px; color: var(--color-text-muted,#64748b); }
.ct-relief-check { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 6px; }
.ct-relief-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--color-surface,#f8fafc);
    font-size: 13px;
}
.ct-relief-check-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-relief-check-text { flex: 1; color: var(--color-text-secondary,#475569); }
.ct-relief-check-status { font-size: 11px; font-weight: 700; }
.ct-relief-check-status--pass { color: #10B981; }
.ct-relief-check-status--fail { color: #EF4444; }

/* ────────────────────────────────────────────────────────────
   FEATURE 5 — FILING / EMARA TAX CHECKLIST
   ──────────────────────────────────────────────────────────── */
.ct-checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ct-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--color-border,#e2e8f0);
    background: var(--bg-card,#fff);
    transition: border-color .15s;
}
.ct-check-item:hover { border-color: rgba(124,58,237,0.3); }
.ct-check-num {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #7C3AED;
    color: #fff;
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ct-check-body { flex: 1; }
.ct-check-title { font-size: 13px; font-weight: 600; color: var(--color-text-primary,#0f172a); margin-bottom: 2px; }
.ct-check-desc  { font-size: 12px; color: var(--color-text-muted,#64748b); line-height: 1.5; }
.ct-check-done {
    font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 50px;
    background: rgba(16,185,129,0.1); color: #059669;
    flex-shrink: 0; align-self: center;
}

/* ────────────────────────────────────────────────────────────
   HOW IT WORKS — STEPS GRID
   ──────────────────────────────────────────────────────────── */
.ct-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 0;
}
.ct-step-card {
    background: var(--bg-card,#fff);
    border: 1px solid var(--color-border,#e2e8f0);
    border-radius: 16px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.ct-step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(124,58,237,0.1); }
.ct-step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7C3AED, #9333EA);
    color: #fff;
    font-size: 18px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 6px rgba(124,58,237,0.1);
}
.ct-step-title { font-size: 16px; font-weight: 700; color: var(--color-text-primary,#0f172a); }
.ct-step-desc  { font-size: 13px; color: var(--color-text-secondary,#475569); line-height: 1.6; }

/* ────────────────────────────────────────────────────────────
   AUDIT ROW (shared with CT audit feature)
   ──────────────────────────────────────────────────────────── */
.ct-audit-list  { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ct-audit-row   { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 8px; transition: background .15s; }
.ct-audit-row:hover { background: rgba(124,58,237,0.04); }
.ct-audit-dot   { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.ct-audit-body  { flex: 1; min-width: 0; }
.ct-audit-action{ font-size: 13px; font-weight: 500; color: var(--color-text-primary,#0f172a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-audit-meta  { font-size: 11px; color: var(--color-text-muted,#64748b); margin-top: 2px; }
.ct-audit-time  { font-size: 11px; font-weight: 600; color: #7C3AED; white-space: nowrap; flex-shrink: 0; }

/* ────────────────────────────────────────────────────────────
   INTEGRATIONS OVERRIDE
   ──────────────────────────────────────────────────────────── */
.ct-integrations-section { background: var(--color-surface,#f8fafc); }
.ct-integrations-section .sm-int-icon:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.10); }

/* ────────────────────────────────────────────────────────────
   BUTTON SIZE — SMALL
   ──────────────────────────────────────────────────────────── */
.btn-sm { padding: 8px 18px; font-size: 0.85rem; gap: 6px; }

/* ────────────────────────────────────────────────────────────
   DARK MODE
   ──────────────────────────────────────────────────────────── */
[data-theme="dark"] .ct-mock-card  { background: var(--bg-card); border-color: var(--border-color); }
[data-theme="dark"] .ct-step-card  { background: var(--bg-card); }
[data-theme="dark"] .ct-step-num   { box-shadow: 0 0 0 6px var(--color-surface); }
[data-theme="dark"] .ct-relief-card{ background: var(--bg-card); }

/* ────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ct-modules-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .ct-steps-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ct-hero { padding: 100px 20px 48px; }

    .sm-feature-container {
        grid-template-columns: 1fr !important;
        gap: 36px;
        direction: ltr !important;
    }

    .sm-stats-container   { grid-template-columns: repeat(2, 1fr); }
    .ct-modules-grid      { grid-template-columns: repeat(2, 1fr) !important; }
    .ct-steps-grid        { grid-template-columns: 1fr; }
    .sm-cta-content       { padding: 40px 24px; }
    .sm-cta-title         { font-size: 26px; }
}
