/**
 * Stripe Clone Styles v2
 * Closer match to stripe.com/de
 */

/* === BASE RESET & VARIABLES === */
:root {
	--stripe-purple: #635bff;
	--stripe-purple-dark: #5046e5;
	--stripe-navy: #0a2540;
	--stripe-text: #425466;
	--stripe-text-light: #8898aa;
	--stripe-bg: #f6f9fc;
	--stripe-border: #e3e8ee;
	--stripe-pink: #ec4899;
	--stripe-orange: #f97316;
	--stripe-violet: #a855f7;
	--stripe-cyan: #06b6d4;
	--stripe-yellow: #fbbf24;
	--stripe-green: #10b981;
	--stripe-content-width: 1080px;
	--stripe-wide-width: 1280px;
}

/* === PAGE WRAPPER === */
.stripe-page {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
	color: var(--stripe-navy);
	background: #fff;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	margin: 0;
	padding: 0;
}

.stripe-page *,
.stripe-page *::before,
.stripe-page *::after {
	box-sizing: border-box;
}

.stripe-page p {
	margin: 0 0 1em;
}

/* === HEADER === */
.stripe-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 0 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.stripe-logo {
	font-size: 26px;
	font-weight: 700;
	color: var(--stripe-purple);
	letter-spacing: -1px;
	text-decoration: none;
}

.stripe-logo:hover {
	color: var(--stripe-purple-dark);
}

