/* ==========================================================================
   Claude Code vs Document360 — layout delta
   --------------------------------------------------------------------------
   Companion stylesheet for page-templates/compare-claude.php.

   The page is a dark-theme comparison page built on the same foundation as
   /ai: bootstrap.min.css + essentials-min.css + document360-min.css supply the
   grid, the type scale (.h1_xxlarge, .text-grey, .py-80), the buttons
   (.btn-dark, .btn-outline-dark, .btn-white, .btn-outline-white), the cards
   (.d360-card, .d360-card-body) and — for the closing feature section — the
   whole AI tab system (.ai-tabs, .ai-tab-btn, .ai-tab-content) plus the
   For Readers / For Writers pill (.slick-tab-aipage, .bg-indicator).

   Two things live here and nothing else:

   1. THE DARK CHROME. document360-min.css scopes the black background, the
      inverted logo, the white nav and the light buttons to
      .page-template-ai-tpl (and a handful of page IDs). This template gets a
      different body class, so section 1 below re-scopes that same set to
      .page-template-compare-claude. Same declarations, new selector — do not
      let the two drift.

   2. THE FOUR COMPONENTS THE THEME HAS NO CLASS FOR: the hero glow and
      eyebrow pill, the "jobs a knowledge base does" card grid, the capability
      comparison table, and the closing CTA panel.

   Every new class is prefixed .ccd- (claude-compare-document360) so it cannot
   collide with theme CSS. Load after document360-min.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Page-local tokens
   -------------------------------------------------------------------------- */
.page-template-compare-claude {
    --ccd-bg: #000;
    --ccd-surface: #0d0d0f;
    --ccd-surface-2: #101010;
    --ccd-border: #2a2a2e;
    --ccd-border-strong: #3d3d3d;
    --ccd-heading: #fff;
    --ccd-body: #d8d8d8;
    --ccd-muted: #8b8b93;
    --ccd-violet: #904dff;
    --ccd-violet-soft: #a78bfa;
    --ccd-violet-tint: rgba(144, 77, 255, .09);
    --ccd-yes: #34d17d;
    --ccd-no: #6b6b73;
    --ccd-limited: #f0b429;
}

/* ==========================================================================
   1. Dark chrome — mirrors the .page-template-ai-tpl block in
      document360-min.css. Keep in sync with it.
   ========================================================================== */
.page-template-compare-claude .wrapper_main {
    background-color: var(--ccd-bg);
    position: relative;
}

.page-template-compare-claude .d360-ai-template h1,
.page-template-compare-claude .d360-ai-template h2,
.page-template-compare-claude .d360-ai-template h3,
.page-template-compare-claude .d360-ai-template h4,
.page-template-compare-claude .d360-ai-template h5 {
    color: var(--ccd-heading);
}

.page-template-compare-claude .d360-ai-template p {
    color: var(--ccd-body);
}

.page-template-compare-claude .d360-ai-template ul li {
    color: rgba(var(--white), 1);
}

.page-template-compare-claude .line {
    stroke: #fff;
}

.page-template-compare-claude .d360-header nav ul>li>a {
    color: rgba(var(--white), 1);
}

.page-template-compare-claude .d360-mega-menu aside ul>li>a {
    color: var(--text-color) !important;
}

.page-template-compare-claude .logo picture {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.page-template-compare-claude .custom-language-switcher .dropdown-toggle {
    color: #fff;
}

.page-template-compare-claude .custom-language-switcher .dropdown-toggle .arrow.down {
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

.page-template-compare-claude .portal_login {
    color: #fff;
}

.page-template-compare-claude .btn.btn-dark {
    background-color: #fff;
    color: var(--text-color) !important;
}

.page-template-compare-claude .btn.btn-outline-dark {
    border: 1px solid rgba(var(--white), 1) !important;
    color: rgba(var(--white), 1) !important;
}

.page-template-compare-claude .d360-header.menu-shrink {
    background: #000;
}

.page-template-compare-claude .d360-offcanvas .custom-language-switcher .dropdown-toggle {
    color: var(--text-color);
}

.page-template-compare-claude .d360-offcanvas .custom-language-switcher .dropdown-toggle .arrow.down {
    border: solid #333;
    border-width: 0 2px 2px 0;
}

.page-template-compare-claude .d360-offcanvas .portal_login {
    color: var(--text-color);
}

.page-template-compare-claude .d360-offcanvas .btn.btn-dark {
    background-color: #1F2937;
    color: rgba(var(--white), 1) !important;
}

.page-template-compare-claude .d360-offcanvas .btn.btn-outline-dark {
    border: 1px solid var(--primary-color-dark) !important;
    color: var(--primary-color-dark) !important;
}

.page-template-compare-claude .border {
    border: 2px solid var(--ccd-border-strong) !important;
}

/* ==========================================================================
   2. Hero — eyebrow pill and the violet glow behind the headline
   ========================================================================== */
.ccd-hero {
    position: relative;
    isolation: isolate;
    /*padding-top: clamp(52px, 6vw, 88px);*/
    padding-bottom: clamp(60px, 7vw, 100px);
}

/* Soft violet bloom centred behind the headline / CTA stack. */
/*.ccd-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    width: auto;
    height: auto;
    transform: none;
    pointer-events: none;
    background:
        radial-gradient(46% 56% at 50% 34%,
            rgba(144, 77, 255, .32) 0%,
            rgba(144, 77, 255, .20) 24%,
            rgba(144, 77, 255, .10) 44%,
            rgba(144, 77, 255, .035) 65%,
            rgba(144, 77, 255, .01) 82%,
            rgba(144, 77, 255, 0) 100%),
        radial-gradient(26% 34% at 14% 2%,
            rgba(91, 157, 255, .13) 0%,
            rgba(91, 157, 255, .038) 48%,
            rgba(91, 157, 255, .008) 76%,
            rgba(91, 157, 255, 0) 100%),
        radial-gradient(24% 32% at 87% 6%,
            rgba(232, 0, 108, .10) 0%,
            rgba(232, 0, 108, .028) 50%,
            rgba(232, 0, 108, .006) 78%,
            rgba(232, 0, 108, 0) 100%);
}*/

.ccd-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, .6) 58%,
        #000 100%);
}

