
/* ── Package Card Styles ─────────────────────── */
.pkg-card-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: var(--tg-common-white);
    box-shadow: 0px 10px 60px 0px rgba(53, 30, 224, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pkg-card-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0px 24px 80px 0px rgba(53, 30, 224, 0.18);
}

/* Card Header (sky-blue light gradient — matches reference image) */
.pkg-card-header {
    background: linear-gradient(135deg, #b8dce9 0%, #cde8f5 50%, #beddee 100%);
    padding: 38px 36px 30px;
    position: relative;
    overflow: hidden;
}

.pkg-card-header::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: radial-gradient(circle at 38% 38%, rgba(255,255,255,0.92), rgba(175,215,235,0.45));
    box-shadow: inset 0 0 18px rgba(255,255,255,0.5);
}

.pkg-card-header .pkg-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #05092B;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Popular / Gold variant header */
.pkg-card-wrap.pkg-popular .pkg-card-header {
    background: linear-gradient(135deg, #0e1350 0%, #1a2272 55%, #243194 100%);
}

.pkg-card-wrap.pkg-popular .pkg-card-header::after {
    background: radial-gradient(circle at 38% 38%, rgba(63,116,239,0.55), rgba(53,30,224,0.25));
    border-color: rgba(63,116,239,0.45);
}

.pkg-card-wrap.pkg-popular .pkg-name {
    color: #ffffff;
}

/* Enterprise variant header */
.pkg-card-wrap.pkg-enterprise .pkg-card-header {
    background: linear-gradient(135deg, #05092B 0%, #111536 55%, #1D2142 100%);
}

.pkg-card-wrap.pkg-enterprise .pkg-card-header::after {
    background: radial-gradient(circle at 38% 38%, rgba(124,197,226,0.6), rgba(26,127,160,0.2));
    border-color: rgba(124,197,226,0.5);
}

.pkg-card-wrap.pkg-enterprise .pkg-name {
    color: #ffffff;
}

/* Most Popular Badge */
.pkg-popular-badge {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(94deg, #351EE0 0%, #3F74EF 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(53,30,224,0.45);
}

/* Card Body */
.pkg-card-body {
    background: #f6f9fd;
    padding: 34px 36px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Price */
.pkg-price-wrap {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 2px;
}

.pkg-currency {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #05092B;
    line-height: 1;
    margin-top: 10px;
}

.pkg-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: #05092B;
    line-height: 1;
    letter-spacing: -2px;
}

.pkg-period {
    font-size: 0.85rem;
    color: var(--tg-text-body, #737373);
    font-weight: 500;
    align-self: flex-end;
    padding-bottom: 8px;
    margin-left: 4px;
}

/* Features List */
.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 34px;
    flex: 1;
}

.pkg-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #05092B;
    border-bottom: 1px solid rgba(53, 30, 224, 0.07);
    line-height: 1.4;
}

.pkg-features li:last-child {
    border-bottom: none;
}

.pkg-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #351EE0;
    font-size: 1.05rem;
    font-weight: 700;
}

/* CTA Button */
.pkg-cta-btn {
    display: block;
    width: 100%;
    background: linear-gradient(to right, #351EE0, #3F74EF, #3F74EF, #351EE0);
    background-size: 300% 100%;
    background-position: 0% 100%;
    color: #ffffff !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none !important;
    text-align: center;
    transition: background-position 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(53, 30, 224, 0.35);
    margin-top: auto;
}

.pkg-cta-btn:hover {
    background-position: 100% 100%;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(53, 30, 224, 0.5);
}

/* ── Page Breadcrumb ─────────────────────────── */
.pkg-breadcrumb {
    background: linear-gradient(135deg, #05092B 0%, #111536 55%, #1D2142 100%);
    padding: 140px 0 55px;   /* top padding clears the transparent header + top bar */
    position: relative;
    overflow: hidden;
}

.pkg-breadcrumb::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53,30,224,0.25) 0%, transparent 70%);
    pointer-events: none;
}

.pkg-breadcrumb::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63,116,239,0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* Page title inside breadcrumb */
.pkg-page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.15;
}

.pkg-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.pkg-breadcrumb-nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.3s;
}

.pkg-breadcrumb-nav a:hover { color: #3F74EF; }

.pkg-breadcrumb-nav .divider { color: rgba(255,255,255,0.35); }

.pkg-breadcrumb-nav .current {
    background: linear-gradient(94deg, #351EE0 0%, #3F74EF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ── Packages Section ────────────────────────── */
.pkg-section {
    background: #f9f9fb;
    padding: 100px 0 80px;
    position: relative;
}

.pkg-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(94deg, #351EE0 0%, #3F74EF 100%);
}

/* ── Billing Toggle ──────────────────────────── */
.pkg-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 56px;
}

.pkg-toggle-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #737373;
    transition: color 0.3s;
}

.pkg-toggle-label.active {
    color: #05092B;
    font-weight: 700;
}

.pkg-toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.pkg-toggle-switch input { display: none; }

.pkg-toggle-slider {
    position: absolute;
    inset: 0;
    background: #351EE0;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.pkg-toggle-slider::before {
    content: '';
    position: absolute;
    left: 4px; top: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s;
}

.pkg-toggle-switch input:checked + .pkg-toggle-slider::before {
    transform: translateX(24px);
}

.pkg-save-tag {
    background: linear-gradient(94deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
}

/* ── Compare Table (simple) ──────────────────── */
.pkg-compare-note {
    text-align: center;
    margin-top: 50px;
    color: #737373;
    font-size: 0.9rem;
}

.pkg-compare-note a {
    background: linear-gradient(94deg, #351EE0 0%, #3F74EF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

/* ── FAQ ─────────────────────────────────────── */
.pkg-faq-section {
    background: #ffffff;
    padding: 100px 0;
}

/* ── Guarantee Bar ───────────────────────────── */
.pkg-guarantee {
    background: linear-gradient(135deg, #111536 0%, #05092B 100%);
    padding: 60px 0;
    text-align: center;
}

.pkg-guarantee h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.pkg-guarantee p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto 32px;
}

.pkg-guarantee-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
}

.pkg-guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    font-weight: 500;
}

.pkg-guarantee-item i {
    font-size: 1.3rem;
    background: linear-gradient(94deg, #351EE0 0%, #3F74EF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Fun Fact / Stats Bar ────────────────────── */
.pkg-stats-bar {
    background: linear-gradient(94deg, #351EE0 0%, #3F74EF 100%);
    padding: 52px 0;
}

.pkg-stat-item { text-align: center; }

.pkg-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.pkg-stat-lbl {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.pkg-stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.2);
    height: 56px;
    align-self: center;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 991px) {
    .pkg-section       { padding: 70px 0 60px; }
    .pkg-faq-section   { padding: 70px 0; }
    .pkg-guarantee     { padding: 50px 0; }
    .pkg-stat-divider  { display: none; }
}

@media (max-width: 767px) {
    .pkg-card-header    { padding: 28px 24px 22px; }
    .pkg-card-body      { padding: 26px 24px 24px; }
    .pkg-price          { font-size: 2.8rem; }
    .pkg-guarantee-items{ gap: 20px; }
}

@media (max-width: 575px) {
    .pkg-breadcrumb { padding: 120px 0 40px; }
}
