/* ===== CSS Variables ===== */
:root {
	--bg-primary: #121212;
	--bg-secondary: #1a1a1a;
	--bg-card: rgba(255, 255, 255, 0.04);
	--bg-card-hover: rgba(255, 255, 255, 0.08);
	--text-primary: #f8f9fa;
	--text-secondary: #DDDDDD;
	--text-muted: #999999;
	--accent: #87CEFA;
	--accent-hover: #5bb8e8;
	--accent-glow: rgba(135, 206, 250, 0.25);
	--border-light: rgba(255, 255, 255, 0.06);
	--border-glass: rgba(255, 255, 255, 0.1);

	--font-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

::selection {
	background: var(--accent);
	color: #fff;
}

/* ===== Hero ===== */
.hero {
	padding: 50px 0px;
	position: relative;
	overflow: hidden;
	background: rgb(0, 51, 102);
	background: linear-gradient(90deg, rgba(0, 51, 102, 1) 0%, rgba(5, 111, 82, 1) 35%, rgba(81, 129, 176, 1) 75%, rgba(0, 51, 102, 1) 100%);
	width: 100%;
}

.hero .app-buttons {
	align-items: center;
}

.hero .app-buttons .btn {
	height: 57px;
}

.hero::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.hero-badge {
	display: inline-block;
	padding: 6px 18px;
	background: rgba(0, 123, 255, 0.12);
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	border: 1px solid rgba(0, 123, 255, 0.2);
	text-transform: uppercase;
}

.hero-title {
	font-size: 3.2rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -1.5px;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.hero-title {
		font-size: 3.8rem;
	}
}

@media (min-width: 1200px) {
	.hero-title {
		font-size: 4.2rem;
	}
}

.text-gradient {
	background: linear-gradient(135deg, var(--accent), #66b0ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-desc {
	font-size: 1.1rem;
	color: var(--text-secondary);
	line-height: 1.7;
	max-width: 520px;
}

.hero-meta {
	font-size: 0.8rem;
	color: var(--text-muted);
}

.cta-btn-support {
	background-color: #333!important;
	border-radius: 100px!important;
	color: #f0f0f0;
	padding: 0px 35px;
	height: 44px;
	line-height: 44px;
	font-size: 1.2rem;
	border: solid 1px var(--border-light);
	margin-top: -225px;
}

.cta-btn-support-no-mar {
	background-color: #333!important;
	border-radius: 100px!important;
	color: #f0f0f0;
	padding: 0px 35px;
	height: 44px;
	line-height: 44px;
	font-size: 1.2rem;
	border: solid 1px var(--border-light);
}

/* ===== CTA Buttons ===== */
.cta-primary {
	background: var(--accent);
	border: none;
	color: #121212;
	font-weight: 600;
	border-radius: 50px!important;
	padding: 12px 32px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
	transition: all ease-in-out .2s;
}

.cta-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(0, 123, 255, 0.45);
	background: #aee0ff;
	color: #121212;
}

.cta-primary:active {
	transform: translateY(0);
}

.cta-secondary {
	border: 1.5px solid var(--border-glass);
	color: var(--text-primary);
	font-weight: 600;
	border-radius: 50px!important;
	padding: 12px 32px;
	background: rgba(255, 255, 255, 0.04);
	transition: all 0.3s ease;
}

.cta-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	transform: translateY(-2px);
}

/* ===== App Screenshot ===== */
.hero-mockup {
	position: relative;
	z-index: 1;
}

.app-screenshot {
	width: 100%;
	max-width: 520px;
	height: auto;
}

/* ===== Download Section ===== */
.downloads {
	position: relative;
	background: var(--bg-secondary);
}

.section-padding {
	padding: 100px 0;
}

.section-title {
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
	.section-title {
		font-size: 2.6rem;
	}
}

.section-desc {
	font-size: 1.05rem;
	color: var(--text-secondary);
	max-width: 500px;
	margin: 0 auto;
}

.hover-anim {
	transition: all 0.35s ease;
	position: relative;
	overflow: hidden;
	background: var(--bg-card);
	border: 1px solid var(--border-light);
}

