/* =================================================================
   PRICING PAGE STYLES - VelTechLab
   Professional dark theme with cyberpunk accents
   ================================================================= */

/* =================================================================
   BASE STYLES
   ================================================================= */

body.pricing-page {
    font-family: "Inter", "Poppins", sans-serif;
    background: #0b1120;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.6;
    font-size: 0.85rem;
}

body.pricing-page .section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

body.pricing-page .container {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding-inline: clamp(1.5rem, 5vw, 3rem);
}

body.pricing-page .section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

body.pricing-page .section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.pricing-page .section-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(148, 163, 184, 0.9);
    margin: 0 auto;
    max-width: 72ch;
}

/* =================================================================
   PRICING HERO
   ================================================================= */

.pricing-hero {
    position: relative;
    padding-top: clamp(10rem, 17vw, 14rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    background: 
        linear-gradient(180deg, rgba(11, 17, 32, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    overflow: hidden;
}

.pricing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
}

/* Десктоп: компактен hero + по-малък отстъп над калкулатора (по-висока специфичност от .section) */
@media (min-width: 1024px) {
    body.pricing-page .pricing-hero.section {
        padding-top: clamp(6.75rem, 9vw, 8.75rem);
        padding-bottom: clamp(1.65rem, 2.5vw, 2.35rem);
    }

    body.pricing-page .pricing-hero .pricing-hero-content {
        padding-top: clamp(0.25rem, 0.85vw, 0.65rem);
    }

    body.pricing-page .msp-calculator-section.section {
        padding-top: clamp(2rem, 3.2vw, 2.75rem);
    }
}

.pricing-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-top: clamp(0.75rem, 2vw, 1.5rem);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.82rem, 1.8vw, 0.92rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #e0f2fe;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(124, 58, 237, 0.35));
    border: 1px solid rgba(147, 197, 253, 0.55);
    padding: 0.58rem 1.35rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);
    text-shadow: 0 1px 6px rgba(2, 6, 23, 0.65);
}

.pricing-badge i {
    font-size: 0.9em;
}

.pricing-hero-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.65rem, 4.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hero-subtitle {
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    line-height: 1.55;
    color: rgba(148, 163, 184, 0.95);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-hero-offer {
    margin: 0.85rem auto 0;
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.38);
    background: rgba(59, 130, 246, 0.14);
    color: rgba(187, 247, 208, 0.96);
    font-size: clamp(0.72rem, 1.3vw, 0.8rem);
    line-height: 1.3;
}

.pricing-hero-offer i {
    color: #60a5fa;
}

/* =================================================================
   PRICING CARDS GRID
   ================================================================= */

.pricing-section {
    background:
        radial-gradient(circle at 12% -8%, rgba(59, 130, 246, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 88% 108%, rgba(139, 92, 246, 0.12) 0%, transparent 42%),
        linear-gradient(180deg, rgba(11, 17, 32, 0.98) 0%, rgba(15, 23, 42, 1) 100%);
    position: relative;
    isolation: isolate;
}

/* =================================================================
   MSP CALCULATOR SECTION
   ================================================================= */

.msp-calculator-section {
    background:
        radial-gradient(circle at 15% 10%, rgba(59, 130, 246, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 85% 92%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, rgba(11, 17, 32, 0.98), rgba(15, 23, 42, 0.98));
}

.msp-calculator-card {
    width: min(100%, 980px);
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.15rem;
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.7));
    padding: clamp(1rem, 2.4vw, 1.6rem);
    box-shadow: 0 24px 56px -34px rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
}

.msp-calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.msp-field {
    display: grid;
    gap: 0.4rem;
}

.msp-field span {
    font-size: clamp(0.76rem, 1.5vw, 0.84rem);
    color: rgba(203, 213, 225, 0.92);
    font-weight: 600;
}

.msp-field input {
    width: 100%;
    border-radius: 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.8);
    color: rgba(248, 250, 252, 0.98);
    padding: 0.62rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.msp-field input:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.9);
    outline-offset: 2px;
}

.msp-calculator-actions {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.msp-calculator-note {
    margin: 0;
    font-size: clamp(0.72rem, 1.2vw, 0.8rem);
    color: rgba(148, 163, 184, 0.92);
}


.pricing-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.88) 18%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.88) 18%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.pricing-section > .container {
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2.6vw, 1.7rem);
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.pricing-mobile-controls {
    display: none;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.25rem, 2vw, 1.5rem);
    }
}

/* =================================================================
   PRICING CARD
   ================================================================= */

