:root {
    --ga-bg: #050711;
    --ga-bg-secondary: #080c17;
    --ga-surface: #0d1321;
    --ga-surface-2: #111827;
    --ga-primary: #635bff;
    --ga-blue: #2563eb;
    --ga-cyan: #00c2ff;
    --ga-violet: #8b5cf6;
    --ga-gold: #c9a227;
    --ga-text: #f5f7fa;
    --ga-muted: #929bad;
    --ga-border: rgba(255, 255, 255, 0.09);
    --ga-border-strong: rgba(255, 255, 255, 0.15);
}
.gameapi-pricing {
    overflow: hidden;
    background: radial-gradient(circle at 82% 4%, rgba(99, 91, 255, 0.08), transparent 27rem),
        var(--ga-bg);
    color: var(--ga-text);
}
.gameapi-pricing *,
.gameapi-pricing *::before,
.gameapi-pricing *::after {
    box-sizing: border-box;
}
.pricing-space {
    padding: 40px 10px;
}
.pricing-hero {
    position: relative;
    padding: 40px 10px;
    border-bottom: 1px solid var(--ga-border);
}
.pricing-hero::after {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 35%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 91, 255, 0.65));
    content: "";
}
.pricing-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(480px, 0.9fr);
    align-items: center;
}
.pricing-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
}
.pricing-hero__meta span {
    padding: 9px 11px;
    border: 1px solid var(--ga-border);
    background: rgba(255, 255, 255, 0.025);
    color: #aeb6c7;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.pricing-heading {
    align-items: center;
    margin-bottom: 20px;
}
.pricing-heading h2 {
    max-width: 480px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.pricing-heading--compact {
    margin-bottom: 20px;
}
.pricing-plans {
    background: var(--ga-bg);
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    border-top: 1px solid var(--ga-border);
    border-left: 1px solid var(--ga-border);
    gap: 10px;
}
.plan-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    min-height: 560px;
    padding: 28px 24px 24px;
    border-right: 1px solid var(--ga-border);
    border-bottom: 1px solid var(--ga-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 42%),
        var(--ga-surface);
    overflow: hidden;
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}
.plan-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: transparent;
    content: "";
    transition: background 0.35s ease;
}
.plan-card:hover {
    z-index: 2;
    transform: translateY(-6px);
    border-color: rgba(99, 91, 255, 0.3);
    background: linear-gradient(145deg, rgba(99, 91, 255, 0.06), transparent 45%),
        var(--ga-surface);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
}
.plan-card:hover::before {
    background: var(--ga-primary);
}
.plan-card--featured {
    z-index: 1;
    background: linear-gradient(150deg, rgba(99, 91, 255, 0.13), transparent 48%), #0d1221;
    border-color: rgba(99, 91, 255, 0.35);
}
.plan-card--featured::before {
    background: var(--ga-primary);
}
.plan-card--enterprise {
    background: linear-gradient(145deg, rgba(201, 162, 39, 0.055), transparent 45%),
        var(--ga-surface);
}
.plan-card--enterprise:hover {
    border-color: rgba(201, 162, 39, 0.3);
    background: linear-gradient(145deg, rgba(201, 162, 39, 0.08), transparent 45%),
        var(--ga-surface);
}

