/* ============================================
   AIWD Main Stylesheet – Mobile‑First
   ============================================ */

/* ----- Base Reset & Typography ----- */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	line-height: 1.6;
	color: #1a1a1a;
	background: #fff;
}
a {
	color: #007cba;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
img {
	max-width: 100%;
	height: auto;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 0.5em;
	margin-bottom: 0.25em;
}
h2 {
	font-size: 1.8rem;
}
.section-header {
	text-align: center;
	margin-bottom: 2rem;
}
.section-header h2 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

/* ----- Layout Container ----- */
.site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* ----- Header & Navigation ----- */
.site-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	background: #fff;
	border-bottom: 1px solid #eaeaea;
	position: sticky;
	top: 0;
	z-index: 100;
}
.site-branding {
	flex: 1;
}
.site-title {
	font-size: 1.5rem;
	font-weight: 700;
}
.custom-logo {
	max-height: 50px;
	width: auto;
}
.main-navigation {
	flex: 0 0 auto;
}
.menu-toggle {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.5rem;
}
#primary-menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}
#primary-menu.toggled {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid #ddd;
	padding: 1rem;
}
#primary-menu li {
	margin: 0.5rem 0;
}
.header-cta .cta-button {
	display: inline-block;
	background: #007cba;
	color: #fff;
	padding: 0.5rem 1.2rem;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
}

/* ----- Hero ----- */
.hero-section {
	position: relative;
	padding: 3rem 1rem;
	text-align: center;
	background-size: cover;
	background-position: center;
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #1a1a2e;
}
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	opacity: 0.4;
}
.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
	color: #fff;
}
.hero-headline {
	font-size: 2.2rem;
	margin-bottom: 0.5rem;
}
.hero-subheadline {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}
.hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}
.cta-button {
	display: inline-block;
	padding: 0.75rem 2rem;
	border-radius: 4px;
	background: #007cba;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
}
.cta-button.secondary {
	background: transparent;
	border: 2px solid #fff;
}
.cta-button:hover {
	opacity: 0.9;
}

/* ----- Problem / Pain Points ----- */
.problem-section {
	padding: 2rem 0;
}
.problem-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	padding: 2rem 0;
}
.problem-item {
	background: #f9f9f9;
	padding: 1.5rem;
	border-radius: 8px;
	text-align: center;
}
.problem-icon {
	font-size: 2rem;
	display: block;
	margin-bottom: 0.5rem;
}

