/* ===========================================================================
   AR CLOUD SOLUTIONS  —  storefront (ar_comparison order form)

   Loads after templates/twenty-one/css/custom.css, so the brand tokens
   (--ar-amber, --ar-display, …) and the shared .ar-btn / .ar-section /
   .ar-shell primitives defined there are all available here.
   =========================================================================== */

#order-ar_comparison { color: var(--ar-body); }

/* The order form renders inside #main-body > .container; neutralise it so the
   sections can run full-bleed like the rest of the site. */
body.ar-page-store #main-body { padding-top: 0; padding-bottom: 0; }
body.ar-page-store #main-body > .container {
    max-width: 100%; padding-left: 0; padding-right: 0; width: 100%;
}
body.ar-page-store .primary-content { padding: 0; }
body.ar-page-store .master-breadcrumb { display: none; }
body.ar-page-store #premiumComparisonSidebar,
body.ar-page-store #btnShowSidebar { display: none !important; }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */

.ars-hero {
    background: var(--ar-charcoal);
    background-image:
        radial-gradient(1000px 460px at 82% -14%, rgba(247,148,29,.2), transparent 62%),
        linear-gradient(150deg, #1f2529 0%, #232a30 55%, #1a2024 100%);
    color: #fff;
    padding: 62px 0 66px;
    position: relative; overflow: hidden;
}
.ars-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, #000, transparent 80%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.ars-hero-grid {
    display: grid; grid-template-columns: 1.15fr .85fr;
    gap: 48px; align-items: center; position: relative;
}
.ars-hero h1 {
    font-family: var(--ar-display); font-weight: 700;
    font-size: clamp(30px, 3.9vw, 46px); line-height: 1.08;
    letter-spacing: -.03em; color: #fff; margin: 0 0 18px;
}
.ars-hero .ar-lead { font-size: 17.5px; line-height: 1.65; color: #b7bfc6; margin: 0 0 24px; max-width: 36em; }

.ars-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ars-chips li {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: 13.5px; font-weight: 600; color: #d3d9de;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--ar-r-pill); padding: 7px 14px;
}
.ars-chips .ar-ico { width: 15px; height: 15px; color: var(--ar-amber); }

.ars-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ars-hero-media { text-align: center; }
.ars-hero-art {
    width: 100%; max-width: 500px; height: auto; display: block; margin: 0 auto;
    filter: drop-shadow(0 24px 50px rgba(0,0,0,.35));
}

/* ---------------------------------------------------------------------------
   Category switcher
   --------------------------------------------------------------------------- */

.ars-cats { background: var(--ar-paper); border-bottom: 1px solid var(--ar-line); }
.ars-cats ul {
    list-style: none; margin: 0; padding: 14px 0;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.ars-cats a {
    display: inline-block; padding: 9px 16px;
    border-radius: var(--ar-r-pill);
    border: 1.5px solid var(--ar-line);
    font-size: 14px; font-weight: 700; color: var(--ar-charcoal);
    text-decoration: none; transition: all .16s ease;
}
.ars-cats a:hover { border-color: var(--ar-charcoal); background: var(--ar-charcoal); color: #fff; text-decoration: none; }
.ars-cats a.is-active { background: var(--ar-amber); border-color: var(--ar-amber); color: var(--ar-charcoal); }

/* ---------------------------------------------------------------------------
   Plan cards
   --------------------------------------------------------------------------- */

.ars-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.ars-cols-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ars-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; margin: 0 auto; }
.ars-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ars-plan {
    position: relative;
    background: var(--ar-paper);
    border: 1px solid var(--ar-line);
    border-radius: var(--ar-r-lg);
    padding: 30px 26px 26px;
    display: flex; flex-direction: column;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ars-plan:hover { border-color: #f3d3a8; box-shadow: var(--ar-shadow); transform: translateY(-4px); }
.ars-plan.is-featured {
    border-color: var(--ar-amber);
    box-shadow: 0 0 0 1px var(--ar-amber), var(--ar-shadow);
}
.ars-flag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--ar-amber); color: var(--ar-charcoal);
    font-family: var(--ar-mono); font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 6px 14px; border-radius: var(--ar-r-pill);
    white-space: nowrap;
}

.ars-plan-head { margin-bottom: 18px; }
.ars-tier {
    display: inline-block; margin-bottom: 10px;
    font-family: var(--ar-mono); font-size: 12px; font-weight: 500;
    letter-spacing: .1em;
    background: var(--ar-amber-tint); color: var(--ar-amber-700);
    border: 1px solid #fbe2c0; border-radius: var(--ar-r-pill);
    padding: 4px 11px;
}
.ars-plan h3 {
    font-family: var(--ar-display); font-weight: 700; letter-spacing: -.02em;
    font-size: 20px; line-height: 1.2; color: var(--ar-charcoal); margin: 0 0 8px;
}
.ars-plan-tag { font-size: 14px; line-height: 1.55; color: var(--ar-muted); margin: 0; }

.ars-price {
    padding: 18px 0 20px; margin-bottom: 20px;
    border-top: 1px solid var(--ar-line-2); border-bottom: 1px solid var(--ar-line-2);
}
.ars-from { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ar-dim); font-family: var(--ar-mono); }
.ars-amount {
    display: block; font-family: var(--ar-display); font-weight: 700;
    font-size: 28px; letter-spacing: -.02em; color: var(--ar-charcoal); line-height: 1.15;
}
.ars-plan.is-featured .ars-amount { color: var(--ar-amber-700); }
.ars-cycle, .ars-setup { display: block; font-size: 13px; color: var(--ar-muted); margin-top: 4px; }

.ars-plan .ar-btn.is-disabled { opacity: .5; pointer-events: none; }

.ars-plan-features { list-style: none; margin: 22px 0 0; padding: 0; flex: 1; }
.ars-plan-features li {
    display: flex; gap: .65rem; align-items: flex-start;
    font-size: 14.5px; line-height: 1.5; color: var(--ar-body);
    padding: 8px 0; border-top: 1px solid var(--ar-line-2);
}
.ars-plan-features li:first-child { border-top: 0; }
.ars-plan-features .ar-ico { width: 17px; height: 17px; flex: none; color: #2fa35b; margin-top: 1px; }

/* ---------------------------------------------------------------------------
   Comparison table
   --------------------------------------------------------------------------- */

.ars-table-wrap {
    overflow-x: auto;
    background: var(--ar-paper);
    border: 1px solid var(--ar-line);
    border-radius: var(--ar-r-lg);
    -webkit-overflow-scrolling: touch;
}
.ars-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.ars-table th, .ars-table td { padding: 15px 18px; text-align: center; vertical-align: middle; }
.ars-table thead th { border-bottom: 1px solid var(--ar-line); vertical-align: bottom; }
.ars-table .ars-th-feature,
.ars-table tbody th {
    text-align: left; width: 34%;
    font-family: var(--ar-sans); font-size: 14.5px; font-weight: 600;
    color: var(--ar-charcoal);
}
.ars-table .ars-th-feature {
    font-family: var(--ar-mono); font-size: 11.5px; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ar-dim);
}
.ars-th-name {
    display: block; font-family: var(--ar-display); font-weight: 700;
    font-size: 15.5px; color: var(--ar-charcoal); line-height: 1.25;
}
.ars-th-tier {
    display: block; margin-top: 4px;
    font-family: var(--ar-mono); font-size: 11.5px; color: var(--ar-dim);
}
.ars-table tbody tr { border-top: 1px solid var(--ar-line-2); }
.ars-table tbody tr:hover { background: #fffaf2; }

/* the featured column reads as one continuous highlight */
.ars-table th.is-featured, .ars-table td.is-featured { background: var(--ar-amber-tint); }
.ars-table thead th.is-featured { border-radius: var(--ar-r-sm) var(--ar-r-sm) 0 0; }
.ars-table tbody tr:hover td.is-featured { background: #ffeed6; }

.ars-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e6f6ec; color: #1f8a4c; }
.ars-yes .ar-ico { width: 15px; height: 15px; }
.ars-no { color: var(--ar-dim); font-size: 16px; }
.ars-val { font-family: var(--ar-mono); font-size: 14.5px; font-weight: 600; color: var(--ar-charcoal); }

.ars-row-price td { padding-top: 20px; }
.ars-row-price .ars-val { font-family: var(--ar-display); font-size: 18px; }
.ars-row-cta td { padding-top: 4px; padding-bottom: 22px; }
.ars-row-cta .ar-btn { width: 100%; max-width: 190px; }

/* ---------------------------------------------------------------------------
   Included grid (dark)
   --------------------------------------------------------------------------- */

.ars-includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ars-inc {
    position: relative;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--ar-r-lg);
    padding: 26px 22px;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.ars-inc:hover { background: rgba(255,255,255,.06); border-color: rgba(247,148,29,.4); transform: translateY(-3px); }
.ars-inc-ico {
    width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px;
    display: grid; place-items: center;
    background: rgba(247,148,29,.14); border: 1px solid rgba(247,148,29,.3);
    color: var(--ar-amber);
}
.ars-inc-ico .ar-ico { width: 22px; height: 22px; }
.ars-inc h4 { font-family: var(--ar-display); font-weight: 700; font-size: 16.5px; color: #fff; margin: 0 0 7px; letter-spacing: -.01em; }
.ars-inc p { font-size: 14px; line-height: 1.6; color: #a3abb3; margin: 0; }

/* group features set in WHMCS admin */
.ars-grouped { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 26px; }
.ars-grouped li { display: flex; gap: .6rem; align-items: flex-start; font-size: 15px; color: var(--ar-body); }
.ars-grouped .ar-ico { width: 17px; height: 17px; color: #2fa35b; flex: none; margin-top: 2px; }

/* ---------------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------------- */

.ars-faq-section { background: var(--ar-paper); }
.ars-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.ars-faq-intro h2 { font-family: var(--ar-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.14; margin: 0 0 12px; }
.ars-faq-intro .ar-btn { margin-top: 22px; }

.ars-faq { display: grid; gap: 12px; }
.ars-faq-item {
    background: var(--ar-bg);
    border: 1px solid var(--ar-line);
    border-radius: var(--ar-r);
    overflow: hidden;
    transition: border-color .18s ease, background-color .18s ease;
}
.ars-faq-item[open] { border-color: #f3d3a8; background: var(--ar-paper); }
.ars-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; cursor: pointer; list-style: none;
    font-family: var(--ar-display); font-weight: 700; font-size: 16.5px;
    color: var(--ar-charcoal); letter-spacing: -.01em;
    min-height: 56px;
}
.ars-faq-item summary::-webkit-details-marker { display: none; }
.ars-faq-item summary:hover { color: var(--ar-amber-700); }
.ars-faq-item summary .ar-caret { flex: none; color: var(--ar-amber-700); opacity: 1; }
.ars-faq-item[open] summary .ar-caret { transform: rotate(180deg); }
.ars-faq-body { padding: 0 22px 20px; }
.ars-faq-body p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ar-muted); max-width: 62ch; }

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */

@media (max-width: 1023.98px) {
    .ars-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .ars-hero-media { max-width: 380px; }
    .ars-plans, .ars-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ars-cols-2 { max-width: none; }
    .ars-includes { grid-template-columns: repeat(2, 1fr); }
    .ars-grouped { grid-template-columns: repeat(2, 1fr); }
    .ars-faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 767.98px) {
    .ars-hero { padding: 42px 0 48px; }
    .ars-hero .ar-lead { font-size: 16.5px; }
    .ars-hero-cta .ar-btn { flex: 1 1 100%; }
    .ars-plans, .ars-cols-1, .ars-cols-2, .ars-cols-4 { grid-template-columns: 1fr; }
    .ars-plan { padding: 26px 22px 22px; }
    .ars-includes { grid-template-columns: 1fr; }
    .ars-grouped { grid-template-columns: 1fr; }
    .ars-cats ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 16px; }
    .ars-cats a { white-space: nowrap; }
    .ars-table th, .ars-table td { padding: 13px 14px; }
    .ars-faq-item summary { font-size: 15.5px; padding: 16px 18px; }
}
