/* Shared "Comparison" section (WhyExhibitorlyComparison) — old-vs-new
   pricing/value cards, pure CSS, no JS needed. Used by index.blade.php and
   city_landing.blade.php via front.partials._comparison; only content
   differs. Self-contained — see shared_about.css's docblock for why that
   matters and why this used to be one section of a single bundled
   shared_sections.css. */

:root {
    --hp-dark: #0c2e16;
    --hp-lime: #cfff7f;
}

/* Clears the site-wide fixed "Get your 3 quotes now" tab. */
.shared_comparison .container {
    padding: 0 30px;
}
@media (min-width: 768px) {
    .shared_comparison .container {
        padding: 0 45px;
    }
}

.shared_comparison {
    padding: 30px 0 60px;
    background: #f3f4f6;
}
.shared_comparison .container {
    max-width: 1100px;
    margin: 0 auto;
}
.shared_comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.shared_comparison-card-wrap {
    position: relative;
    display: flex;
}
.shared_comparison-card {
    position: relative;
    border-radius: 24px;
    padding: 36px 28px 28px;
    width: 100%;
}
.shared_comparison-card--old {
    background: linear-gradient(135deg, #fff 0%, #f1ffb8 50%, var(--hp-lime) 100%);
    border: 2px solid var(--hp-lime);
}
.shared_comparison-card--new {
    background: linear-gradient(135deg, #0c2e16 0%, #1a4a2a 100%);
    overflow: hidden;
}
.shared_comparison-tag {
    position: absolute;
    top: -13px;
    left: 28px;
    z-index: 2;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.shared_comparison-tag--old {
    background: var(--hp-dark);
    color: var(--hp-lime);
}
.shared_comparison-tag--new {
    background: var(--hp-lime);
    color: var(--hp-dark);
}
.shared_comparison-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 6px 0 4px;
}
.shared_comparison-card--old h3 {
    color: var(--hp-dark);
}
.shared_comparison-card--new h3 {
    color: var(--hp-lime);
}
.shared_comparison-subheading {
    font-size: 13px;
    margin: 0 0 22px;
}
.shared_comparison-card--old .shared_comparison-subheading {
    color: rgba(12, 46, 22, 0.7);
}
.shared_comparison-card--new .shared_comparison-subheading {
    color: #d1d5db;
}

/* .shared_comparison-content accepts any rich-text HTML — paragraphs, an
   <hr> separator, a bullet list — not just a fixed points array, so a card
   isn't limited to "a list and nothing else". A <ul>/<li> the content
   happens to include gets the same icon-bullet look as before, just applied
   generically via CSS instead of per-item Blade markup: the icon shape
   comes from the card's data-bullet-icon attribute (mask-image, so its
   color always matches the card variant), the icon's circular backdrop
   inverts colors automatically between the --old/--new card variants. */
.shared_comparison-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 14px;
}
.shared_comparison-content p:last-child {
    margin-bottom: 0;
}
.shared_comparison-card--old .shared_comparison-content p {
    color: #374151;
}
.shared_comparison-card--new .shared_comparison-content p {
    color: #fff;
}
.shared_comparison-content hr {
    border: 0;
    margin: 20px 0;
}
.shared_comparison-card--old .shared_comparison-content hr {
    border-top: 1px solid rgba(12, 46, 22, 0.15);
}
.shared_comparison-card--new .shared_comparison-content hr {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.shared_comparison-content ul {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}
.shared_comparison-content ul:last-child {
    margin-bottom: 0;
}
.shared_comparison-content li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}
.shared_comparison-content li:last-child {
    margin-bottom: 0;
}
.shared_comparison-card--old .shared_comparison-content li {
    color: #374151;
}
.shared_comparison-card--new .shared_comparison-content li {
    color: #fff;
    font-weight: 500;
}
.shared_comparison-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
}
.shared_comparison-card--old .shared_comparison-content li::before {
    background: var(--hp-dark);
}
.shared_comparison-card--new .shared_comparison-content li::before {
    background: var(--hp-lime);
}
.shared_comparison-content li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    width: 12px;
    height: 12px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.shared_comparison-card--old .shared_comparison-content li::after {
    background: var(--hp-lime);
}
.shared_comparison-card--new .shared_comparison-content li::after {
    background: var(--hp-dark);
}
[data-bullet-icon="none"] .shared_comparison-content li::before,
[data-bullet-icon="none"] .shared_comparison-content li::after {
    content: none;
}
[data-bullet-icon="none"] .shared_comparison-content li {
    padding-left: 0;
}
[data-bullet-icon="check"] .shared_comparison-content li::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
[data-bullet-icon="x"] .shared_comparison-content li::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
}
[data-bullet-icon="help"] .shared_comparison-content li::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.228 9a3.002 3.002 0 0 1 5.771 1c0 2 -3 3 -3 3'/%3E%3Cpath d='M12 17l0 .01'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.228 9a3.002 3.002 0 0 1 5.771 1c0 2 -3 3 -3 3'/%3E%3Cpath d='M12 17l0 .01'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}
.shared_comparison-cta {
    text-align: center;
    margin-top: 36px;
}
.shared_comparison-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hp-dark);
    color: var(--hp-lime);
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.shared_comparison-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(12, 46, 22, 0.25);
}
@media (min-width: 768px) {
    .shared_comparison-grid { grid-template-columns: 1fr 1fr; }
}
