﻿:root {
	--bg-color: #f8fafc;
	--text-main: #0f172a;
	--text-muted: #475569;
	/* Brand Theme Colors */
	--brand-primary: #16a34a; /* Fresh Green */
	--brand-primary-hover: #15803d; /* Darker Green */
	--ai-blue: #0284c7;
	--ai-blue-bg: #f0f9ff;
	--crowd-purple: #7c3aed;
	--crowd-purple-bg: #f5f3ff;
	--opt-green-bg: #f0fdf4;
}

/* Responsive Layout Overhaul */
* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-color);
	color: var(--text-main);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	padding: 0;
	margin: 0;
	line-height: 1.5;
}

/* 🧭 Sticky Navigation Header Bar */
nav {
	background-color: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem max(1.5rem, 5vw);
	position: sticky;
	top: 0;
	z-index: 1000;
}

	nav strong {
		color: var(--text-main);
		font-size: 1.25rem;
		font-weight: 800;
		letter-spacing: -0.02em;
	}

	nav div {
		display: flex;
		gap: clamp(1rem, 3vw, 2rem);
	}

	nav a {
		color: var(--text-muted);
		font-size: 0.95rem;
		font-weight: 500;
		text-decoration: none;
		transition: color 0.2s ease;
	}

		nav a:hover {
			color: var(--brand-primary);
		}

/* 🚀 Hero Banner Frame */
.hero-section {
	background: radial-gradient(100% 100% at 50% 0%, var(--ai-blue-bg) 0%, #ffffff 100%);
	border-bottom: 1px solid #e2e8f0;
	padding: clamp(4rem, 10vw, 7rem) 1.5rem clamp(3rem, 7vw, 5rem);
	text-align: center;
	width: 100%;
}

.hero-container {
	max-width: 800px;
	margin: 0 auto;
}

.hero-section h1 {
	color: var(--text-main);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-top: 0;
	margin-bottom: 1.25rem;
}

	.hero-section h1 span {
		background: linear-gradient(135deg, var(--brand-primary), var(--ai-blue));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}

.hero-section p {
	color: var(--text-muted);
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	line-height: 1.6;
	max-width: 640px;
	margin: 0 auto 2.5rem auto;
}

/* 🎯 Dynamic Interaction Buttons */
.btn {
	display: inline-block;
	background-color: var(--brand-primary);
	color: #ffffff;
	font-size: clamp(1rem, 2vw, 1.1rem);
	font-weight: 600;
	text-decoration: none;
	padding: 0.875rem 2.25rem;
	border-radius: 50px;
	box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	border: none;
	cursor: pointer;
}

	.btn:hover {
		background-color: var(--brand-primary-hover);
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
	}

	.btn:active {
		transform: translateY(0);
	}

/* 📊 Feature Matrix Grid Layout */
.grid-section {
	padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.card {
	background: #ffffff;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: 20px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
	border: 1px solid #e2e8f0;
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

@media (hover: hover) {
	.card:hover {
		transform: translateY(-5px);
		box-shadow: 0 12px 24px -3px rgba(0, 0, 0, 0.08);
	}
}

.card h3 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: clamp(1.2rem, 2.5vw, 1.45rem);
	font-weight: 700;
}

.card p {
	color: var(--text-muted);
	font-size: clamp(0.95rem, 2vw, 1.05rem);
	line-height: 1.6;
	margin: 0;
}

.card.ai-track {
	border-top: 6px solid var(--ai-blue);
}

	.card.ai-track h3 {
		color: var(--ai-blue);
	}

@media (hover: hover) {
	.card.ai-track:hover {
		background-color: var(--ai-blue-bg);
	}
}

.card.crowd-data {
	border-top: 6px solid var(--crowd-purple);
}

	.card.crowd-data h3 {
		color: var(--crowd-purple);
	}

@media (hover: hover) {
	.card.crowd-data:hover {
		background-color: var(--crowd-purple-bg);
	}
}

.card.auto-opt {
	border-top: 6px solid var(--brand-primary);
}

	.card.auto-opt h3 {
		color: var(--brand-primary);
	}

@media (hover: hover) {
	.card.auto-opt:hover {
		background-color: var(--opt-green-bg);
	}
}

/* 📖 "About / How It Works" Informative Section */
#about {
	background-color: #ffffff;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	padding: clamp(4rem, 8vw, 6rem) max(1.5rem, 5vw);
	text-align: center;
}

	#about h2, #contact h2 {
		font-size: clamp(1.75rem, 4vw, 2.5rem);
		font-weight: 800;
		letter-spacing: -0.02em;
		margin-top: 0;
		margin-bottom: 1rem;
	}

	#about p {
		color: var(--text-muted);
		font-size: clamp(1.05rem, 2.5vw, 1.2rem);
		line-height: 1.7;
		max-width: 720px;
		margin: 0 auto;
	}

/* ✉️ Secure Clean Contact Interface */
#contact {
	padding: clamp(4rem, 8vw, 6rem) 1.5rem;
	text-align: center;
}

.s1 {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 24px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 500px;
	margin: 2rem auto 0 auto;
	padding: clamp(1.5rem, 5vw, 2.5rem);
	width: 100%;
}

	.s1 input, .s1 textarea {
		background-color: #f8fafc;
		border: 1px solid #cbd5e1;
		border-radius: 12px;
		color: var(--text-main);
		font-family: inherit;
		font-size: 1rem;
		padding: 0.875rem 1.25rem;
		width: 100%;
		transition: border-color 0.2s ease, box-shadow 0.2s ease;
	}

		.s1 input:focus, .s1 textarea:focus {
			border-color: var(--brand-primary);
			box-shadow: 0 0 0 4px var(--opt-green-bg);
			outline: none;
		}

.s2 {
	width: 100%;
	margin-top: 0.5rem;
}

/* 📋 Standard Document Footer block */
footer {
	background-color: #0f172a;
	color: #94a3b8;
	font-size: 0.9rem;
	padding: 2.5rem 1.5rem;
	text-align: center;
	border-top: 1px solid #1e293b;
}
