/**
 * ReviewNexa Founder Portal - Ultra High-Conversion Frontend Stylesheet
 */

.rn-official-badge-tag {
	display: inline-block;
	background: rgba(59, 130, 246, 0.15);
	border: 1px solid #3b82f6;
	color: #60a5fa;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

/* 1. Top Inline Founder Callout Badge */
.rn-top-founder-callout {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(30, 41, 59, 0.7);
	border: 1px solid #334155;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.85rem;
	color: #cbd5e1;
	text-decoration: none;
	margin-top: 1rem;
	transition: all 0.2s ease;
}

.rn-top-founder-callout:hover {
	border-color: #3b82f6;
	color: #60a5fa;
	background: #1e293b;
}

/* 2. Premium 2-Column Banner Container (Left column 64% wider for 2-line headline) */
.rn-founder-claim-banner {
	background: linear-gradient(135deg, #070a10 0%, #161b22 100%);
	border: 1px solid #30363d;
	border-radius: 20px;
	padding: 3rem;
	margin: 4rem 0 2rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rn-founder-claim-banner.rn-visible {
	opacity: 1;
	transform: translateY(0);
}

.rn-founder-banner-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.85fr;
	gap: 2.75rem;
	align-items: center;
}

@media (max-width: 960px) {
	.rn-founder-banner-grid {
		grid-template-columns: 1fr;
	}
}

.rn-banner-kicker {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: #38bdf8;
	margin-bottom: 0.75rem;
}

.rn-banner-title {
	font-size: 2.15rem !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	margin: 0 0 0.75rem 0 !important;
	letter-spacing: -0.5px;
	line-height: 1.25 !important;
}

.rn-banner-subtitle {
	color: #cbd5e1;
	font-size: 1.05rem;
	margin: 0 0 1.75rem 0;
	line-height: 1.5;
}

/* Benefit Cards Grid (6 Icons) */
.rn-benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
	gap: 12px;
	margin-bottom: 1.75rem;
}

.rn-benefit-card {
	background: #0d1117;
	border: 1px solid #30363d;
	border-radius: 10px;
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: transform 0.2s, border-color 0.2s;
}

.rn-benefit-card:hover {
	border-color: #3b82f6;
	transform: translateY(-2px);
}

.rn-benefit-icon {
	font-size: 1.25rem;
	line-height: 1;
}

.rn-benefit-text {
	font-size: 0.85rem;
	font-weight: 600;
	color: #f8fafc;
	line-height: 1.2;
}

/* Trust Indicators */
.rn-trust-indicators {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: #34d399;
	font-weight: 600;
	margin-bottom: 1.25rem;
}

.rn-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* Login Link Prompt */
.rn-already-claimed-link {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: #94a3b8;
}

.rn-already-claimed-link a {
	color: #60a5fa;
	font-weight: 600;
	text-decoration: none;
}

.rn-already-claimed-link a:hover {
	text-decoration: underline;
}

/* CTA Actions Row with Pulse Animation */
.rn-cta-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.rn-claim-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.3px;
	padding: 0.95rem 2.25rem;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
	transition: all 0.2s ease;
	text-decoration: none;
	animation: rnPulseBtn 3s infinite;
}

@keyframes rnPulseBtn {
	0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
	70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.rn-claim-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(37, 99, 235, 0.7);
}

.rn-secondary-link {
	color: #60a5fa;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.rn-secondary-link:hover {
	color: #93c5fd;
	text-decoration: underline;
}

/* Visual 3-Step Process Section */
.rn-how-it-works {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	background: #0d1117;
	border: 1px solid #30363d;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
	.rn-how-it-works { grid-template-columns: 1fr; }
}

.rn-step-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.825rem;
	color: #cbd5e1;
	font-weight: 500;
}

.rn-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #1e293b;
	color: #38bdf8;
	font-weight: 800;
	font-size: 0.75rem;
	border: 1px solid #334155;
}

/* Disclaimer Note */
.rn-disclaimer-note {
	font-size: 0.775rem;
	color: #94a3b8;
	line-height: 1.4;
	border-top: 1px solid #21262d;
	padding-top: 12px;
}