.stripe-nav {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.stripe-nav li {
	margin: 0;
}

.stripe-nav a {
	font-size: 15px;
	font-weight: 500;
	color: var(--stripe-text);
	text-decoration: none;
	transition: color 0.15s;
}

.stripe-nav a:hover {
	color: var(--stripe-purple);
}

.stripe-header-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* === BUTTONS === */
.stripe-btn {
	padding: 8px 14px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.stripe-btn-outline {
	border: 1px solid var(--stripe-border);
	color: var(--stripe-text);
	background: transparent;
}

.stripe-btn-outline:hover {
	background: var(--stripe-bg);
	border-color: var(--stripe-text-light);
	color: var(--stripe-navy);
}

.stripe-btn-primary {
	background: var(--stripe-purple);
	color: #fff;
	font-weight: 600;
}

.stripe-btn-primary:hover {
	background: var(--stripe-purple-dark);
	color: #fff;
}

.stripe-btn-primary svg,
.stripe-btn svg {
	width: 16px;
	height: 16px;
}

.stripe-btn-white {
	background: #fff;
	color: var(--stripe-navy);
	border: 1px solid var(--stripe-border);
}

.stripe-btn-white:hover {
	background: var(--stripe-bg);
}

/* Arrow icon in buttons */
.stripe-btn-arrow::after {
	content: '→';
	margin-left: 4px;
	transition: transform 0.2s;
}

.stripe-btn-arrow:hover::after {
	transform: translateX(3px);
}

/* === HERO SECTION === */
.stripe-hero {
	position: relative;
	padding: 80px 64px 100px;
	min-height: 700px;
	display: flex;
	align-items: flex-start;
	overflow: hidden;
	background: linear-gradient(180deg, #fff 0%, var(--stripe-bg) 100%);
}

.stripe-hero-inner {
	max-width: var(--stripe-wide-width);
	margin: 0 auto;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

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

.stripe-gdp-text {
	font-size: 14px;
	color: var(--stripe-text);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.stripe-gdp-value {
	color: var(--stripe-purple);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.stripe-gdp-value sub {
	font-size: 0.75em;
	vertical-align: baseline;
}

/* Gradient headline */
.stripe-hero-headline {
	font-size: 52px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin: 0 0 32px;
	background: linear-gradient(
		180deg,
		var(--stripe-navy) 0%,
		var(--stripe-navy) 20%,
		var(--stripe-purple) 40%,
		var(--stripe-violet) 55%,
		var(--stripe-pink) 70%,
		var(--stripe-orange) 85%,
		var(--stripe-orange) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.stripe-hero-ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* Hero Visual / Mesh */
.stripe-hero-visual {
	position: relative;
	height: 500px;
}

.stripe-hero-mesh {
	position: absolute;
	top: -50px;
	right: -100px;
	width: 700px;
	height: 600px;
	z-index: 1;
	pointer-events: none;
}

.stripe-mesh-shape {
	position: absolute;
	border-radius: 40%;
	filter: blur(50px);
	opacity: 0.85;
	animation: mesh-float 20s ease-in-out infinite;
}

.stripe-mesh-1 {
	width: 400px;
	height: 400px;
	background: linear-gradient(135deg, var(--stripe-violet) 0%, var(--stripe-pink) 100%);
	top: 100px;
	right: 50px;
	transform: rotate(-10deg);
	animation-delay: 0s;
}

.stripe-mesh-2 {
	width: 350px;
	height: 300px;
	background: linear-gradient(135deg, var(--stripe-orange) 0%, var(--stripe-yellow) 100%);
	top: 200px;
	right: 150px;
	transform: rotate(15deg);
	animation-delay: -5s;
}

.stripe-mesh-3 {
	width: 250px;
	height: 250px;
	background: linear-gradient(135deg, var(--stripe-cyan) 0%, #3b82f6 100%);
	top: 50px;
	right: 300px;
	transform: rotate(-5deg);
	animation-delay: -10s;
}

@keyframes mesh-float {
	0%, 100% { transform: translateY(0) rotate(-10deg); }
	50% { transform: translateY(-20px) rotate(-5deg); }
}

/* === LOGO BAR === */
.stripe-logo-bar {
	padding: 32px 64px;
	border-top: 1px solid var(--stripe-border);
	border-bottom: 1px solid var(--stripe-border);
	background: #fff;
}

.stripe-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
	max-width: var(--stripe-wide-width);
	margin: 0 auto;
}

.stripe-logos span {
	font-size: 16px;
	font-weight: 600;
	color: var(--stripe-text-light);
	opacity: 0.6;
	transition: opacity 0.2s;
}

.stripe-logos span:hover {
	opacity: 1;
}

/* === SESSIONS BANNER === */
.stripe-sessions-banner {
	background: linear-gradient(135deg, #1a1a2e 0%, #0a2540 100%);
	padding: 16px 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.stripe-sessions-content {
	display: flex;
	align-items: center;
	gap: 24px;
}

.stripe-sessions-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.6);
}

.stripe-sessions-title {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.stripe-sessions-link {
	color: var(--stripe-cyan);
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.stripe-sessions-link:hover {
	text-decoration: underline;
}

.stripe-sessions-details {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

/* === STATS SECTION === */
.stripe-stats {
	padding: 100px 64px;
	background: var(--stripe-navy);
	text-align: center;
}

.stripe-stats-inner {
	max-width: var(--stripe-content-width);
	margin: 0 auto;
}

.stripe-stats-title {
	font-size: 42px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 60px;
	line-height: 1.15;
}

.stripe-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.stripe-stat {
	text-align: center;
}

.stripe-stat-number {
	font-size: 40px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}

.stripe-stat-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.4;
}

/* === FEATURES SECTION === */
.stripe-features {
	padding: 100px 64px;
	background: #fff;
}

.stripe-features-inner {
	max-width: var(--stripe-wide-width);
	margin: 0 auto;
}

.stripe-section-header {
	text-align: center;
	margin-bottom: 60px;
}

.stripe-section-title {
	font-size: 36px;
	font-weight: 600;
	color: var(--stripe-navy);
	margin: 0 0 16px;
}

.stripe-section-sub {
	font-size: 17px;
	color: var(--stripe-text);
	max-width: 600px;
	margin: 0 auto;
}

.stripe-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.stripe-feature-card {
	background: var(--stripe-bg);
	border-radius: 16px;
	padding: 28px;
	transition: transform 0.25s, box-shadow 0.25s;
	border: 1px solid transparent;
}

.stripe-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	border-color: var(--stripe-border);
}

.stripe-feature-card.is-featured {
	background: linear-gradient(135deg, var(--stripe-purple), var(--stripe-violet));
	border: none;
}

.stripe-feature-card.is-featured .stripe-feature-title,
.stripe-feature-card.is-featured .stripe-feature-desc,
.stripe-feature-card.is-featured .stripe-feature-link {
	color: #fff;
}

.stripe-feature-card.is-featured .stripe-feature-link:hover {
	color: rgba(255, 255, 255, 0.8);
}

.stripe-feature-icon {
	font-size: 28px;
	margin-bottom: 16px;
	display: block;
}

.stripe-feature-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--stripe-navy);
	margin: 0 0 8px;
}

.stripe-feature-desc {
	font-size: 14px;
	color: var(--stripe-text);
	margin: 0 0 16px;
	line-height: 1.5;
}

.stripe-feature-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--stripe-purple);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.stripe-feature-link:hover {
	color: var(--stripe-purple-dark);
}

/* === ENTERPRISE SECTION === */
.stripe-enterprise {
	padding: 100px 64px;
	background: var(--stripe-bg);
}

.stripe-enterprise-inner {
	max-width: var(--stripe-wide-width);
	margin: 0 auto;
}

.stripe-enterprise-header {
	margin-bottom: 48px;
}

.stripe-enterprise-title {
	font-size: 32px;
	font-weight: 600;
	color: var(--stripe-navy);
	margin: 0 0 12px;
}

.stripe-enterprise-sub {
	font-size: 17px;
	color: var(--stripe-text);
}

.stripe-customer-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.stripe-customer-card {
	background: #fff;
	border-radius: 16px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border: 1px solid var(--stripe-border);
	transition: box-shadow 0.25s;
}

.stripe-customer-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.stripe-customer-logo {
	height: 32px;
	width: auto;
	opacity: 0.7;
}

.stripe-customer-quote {
	font-size: 16px;
	color: var(--stripe-text);
	line-height: 1.6;
	font-style: italic;
}

.stripe-customer-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--stripe-purple);
	text-decoration: none;
}

/* === DEVELOPER SECTION === */
.stripe-developer {
	padding: 100px 64px;
	background: #fff;
}

.stripe-developer-inner {
	max-width: var(--stripe-wide-width);
	margin: 0 auto;
}

.stripe-developer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.stripe-developer-content h2 {
	font-size: 36px;
	font-weight: 600;
	color: var(--stripe-navy);
	margin: 0 0 16px;
}

.stripe-developer-content p {
	font-size: 17px;
	color: var(--stripe-text);
	margin: 0 0 24px;
}

.stripe-code-block {
	background: var(--stripe-navy);
	border-radius: 12px;
	padding: 24px;
	overflow-x: auto;
}

.stripe-code-block code {
	color: #e6e6e6;
	font-family: 'JetBrains Mono', 'Fira Code', monospace;
	font-size: 13px;
	line-height: 1.6;
}

/* === CTA SECTION === */
.stripe-cta {
	padding: 100px 64px;
	background: linear-gradient(180deg, var(--stripe-bg) 0%, #e8eef4 100%);
	text-align: center;
}

.stripe-cta-inner {
	max-width: 700px;
	margin: 0 auto;
}

.stripe-cta-title {
	font-size: 36px;
	font-weight: 600;
	color: var(--stripe-navy);
	margin: 0 0 16px;
}

.stripe-cta-sub {
	font-size: 17px;
	color: var(--stripe-text);
	margin: 0 0 32px;
}

.stripe-cta-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* === FOOTER === */
.stripe-footer {
	background: var(--stripe-navy);
	padding: 80px 64px 48px;
	color: rgba(255, 255, 255, 0.7);
}

.stripe-footer-inner {
	max-width: var(--stripe-wide-width);
	margin: 0 auto;
}

.stripe-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 48px;
	margin-bottom: 48px;
}

.stripe-footer-col-title {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.4);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 20px;
}

.stripe-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.stripe-footer-links li {
	margin-bottom: 12px;
}

.stripe-footer-links a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s;
}

.stripe-footer-links a:hover {
	color: #fff;
}

.stripe-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.stripe-footer-logo {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

.stripe-footer-copyright {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
	.stripe-hero-inner {
		grid-template-columns: 1fr;
	}
	
	.stripe-hero-visual {
		display: none;
	}
	
	.stripe-developer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1024px) {
	.stripe-header {
		padding: 0 24px;
	}
	
	.stripe-nav {
		display: none;
	}
	
	.stripe-sessions-banner {
		padding: 16px 24px;
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
	
	.stripe-sessions-content {
		flex-direction: column;
		gap: 8px;
	}
	
	.stripe-code-block {
		font-size: 11px;
	}
	
	.stripe-code-block code pre {
		font-size: 11px;
		white-space: pre-wrap;
		word-break: break-word;
	}
	
	.stripe-hero {
		padding: 60px 24px 80px;
		min-height: auto;
	}
	
	.stripe-hero-headline {
		font-size: 38px;
	}
	
	.stripe-logo-bar {
		padding: 24px;
	}
	
	.stripe-logos {
		gap: 24px;
	}
	
	.stripe-stats {
		padding: 60px 24px;
	}
	
	.stripe-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}
	
	.stripe-stats-title {
		font-size: 32px;
	}
	
	.stripe-features {
		padding: 60px 24px;
	}
	
	.stripe-feature-grid {
		grid-template-columns: 1fr;
	}
	
	.stripe-enterprise {
		padding: 60px 24px;
	}
	
	.stripe-customer-grid {
		grid-template-columns: 1fr;
	}
	
	.stripe-developer {
		padding: 60px 24px;
	}
	
	.stripe-cta {
		padding: 60px 24px;
	}
	
	.stripe-footer {
		padding: 48px 24px 32px;
	}
	
	.stripe-footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.stripe-hero-headline {
		font-size: 28px;
	}
	
	.stripe-hero-ctas {
		flex-direction: column;
	}
	
	.stripe-stats-grid {
		grid-template-columns: 1fr;
	}
	
	.stripe-stat-number {
		font-size: 32px;
	}
	
	.stripe-section-title,
	.stripe-cta-title,
	.stripe-enterprise-title {
		font-size: 26px;
	}
	
	.stripe-footer-grid {
		grid-template-columns: 1fr;
	}
	
	.stripe-footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
}

/* === WP BLOCK OVERRIDES === */
.stripe-page .wp-block-group {
	margin: 0;
	padding: 0;
}

.stripe-page .wp-block-columns {
	margin-bottom: 0;
}

/* GDP Counter Animation */
#stripe-gdp-counter {
	font-variant-numeric: tabular-nums;
}
