/* ==========================================================================
   FreeCost Premium Education — Responsive Optimization (360px to 1920px+)
   ========================================================================== */

@media (max-width: 1120px) {
	.fc-nav-desktop {
		display: none;
	}

	.fc-header-wa {
		display: none;
	}

	.fc-mobile-toggle {
		display: inline-flex;
	}

	.fc-mobile-drawer {
		display: block;
		position: fixed;
		top: var(--fc-header-h);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 890;
		background: rgba(4, 7, 20, 0.96);
		backdrop-filter: blur(22px);
		padding: 24px;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	}

	.fc-mobile-drawer.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.fc-mobile-drawer .fc-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-bottom: 24px;
	}

	.fc-mobile-drawer .fc-nav-list a {
		width: 100%;
		padding: 13px 16px;
		font-size: 1.04rem;
		background: rgba(255, 255, 255, 0.04);
		border: 1px solid rgba(148, 163, 184, 0.14);
	}

	.fc-mobile-drawer .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 6px 0 0 16px;
		display: grid;
		gap: 6px;
	}

	.fc-hero-inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.fc-proof-grid,
	.fc-resources-grid,
	.fc-steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fc-steps-grid::before {
		display: none;
	}

	.fc-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.fc-section {
		padding: 72px 0;
	}

	.fc-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fc-about-card,
	.fc-live-box {
		grid-template-columns: 1fr;
		padding: 32px 26px;
	}

	.fc-whatsapp-banner {
		flex-direction: column;
		align-items: flex-start;
		padding: 36px 26px;
	}
}

@media (max-width: 680px) {
	:root {
		--fc-header-h: 70px;
	}

	.fc-container {
		padding: 0 16px;
	}

	.fc-section {
		padding: 58px 0;
	}

	.fc-section-head {
		margin-bottom: 38px;
	}

	.fc-hero {
		padding: 40px 0 64px;
		min-height: auto;
	}

	.fc-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.fc-hero-actions .fc-btn {
		width: 100%;
	}

	.fc-course-grid,
	.fc-proof-grid,
	.fc-resources-grid,
	.fc-steps-grid,
	.fc-blog-grid,
	.fc-footer-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.fc-class-body {
		padding: 20px;
	}

	.fc-article-card {
		padding: 22px 18px;
	}

	.fc-floating-wa {
		right: 14px;
		bottom: 14px;
		padding: 11px 14px;
		font-size: 0.84rem;
	}

	.fc-modal {
		padding: 10px;
	}

	.fc-modal-head,
	.fc-modal-foot {
		padding: 12px 14px;
	}
}

@media (max-width: 400px) {
	.fc-brand-mark {
		width: 34px;
		height: 34px;
		font-size: 0.95rem;
	}

	.fc-site-title {
		font-size: 1rem;
	}

	.fc-site-sub {
		display: none;
	}

	.fc-lang-btn {
		padding: 5px 9px;
		font-size: 0.74rem;
	}

	.fc-hero-title {
		font-size: 1.72rem;
	}

	.fc-play-circle {
		width: 58px;
		height: 58px;
	}

	.fc-floating-wa span {
		display: none;
	}

	.fc-floating-wa {
		width: 52px;
		height: 52px;
		padding: 0;
		justify-content: center;
	}
}
