/**
 * Tiger Pricing — frontend styles.
 *
 * All rules are scoped under .tg-pr-card so they cannot leak into
 * surrounding theme styles. Per-instance overrides come from Elementor's
 * selector-driven controls; the rules here are the defaults.
 */

:root {
    --tgr-accent: #ffc107;
    --tgr-dark-btn: #1a1a1a;
    --tgr-text-gray: #666;
    --tgr-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ----------------------------------------------------------
 * Card container
 * ---------------------------------------------------------- */
.tg-pr-card {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 45px 30px 40px;
    background: #ffffff;
    border: 2px solid var(--tgr-accent);
    border-radius: 24px;
    box-shadow: var(--tgr-card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
}

.tg-pr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* In-view reveal — JS adds .tg-pr-card--in-view when the card scrolls in. */
.tg-pr-card {
    opacity: 0;
    transform: translateY(16px);
}
.tg-pr-card.tg-pr-card--in-view {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .tg-pr-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ----------------------------------------------------------
 * Popular badge ribbon
 * ---------------------------------------------------------- */
.tg-pr-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tgr-accent);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Clear space for the badge so the icon doesn't sit underneath it.
   The badge_height control updates both this and the badge height. */
.tg-pr-card.has-badge .tg-pr-content {
    margin-top: 35px;
}

/* ----------------------------------------------------------
 * Plan icon
 * ---------------------------------------------------------- */
.tg-pr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--bg-size, 80px);
    height: var(--bg-size, 80px);
    border-radius: 50%;
    background-color: var(--bg-color, #f0f4f8);
    color: var(--icon-color, #007bff);
    font-size: var(--icon-size, 32px);
    transition: transform 0.3s ease;
}
.tg-pr-card:hover .tg-pr-icon {
    transform: scale(1.05);
}
.tg-pr-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: block;
}

/* ----------------------------------------------------------
 * Typography
 * ---------------------------------------------------------- */
.tg-pr-title {
    margin: 0 0 8px;
    color: #000;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
}

.tg-pr-subtitle {
    margin-bottom: 0;
    color: var(--tgr-text-gray);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

/* ----------------------------------------------------------
 * Price
 * ---------------------------------------------------------- */
.tg-pr-price {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 48px;
    font-weight: 800;
}
.tg-pr-currency {
    margin-right: 2px;
    font-size: 20px;
    font-weight: 600;
}
.tg-pr-suffix {
    margin-left: 6px;
    color: var(--tgr-text-gray);
    font-size: 16px;
    font-weight: 500;
}

/* ----------------------------------------------------------
 * Features list
 * ---------------------------------------------------------- */
.tg-pr-features {
    display: grid;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.tg-pr-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}
.tg-pr-features li.tg-pr-highlight {
    color: #000;
}
.tg-pr-features li.tg-pr-highlight .tg-pr-feat-text {
    font-weight: 700;
}

.tg-pr-feat-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    margin-right: 12px;
}
.tg-pr-feat-icon svg,
.tg-pr-feat-icon img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* ----------------------------------------------------------
 * Main button
 * ---------------------------------------------------------- */
.tg-pr-btn-wrap {
    display: grid;
}

.tg-pr-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.tg-pr-btn-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.tg-pr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 18px 25px;
    background: var(--tgr-dark-btn);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tg-pr-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/* ----------------------------------------------------------
 * Footer contact link
 * ---------------------------------------------------------- */
.tg-pr-contact-link {
    display: block;
    color: var(--tgr-text-gray);
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease;
}
.tg-pr-contact-link span {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}
.tg-pr-contact-link:hover {
    color: #000;
}