/* ----- Solution ----- */
.solution-section {
	padding: 2rem 0;
	background: #f5f5f5;
}
.solution-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
}
.stat-item {
	background: #fff;
	padding: 1rem;
	border-radius: 4px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.stat-number {
	font-size: 1.2rem;
	font-weight: 700;
}

/* ----- Curriculum ----- */
.curriculum-section {
	padding: 2rem 0;
}
.curriculum-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
.curriculum-module {
	background: #f9f9f9;
	padding: 1rem;
	border-radius: 8px;
	border-left: 4px solid #007cba;
}
.module-title {
	font-size: 1.2rem;
	margin-bottom: 0.25rem;
}
.module-meta {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 0.5rem;
}
.lesson-list {
	list-style: none;
	padding: 0;
	margin-top: 0.5rem;
}
.lesson-list li {
	padding: 0.25rem 0;
	border-bottom: 1px solid #eee;
}

/* ----- AI Tools ----- */
.ai-tools-section {
	padding: 2rem 0;
	background: #f5f5f5;
}
.tools-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.tool-item {
	text-align: center;
	padding: 1rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.tool-item img {
	max-width: 60px;
	height: auto;
	margin-bottom: 0.5rem;
}
.tool-item h3 {
	font-size: 1rem;
	margin-bottom: 0.25rem;
}
.tool-item p {
	font-size: 0.9rem;
	color: #555;
}

/* ----- Instructor ----- */
.instructor-section {
	padding: 2rem 0;
}
.instructor-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem 0;
}
.instructor-photo {
	flex: 0 0 auto;
}
.instructor-avatar {
	border-radius: 50%;
	width: 150px;
	height: 150px;
	object-fit: cover;
}
.instructor-info {
	flex: 1;
}
.instructor-credentials {
	list-style: none;
	padding: 0;
}
.instructor-credentials li {
	padding: 0.25rem 0;
}

/* ----- Testimonials ----- */
.testimonials-section {
	padding: 2rem 0;
	background: #f5f5f5;
}
.testimonials-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
.testimonial-item {
	background: #fff;
	padding: 1.5rem;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.testimonial-photo img {
	border-radius: 50%;
	width: 80px;
	height: 80px;
	object-fit: cover;
	margin-bottom: 0.5rem;
}
.testimonial-rating {
	color: #f5a623;
	letter-spacing: 2px;
}
.social-stats {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 1rem;
}
.social-stats span {
	font-weight: 600;
}

/* ----- Bonuses ----- */
.bonuses-section {
	padding: 2rem 0;
}
.bonuses-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
.bonus-item {
	background: #f9f9f9;
	padding: 1.5rem;
	border-radius: 8px;
	text-align: center;
}
.bonus-item img {
	max-width: 80px;
	height: auto;
	margin-bottom: 0.5rem;
}

/* ----- Pricing ----- */
.pricing-section {
	padding: 2rem 0;
	background: #1a1a2e;
}
.pricing-card {
	max-width: 500px;
	margin: 0 auto;
	background: #fff;
	padding: 2rem;
	border-radius: 8px;
	text-align: center;
	position: relative;
}
.sale-badge {
	background: #e74c3c;
	color: #fff;
	padding: 0.3rem 1rem;
	border-radius: 20px;
	display: inline-block;
	margin-bottom: 1rem;
}
.price-block {
	margin: 1.5rem 0;
}
.price {
	font-size: 2.5rem;
	font-weight: 700;
}
.original-price {
	text-decoration: line-through;
	color: #999;
	margin-left: 0.5rem;
	font-size: 1.2rem;
}
.original-label {
	display: block;
	color: #e74c3c;
	font-size: 0.9rem;
}
.payment-plans {
	margin: 1rem 0;
}
.plan-item {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
}
.guarantee {
	font-size: 0.9rem;
	color: #555;
	margin: 1rem 0;
}
.urgency-timer {
	margin: 1rem 0;
}
.timer-display {
	font-size: 1.5rem;
	font-weight: 700;
	background: #222;
	color: #fff;
	padding: 0.5rem;
	border-radius: 4px;
}

/* ----- FAQ ----- */
.faq-section {
	padding: 2rem 0;
}
.faq-accordion {
	max-width: 800px;
	margin: 0 auto;
}
.faq-item {
	border-bottom: 1px solid #eee;
}
.faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 1rem 0;
	font-size: 1rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.faq-toggle::after {
	content: '+';
	font-size: 1.2rem;
}
.faq-question[aria-expanded="true"] .faq-toggle::after {
	content: '−';
}
.faq-answer {
	padding: 0 0 1rem 0;
}

/* ----- Final CTA ----- */
.final-cta-section {
	background: #007cba;
	color: #fff;
	padding: 3rem 1rem;
	text-align: center;
}
.final-cta-content .cta-button {
	background: #fff;
	color: #007cba;
	margin-top: 1rem;
}
.final-cta-content .cta-button:hover {
	background: #f0f0f0;
}

/* ----- Footer ----- */
.site-footer {
	background: #1a1a1a;
	color: #fff;
	padding: 2rem 1rem;
}
.site-footer a {
	color: #ccc;
}
.site-footer a:hover {
	color: #fff;
}
.footer-widgets,
.footer-social,
.footer-newsletter,
.site-info {
	margin-bottom: 1.5rem;
}
.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.footer-social a {
	background: #333;
	padding: 0.5rem 1rem;
	border-radius: 4px;
}
.newsletter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.newsletter-form input[type="email"] {
	flex: 1;
	min-width: 200px;
	padding: 0.5rem;
	border: none;
	border-radius: 4px;
}
.newsletter-form button {
	padding: 0.5rem 1.5rem;
	background: #007cba;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

/* ----- Modals & Popups ----- */
.modal,
.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}
.modal-content,
.popup-content {
	background: #fff;
	padding: 2rem;
	max-width: 500px;
	width: 90%;
	border-radius: 8px;
	position: relative;
}
.modal-close,
.popup-close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
}
.payment-gateways {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
}
.gateway-button {
	flex: 1;
	min-width: 120px;
	padding: 12px 20px;
	background: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	text-align: center;
	font-weight: 600;
}
.gateway-button:hover {
	background: #e0e0e0;
}
.checkout-summary {
	background: #f9f9f9;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
}

/* ============================================
   TABLET (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
	.site-header {
		padding: 1rem 2rem;
	}
	.menu-toggle {
		display: none;
	}
	#primary-menu {
		display: flex !important;
		position: static;
		background: none;
		border: none;
		padding: 0;
		gap: 1.5rem;
	}
	#primary-menu li {
		margin: 0;
	}
	.hero-headline {
		font-size: 3rem;
	}
	.hero-subheadline {
		font-size: 1.3rem;
	}
	.problem-grid {
		grid-template-columns: 1fr 1fr;
	}
	.solution-stats {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.curriculum-grid {
		grid-template-columns: 1fr 1fr;
	}
	.tools-grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	.instructor-wrapper {
		flex-direction: row;
		align-items: flex-start;
	}
	.testimonials-grid {
		grid-template-columns: 1fr 1fr;
	}
	.bonuses-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.footer-social {
		gap: 1rem;
	}
}

/* ============================================
   DESKTOP (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
	.hero-section {
		padding: 5rem 2rem;
		min-height: 70vh;
	}
	.hero-headline {
		font-size: 3.5rem;
	}
	.problem-grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	.curriculum-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.testimonials-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.bonuses-grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	.pricing-card {
		padding: 3rem;
	}
}