.hover-anim:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.hover-anim:hover {
	background: var(--bg-card-hover);
	border-color: var(--border-glass);
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hover-anim:hover::before {
	opacity: 1;
}

/* ===== Platform Cards ===== */
.platform-card {
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: 20px;
	padding: 28px 16px 24px;
	text-align: center;
	transition: all 0.35s ease;
	position: relative;
	overflow: hidden;
}

.platform-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.platform-card:hover {
	background: var(--bg-card-hover);
	border-color: var(--border-glass);
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.platform-icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 14px;
	color: var(--accent);
	transition: transform 0.35s ease;
}

.platform-card:hover .platform-icon {
	transform: scale(1.1);
}

.platform-icon svg {
	width: 100%;
	height: 100%;
}

.platform-icon svg path {
	fill: #DDDDDD;
}

.platform-name {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 2px;
}

.platform-store {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.btn-download {
	background: transparent;
	border: 1px solid var(--border-glass);
	color: var(--text-primary);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 8px 24px;
	border-radius: 50px;
	transition: all 0.3s ease;
	width: 100%;
}

.btn-download:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #121212!important;
	box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
	transform: translateY(-1px);
}

/* ===== Scroll Fade-In Animation ===== */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger children */
.downloads .col-lg-2:nth-child(1) .platform-card {
	transition-delay: 0.05s;
}

.downloads .col-lg-2:nth-child(2) .platform-card {
	transition-delay: 0.1s;
}

.downloads .col-lg-2:nth-child(3) .platform-card {
	transition-delay: 0.15s;
}

.downloads .col-lg-2:nth-child(4) .platform-card {
	transition-delay: 0.2s;
}

.downloads .col-lg-2:nth-child(5) .platform-card {
	transition-delay: 0.25s;
}

/* ===== Support Accordion ===== */
.support {
	background: var(--bg-primary);
}

.accordion {
	--bs-accordion-color: var(--text-primary);
	--bs-accordion-bg: var(--bg-card);
	--bs-accordion-border-color: var(--border-light);
	--bs-accordion-btn-color: var(--text-primary);
	--bs-accordion-btn-bg: var(--bg-card);
	--bs-accordion-active-color: var(--accent);
	--bs-accordion-active-bg: rgba(135, 206, 250, 0.06);
	--bs-accordion-btn-focus-border-color: var(--accent);
	--bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(135, 206, 250, 0.15);
	--bs-accordion-body-color: var(--text-secondary);
	border-radius: 16px;
	overflow: hidden;
}

.accordion-item:first-of-type {
	border-radius: 16px 16px 0 0;
}

.accordion-item:last-of-type {
	border-radius: 0 0 16px 16px;
}

.accordion-button{
    position: relative;
}

.accordion-button::after {
	filter: invert(0.8);
	position:absolute;
	right: 15px;
	top: 50%;
	margin-top: -10px;
	transform: translateY(-50%) rotate(-360deg);
	transition: all ease-in-out .2s;
	font-weight: bold;
}

.accordion-button.collapsed::after {
	filter: invert(0.8);
	top: 50%;
	margin-top: 0px;
	transform: translateY(-50%) rotate(0deg);
	font-weight: 400;
}

.accordion-body a {
	color: var(--accent);
	text-decoration: none;
}

.accordion-body a:hover {
	text-decoration: underline;
}

/* ===== Responsive Overrides ===== */
@media (max-width: 991.98px) {
	.hero {
		padding: 100px 0 60px;
		text-align: center;
	}

	.hero-desc {
		margin: 0 auto;
	}

	.hero-content .d-flex {
		justify-content: center;
	}

	.hero-mockup {
		margin-top: 20px;
	}

	.app-screenshot {
		max-width: 400px;
	}


}

@media (max-width: 575.98px) {
	.hero-title {
		font-size: 2rem;
	}

	.hero-desc {
		font-size: 0.95rem;
	}

	.app-screenshot {
		max-width: 300px;
	}

	.section-title {
		font-size: 1.7rem;
	}

	.section-padding {
		padding: 60px 0;
	}

	.platform-card {
		padding: 20px 12px 18px;
	}
}