/**
 * OGA Mini App v110004 · assets/css/oga-marketing-hook-frame.css
 * ============================================================================
 * Complete Marketing Hook Frame Styling
 * - Hero section with tagline
 * - 8 Pillars grid
 * - Tech stack section
 * - Branding & service stats
 * - Multiple CTAs
 * - Fully responsive design
 * - Dark mode support
 * ============================================================================
 */

/* ── ROOT VARIABLES ──────────────────────────────────────────────────────── */
:root {
	--oga-accent: #D85A30;
	--oga-bg-light: #FAFAFA;
	--oga-bg-dark: #0A0A0F;
	--oga-text-dark: #1A1A1F;
	--oga-text-light: #666;
	--oga-border: #E8E8E8;
	--oga-success: #1D9E75;
	--oga-info: #378ADD;
	--oga-warning: #BA7517;
}

@media (prefers-color-scheme: dark) {
	:root {
		--oga-bg-light: #1A1A1F;
		--oga-text-dark: #F5F5F5;
		--oga-text-light: #AAA;
		--oga-border: #2A2A2F;
	}
}

/* ── HOOK FRAME CONTAINER ────────────────────────────────────────────────── */
.oga-hook-frame {
	background: linear-gradient(180deg, rgba(212, 90, 48, 0.02), rgba(55, 138, 221, 0.02));
	border-bottom: 2px solid var(--oga-accent);
	margin: 0;
	padding: 0;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.oga-hook-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ── HERO SECTION ────────────────────────────────────────────────────────── */
.oga-hook-hero {
	background: linear-gradient(135deg, rgba(212, 90, 48, 0.05), rgba(55, 138, 221, 0.03));
	padding: 50px 20px;
	border-bottom: 1px solid rgba(212, 90, 48, 0.1);
	text-align: center;
}

.oga-hook-tagline {
	font-family: 'Syne', sans-serif;
	font-size: 42px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 20px;
	color: var(--oga-text-dark);
	letter-spacing: -0.5px;
	word-spacing: 0.1em;
}

.oga-highlight-word {
	display: inline-block;
	margin: 0 4px;
	padding: 4px 0;
	border-bottom: 3px solid var(--oga-accent);
	transition: all 0.3s ease;
}

.oga-hook-tagline:hover .oga-highlight-word {
	letter-spacing: 0.5px;
	opacity: 0.9;
}

.oga-hook-subheading {
	font-size: 16px;
	line-height: 1.6;
	color: var(--oga-text-light);
	max-width: 800px;
	margin: 0 auto;
	padding: 0;
	font-weight: 400;
}

/* Mobile */
@media (max-width: 768px) {
	.oga-hook-hero {
		padding: 35px 16px;
	}

	.oga-hook-tagline {
		font-size: 28px;
		margin-bottom: 15px;
	}

	.oga-highlight-word {
		display: block;
		margin: 6px 0;
	}

	.oga-hook-subheading {
		font-size: 14px;
	}
}

/* ── HOOK SECTIONS ────────────────────────────────────────────────────────── */
.oga-hook-section {
	padding: 45px 20px;
	border-bottom: 1px solid rgba(212, 90, 48, 0.08);
}

.oga-hook-section:last-child {
	border-bottom: none;
}

.oga-hook-section-title {
	font-family: 'Syne', sans-serif;
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 30px;
	color: var(--oga-text-dark);
	letter-spacing: -0.3px;
	text-align: center;
}

/* ── HOOK GRID & CARDS ────────────────────────────────────────────────────── */
.oga-hook-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
}

.oga-hook-card {
	background: var(--oga-bg-light);
	border: 1px solid var(--oga-border);
	border-radius: 8px;
	padding: 24px 16px;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.oga-hook-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--oga-accent);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.oga-hook-card:hover {
	border-color: var(--oga-accent);
	box-shadow: 0 8px 20px rgba(212, 90, 48, 0.12);
	transform: translateY(-4px);
}

.oga-hook-card:hover::before {
	opacity: 1;
}

.oga-card-icon {
	font-size: 40px;
	margin-bottom: 12px;
	display: block;
	transition: transform 0.3s ease;
}

.oga-hook-card:hover .oga-card-icon {
	transform: scale(1.1) rotate(5deg);
}

