/* Modern Pulsora Landing Page */

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

:root {
	--green: #7CB342;
	--green-dark: #689F38;
	--green-light: #8BC34A;
	--bg-dark: #0a0a0a;
	--bg-card: #111111;
	--text-primary: #ffffff;
	--text-secondary: #a0a0a0;
	--border: rgba(255, 255, 255, 0.1);
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--bg-dark);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Navigation */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	z-index: 1000;
	padding: 1rem 0;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-brand {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.badge {
	background: rgba(124, 179, 66, 0.15);
	color: var(--green);
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	border: 1px solid rgba(124, 179, 66, 0.3);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.3s;
}

.nav-links a:hover {
	color: var(--green);
}

.github-stars {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: rgba(124, 179, 66, 0.15);
	border: 1px solid rgba(124, 179, 66, 0.3);
	border-radius: 8px;
	font-weight: 600;
	color: var(--green);
	text-decoration: none;
	transition: all 0.3s;
}

.github-stars:hover {
	background: rgba(124, 179, 66, 0.25);
	border-color: var(--green);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(124, 179, 66, 0.2);
}

.star-icon {
	font-size: 1rem;
}

.star-count {
	font-size: 0.95rem;
}

/* Hero */
.hero {
	padding: 10rem 0 6rem;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(124, 179, 66, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.hero-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.hero-tag {
	display: inline-block;
	background: rgba(124, 179, 66, 0.15);
	color: var(--green);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 2rem;
	border: 1px solid rgba(124, 179, 66, 0.3);
}

.hero-title {
	font-size: 4rem;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	letter-spacing: -0.02em;
}

.gradient-text {
	background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-desc {
	font-size: 1.25rem;
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.hero-cta {
	display: flex;
	gap: 1rem;
	margin-bottom: 3rem;
}

.btn-primary {
	background: var(--green);
	color: #000;
	padding: 1rem 2rem;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	background: var(--green-light);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(124, 179, 66, 0.3);
}

.btn-primary.large {
	padding: 1.25rem 2.5rem;
	font-size: 1.1rem;
}

.btn-secondary {
	background: transparent;
	color: var(--text-primary);
	padding: 1rem 2rem;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 2px solid var(--border);
}

.btn-secondary:hover {
	border-color: var(--green);
	color: var(--green);
	transform: translateY(-2px);
}

.btn-secondary.large {
	padding: 1.25rem 2.5rem;
	font-size: 1.1rem;
}

.hero-stats {
	display: flex;
	gap: 3rem;
}

.stat {
	text-align: left;
}

.stat-value {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--green);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 0.9rem;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Code Window */
.hero-visual {
	position: relative;
}

.code-window {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.window-header {
	background: rgba(255, 255, 255, 0.03);
	padding: 1rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	border-bottom: 1px solid var(--border);
}

.window-dots {
	display: flex;
	gap: 0.5rem;
}

.window-dots span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
}

.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.window-title {
	font-size: 0.85rem;
	color: var(--text-secondary);
	font-family: 'Monaco', 'Consolas', monospace;
}

.window-content {
	padding: 1.5rem;
	font-family: 'Monaco', 'Consolas', monospace;
	font-size: 0.9rem;
	line-height: 1.8;
}

.code-line {
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.prompt {
	color: var(--green);
	margin-right: 0.5rem;
}

.comment {
	color: #666;
	font-style: italic;
}

.success {
	color: var(--green);
}

/* Sections */
section {
	padding: 6rem 0;
}

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

.section-header h2 {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}

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

/* Features */
.features {
	background: linear-gradient(180deg, transparent 0%, rgba(124, 179, 66, 0.03) 100%);
}

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

.feature-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 2.5rem;
	transition: all 0.3s;
}

.feature-card:hover {
	transform: translateY(-5px);
	border-color: var(--green);
	box-shadow: 0 20px 40px rgba(124, 179, 66, 0.1);
}

.feature-card.highlight {
	background: linear-gradient(135deg, rgba(124, 179, 66, 0.1) 0%, rgba(124, 179, 66, 0.05) 100%);
	border-color: var(--green);
}

.feature-icon {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	display: block;
}

.feature-card h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--green);
}

.feature-desc {
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

.feature-list {
	list-style: none;
	padding: 0;
}

.feature-list li {
	color: var(--text-secondary);
	padding: 0.5rem 0;
	padding-left: 1.5rem;
	position: relative;
	font-size: 0.95rem;
}

.feature-list li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--green);
	font-weight: 700;
}

/* Quick Start */
.quickstart {
	background: var(--bg-dark);
}

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

.quickstart-step {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 2rem;
	position: relative;
}

.step-num {
	position: absolute;
	top: -1.5rem;
	left: 2rem;
	width: 3rem;
	height: 3rem;
	background: var(--green);
	color: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.5rem;
}

.quickstart-step h3 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	margin-top: 1rem;
	color: var(--green);
}

.code-block {
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	overflow-x: auto;
}

.code-block code {
	font-family: 'Monaco', 'Consolas', monospace;
	font-size: 0.9rem;
	color: var(--green);
	line-height: 1.6;
	white-space: pre-wrap;
}

.step-note {
	color: var(--text-secondary);
	font-size: 0.9rem;
	font-style: italic;
}

.quickstart-features {
	display: flex;
	justify-content: center;
	gap: 3rem;
	flex-wrap: wrap;
	padding: 2rem;
	background: rgba(124, 179, 66, 0.05);
	border: 1px solid rgba(124, 179, 66, 0.2);
	border-radius: 16px;
}

.qs-feature {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text-secondary);
	font-weight: 500;
}

