/* Pricing Section */
.gr-pricing {
    padding: var(--gr-section-py) 0;
}

.gr-pricing__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.gr-pricing__toggle-label {
    font-size: var(--gr-fs-body);
    font-weight: 500;
    color: var(--gr-text-muted);
    cursor: pointer;
    transition: var(--gr-transition);
}

.gr-pricing__toggle-label--active {
    color: var(--gr-white);
    font-weight: 700;
}

.gr-pricing__toggle-switch {
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: var(--gr-transition);
}

.gr-pricing__toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--gr-white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--gr-transition);
}

.gr-pricing__toggle-switch--active {
    background: var(--gr-orange);
}

.gr-pricing__toggle-switch--active::after {
    left: 27px;
}

.gr-pricing__badge {
    padding: 4px 10px;
    background: rgba(255, 107, 91, 0.12);
    color: var(--gr-orange);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--gr-radius-full);
}

/* Pricing Grid */
.gr-pricing__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gr-gap);
    align-items: start;
}

/* Pricing Card */
.gr-pricing-card {
    background: var(--gr-surface);
    border: 1px solid var(--gr-glass-border);
    border-radius: var(--gr-radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: var(--gr-transition);
    position: relative;
    overflow: hidden;
}

.gr-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.gr-pricing-card:hover {
    background: var(--gr-surface-hover);
    transform: translateY(-4px);
}

.gr-pricing-card--popular {
    border: 2px solid var(--gr-orange);
}

.gr-pricing-card--popular::after {
    content: 'Популярный';
    position: absolute;
    top: 16px;
    right: -28px;
    background: var(--gr-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 32px;
    transform: rotate(45deg);
}

/* Card colors */
.gr-pricing-card--starter::before { background: var(--gr-starter); }
.gr-pricing-card--professional::before { background: var(--gr-professional); }
.gr-pricing-card--business::before { background: var(--gr-business); }
.gr-pricing-card--enterprise::before { background: var(--gr-enterprise); }

.gr-pricing-card__header {
    margin-bottom: 24px;
}

.gr-pricing-card__name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gr-white);
}

.gr-pricing-card__desc {
    color: var(--gr-text-muted);
    font-size: var(--gr-fs-small);
}

.gr-pricing-card__price {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gr-pricing-card__amount {
    font-family: var(--gr-font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gr-white);
    line-height: 1;
}

.gr-pricing-card__amount--annual {
    display: none;
}

.gr-pricing--annual .gr-pricing-card__amount--monthly {
    display: none;
}

.gr-pricing--annual .gr-pricing-card__amount--annual {
    display: inline;
}

.gr-pricing-card__period {
    color: var(--gr-text-muted);
    font-size: var(--gr-fs-small);
    margin-left: 4px;
}

.gr-pricing-card__features {
    margin-bottom: 28px;
    flex-grow: 1;
}

.gr-pricing-card__features li {
    padding: 8px 0 8px 28px;
    font-size: var(--gr-fs-small);
    position: relative;
    color: rgba(255, 255, 255, 0.7);
}

.gr-pricing-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 16px;
    background: var(--gr-orange-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.gr-pricing-card__features li--disabled {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: line-through;
}

.gr-pricing-card .gr-btn {
    width: 100%;
}

/* Pricing Header */
.gr-pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.gr-pricing-header__trial {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gr-orange-light);
    border-radius: var(--gr-radius-full);
    font-size: var(--gr-fs-small);
    font-weight: 600;
    color: var(--gr-orange);
    margin-bottom: 16px;
}