.ccd-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 6px;
    border: 1px solid rgba(167, 139, 250, .3);
    border-radius: 50px;
    color: #e4dcff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    background: rgba(255, 214, 185, .07);
    color: #e3e3e3;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16), 0 1px 2px rgba(17, 24, 39, .06);
}

.ccd-eyebrow-pill svg {
    flex: 0 0 auto;
    fill: var(--ccd-violet-soft);
}

/* Second line of the hero headline. */
.ccd-hero h1 .ccd-accent {
    color: var(--ccd-violet-soft);
}

/* Small caps section label — "THE DIFFERENCE". */
.ccd-eyebrow {
    color: var(--ccd-violet-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ==========================================================================
   3. "Why Claude can't replace your knowledge base" card grid
      Composes .d360-card; adds the icon tile and the hover lift.
   ========================================================================== */

.page-template-compare-claude .d360-ai-template .ccd-jobcard h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.35;
}

.page-template-compare-claude .d360-ai-template .ccd-jobcard p {
    margin-bottom: 0;
    padding-bottom: 0;
    color: #a3a3ab;
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   4. Capability comparison table
      A real <table> so it stays readable to screen readers and to search.
      Wrapped in .ccd-table-scroll so narrow viewports scroll the table, not
      the page.
   ========================================================================== */
/*.ccd-table-scroll {
    overflow-x: auto;
    border: 1px solid var(--ccd-border);
    border-radius: 16px;
    background: var(--ccd-surface);
    -webkit-overflow-scrolling: touch;
}

.ccd-table {
    width: 100%;
    min-width: 680px;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.ccd-table th,
.ccd-table td {
    padding: 17px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
    vertical-align: middle;
}

.ccd-table tr:last-child th,
.ccd-table tr:last-child td {
    border-bottom: 0;
}


.ccd-table col.ccd-col-cap { width: auto; }
.ccd-table col.ccd-col-vs  { width: 26%; }


.ccd-table thead th {
    padding-top: 20px;
    padding-bottom: 19px;
    background: #131315;
    color: var(--ccd-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.ccd-table thead th.ccd-th-cap {
    color: var(--ccd-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: left;
}

.ccd-table thead th.ccd-th-d360 {
    background: linear-gradient(180deg, rgba(144, 77, 255, .3) 0%, rgba(144, 77, 255, .13) 100%);
}

.ccd-table td.ccd-td-d360,
.ccd-table thead th.ccd-th-d360 {
    border-left: 1px solid rgba(255, 255, 255, .055);
}

.ccd-table thead th + th,
.ccd-table tbody td {
    border-left: 1px solid rgba(255, 255, 255, .055);
}

.ccd-table td.ccd-td-d360 {
    background: var(--ccd-violet-tint);
    position: relative;
}

.ccd-th-d360-inner {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.ccd-th-d360-inner img {
    width: 17px;
    height: 17px;
}


.ccd-table tbody th {
    color: var(--ccd-body);
    font-size: 15.5px;
    font-weight: 400;
    text-align: left;
}

.ccd-table tbody td {
    text-align: center;
}*/


.ccd-table-scroll {
  position: relative;                 /* FIX: keeps hidden icon labels inside, so the page doesn't scroll */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ccd-border);
  border-radius: 16px;
  background: var(--ccd-surface);
}
/* Visible scrollbar at the bottom of the table */
.ccd-table-scroll::-webkit-scrollbar { height: 8px; -webkit-appearance: none; }
.ccd-table-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 0 0 16px 16px; }
.ccd-table-scroll::-webkit-scrollbar-thumb { background: rgba(144,77,255,.7); border-radius: 8px; }

