/* Giant Studio Kit — shared design tokens & animations */

@property --gsk-p {
	syntax: '<number>';
	inherits: false;
	initial-value: 0;
}

@keyframes gsk-up {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}

@keyframes gsk-marq {
	to { transform: translateX(-50%); }
}

@keyframes gsk-pulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: .35; }
}

@keyframes gsk-floaty {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-10px); }
}

@keyframes gsk-fill {
	to { --gsk-p: var(--gsk-to); }
}

/* ---------- base ---------- */
.gsk-widget {
	font-family: Inter, system-ui, sans-serif;
	color: #F4F6FB;
	line-height: 1.6;
}

.gsk-widget *,
.gsk-widget *::before,
.gsk-widget *::after {
	box-sizing: border-box;
}

/* ---------- buttons ---------- */
.gsk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 999px;
	background: #B6F24A;
	color: #070C1A;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	border: 0;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 0 0 0 rgba(182,242,74,.5), 0 10px 30px -10px rgba(182,242,74,.6);
	transition: transform .2s, box-shadow .2s, background .2s;
}
.gsk-btn:hover {
	background: #C9F870;
	color: #070C1A;
	transform: translateY(-2px);
	box-shadow: 0 0 0 6px rgba(182,242,74,.12), 0 16px 40px -12px rgba(182,242,74,.7);
}
.gsk-btn svg { transition: transform .2s; }
.gsk-btn:hover svg { transform: translateX(3px); }

.gsk-btn2 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.16);
	background: rgba(255,255,255,.03);
	color: #F4F6FB;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	transition: background .2s, border-color .2s;
}
.gsk-btn2:hover {
	background: rgba(255,255,255,.08);
	border-color: rgba(255,255,255,.3);
	color: #F4F6FB;
}

/* ---------- cards ---------- */
.gsk-card {
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.gsk-card:hover {
	transform: translateY(-4px);
	border-color: rgba(182,242,74,.35) !important;
	box-shadow: 0 20px 50px -20px rgba(182,242,74,.25);
}

/* ---------- backgrounds ---------- */
.gsk-gridbg {
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.gsk-glowline {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(182,242,74,.5), rgba(96,140,255,.5), transparent);
}

/* ---------- tabs ---------- */
.gsk-tab {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	min-height: 56px;
	padding: 14px 18px;
	border-radius: 12px;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
	background: rgba(255,255,255,.02);
	color: #DDE3EE;
	border: 1px solid rgba(255,255,255,.08);
}
.gsk-tab.is-active {
	background: #B6F24A;
	color: #070C1A;
	border-color: #B6F24A;
}

/* ---------- marquee ---------- */
.gsk-marqwrap { overflow: hidden; }
.gsk-marq {
	display: flex;
	width: max-content;
	animation: gsk-marq 38s linear infinite;
}
.gsk-marqwrap:hover .gsk-marq {
	animation-play-state: paused;
}

/* ---------- ring ---------- */
.gsk-ring {
	--gsk-p: 0;
	background: conic-gradient(var(--gsk-c) calc(var(--gsk-p) * 1%), rgba(255,255,255,.08) 0);
	animation: gsk-fill 1.8s .6s cubic-bezier(.2,.8,.2,1) forwards;
}

/* ---------- entrance animations ---------- */
.gsk-in1 { animation: gsk-up .8s cubic-bezier(.2,.8,.2,1) both; }
.gsk-in2 { animation: gsk-up .8s .12s cubic-bezier(.2,.8,.2,1) both; }
.gsk-in3 { animation: gsk-up .8s .24s cubic-bezier(.2,.8,.2,1) both; }
.gsk-in4 { animation: gsk-up .8s .36s cubic-bezier(.2,.8,.2,1) both; }

.gsk-float { animation: gsk-floaty 6s ease-in-out infinite; }

.gsk-dotp { animation: gsk-pulse 1.8s ease-in-out infinite; }

/* ---------- scroll reveal ---------- */
@supports (animation-timeline: view()) {
	.gsk-rv {
		animation: gsk-up linear both;
		animation-timeline: view();
		animation-range: entry 0% cover 22%;
	}
}

/* ---------- FAQ accordion ---------- */
.gsk-faq-item {
	background: #0D1530;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 16px;
	padding: 20px 24px;
}
.gsk-faq-item summary {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	color: #F4F6FB;
}
.gsk-faq-item summary::-webkit-details-marker { display: none; }
.gsk-faq-plus {
	color: #B6F24A;
	font-size: 24px;
	line-height: 1;
	transition: transform .25s;
	flex-shrink: 0;
}
.gsk-faq-item[open] .gsk-faq-plus { transform: rotate(45deg); }
.gsk-faq-item p {
	margin: 12px 0 0;
	color: #8E9BB5;
	font-size: 16px;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.gsk-in1, .gsk-in2, .gsk-in3, .gsk-in4,
	.gsk-float, .gsk-marq, .gsk-dotp, .gsk-rv, .gsk-ring {
		animation: none !important;
	}
	.gsk-ring { --gsk-p: var(--gsk-to); }
}

/* ---------- layout helpers ---------- */
.gsk-container {
	max-width: 1240px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.gsk-section-label {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #B6F24A;
}

.gsk-section-heading {
	margin: 16px 0 0;
	font-size: clamp(32px, 4.4vw, 56px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 800;
	color: #F4F6FB;
}

.gsk-mono {
	font-family: 'JetBrains Mono', monospace;
}

/* ---------- Services Tabs panel ---------- */
.gsk-services-tabs-panel {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, #13204A, #0D1530 60%);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 24px;
	padding: clamp(28px, 4vw, 48px);
}

/* ---------- Pricing ---------- */
.gsk-pricing-featured {
	position: relative;
	overflow: hidden;
	background: linear-gradient(170deg, #1A2A55, #0D1530 70%);
	border: 1px solid rgba(182,242,74,.5) !important;
	box-shadow: 0 30px 80px -30px rgba(182,242,74,.3);
}