/* Real Dashboard Screenshot / Mockup Container (Right Side) */
.rn-mockup-container {
	background: #0d1117;
	border: 1px solid #30363d;
	border-radius: 16px;
	padding: 1.25rem;
	box-shadow: 0 20px 40px rgba(0,0,0,0.5);
	position: relative;
	transform: translateY(10px);
	transition: transform 0.6s ease-out;
}

.rn-founder-claim-banner.rn-visible .rn-mockup-container {
	transform: translateY(0);
}

.rn-mockup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 10px;
	border-bottom: 1px solid #21262d;
	margin-bottom: 12px;
}

.rn-mockup-dots {
	display: flex;
	gap: 6px;
}

.rn-mockup-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #30363d;
}

.rn-mockup-dot.red { background: #ef4444; }
.rn-mockup-dot.yellow { background: #f59e0b; }
.rn-mockup-dot.green { background: #10b981; }

.rn-mockup-card {
	background: #161b22;
	border: 1px solid #30363d;
	border-radius: 10px;
	padding: 1rem;
	margin-bottom: 10px;
}

.rn-mockup-stat-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.rn-mockup-stat {
	background: #0d1117;
	border: 1px solid #21262d;
	border-radius: 8px;
	padding: 8px 12px;
	text-align: center;
}

.rn-mockup-stat-val {
	font-size: 1.25rem;
	font-weight: 800;
	color: #38bdf8;
}

.rn-mockup-stat-lbl {
	font-size: 0.7rem;
	color: #94a3b8;
}

/* Badge Preview Options Grid inside Mockup */
.rn-mockup-badge-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 10px;
}

.rn-mockup-badge-item {
	background: #0d1117;
	border: 1px solid #21262d;
	border-radius: 6px;
	padding: 6px;
	text-align: center;
	font-size: 0.7rem;
	color: #94a3b8;
}

/* Founder FAQ Section directly under banner */
.rn-founder-faq-wrap {
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 16px;
	padding: 2rem;
	margin-bottom: 3rem;
}

.rn-founder-faq-wrap h3 {
	font-size: 1.25rem;
	color: #ffffff;
	margin: 0 0 1rem 0;
	border-bottom: 1px solid #1e293b;
	padding-bottom: 10px;
}

/* Layer 2 Company Profile Box */
.rn-company-profile-box { background: #0f172a; border: 1px solid #1e293b; border-left: 4px solid #3b82f6; border-radius: 12px; padding: 1.75rem; margin: 3rem 0; }
.rn-cp-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.rn-cp-brand { display: flex; align-items: center; gap: 16px; }
.rn-cp-logo { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; background: #1e293b; padding: 4px; }
.rn-cp-title { font-size: 1.15rem; color: #ffffff; margin: 0 0 2px 0; font-weight: 700; }
.rn-cp-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 700; color: #10b981; text-transform: uppercase; }
.rn-cp-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.25rem; }
.rn-cp-link { display: inline-flex; align-items: center; gap: 8px; background: #1e293b; color: #cbd5e1; padding: 8px 14px; border-radius: 8px; font-size: 0.875rem; font-weight: 500; text-decoration: none; border: 1px solid #334155; }
.rn-cp-link.highlight { background: rgba(59, 130, 246, 0.15); border-color: #3b82f6; color: #60a5fa; }
.rn-cp-socials { display: flex; gap: 16px; font-size: 0.85rem; border-top: 1px solid #1e293b; padding-top: 12px; }
.rn-cp-socials a { color: #94a3b8; text-decoration: none; }

/* Subscriptions & Hub */
.rn-sub-card { background: linear-gradient(135deg, #0f172a, #1e293b); border: 1px solid #334155; border-radius: 14px; padding: 1.75rem; margin: 3rem 0; }
.rn-sub-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

.rn-hub-section { background: #0f172a; border: 1px solid #1e293b; border-radius: 14px; padding: 1.75rem; margin: 2.5rem 0; }
.rn-hub-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; border-bottom: 1px solid #1e293b; padding-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.rn-hub-title h3 { font-size: 1.25rem; color: #ffffff; margin: 0; font-weight: 700; }

.rn-update-card { background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem; }
.rn-update-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rn-version-badge { display: inline-block; background: #2563eb; color: #ffffff; font-weight: 800; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; margin-right: 8px; }
.rn-update-card-title { color: #ffffff; font-size: 1.05rem; }
.rn-update-date { font-size: 0.8rem; color: #94a3b8; }
.rn-update-body { color: #cbd5e1; font-size: 0.925rem; line-height: 1.6; }

.rn-roadmap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.rn-roadmap-col { background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 1.25rem; }
.rn-roadmap-col h4 { color: #ffffff; margin: 0 0 1rem 0; font-size: 1rem; border-bottom: 1px solid #30363d; padding-bottom: 8px; }
.rn-rm-item { background: #0d1117; border: 1px solid #30363d; border-left: 3px solid #60a5fa; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; font-size: 0.875rem; }
.rn-rm-item p { color: #94a3b8; margin: 4px 0 0 0; font-size: 0.8rem; }
.rn-rm-item.in-progress { border-left-color: #f59e0b; }
.rn-rm-item.completed { border-left-color: #10b981; }

.rn-issue-card { background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem; }
.rn-faq-item { background: #161b22; border: 1px solid #30363d; border-radius: 10px; margin-bottom: 10px; padding: 1rem; }
.rn-faq-q { cursor: pointer; color: #ffffff; font-size: 0.95rem; }
.rn-faq-a { color: #cbd5e1; font-size: 0.9rem; margin-top: 10px; padding-top: 10px; border-top: 1px solid #30363d; }
.rn-media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.rn-feature-item { display: flex; gap: 1rem; align-items: center; background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 1rem; margin-bottom: 10px; }
.rn-feature-upvote-box { display: flex; flex-direction: column; align-items: center; background: #0d1117; border: 1px solid #30363d; border-radius: 8px; padding: 6px 12px; min-width: 44px; }
.rn-upvote-btn { background: transparent; border: none; cursor: pointer; font-size: 1.1rem; padding: 0; }
.rn-vote-count { font-size: 0.85rem; font-weight: 800; color: #38bdf8; margin-top: 2px; }

/* Modal */
.rn-modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 1rem; box-sizing: border-box; }
.rn-modal-card { background: #161b22; border: 1px solid #30363d; border-radius: 16px; max-width: 580px; width: 100%; padding: 2.25rem; position: relative; max-height: 90vh; overflow-y: auto; color: #f8fafc; }
.rn-modal-close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: #94a3b8; font-size: 2rem; cursor: pointer; }
.rn-modal-header h2 { font-size: 1.5rem; color: #ffffff; margin: 0 0 6px 0; }
.rn-modal-header p { color: #94a3b8; font-size: 0.9rem; margin: 0 0 1.5rem 0; }
.rn-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rn-modal-field { margin-bottom: 1.15rem; }
.rn-modal-field label { display: block; font-size: 0.85rem; font-weight: 600; color: #cbd5e1; margin-bottom: 6px; }
.rn-modal-field input[type="text"], .rn-modal-field input[type="email"], .rn-modal-field input[type="url"], .rn-modal-field select { width: 100%; padding: 0.7rem 0.9rem; background: #0d1117; border: 1px solid #30363d; border-radius: 8px; color: #f8fafc; font-size: 0.9rem; box-sizing: border-box; }
.rn-modal-submit-btn { width: 100%; padding: 0.85rem; background: linear-gradient(135deg, #2563eb, #1d4ed8); border: none; border-radius: 8px; color: #ffffff; font-weight: 700; font-size: 1rem; cursor: pointer; margin-top: 1rem; }
.rn-modal-alert { padding: 1rem; border-radius: 8px; margin-bottom: 1.25rem; font-size: 0.875rem; }
.rn-modal-alert.success { background: rgba(16, 185, 129, 0.15); border: 1px solid #10b981; color: #6ee7b7; }
.rn-modal-alert.error { background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; color: #fca5a5; }