.plan-card--enterprise:hover::before {
    background: var(--ga-gold);
}
.plan-card__badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 10px;
    background: var(--ga-primary);
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.13em;
    line-height: 1;
}
.plan-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 5px;
	margin-bottom: 25px;
}
.plan-index {
    color: var(--ga-cyan);
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size: 11px;
    font-weight: 800;
}
.plan-label {
	max-width: 150px;
	color: #a7aab1;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-align: right;
}
.plan-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.plan-card h3 {
    margin: 0;
    color: var(--ga-text);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.plan-description {
	min-height: 72px;
	margin: 10px 0 0;
	color: #a6abb6;
	font-size: 16px;
}
.plan-price, .enterprise-price {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 10px 0 15px;
	padding: 18px 0;
	border-top: 1px solid var(--ga-border);
	border-bottom: 1px solid var(--ga-border);
}
.plan-price small, .enterprise-price small {
	color: #8c9099;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
}
.plan-price strong {
    color: var(--ga-text);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}
.plan-price strong span {
    color: var(--ga-muted);
    font-size: 20px;
}
.enterprise-price strong {
    color: #e2c46d;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}
.feature-list {
    display: grid;

    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}
.feature-list li {
    position: relative;
    padding-left: 18px;
    color: #b4bccb;
    font-size: 13px;
    line-height: 1.5;
}
.feature-list li::before {
	position: absolute;
	top: 7px;
	left: 0;
	width: 6px;
	height: 6px;
	border: 1px solid var(--ga-primary);
	content: "";
}
.plan-card--enterprise .feature-list li::before {
    border-color: var(--ga-gold);
}
.plan-link__arrow {
    color: var(--ga-primary);
    font-size: 17px;
    transition: transform 0.25s ease;
}
.plan-link:hover .plan-link__arrow {
    transform: translate(3px, -3px);
}


.plan-link--primary {
    color: #fff;
}

.plan-card--enterprise .plan-link__arrow {
    color: var(--ga-gold);
}
.service-pricing {
    background: var(--ga-bg-secondary);
    border-block: 1px solid var(--ga-border);
}
.service-pricing__list {
    border-top: 1px solid var(--ga-border);
}
.service-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 170px 30px;
    align-items: center;
    gap: 20px;
    min-height: 65px;
    border-bottom: 1px solid var(--ga-border);
    color: var(--ga-text);
    text-decoration: none;
    transition: padding 0.3s ease, background 0.3s ease;
}
.service-row:hover {
    padding-inline: 12px;
    background: rgba(255, 255, 255, 0.025);
}
.service-row__number {
    color: var(--ga-cyan);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
}
.service-row__name {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.02em;
}
.service-row__type {
    color: var(--ga-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-row__arrow {
    color: #9da6b8;
    font-size: 18px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.service-row:hover .service-row__arrow {
    color: var(--ga-primary);
    transform: translate(3px, -3px);
}
.comparison {
    background:
        radial-gradient(circle at 8% 60%, rgba(37, 99, 235, 0.055), transparent 25rem),
        var(--ga-bg);
}
.comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--ga-border);
    background: var(--ga-surface);
    scrollbar-width: thin;
}
.comparison-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
    padding: 17px 18px;
    border-right: 1px solid var(--ga-border);
    border-bottom: 1px solid var(--ga-border);
    text-align: left;
    font-size: 12px;
}
.comparison-table thead th {
    padding-top: 19px;
    padding-bottom: 19px;
    background: rgba(255, 255, 255, 0.025);
    color: #dbe0ea;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.comparison-table tbody th {
	width: 31%;
	color: #c5cbd7;
	font-weight: 600;
	font-size: 13px;
}
.comparison-table td {
    color: #adb6c7;
    text-align: center;
}
.comparison-table thead th:not(:first-child) {
    text-align: center;
}
.comparison-table__featured {
    color: #fff !important;
    background: rgba(99, 91, 255, 0.09) !important;
}
.comparison-table td:nth-child(4) {
    background: rgba(99, 91, 255, 0.045);
}
.check {
    color: #a9c8ff;
    font-size: 15px;
    font-weight: 800;
}
.dash {
    color: #515a6b;
}

.text-muted {
    color: #778094 !important;
    font-size: 12px;
}
.comparison-note {
	margin: 13px 0 0;
	color: #989ba2;
	font-size: 14px;
}
.pricing-process {
    background: var(--ga-bg-secondary);
    border-top: 1px solid var(--ga-border);
}
.pricing-process__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: 90px;
}
.pricing-heading--side {
    display: block;
    margin: 0;
}
.pricing-heading--side h2 {
    margin-bottom: 23px;
}
.pricing-heading--side p {
    max-width: 430px;
}
.process-list {
    border-top: 1px solid var(--ga-border);
}
.process-item {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid var(--ga-border);
}
.process-item > span {
    color: var(--ga-cyan);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 800;
}
.process-item h3 {
    margin: 0 0 7px;
    font-size: 16px;
    letter-spacing: -0.02em;
}
.process-item p {
    margin: 0;
    color: var(--ga-muted);
    font-size: 12px;
}
.pricing-faq {
    background: var(--ga-bg);
}