.pricing-card {
    position: relative;
    background: linear-gradient(
        165deg,
        rgba(30, 41, 59, 0.78) 0%,
        rgba(15, 23, 42, 0.96) 100%
    );
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: clamp(1.25rem, 2.5vw, 1.5rem);
    padding: clamp(1.35rem, 2.8vw, 1.85rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    box-shadow:
        0 28px 65px -45px rgba(15, 23, 42, 0.95),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(59, 130, 246, 0.1),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.52);
    box-shadow:
        0 30px 60px -22px rgba(2, 6, 23, 0.65),
        0 0 0 1px rgba(96, 165, 250, 0.28),
        0 0 70px rgba(59, 130, 246, 0.14);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:focus-within {
    border-color: rgba(96, 165, 250, 0.62);
    box-shadow:
        0 24px 48px -24px rgba(2, 6, 23, 0.72),
        0 0 0 2px rgba(96, 165, 250, 0.35);
}

/* Featured Card */
.pricing-card.featured {
    border-color: rgba(96, 165, 250, 0.56);
    background: linear-gradient(
        165deg,
        rgba(30, 41, 59, 0.9) 0%,
        rgba(15, 23, 42, 1) 100%
    );
    box-shadow:
        0 26px 58px -26px rgba(59, 130, 246, 0.28),
        0 0 0 1px rgba(96, 165, 250, 0.28);
    overflow: visible;
}

.pricing-card.featured::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.popular-badge {
    position: absolute;
    top: 0.55rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.35);
    z-index: 3;
    white-space: nowrap;
}

.pricing-card.featured .pricing-card-header {
    padding-top: clamp(1.8rem, 3vw, 2.2rem);
}

.pricing-card:not(.featured) .pricing-card-header {
    padding-top: clamp(1.8rem, 3vw, 2.2rem);
}

/* =================================================================
   CARD HEADER
   ================================================================= */

.pricing-card-header {
    text-align: center;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.plan-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.875rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.plan-badge.starter {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.plan-badge.business {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.plan-badge.enterprise {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.plan-name {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 700;
    color: rgba(248, 250, 252, 0.98);
    margin-bottom: 0.5rem;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.plan-description {
    font-size: clamp(0.76rem, 1.5vw, 0.83rem);
    color: rgba(148, 163, 184, 0.9);
    line-height: 1.5;
    margin: 0;
    min-height: 2.4em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

/* =================================================================
   CARD PRICE
   ================================================================= */

.pricing-card-price {
    text-align: center;
    margin-bottom: clamp(1.2rem, 2.4vw, 1.6rem);
    min-height: 0;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.price-amount {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.9rem, 4.8vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.featured .price-amount {
    background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    display: inline;
    font-size: clamp(1rem, 2.3vw, 1.2rem);
    font-weight: 700;
    color: rgba(148, 163, 184, 0.8);
    margin-left: 0;
    white-space: nowrap;
    line-height: 1;
}

.price-period {
    display: inline;
    font-size: clamp(0.74rem, 1.5vw, 0.82rem);
    font-weight: 500;
    color: rgba(148, 163, 184, 0.7);
    white-space: nowrap;
    line-height: 1;
}

.price-promo {
    display: block;
    flex-basis: 100%;
    width: 100%;
    text-align: center;
    margin-top: 0.35rem;
    font-size: clamp(0.68rem, 1.2vw, 0.76rem);
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 0.02em;
}

.price-eur {
    display: block;
    font-size: clamp(0.8rem, 1.6vw, 0.875rem);
    color: rgba(148, 163, 184, 0.6);
    margin-top: 0.35rem;
}

/* =================================================================
   FEATURES LIST
   ================================================================= */

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.6rem, 1.1vw, 0.78rem);
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: clamp(0.74rem, 1.45vw, 0.82rem);
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.42;
    min-height: 0;
}

.pricing-features li i {
    color: #60a5fa;
    font-size: 0.85rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* =================================================================
   CARD FOOTER
   ================================================================= */

.pricing-card-footer {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(96, 165, 250, 0.5);
    color: #60a5fa;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: #60a5fa;
    transform: translateY(-2px);
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    padding: clamp(0.875rem, 1.8vw, 1.125rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: clamp(0.68rem, 1.35vw, 0.74rem);
    color: rgba(148, 163, 184, 0.78);
    margin-top: 0.72rem;
    line-height: 1.48;
    min-height: 2.4em;
}

.pricing-note i {
    color: rgba(96, 165, 250, 0.7);
    font-size: 0.8rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    font-size: clamp(0.78rem, 1.5vw, 0.86rem);
    padding: clamp(0.68rem, 1.3vw, 0.82rem) clamp(1rem, 2.3vw, 1.35rem);
}

/* =================================================================
   POLICY SECTION
   ================================================================= */

.policy-section {
    background: 
        linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(11, 17, 32, 0.8) 100%);
    position: relative;
}

.policy-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2.5vw, 1.5rem);
}

@media (min-width: 640px) {
    .policy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .policy-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.policy-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    transition: all 0.3s ease;
}

.policy-card:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
}

.policy-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.15));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: #60a5fa;
    transition: all 0.3s ease;
}

.policy-card:hover .policy-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.25));
}