.oga-card-title {
	font-family: 'Syne', sans-serif;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--oga-text-dark);
	letter-spacing: -0.2px;
}

.oga-card-desc {
	font-size: 13px;
	color: var(--oga-text-light);
	line-height: 1.5;
	margin: 0;
	font-weight: 400;
}

/* ── PILLARS GRID (8 columns) ────────────────────────────────────────────── */
.oga-pillars-grid {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}

/* ── TECH STACK GRID (4 columns) ────────────────────────────────────────── */
.oga-tech-grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.oga-tech-card {
	background: linear-gradient(135deg, rgba(212, 90, 48, 0.04), rgba(55, 138, 221, 0.02));
}

.oga-tech-card .oga-card-icon {
	font-size: 48px;
}

/* ── BRANDING SECTION ────────────────────────────────────────────────────── */
.oga-branding-section {
	background: linear-gradient(135deg, rgba(212, 90, 48, 0.03), rgba(55, 138, 221, 0.02));
}

.oga-branding-header {
	text-align: center;
	margin-bottom: 30px;
}

.oga-branding-subtitle {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: var(--oga-text-dark);
	margin: 8px 0;
	letter-spacing: 0.3px;
}

.oga-branding-subtitle-khmer {
	font-family: 'Khmer OS', 'DM Sans', sans-serif;
	font-size: 14px;
	color: var(--oga-text-light);
	margin: 8px 0;
	font-weight: 400;
	line-height: 1.6;
}

.oga-branding-description {
	text-align: center;
	font-size: 15px;
	color: var(--oga-text-light);
	line-height: 1.7;
	margin: 20px 0 30px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	font-weight: 400;
}

/* ── SERVICE STATS ────────────────────────────────────────────────────────── */
.oga-services-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 30px 0;
	border-top: 1px solid rgba(212, 90, 48, 0.1);
	border-bottom: 1px solid rgba(212, 90, 48, 0.1);
}

.oga-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.oga-stat-number {
	font-family: 'Syne', sans-serif;
	font-size: 32px;
	font-weight: 800;
	color: var(--oga-accent);
	line-height: 1;
	margin-bottom: 8px;
	letter-spacing: -0.5px;
}

.oga-stat-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--oga-text-light);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	opacity: 0.8;
}

/* ── CTA SECTION ────────────────────────────────────────────────────────── */
.oga-cta-section {
	background: linear-gradient(135deg, rgba(212, 90, 48, 0.05), rgba(55, 138, 221, 0.03));
}

.oga-cta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
}

.oga-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Syne', sans-serif;
	font-weight: 600;
	font-size: 14px;
	padding: 16px 24px;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.3s ease;
	letter-spacing: 0.3px;
	border: 2px solid;
	text-align: center;
	cursor: pointer;
	line-height: 1.4;
	min-height: 50px;
}

.oga-cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(212, 90, 48, 0.2);
	letter-spacing: 0.5px;
}

.oga-cta-button:focus-visible {
	outline: 2px solid var(--oga-accent);
	outline-offset: 2px;
}

/* CTA Button Variants */
.oga-cta-primary {
	background: linear-gradient(135deg, var(--oga-accent), #C24a20);
	color: #FFF;
	border-color: var(--oga-accent);
}

.oga-cta-primary:hover {
	box-shadow: 0 8px 24px rgba(212, 90, 48, 0.3);
}

.oga-cta-whatsapp {
	background: #25D366;
	color: #FFF;
	border-color: #25D366;
}

.oga-cta-whatsapp:hover {
	background: #1ebd59;
	border-color: #1ebd59;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.oga-cta-telegram {
	background: #0088cc;
	color: #FFF;
	border-color: #0088cc;
}

.oga-cta-telegram:hover {
	background: #0077b6;
	border-color: #0077b6;
	box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3);
}

.oga-cta-audit {
	background: transparent;
	color: var(--oga-accent);
	border-color: var(--oga-accent);
}

.oga-cta-audit:hover {
	background: var(--oga-accent);
	color: #FFF;
}

/* Mobile CTA */
@media (max-width: 480px) {
	.oga-cta-grid {
		grid-template-columns: 1fr;
	}

	.oga-cta-button {
		width: 100%;
	}
}

