/* Landing V2 Styles - Inspired by Raycast & Linear */

/* Hero Section */
.v2-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("../images/hero-bg-02.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	padding: 6rem 2rem;
	overflow: hidden;
	padding-top: calc(20px + env(safe-area-inset-top));
}

.v2-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		rgba(10, 10, 10, 0.3) 0%,
		rgba(10, 10, 10, 1) 95%
	);
	z-index: 1;
}

.v2-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
	width: 100%;
}

.v2-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2rem;
	animation: fadeInDown 0.6s ease-out;
}

.badge-dot {
	width: 8px;
	height: 8px;
	background: var(--color-highlight);
	border-radius: 50%;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

.v2-hero-title {
	font-family: "CabinetGrotesk-Variable";
	font-weight: 900;
	font-size: clamp(2.5rem, 8vw, 5rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
	opacity: 0;
	animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.gradient-text {
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	opacity: 0.8;
}

.v2-hero-subtitle {
	font-size: clamp(1.1rem, 2.5vw, 1.25rem);
	line-height: 1.6;
	color: var(--color-text-secondary);
	max-width: 600px;
	margin: 0 auto 3rem;
	opacity: 0;
	animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.v2-newsletter-form-container {
	max-width: 480px;
	margin: 0 auto;
	opacity: 0;
	animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Features Section */
.v2-features {
	background: #0a0a0a;
	padding: 8rem 2rem;
	position: relative;
}

.v2-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.v2-feature-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	transition: all 0.3s ease;
	overflow: hidden;
}

.v2-feature-card:hover {
	border-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-4px);
}

.v2-feature-large {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.v2-feature-label {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-highlight);
	margin-bottom: 1rem;
}

.v2-feature-title {
	font-family: "CabinetGrotesk-Variable";
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
	color: var(--color-text-primary);
}

.v2-feature-title-small {
	font-family: "CabinetGrotesk-Variable";
	font-weight: 700;
	font-size: clamp(1.5rem, 3vw, 1.75rem);
	line-height: 1.3;
	letter-spacing: -0.01em;
	margin-bottom: 0.75rem;
	color: var(--color-text-primary);
}

.v2-feature-description {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--color-text-secondary);
}

.v2-feature-description-small {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text-secondary);
}

.v2-feature-image {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-feature-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}

.v2-feature-image-small {
	margin-top: auto;
}

/* Principles Section */
.v2-principles {
	background: #000000;
	padding: 8rem 2rem;
	position: relative;
}

.v2-container-narrow {
	max-width: 900px;
	margin: 0 auto;
}

.v2-section-title {
	font-family: "CabinetGrotesk-Variable";
	font-weight: 900;
	font-size: clamp(2.5rem, 6vw, 3.5rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-align: center;
	margin-bottom: 4rem;
}

.v2-principles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
}

.v2-principle {
	text-align: center;
}

.v2-principle-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	overflow: hidden;
}

.v2-principle-icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.v2-principle h3 {
	font-family: "CabinetGrotesk-Variable";
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.3;
	margin-bottom: 0.75rem;
	letter-spacing: -0.01em;
}

.v2-principle p {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text-secondary);
}

/* CTA Section */
.v2-cta {
	background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
	padding: 8rem 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.v2-cta::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 1000px;
	height: 400px;
	background: radial-gradient(
		ellipse at center,
		rgba(248, 33, 61, 0.1) 0%,
		transparent 70%
	);
	pointer-events: none;
}

.v2-cta-content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	margin: 0 auto;
}

.v2-cta-title {
	font-family: "CabinetGrotesk-Variable";
	font-weight: 900;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}

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

/* Footer */
.v2-footer {
	background: #000000;
	padding: 3rem 2rem;
	text-align: center;
	color: var(--color-text-secondary);
	font-size: 0.9rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-footer a {
	display: inline-block;
	text-decoration: none;
	transition: all 0.2s ease;
	color: var(--color-text-secondary);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
	.v2-feature-large {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.v2-hero {
		padding: 4rem 1.5rem;
		min-height: 90vh;
	}

	.v2-features {
		padding: 5rem 1.5rem;
	}

	.v2-container {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.v2-feature-card {
		padding: 2rem;
	}

	.v2-feature-large {
		padding: 2.5rem 2rem;
	}

	.v2-principles {
		padding: 5rem 1.5rem;
	}

	.v2-principles-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.v2-cta {
		padding: 5rem 1.5rem;
	}

	.v2-footer {
		padding: 2rem 1.5rem;
	}

	.landing-v2 .newsletter-form {
		flex-direction: column;
		padding: 0.5rem;
		border-radius: 12px !important;
	}

	.newsletter-form-input {
		width: 100%;
	}

	.newsletter-form-button,
	.newsletter-loading-button {
		width: 100%;
		border-radius: 8px;
	}
}

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

	.v2-hero-badge {
		font-size: 0.8rem;
		padding: 0.4rem 0.875rem;
	}

	.v2-features {
		padding: 4rem 1.25rem;
	}

	.v2-feature-card {
		padding: 1.75rem;
		gap: 1.5rem;
	}

	.v2-feature-large {
		padding: 2rem 1.75rem;
	}

	.v2-principles {
		padding: 4rem 1.25rem;
	}

	.v2-section-title {
		margin-bottom: 3rem;
	}

	.v2-principle-icon {
		width: 64px;
		height: 64px;
		margin-bottom: 1rem;
	}

	.v2-principle-icon img {
		width: 40px;
		height: 40px;
	}

	.v2-cta {
		padding: 4rem 1.25rem;
	}
}

/* Animations */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

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

/* Newsletter form overrides for v2 */
.landing-v2 .newsletter-form {
	background-color: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	padding: 0.5rem;
}

.landing-v2 .newsletter-form-input {
	background: transparent;
	color: var(--color-text-primary);
}

.landing-v2 .newsletter-form-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.landing-v2 .newsletter-form-button,
.landing-v2 .newsletter-loading-button {
	background: var(--color-text-primary);
	color: var(--color-bg-dark);
	font-weight: 600;
}

.landing-v2 .newsletter-form-button:hover {
	background: rgba(255, 255, 255, 0.9);
}
