/* Apollo Group TV — consolidated theme styles (v1.0.2) */

:root {
	--apollo-bg: #000000;
	--apollo-bg-alt: #0b0b0c;
	--apollo-surface: #18191d;
	--apollo-border: rgba(255, 255, 255, 0.10);
	--apollo-border-strong: #262626;
	--apollo-text: #ffffff;
	--apollo-text-muted: rgba(255, 255, 255, 0.60);
	--apollo-text-faint: rgba(255, 255, 255, 0.40);
	--apollo-accent: #1da3ff;
	--apollo-accent-2: #3a5ae0;
	--apollo-accent-3: #14b437;
	--apollo-pink: #f4106b;
	--apollo-light: #faf7f4;
	--apollo-gradient: linear-gradient(135deg, #1da3ff 0%, #3a5ae0 100%);
	--apollo-header-glow: radial-gradient(120% 100% at 100% 33%, rgba(29, 163, 255, 0.42) 0%, rgba(29, 163, 255, 0.18) 32%, rgba(29, 163, 255, 0.06) 52%, rgba(0, 0, 0, 0) 72%);
	--apollo-radius: 12px;
	--apollo-container: 1280px;
	--apollo-font: 'Wix Madefor Display', 'Segoe UI', sans-serif;
	--apollo-header-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--apollo-bg);
	color: var(--apollo-text);
	font-family: var(--apollo-font);
	font-size: 16px;
	line-height: 1.5;
	word-spacing: normal;
	letter-spacing: normal;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--apollo-text-muted); }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	padding: 8px 16px;
	background: var(--apollo-accent);
	color: #fff;
}
.skip-link:focus { left: 16px; top: 16px; }

.container {
	width: 100%;
	max-width: var(--apollo-container);
	margin: 0 auto;
	padding: 0 32px;
}
.container--narrow { max-width: 800px; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 8px;
	border: 1px solid transparent;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary {
	background: var(--apollo-gradient);
	color: #fff;
	box-shadow: 0 7px 12px 0 rgba(244, 16, 107, 0.18);
}
.btn-white {
	background: #fff;
	color: #0b0b0c;
}
.btn-outline {
	background: transparent;
	border-color: rgba(255,255,255,0.25);
	color: #fff;
}
.btn-outline:hover { border-color: #fff; }

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 500;
	width: 100%;
	height: var(--apollo-header-height);
	background: transparent;
	transition: background-color 0.3s ease;
}
.site-header.is-scrolled,
body:not(.home) .site-header {
	background: rgba(11, 11, 12, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--apollo-header-height);
	max-width: var(--apollo-container);
	margin: 0 auto;
	padding: 0 32px;
}
.site-branding .site-logo,
.site-branding .custom-logo {
	width: 110px;
	height: auto;
	max-height: 64px;
	object-fit: contain;
}
.primary-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
}
.primary-nav__panel-top { display: none; }
.primary-nav__links {
	display: flex;
	align-items: center;
	gap: 28px;
}
.primary-nav__links a {
	font-size: 14px;
	font-weight: 600;
	color: rgba(255,255,255,0.85);
}
.primary-nav__links a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions--mobile { display: none; }
.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 10px;
}
.menu-toggle__bars {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}
.menu-toggle__line {
	display: block;
	height: 2px;
	width: 22px;
	background: #fff;
	border-radius: 2px;
}
.nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.55);
	z-index: 520;
}
.nav-overlay[hidden] { display: none !important; }

.site-main { min-height: 60vh; }

/* Hero */
.hero {
	position: relative;
	padding: 140px 0 64px;
	min-height: 100vh;
	overflow: hidden;
	background: #000;
}
.hero::before {
	content: '';
	position: absolute;
	inset-inline: 0;
	top: -120px;
	height: 500px;
	background: var(--apollo-header-glow);
	pointer-events: none;
}
.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.hero__eyebrow {
	display: block;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 600;
	color: var(--apollo-light);
	margin-bottom: 12px;
}
.hero__title {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 700;
	color: #fff;
	margin-bottom: 20px;
}
.hero__subtitle {
	font-size: 18px;
	margin-bottom: 28px;
	max-width: 480px;
}
.hero-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 460px;
}
.hero__disclaimer {
	font-size: 12px;
	color: var(--apollo-text-faint);
	margin-top: 12px;
	text-align: right;
	max-width: 460px;
}

.input, select.input {
	width: 100%;
	height: 44px;
	padding: 0 16px;
	background: rgba(0,0,0,0.80);
	border: 1px solid #262626;
	border-radius: 8px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}
