/**
 * RoofCalc - Landing Page
 * Dark blueprint aesthetic
 */

/* Nav */
.landing-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 56px;
	background: rgba(13, 27, 42, 0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px;
	z-index: 200;
}

.landing-nav-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--primary);
	text-decoration: none;
}

.landing-nav-brand:hover { color: var(--primary-light); text-decoration: none; }

.landing-nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
}

.landing-nav-links > a:not(.btn) {
	padding: 6px 12px;
	color: var(--text-secondary);
	font-size: 13px;
	font-weight: 500;
}

.landing-nav-links > a:not(.btn):hover {
	color: var(--text);
	text-decoration: none;
}

/* Hero */
.hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 24px;
	padding: 68px 48px 12px;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}

.hero-grid-bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(79, 195, 247, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(79, 195, 247, 0.03) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-title {
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 10px;
}

.hero-sub {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-secondary);
	max-width: 460px;
	margin-bottom: 14px;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hero-cta {
	padding: 10px 28px;
	font-size: 15px;
	font-weight: 600;
}

.hero-note {
	font-size: 12px;
	color: var(--text-muted);
}

/* Blueprint visual */
.hero-visual { position: relative; z-index: 1; }

.blueprint-card {
	background: rgba(13, 27, 42, 0.8);
	border: 1px solid rgba(79, 195, 247, 0.25);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 0 60px rgba(79, 195, 247, 0.08), 0 20px 40px rgba(0,0,0,0.4);
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

.bp-header {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(79, 195, 247, 0.08);
	border-bottom: 1px solid rgba(79, 195, 247, 0.15);
}

.bp-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(79, 195, 247, 0.3);
}

.bp-dot:first-child { background: #ef5350; }
.bp-dot:nth-child(2) { background: #ffa726; }
.bp-dot:nth-child(3) { background: #4caf50; }

.bp-title {
	margin-left: 8px;
	font-size: 10px;
	font-family: var(--font-mono);
	color: var(--text-muted);
}

.bp-body {
	padding: 8px 12px 4px;
}

.bp-svg {
	width: 100%;
	height: auto;
}

/* Sections */
.section-heading {
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 16px;
}

/* How It Works */
.how-it-works {
	padding: 16px 48px 20px;
	max-width: 1000px;
	margin: 0 auto;
}

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

.step-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 16px;
	text-align: center;
}

.step-number {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--primary);
	color: var(--bg);
	font-size: 16px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}

.step-card h3 {
	font-size: 14px;
	margin-bottom: 6px;
	color: #fff;
}

.step-card p {
	font-size: 12px;
	color: var(--text-secondary);
	line-height: 1.45;
}

/* Features */
.features {
	padding: 24px 48px;
	max-width: 1000px;
	margin: 0 auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 16px;
}

.feature-icon {
	font-size: 24px;
	margin-bottom: 6px;
}

.feature-card h3 {
	font-size: 13px;
	margin-bottom: 4px;
	color: #fff;
}

.feature-card p {
	font-size: 12px;
	color: var(--text-secondary);
	line-height: 1.45;
}

/* Pricing */
.pricing {
	padding: 24px 48px;
	max-width: 500px;
	margin: 0 auto;
}

.pricing-card {
	background: var(--bg-card);
	border: 2px solid var(--primary);
	border-radius: var(--radius-lg);
	padding: 28px;
	text-align: center;
	position: relative;
}

.pricing-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--primary);
	color: var(--bg);
	padding: 4px 16px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pricing-amount {
	margin: 16px 0;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
}

.pricing-currency {
	font-size: 22px;
	color: var(--text-muted);
	font-weight: 600;
}

.pricing-number {
	font-size: 48px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.pricing-period {
	font-size: 15px;
	color: var(--text-muted);
}

.pricing-features {
	list-style: none;
	margin: 20px 0;
	text-align: left;
}

.pricing-features li {
	padding: 6px 0;
	font-size: 13px;
	color: var(--text-secondary);
	border-bottom: 1px solid var(--border);
}

.pricing-features li::before {
	content: "\2713";
	color: var(--success);
	font-weight: 700;
	margin-right: 10px;
}

.pricing-note {
	margin-top: 10px;
	font-size: 12px;
	color: var(--text-muted);
}

/* Upsell */
.upsell {
	padding: 24px 48px;
	max-width: 800px;
	margin: 0 auto;
}

.upsell-card {
	background: linear-gradient(135deg, rgba(79, 195, 247, 0.08) 0%, rgba(2, 136, 209, 0.04) 100%);
	border: 1px solid rgba(79, 195, 247, 0.2);
	border-radius: var(--radius-lg);
	padding: 24px;
}

.upsell-content h2 {
	font-size: 1.2rem;
	color: #fff;
	margin-bottom: 8px;
}

.upsell-content p {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin-bottom: 12px;
}

/* Footer */
.landing-footer {
	border-top: 1px solid var(--border);
	padding: 20px 48px;
}

.footer-content {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-brand {
	font-size: 13px;
	color: var(--text-muted);
}

.footer-links {
	display: flex;
	gap: 16px;
}

.footer-links a {
	font-size: 13px;
	color: var(--text-muted);
}

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

/* Responsive */
@media (max-width: 900px) {
	.hero {
		grid-template-columns: 1fr;
		padding: 72px 20px 24px;
		min-height: auto;
	}
	.hero-title { font-size: 1.8rem; }
	.hero-visual { display: none; }
	.steps-grid, .features-grid { grid-template-columns: 1fr; }
	.how-it-works, .features, .pricing, .upsell, .landing-footer { padding-left: 20px; padding-right: 20px; }
	.hero-actions { flex-direction: column; align-items: flex-start; }
	.landing-nav-links > a:not(.btn) { display: none; }
}
