@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
	/* Trust & Authority Design System */
	--primary: #1e40af;
	--primary-dark: #1e3a8a;
	--primary-light: #3b82f6;
	--accent: #f59e0b;
	--accent-light: #fef3c7;
	--bg: #f8fafc;
	--bg-white: #ffffff;
	--text: #1e3a8a;
	--text-muted: #64748b;
	--border: #e2e8f0;
	--border-light: #f1f5f9;
	--radius: 12px;

	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--container-max: 1100px;
}

/* Reset & Base */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

h1, h2, h3, h4, .logo, .idea-nav-title {
	font-family: 'Poppins', sans-serif;
}

/* Layout */
header, nav, .idea-nav, .idea, .architecture, .features, .gaps, .market-analysis, .similar-apps, .user-research, .validation, .report-sections {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	width: 92%;
}

/* Header */
header {
	padding: 5rem 0 3rem;
	display: flex;
	justify-content: center;
}

.logo {
	text-decoration: none;
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--primary-dark);
	letter-spacing: -0.02em;
	display: flex;
	align-items: center;
	transition: var(--transition);
}

.logo:hover {
	transform: scale(1.02);
}

.logo::before {
	content: '';
	width: 14px;
	height: 14px;
	background: var(--accent);
	margin-right: 12px;
	border-radius: 4px;
	box-shadow: 0 0 0 4px var(--accent-light);
}

.logo::after {
	content: 'OFFICIAL SHIPPING';
	text-transform: uppercase;
}

/* Nav */
nav {
	margin-bottom: 5rem;
}

nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 3rem;
}

nav ul li a {
	text-decoration: none;
	color: var(--text-muted);
	font-size: 0.9375rem;
	font-weight: 600;
	position: relative;
	padding: 4px 0;
	transition: var(--transition);
}

nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: var(--transition);
}

nav ul li a:hover {
	color: var(--primary);
}

nav ul li a:hover::after {
	width: 100%;
}

/* Idea Navigation / Cards */
.idea-nav {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	margin-bottom: 8rem;
}

.idea-nav li a {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"title score"
		"description description";
	padding: 3rem;
	text-decoration: none;
	background: var(--bg-white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: var(--transition);
	cursor: pointer;
}

.idea-nav li a:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-light);
}

.idea-nav-title {
	grid-area: title;
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-dark);
	letter-spacing: -0.01em;
	margin-bottom: 1rem;
	transition: var(--transition);
}

.idea-nav li a:hover .idea-nav-title {
	color: var(--primary);
}

.idea-nav-description {
	grid-area: description;
	font-size: 1rem;
	color: var(--text-muted);
	line-height: 1.7;
	max-width: 85ch;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
}

.idea-nav-score {
	grid-area: score;
	background: var(--accent-light);
	color: var(--accent);
	font-weight: 800;
	padding: 12px 20px;
	border-radius: 99px;
	font-size: 1.125rem;
	height: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(245, 158, 11, 0.2);
	transition: var(--transition);
}

.idea-nav li a:hover .idea-nav-score {
	animation: pulse 2s infinite;
	background: var(--accent);
	color: white;
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
	70% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
	100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Report Sections Navigation */
.report-sections {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 5rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--border);
}

.report-section-item {
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--text-muted);
	padding: 10px 24px;
	border-radius: 99px;
	background: var(--bg-white);
	border: 1px solid var(--border);
	transition: var(--transition);
}

.report-section-item.active {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.report-section-item:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.report-section-item.active:hover {
	color: white;
	transform: translateY(-2px);
}

/* Content Pages Elements */
.idea h1, .architecture h1, .features h1, .gaps h1, .market-analysis h1, .similar-apps h1, .user-research h1, .validation h1 {
	font-size: 3rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 2.5rem;
	color: var(--primary-dark);
}

.idea h2, .architecture h2, .features h2, .gaps h2, .market-analysis h2, .similar-apps h2, .user-research h2, .validation h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-top: 5rem;
	margin-bottom: 2rem;
	color: var(--primary-dark);
	display: flex;
	align-items: center;
}

