/**
 * Landing page styles (index.html)
 * Requires: base.css
 */

* {
	margin: 0;
	padding: 0;
}

/* Hero Section */
.hero {
	text-align: center;
	padding: 5rem 2rem 4rem;
	max-width: 700px;
	margin: 0 auto;
}

.hero-logo {
	margin-bottom: 1.5rem;
}

.hero-logo img {
	transition: transform 0.3s ease;
}

.hero-logo img:hover {
	transform: scale(1.05);
}

.hero h1 {
	font-size: 3rem;
	font-weight: 700;
	color: var(--sage-ink);
	margin-bottom: 0.75rem;
	line-height: 1.2;
}

.hero .tagline {
	color: var(--sage-text-secondary);
	font-size: 1.25rem;
	margin-bottom: 2rem;
}

.process-flow {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.process-step {
	background: var(--sage-surface);
	color: var(--sage-accent);
	border: 1px solid var(--sage-border);
	padding: 8px 20px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.2s;
}

.process-step:hover {
	background: var(--sage-botanical-light);
	border-color: var(--sage-accent);
}

.hero-cta {
	margin-bottom: 1rem;
}

.primary-btn {
	padding: 1rem 2.5rem;
	background: var(--sage-accent);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.primary-btn:hover {
	background: var(--sage-accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(74, 124, 89, 0.25);
}

.primary-btn.error {
	background: var(--sage-error);
}

.secondary-text {
	color: var(--sage-text-muted);
	font-size: 0.9rem;
	margin-top: 0.75rem;
}

.secondary-text.error {
	color: var(--sage-error);
}

.demo-link {
	color: var(--sage-accent);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

.demo-link:hover {
	text-decoration: underline;
}

/* How It Works Section */
.how-it-works {
	padding: 4rem 2rem;
	max-width: 1000px;
	margin: 0 auto;
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-header h2 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--sage-ink);
	margin-bottom: 0.5rem;
}

.section-header p {
	color: var(--sage-text-secondary);
	font-size: 1.1rem;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.step-card {
	background: var(--sage-surface);
	border: 1px solid var(--sage-border);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}

.step-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.step-number {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.step-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--sage-ink);
	margin-bottom: 0.5rem;
}

.step-card p {
	color: var(--sage-text-secondary);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Features Section */
.features-section {
	padding: 4rem 2rem;
	background: var(--sage-surface);
	border-top: 1px solid var(--sage-border);
	border-bottom: 1px solid var(--sage-border);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 1000px;
	margin: 0 auto;
}

.feature-card {
	padding: 1.5rem;
	text-align: left;
}

.feature-emoji {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.feature-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--sage-ink);
	margin-bottom: 0.5rem;
}

.feature-card p {
	color: var(--sage-text-secondary);
	font-size: 0.9rem;
	line-height: 1.5;
}

/* Platforms Section */
.platforms-section {
	padding: 3rem 2rem;
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.platforms-title {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--sage-accent);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.platform-icons {
	display: flex;
	justify-content: center;
	gap: 3rem;
	align-items: center;
}

.platform-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.platform-svg {
	width: 32px;
	height: 32px;
	transition: transform 0.2s;
}

.platform-icon:hover .platform-svg {
	transform: scale(1.1);
}

.platform-name {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--sage-text-secondary);
}

/* Landing-specific bottom CTA override */
.bottom-cta .demo-link {
	font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2rem;
	}

	.steps-grid,
	.features-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 3rem 1.5rem 2.5rem;
	}

	.hero h1 {
		font-size: 1.75rem;
	}

	.process-flow {
		gap: 8px;
	}

	.process-step {
		padding: 6px 12px;
		font-size: 0.85rem;
	}

	.platform-icons {
		gap: 1.5rem;
	}
}