.ccd-table { width: 100%; min-width: 900px; margin: 0; border-collapse: collapse; table-layout: fixed; }
.ccd-table th, .ccd-table td { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.055); vertical-align: top; }
.ccd-table tr:last-child th, .ccd-table tr:last-child td { border-bottom: 0; }
.ccd-table col.ccd-col-cap { width: 25%; }
.ccd-table col.ccd-col-vs { width: 25%; }

.ccd-table thead th { padding-top: 20px; padding-bottom: 19px; background: rgb(19,19,21); color: var(--ccd-heading); font-size: 16px; font-weight: 600; text-align: left; white-space: nowrap; }
.ccd-table thead th.ccd-th-cap { color: var(--ccd-muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.ccd-table thead th.ccd-th-d360 { background: linear-gradient(rgba(144,77,255,.3) 0%, rgba(144,77,255,.13) 100%); }
.ccd-table thead th + th, .ccd-table tbody td { border-left: 1px solid rgba(255,255,255,.055); }
.ccd-table td.ccd-td-d360 { background: var(--ccd-violet-tint); }
.ccd-th-d360-inner { display: inline-flex; align-items: center; gap: 9px; }
.ccd-th-d360-inner img { width: 17px; height: 17px; }

.ccd-table tbody th { color: var(--ccd-body); font-size: 15px; font-weight: 400; line-height: 1.45; text-align: left; padding-top: 17px; }
.ccd-table tbody td { text-align: left; }

.ccd-cell { display: flex; gap: 9px; align-items: flex-start; font-size: 13.8px; line-height: 1.5; color: rgb(163,163,171); }
.ccd-cell .ccd-mark { flex: 0 0 auto; margin-top: 1px; line-height: 0; }
.ccd-cell .ccd-mark svg { width: 16px; height: 16px; }
.ccd-mark { display: inline-block; line-height: 0; }
.ccd-mark svg { width: 19px; height: 19px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ccd-mark-yes svg { stroke: var(--ccd-yes); }
.ccd-mark-no svg { stroke: rgb(255,98,98) !important; stroke-width: 2; }
.ccd-mark-part svg { stroke: var(--ccd-limited); }

/* Verdict marks. */
.ccd-mark {
    display: inline-block;
    line-height: 0;
}

.ccd-mark svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ccd-mark-yes svg { stroke: var(--ccd-yes); }
.ccd-mark-no  svg { stroke: var(--ccd-no); stroke-width: 2; }

/* "Limited" — possible in a chat thread, but not managed. */
.ccd-chip-limited {
    display: inline-block;
    padding: 4px 12px 3px;
    border-radius: 50px;
    background: rgba(240, 180, 41, .14);
    color: var(--ccd-limited);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

/* Sub-label under a mark, e.g. "Eddy AI" on the AI writing row. */
.ccd-mark-note {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: 11px;
    text-align: center;
    color: var(--ccd-violet-soft);
    font-size: 11.5px;
    line-height: 1.2;
}

.page-template-compare-claude .d360-ai-template .ccd-table-foot {
    margin: 0;
    padding-bottom: 0;
    color: #7c7c85;
    font-size: 13.5px;
}

/* ==========================================================================
   5. Closing CTA panel
   ========================================================================== */
.ccd-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 66px 40px 70px;
    border: 1px solid rgba(167, 139, 250, .22);
    border-radius: 22px;
    background: linear-gradient(135deg, #1a1236 0%, #14102b 48%, #0d0b1c 100%);
}

.ccd-cta::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 12%;
    right: -6%;
    width: 460px;
    height: 460px;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(144, 77, 255, .42) 0%, transparent 70%);
}

/* ==========================================================================
   6. Section rhythm and the AI feature block
      .ai-tabs / .ai-tab-btn / .ai-tab-content and .slick-tab-aipage all come
      from document360-min.css. Only spacing is set here.
   ========================================================================== */
.ccd-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.ccd-section-tight {
    padding-top: 0;
    padding-bottom: 90px;
}

/* Keep the Ask / Manage / Automate blocks apart the way /ai does. */
.page-template-compare-claude .ai-feature {
    padding-top: 34px;
    padding-bottom: 34px;
}

.page-template-compare-claude .ai-tab-content video {
    display: block;
}

/* ==========================================================================
   7. Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .ccd-section,
    .ccd-section-tight {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .ccd-section-tight {
        padding-top: 0;
    }

    .ccd-cta {
        padding: 46px 24px 50px;
    }

    .ccd-hero::before {
        width: 700px;
        height: 560px;
    }
}

@media (max-width: 767px) {
    .page-template-compare-claude .d360-ai-template h1.h1_xxlarge {
        font-size: 32px;
    }

    .ccd-table th,
    .ccd-table td {
        padding: 14px 18px;
    }

    .ccd-eyebrow-pill {
        white-space: normal;
        text-align: left;
    }
}

.page-id-39359 .d360-header nav ul li.menu-item-has-children>a:after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23ffffff' d='M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z'/%3E%3C/svg%3E")
    }

    .page-id-39359 .d360-faq ul li h5 a::after, .page-id-39359 .d360-faq ul li h5 a::before{
        background-color: #777777;
    }