.policy-card h3 {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    color: rgba(248, 250, 252, 0.95);
    margin-bottom: 0.75rem;
}

.policy-card p {
    font-size: clamp(0.85rem, 1.7vw, 0.9rem);
    color: rgba(148, 163, 184, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* =================================================================
   FAQ SECTION
   ================================================================= */

.faq-section {
    background: #0b1120;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(0.55rem, 1.1vw, 0.75rem);
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(96, 165, 250, 0.3);
}

.faq-item.active {
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(30, 41, 59, 0.7);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: clamp(0.75rem, 1.6vw, 0.95rem);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: clamp(0.8rem, 1.45vw, 0.9rem);
    font-weight: 600;
    color: rgba(248, 250, 252, 0.95);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #60a5fa;
}

.faq-question:focus-visible,
.pricing-card .btn:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.9);
    outline-offset: 3px;
}

.faq-question i {
    color: rgba(96, 165, 250, 0.7);
    font-size: 0.72rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 clamp(0.75rem, 1.6vw, 0.95rem) clamp(0.75rem, 1.6vw, 0.95rem);
    font-size: clamp(0.74rem, 1.25vw, 0.82rem);
    color: rgba(148, 163, 184, 0.9);
    line-height: 1.55;
    margin: 0;
}

/* =================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================= */

@media (max-width: 767px) {
    .msp-calculator-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .msp-calculator-actions {
        align-items: stretch;
    }

    .msp-calculator-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-mobile-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.7rem;
        margin: 0 0 1rem;
        padding: 0.5rem 0.6rem;
        border-radius: 0.9rem;
        border: 1px solid rgba(148, 163, 184, 0.2);
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(8px);
    }

    .pricing-mobile-hint {
        font-size: 0.72rem;
        color: rgba(203, 213, 225, 0.88);
        text-align: center;
        flex: 1;
        line-height: 1.35;
    }

    .pricing-nav-btn {
        width: 36px;
        height: 36px;
        border-radius: 999px;
        border: 1px solid rgba(96, 165, 250, 0.6);
        background: rgba(30, 41, 59, 0.9);
        color: #93c5fd;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .pricing-nav-btn:hover {
        background: rgba(37, 99, 235, 0.25);
        border-color: rgba(147, 197, 253, 0.8);
    }

    .pricing-nav-btn:focus-visible {
        outline: 2px solid rgba(96, 165, 250, 0.9);
        outline-offset: 2px;
    }

    .pricing-grid {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 0 0.55rem;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-card {
        min-width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin: 0;
        scroll-snap-align: start;
        height: auto;
        scroll-snap-stop: always;
    }

    .pricing-card-header,
    .plan-name,
    .plan-description,
    .pricing-card-price,
    .pricing-card-footer,
    .pricing-note {
        min-height: auto;
    }
    
    .pricing-hero {
        /* Мобилен hero без застъпване с фиксирания хедър */
        padding-top: clamp(6.4rem, 17vw, 8rem);
        padding-bottom: clamp(2rem, 6vw, 3rem);
    }

    .pricing-hero .container {
        padding-inline: clamp(0.95rem, 4.5vw, 1.3rem);
    }

    .pricing-hero-content {
        padding-top: 0;
        max-width: 100%;
        display: grid;
        gap: 0.85rem;
    }

    .pricing-badge {
        width: fit-content;
        max-width: 100%;
        margin-inline: auto;
        padding: 0.48rem 0.9rem;
        font-size: 0.73rem;
        letter-spacing: 0.07em;
        line-height: 1.25;
        gap: 0.4rem;
        text-align: center;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pricing-hero-title {
        font-size: clamp(1.35rem, 6.3vw, 1.95rem);
        line-height: 1.18;
        margin-bottom: 0.4rem;
        text-wrap: balance;
    }

    .pricing-hero-subtitle {
        font-size: clamp(0.86rem, 3.2vw, 0.96rem);
        line-height: 1.5;
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        min-width: 100%;
        max-width: 100%;
        padding: clamp(1.25rem, 3.8vw, 1.6rem);
    }
    
    .popular-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.875rem;
    }
    
    .pricing-hero {
        padding-top: clamp(5.9rem, 19vw, 7.1rem);
        padding-bottom: clamp(1.65rem, 5.5vw, 2.3rem);
    }

    .pricing-hero .container {
        padding-inline: clamp(0.85rem, 4.2vw, 1rem);
    }

    .pricing-hero-content {
        gap: 0.72rem;
    }

    .pricing-badge {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
        padding: 0.44rem 0.74rem;
    }

    .pricing-hero-title {
        font-size: clamp(1.2rem, 6.6vw, 1.55rem);
        line-height: 1.2;
        margin-bottom: 0.3rem;
    }

    .pricing-hero-subtitle {
        font-size: 0.83rem;
        line-height: 1.45;
    }
}