.idea h2::before, .architecture h2::before, .features h2::before, .gaps h2::before, .market-analysis h2::before, .similar-apps h2::before, .user-research h2::before, .validation h2::before {
	content: '';
	width: 12px;
	height: 12px;
	background: var(--accent);
	margin-right: 16px;
	border-radius: 4px;
	box-shadow: 0 0 0 4px var(--accent-light);
}

.idea p, .architecture p, .features p, .gaps p, .market-analysis p, .similar-apps p, .user-research p, .validation p {
	font-size: 1.125rem;
	color: var(--text-muted);
	margin-bottom: 2rem;
	max-width: 75ch;
}

.idea h3, .architecture h3, .features h3, .gaps h3, .market-analysis h3, .similar-apps h3, .user-research h3, .validation h3 {
	font-size: 1.375rem;
	font-weight: 700;
	margin-top: 3.5rem;
	margin-bottom: 1.25rem;
	color: var(--primary);
}

.idea li, .architecture li, .features li, .gaps li, .market-analysis li, .similar-apps li, .user-research li, .validation li {
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
	color: var(--text-muted);
}

.idea-title {
	font-size: 4rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-align: center;
	margin-bottom: 4rem;
	color: var(--primary-dark);
}

.idea, .architecture, .features, .gaps, .market-analysis, .similar-apps, .user-research, .validation {
	margin-bottom: 8rem;
}

/* TABLES - Professional & Clean */
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 3rem 0 5rem;
	background: var(--bg-white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}

th {
	text-align: left;
	padding: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.8125rem;
	letter-spacing: 0.05em;
	color: var(--primary-dark);
	background: var(--border-light);
	border-bottom: 1px solid var(--border);
}

td {
	padding: 1.5rem;
	vertical-align: top;
	border-bottom: 1px solid var(--border-light);
	color: var(--text-muted);
	line-height: 1.6;
	transition: var(--transition);
}

tr:last-child td {
	border-bottom: none;
}

tr:hover td {
	background-color: var(--bg);
	color: var(--text);
}

td strong {
	color: var(--primary-dark);
	font-weight: 700;
}

/* Footer */
footer {
	margin-top: 10rem;
	padding: 2rem 0 2rem;
	background: var(--bg-white);
	border-top: 1px solid var(--border);
}

.footer-links {
	margin-bottom: 0.5rem;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	width: 92%;
}

.footer-links ul {
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4rem;
	flex-wrap: wrap;
}

.footer-link {
	text-decoration: none;
	color: var(--text-muted);
	font-size: 0.875rem;
	font-weight: 600;
	transition: var(--transition);
	position: relative;
	padding: 4px 0;
}

.footer-link:hover {
	color: var(--primary);
}

.footer-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--primary);
	transition: var(--transition);
}

.footer-link:hover::after {
	width: 100%;
}

.bototm-bar, .bottom-bar {
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	width: 92%;
	padding-top: 2rem;
	border-top: 1px solid var(--border-light);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

.bototm-bar p, .bottom-bar p {
	font-size: 0.8125rem;
	color: var(--text-muted);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0;
}

/* .bototm-bar div, .bottom-bar div {
	width: 12px;
	height: 12px;
	background: var(--accent);
	border-radius: 4px;
	box-shadow: 0 0 0 4px var(--accent-light);
	opacity: 0.8;
} */


/* Responsive */
@media (max-width: 768px) {
	header { padding: 3rem 0 2rem; }

	.idea-nav li a {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"score"
			"description";
		padding: 2rem;
	}

	.idea-nav-score {
		margin-bottom: 1.5rem;
		width: fit-content;
	}

	.idea-title { font-size: 2.5rem; }
	.idea h1 { font-size: 2.25rem; }

	nav ul { gap: 1.5rem; flex-wrap: wrap; }

	table {
		display: block;
		overflow-x: auto;
	}

	footer {
		padding: 4rem 0 3rem;
	}

	.footer-links ul {
		flex-direction: column;
		gap: 1.5rem;
	}

	.bototm-bar, .bottom-bar {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}