/* Use Cases */
.usecases {
	background: linear-gradient(180deg, transparent 0%, rgba(124, 179, 66, 0.03) 100%);
}

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

.usecase-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s;
}

.usecase-card:hover {
	transform: translateY(-5px);
	border-color: var(--green);
}

.usecase-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: block;
}

.usecase-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--green);
}

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

/* Tech Stack */
.techstack {
	background: var(--bg-dark);
}

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

.tech-item {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s;
}

.tech-item:hover {
	border-color: var(--green);
	transform: translateY(-3px);
}

.tech-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: block;
}

.tech-item h4 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--green);
}

.tech-item p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.6;
}

/* CTA */
.cta {
	background: linear-gradient(135deg, rgba(124, 179, 66, 0.1) 0%, rgba(124, 179, 66, 0.05) 100%);
	border-top: 1px solid rgba(124, 179, 66, 0.2);
	border-bottom: 1px solid rgba(124, 179, 66, 0.2);
}

.cta-content {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.cta-content h2 {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}

.cta-content p {
	font-size: 1.25rem;
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Footer */
.footer {
	background: var(--bg-card);
	border-top: 1px solid var(--border);
	padding: 4rem 0 2rem;
}

.footer-content {
	display: grid;
	grid-template-columns: 1.5fr 2fr;
	gap: 4rem;
}

.footer-brand p {
	color: var(--text-secondary);
	margin-top: 1rem;
	font-size: 0.9rem;
}

.footer-tagline {
	color: var(--green) !important;
	font-weight: 600;
}

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

.footer-col h5 {
	color: var(--green);
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-col a {
	display: block;
	color: var(--text-secondary);
	text-decoration: none;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
	transition: color 0.3s;
}

.footer-col a:hover {
	color: var(--green);
}

/* Responsive */
@media (max-width: 1024px) {
	.hero-container {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.hero-title {
		font-size: 3rem;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.quickstart-grid {
		grid-template-columns: 1fr;
	}

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

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

@media (max-width: 768px) {
	.nav-container {
		flex-direction: column;
		gap: 1rem;
	}

	.nav-links {
		gap: 1rem;
		flex-wrap: wrap;
		justify-content: center;
	}

	.github-stars {
		order: -1;
		width: 100%;
		justify-content: center;
	}

	.hero {
		padding: 8rem 0 4rem;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.hero-desc {
		font-size: 1.1rem;
	}

	.hero-cta {
		flex-direction: column;
	}

	.hero-stats {
		flex-direction: column;
		gap: 1.5rem;
	}

	.section-header h2 {
		font-size: 2rem;
	}

	.section-header p {
		font-size: 1.1rem;
	}

	.usecases-grid {
		grid-template-columns: 1fr;
	}

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

	.footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-links {
		grid-template-columns: 1fr;
	}

	.cta-content h2 {
		font-size: 2rem;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: stretch;
	}
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-content > * {
	animation: fadeInUp 0.8s ease backwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

.hero-visual {
	animation: fadeInUp 0.8s ease 0.3s backwards;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Selection */
::selection {
	background: var(--green);
	color: #000;
}