.pricing-faq .pricing-heading--compact {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.text-link {
	display: inline-flex;
	align-items: center;
	padding-bottom: 2px;
	border-bottom: 1px solid var(--ga-border-strong);
	color: #dbe1ec;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}
.faq-preview {
    border-top: 1px solid var(--ga-border);
}
.faq-item {
    border-bottom: 1px solid var(--ga-border);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 15px 0;
    border: 0;
    background: transparent;
    color: var(--ga-text);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 650;
    text-align: left;
}
.faq-icon {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    place-items: center;
    border: 1px solid var(--ga-border);
    color: var(--ga-muted);
    font-size: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
    border-color: rgba(99, 91, 255, 0.45);
    color: #fff;
    transform: rotate(45deg);
}
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}
.faq-answer p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    color: var(--ga-muted);
    font-size: 13px;
    line-height: 1.75;
}
.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}
.faq-item.is-open .faq-answer p {
    padding: 0 55px 5px 0;
}

@media (max-width: 1100px) {
    .pricing-hero__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .pricing-hero__content h1 {
        max-width: 850px;
    }
    .pricing-hero__visual-frame,
    .pricing-hero__visual-frame img {
        min-height: 430px;
    }
    .plans-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pricing-process__layout {
        gap: 55px;
    }
}

@media (max-width: 700px) {
    .pricing-hero__content h1 {
        font-size: clamp(40px, 13vw, 62px);
    }
    .pricing-hero__content > p {
        font-size: 14px;
    }
    .pricing-hero__visual-frame,
    .pricing-hero__visual-frame img {
        min-height: 340px;
    }
    .pricing-heading {
        display: block;
        margin-bottom: 34px;
    }
    .pricing-heading > p {
        margin-top: 19px;
    }
    .plans-grid {
        grid-template-columns: 1fr;
    }
    .plan-card {
        padding: 24px 20px;
    }
    .plan-card__top {
        margin-bottom: 38px;
    }
    .plan-description {
        min-height: auto;
    }
    .service-row {
        grid-template-columns: 35px minmax(0, 1fr) 28px;
        gap: 12px;
        min-height: 70px;
    }
    .service-row__type {
        display: none;
    }
    .service-row__name {
        font-size: 15px;
    }
    .pricing-process__layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .pricing-faq .pricing-heading--compact {
        display: block;
    }
    .pricing-faq .text-link {
        margin-top: 24px;
    }
}

@media (max-width: 420px) {
    .pricing-hero__meta {
        display: grid;
        grid-template-columns: 1fr;
    }
    .pricing-hero__visual-frame,
    .pricing-hero__visual-frame img {
        min-height: 300px;
    }
    .pricing-hero__signal {
        top: 12px;
        left: 12px;
    }
    .pricing-hero__quote {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 14px;
    }
    .pricing-hero__quote strong {
        font-size: 15px;
    }
    .plan-price strong,
    .enterprise-price strong {
        font-size: 32px;
    }
    .faq-question {
        padding: 20px 0;
        font-size: 14px;
    }
    .faq-item.is-open .faq-answer p {
        padding-right: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .plan-card,
    .pricing-hero__visual-frame img,
    .plan-link span,
    .service-row,
    .service-row__arrow,
    .faq-icon,
    .button {
        transition: none;
    }
}