.input::placeholder { color: rgba(255,255,255,0.4); }
.input:focus {
	outline: none;
	border-color: var(--apollo-accent);
}

.hero-carousel {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	min-height: 360px;
	background: #111;
	box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.hero-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}
.hero-carousel__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}
.hero-carousel__media {
	position: absolute;
	inset: 0;
}
.hero-carousel__video,
.hero-carousel__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #111;
}
.hero-carousel__video { z-index: 1; }
.hero-carousel__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px 18px 28px;
	background: linear-gradient(transparent, rgba(0,0,0,0.85));
	font-weight: 700;
}
.hero-carousel__bars {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 10px;
	display: flex;
	gap: 6px;
	z-index: 2;
}
.hero-carousel__bar {
	flex: 1;
	height: 3px;
	border-radius: 99px;
	background: rgba(255,255,255,0.25);
	overflow: hidden;
}
.hero-carousel__bar.is-active {
	background: rgba(255,255,255,0.9);
}

/* Sections */
.section { padding: 88px 0; }
.section--light {
	background: var(--apollo-light);
	color: #0b0b0c;
}
.section--light .section__title,
.section--light p,
.section--light .testimonial-card__name { color: #0b0b0c; }
.section--light .section__eyebrow,
.section--light .testimonial-card__location,
.section--light .testimonial-card__text { color: rgba(11,11,12,0.65); }
.section__head { margin-bottom: 40px; }
.section__eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--apollo-accent);
	margin-bottom: 10px;
}
.section__title {
	font-size: clamp(28px, 3.5vw, 40px);
	color: #fff;
}
.section__subtitle {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.services-section {
	background: transparent;
	overflow: hidden;
}
.service-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	margin-bottom: 72px;
}
.service-block:last-child { margin-bottom: 0; }
.service-block--reverse .service-block__content { order: 2; }
.service-block--reverse .service-block__media { order: 1; }
.service-block__content { max-width: 520px; }
.service-block__title { font-size: clamp(32px, 4vw, 48px); color: #fff; }
.service-block__media {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
}
.service-block__image {
	width: 100%;
	max-width: 520px;
	height: auto;
	object-fit: contain;
	background: none;
	border-radius: 0;
	filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.testimonial-card {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	margin: 0;
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.testimonial-card__stars { color: #f5a524; margin: 0 0 12px; letter-spacing: 2px; }
.testimonial-card__text { margin-bottom: 20px; }
.testimonial-card__meta { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}
.testimonial-card__name { margin: 0; font-weight: 700; color: #0b0b0c; }
.testimonial-card__location { margin: 0; font-size: 13px; }

/* Pricing */
.pricing-section__intro { text-align: center; margin-bottom: 32px; }
.pricing-section__intro .section__title { color: #fff; }
.pricing-benefits {
	max-width: 720px;
	margin: 0 auto 28px;
	display: grid;
	gap: 10px;
}
.pricing-benefits li {
	position: relative;
	padding-left: 28px;
	color: var(--apollo-text-muted);
}
.pricing-benefits li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--apollo-accent-3);
	font-weight: 700;
}
.pricing-payments {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-bottom: 36px;
}
.pricing-payments img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.pricing-card {
	position: relative;
	background: var(--apollo-surface);
	border: 1px solid var(--apollo-border);
	border-radius: 16px;
	padding: 28px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(29,163,255,0.45); }
.pricing-card--featured {
	border-color: var(--apollo-accent);
	box-shadow: 0 0 0 1px rgba(29,163,255,0.35);
}
.pricing-card__name { margin: 0; font-weight: 700; color: #fff; }
.pricing-card__price-value {
	font-size: 36px;
	font-weight: 700;
	color: #fff;
}
.pricing-card__note,
.pricing-card__days,
.pricing-card__desc { margin: 0; font-size: 14px; }
.save-badge {
	display: inline-flex;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(20,180,55,0.15);
	color: var(--apollo-accent-3);
	font-size: 12px;
	font-weight: 700;
}

/* Footer CTA + footer */
.footer-cta {
	padding: 64px 0;
	background: linear-gradient(135deg, rgba(29,163,255,0.18), rgba(244,16,107,0.12));
	border-top: 1px solid var(--apollo-border);
}
.footer-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.footer-cta__title { color: #fff; margin-bottom: 8px; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer {
	padding: 64px 0 28px;
	background: #050505;
	border-top: 1px solid var(--apollo-border);
}
.footer-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	margin-bottom: 40px;
}
.footer-brand__desc { max-width: 320px; }
.footer-col__title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	margin-bottom: 16px;
}
.footer-col a {
	display: block;
	padding: 6px 0;
	color: var(--apollo-text-muted);
	font-size: 14px;
}
.footer-col a:hover { color: #fff; }
.footer-payments { display: flex; gap: 12px; margin-bottom: 8px; }
.footer-payments img { width: 40px; height: 40px; object-fit: contain; }
.footer-payments__note { font-size: 13px; }
.footer-bottom {
	padding-top: 24px;
	border-top: 1px solid var(--apollo-border);
	font-size: 13px;
	color: var(--apollo-text-faint);
}

/* Blog + content */
.blog-page,
.content-page,
.auth-page {
	padding: 140px 0 80px;
}
.blog-page__head { margin-bottom: 40px; }
.blog-page__title,
.content-page__title { color: #fff; font-size: clamp(32px, 4vw, 44px); }
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.post-card {
	background: var(--apollo-surface);
	border: 1px solid var(--apollo-border);
	border-radius: 16px;
	overflow: hidden;
}
.post-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 20px; }
.post-card__title { font-size: 18px; color: #fff; margin-bottom: 8px; }
.post-card__meta { font-size: 13px; color: var(--apollo-text-faint); }
.entry-content { color: var(--apollo-text-muted); }
.entry-content a { color: var(--apollo-accent); }

/* Auth / trial */
.auth-card {
	max-width: 480px;
	margin: 0 auto;
	padding: 36px 28px;
	background: var(--apollo-surface);
	border: 1px solid var(--apollo-border);
	border-radius: 16px;
}
.auth-card__logo { width: 120px; margin: 0 auto 16px; }
.auth-card__badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(29,163,255,0.15);
	color: var(--apollo-accent);
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 12px;
}
.auth-card__title { color: #fff; }
.form-row { margin-bottom: 14px; }
.form-row--phone { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.form-label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--apollo-text-muted);
}
.form-honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}
.form-alert {
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}
.form-alert--success { background: rgba(20,180,55,0.15); color: #7dff9a; }
.form-alert--error { background: rgba(244,16,107,0.15); color: #ff8ab8; }
.auth-card__footer { margin-top: 18px; font-size: 14px; text-align: center; }
.auth-card__footer a { color: var(--apollo-accent); }

/* Portal iframe pages */
.register-embed {
	padding-top: var(--apollo-header-height);
	min-height: 100vh;
	background: #000;
}
.register-embed__frame {
	display: block;
	width: 100%;
	min-height: calc(100vh - var(--apollo-header-height));
	border: 0;
	background: #000;
}
.register-embed__fallback {
	padding: 16px 32px 32px;
	text-align: center;
	font-size: 14px;
}
.register-embed__fallback a { color: var(--apollo-accent); }

body.page-template-page-login,
body.page-template-page-create-account,
body.page-template-page-dashboard {
	overflow-x: hidden;
}

/* Responsive */
@media (max-width: 1100px) {
	.pricing-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.hero__inner,
	.service-block,
	.testimonials-grid,
	.blog-grid,
	.footer-cta__inner {
		grid-template-columns: 1fr;
		display: flex;
		flex-direction: column;
	}
	.service-block--reverse .service-block__content,
	.service-block--reverse .service-block__media { order: unset; }
	.header-actions--desktop { display: none; }
	.menu-toggle { display: inline-flex; align-items: center; justify-content: center; z-index: 560; }

	.primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(360px, 88vw);
		background: #0b0b0c;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 20px;
		transform: translateX(105%);
		transition: transform 0.25s ease;
		z-index: 540;
		overflow-y: auto;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav__panel-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 24px;
	}
	.primary-nav__close {
		width: 40px;
		height: 40px;
		border: 0;
		background: transparent;
		color: #fff;
		font-size: 28px;
		cursor: pointer;
	}
	.primary-nav__links {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		margin-bottom: 24px;
	}
	.primary-nav__links a {
		display: block;
		padding: 12px 0;
		font-size: 18px;
	}
	.header-actions--mobile {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}
	.hero { padding-top: 110px; min-height: auto; }
	.hero-carousel { width: 100%; max-width: 420px; margin: 0 auto; }
	.pricing-grid { grid-template-columns: 1fr; }
	.container { padding: 0 20px; }
}

@media (max-width: 600px) {
	.footer-top { grid-template-columns: 1fr; }
	.form-row--phone { grid-template-columns: 1fr; }
}