/* ── RESPONSIVE BREAKPOINTS ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.oga-hook-grid {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		gap: 16px;
	}

	.oga-pillars-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.oga-hook-section-title {
		font-size: 24px;
		margin-bottom: 24px;
	}
}

@media (max-width: 768px) {
	.oga-hook-section {
		padding: 35px 16px;
	}

	.oga-hook-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.oga-pillars-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.oga-tech-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.oga-services-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		padding: 24px 0;
	}

	.oga-hook-section-title {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.oga-card-icon {
		font-size: 32px;
	}

	.oga-card-title {
		font-size: 14px;
	}

	.oga-card-desc {
		font-size: 12px;
	}

	.oga-stat-number {
		font-size: 28px;
	}

	.oga-stat-label {
		font-size: 11px;
	}

	.oga-cta-button {
		padding: 14px 20px;
		font-size: 13px;
		min-height: 48px;
	}
}

@media (max-width: 480px) {
	.oga-hook-container {
		padding: 0 12px;
	}

	.oga-hook-section {
		padding: 25px 12px;
	}

	.oga-hook-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.oga-pillars-grid {
		grid-template-columns: 1fr;
	}

	.oga-tech-grid {
		grid-template-columns: 1fr;
	}

	.oga-services-stats {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.oga-hook-card {
		padding: 16px 12px;
	}

	.oga-hook-section-title {
		font-size: 18px;
		margin-bottom: 16px;
	}

	.oga-card-icon {
		font-size: 28px;
		margin-bottom: 8px;
	}

	.oga-cta-button {
		padding: 12px 16px;
		font-size: 12px;
		min-height: 44px;
	}
}

/* ── DARK MODE ────────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
	.oga-hook-frame {
		background: linear-gradient(180deg, rgba(212, 90, 48, 0.05), rgba(55, 138, 221, 0.03));
	}

	.oga-hook-hero {
		background: linear-gradient(135deg, rgba(212, 90, 48, 0.08), rgba(55, 138, 221, 0.04));
	}

	.oga-hook-card {
		background: #1A1A1F;
	}

	.oga-tech-card {
		background: linear-gradient(135deg, rgba(212, 90, 48, 0.06), rgba(55, 138, 221, 0.03));
	}

	.oga-branding-section {
		background: linear-gradient(135deg, rgba(212, 90, 48, 0.04), rgba(55, 138, 221, 0.02));
	}

	.oga-cta-section {
		background: linear-gradient(135deg, rgba(212, 90, 48, 0.05), rgba(55, 138, 221, 0.03));
	}
}

/* ── ANIMATION ────────────────────────────────────────────────────────────── */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.oga-hook-card {
	animation: slideInUp 0.6s ease backwards;
}

.oga-hook-card:nth-child(1) { animation-delay: 0.05s; }
.oga-hook-card:nth-child(2) { animation-delay: 0.1s; }
.oga-hook-card:nth-child(3) { animation-delay: 0.15s; }
.oga-hook-card:nth-child(4) { animation-delay: 0.2s; }
.oga-hook-card:nth-child(5) { animation-delay: 0.25s; }
.oga-hook-card:nth-child(6) { animation-delay: 0.3s; }
.oga-hook-card:nth-child(7) { animation-delay: 0.35s; }
.oga-hook-card:nth-child(8) { animation-delay: 0.4s; }

/* ── REDUCED MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.oga-hook-card,
	.oga-highlight-word,
	.oga-cta-button,
	.oga-hook-card .oga-card-icon {
		animation: none;
		transition: none;
	}
}

/* ── PRINT STYLES ────────────────────────────────────────────────────────── */
@media print {
	.oga-hook-frame {
		break-inside: avoid;
		page-break-inside: avoid;
		border: 1px solid #999;
	}

	.oga-hook-card {
		page-break-inside: avoid;
		border: 1px solid #999;
		background: #FFF;
		box-shadow: none;
	}

	.oga-cta-button {
		color: inherit !important;
		border-color: #999 !important;
		background: #FFF !important;
	}

	.oga-hook-card:hover,
	.oga-cta-button:hover {
		transform: none;
		box-shadow: none;
	}
}
