/* Celerum Concept 15 - Improved Production Style System */
:root {
	--blue: #263D89;
	--blue-dark: #1b2b64;
	--green: #79BF55;
	--green-hover: #67a944;
	--green-glow: rgba(121, 191, 85, 0.25);
	--aqua: #2CBFD1;
	--ink: #14203a;
	--muted: #657087;
	--line: #dfe6ef;
	--pale: #f5f8fb;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Arial, sans-serif;
	color: var(--ink);
	background: #fff;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* Polished Header & Navigation */
nav {
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5vw;
	border-bottom: 1px solid #e2e8f0;
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px);
	z-index: 100;
}

.brand {
	font-size: 24px;
	font-weight: 800;
	color: var(--blue);
	letter-spacing: -0.8px;
	position: relative;
	padding-left: 28px;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.brandmark {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	gap: 3px;
}

.brandmark i {
	width: 5px;
	height: 14px;
	border-radius: 3px;
	background: var(--blue);
	display: block;
}

.brandmark i:nth-child(2) {
	background: var(--green);
	height: 18px;
}
.brandmark i:nth-child(3) {
	background: var(--aqua);
	height: 12px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	color: #475569;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: color 0.15s ease;
	position: relative;
	padding: 4px 0;
}

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

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--blue);
	transition: width 0.2s ease;
}

.nav-links a:hover::after {
	width: 100%;
}

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

.cta-btn {
	background: transparent;
	color: var(--blue) !important;
	border: 1px solid var(--blue);
	padding: 9px 18px;
	border-radius: 8px;
	font-weight: 600 !important;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.cta-btn:hover {
	background: rgba(38, 61, 137, 0.06);
}

.btn-green {
	background: var(--green);
	color: #fff !important;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 700 !important;
	font-size: 14px;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 14px var(--green-glow);
}

.btn-green:hover {
	background: var(--green-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px var(--green-glow);
}

/* Hero Section & Orbit Background */
.hero {
	padding: 60px 4vw 40px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	display: grid;
	grid-template-columns: 38% 62%;
	align-items: center;
	gap: 40px;
	max-width: 1360px;
	margin: 0 auto;
}

@media (max-width: 960px) {
	.hero {
		grid-template-columns: 1fr;
		padding: 40px 4vw;
	}
}

.eyebrow {
	font-size: 12px;
	letter-spacing: 2px;
	color: var(--blue);
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.hero h1 {
	font-size: clamp(38px, 4.5vw, 68px);
	line-height: 1.02;
	letter-spacing: -2.5px;
	margin: 0 0 20px;
	color: #0f172a;
}

.hero h1 span {
	color: var(--blue);
}

.hero p.lead {
	font-size: 18px;
	line-height: 1.55;
	color: #475569;
	margin: 0 0 28px;
}

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

.micro {
	font-size: 12px;
	color: #64748b;
	margin-top: 20px;
	font-weight: 500;
}

.product-wrap {
	position: relative;
}

.orbit {
	position: absolute;
	top: -40px;
	left: -5%;
	width: 110%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.product-frame {
	position: relative;
	z-index: 2;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.product-head {
	height: 46px;
	background: #f1f5f9;
	border-bottom: 1px solid #cbd5e1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	font-size: 13px;
	font-family: "JetBrains Mono", monospace;
	color: #64748b;
}

.product-head .live {
	color: var(--green);
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
}

.product-head .live::before {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--green);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--green);
}

/* Lens Selector Bar */
.hero-proof {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 16px;
	background: #fff;
	border-top: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
	.hero-proof {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		-webkit-overflow-scrolling: touch;
	}
	.hero-proof::-webkit-scrollbar {
		display: none;
	}
}

.lens {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	color: #334155;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.lens:hover {
	border-color: var(--blue);
	color: var(--blue);
}

.lens.active {
	background: var(--blue);
	color: #fff;
	border-color: var(--blue);
	box-shadow: 0 4px 12px rgba(38, 61, 137, 0.25);
}

.hero-ui img.real-ui {
	width: 100%;
	height: auto;
	display: block;
}

.hero-explain {
	padding: 24px 28px;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

.hero-explain .eyebrow {
	font-size: 12px;
	font-weight: 700;
	color: var(--green);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 4px;
}

.hero-explain h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 8px 0;
}

.hero-explain p {
	font-size: 15px;
	color: #475569;
	margin: 0;
}

/* SVG Bridge Transition */
.bridge {
	margin-top: -2px;
	overflow: hidden;
	line-height: 0;
}

.bridge svg {
	width: 100%;
	height: 120px;
}

/* Narrative Story Section */
.story {
	padding: 80px 4vw;
	max-width: 1280px;
	margin: 0 auto;
}

.intro {
	margin-bottom: 40px;
	text-align: center;
}

.story h2 {
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.15;
	letter-spacing: -1px;
	margin: 8px 0 16px;
}

.story p {
	font-size: 17px;
	color: var(--muted);
}

.story-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 48px;
}

@media (max-width: 900px) {
	.story-grid {
		grid-template-columns: 1fr;
	}
}

.steps {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.step {
	padding: 20px 24px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--pale);
	cursor: pointer;
	transition: all 0.2s ease;
}

.step:hover {
	border-color: #b5c4d6;
}

.step.active {
	background: #fff;
	border-color: var(--blue);
	box-shadow: 0 6px 20px rgba(38,61,137,.08);
}

.step small {
	font-size: 11px;
	font-weight: 700;
	color: var(--blue);
	letter-spacing: 1px;
}

.step h3 {
	font-size: 18px;
	margin: 6px 0 8px;
}

.step p {
	font-size: 14px;
	color: var(--muted);
	margin: 0;
}

.stage {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	padding: 24px;
	box-shadow: 0 12px 32px rgba(20,32,58,.06);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.screen {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e8eef5;
	background: #f8fafc;
}

.screen img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity 0.2s ease;
}

.explain-card {
	background: var(--pale);
	padding: 16px 20px;
	border-radius: 10px;
	border: 1px solid var(--line);
	margin-top: 16px;
}

/* Three Capability Cards Section */
.three-section {
	padding: 80px 4vw;
	background: #f8fafc;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.three-container {
	max-width: 1280px;
	margin: 0 auto;
}

.three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 36px;
}

@media (max-width: 900px) {
	.three {
		grid-template-columns: 1fr;
	}
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 32px;
	box-shadow: 0 4px 12px rgba(20,32,58,.04);
}

.card h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	margin-top: 0;
	margin-bottom: 12px;
}

.card p {
	font-size: 15px;
	color: var(--muted);
	line-height: 1.55;
	margin: 0;
}

/* Platform Capabilities Section */
.platform {
	padding: 80px 4vw;
	max-width: 1280px;
	margin: 0 auto;
}

.platform-flow {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 36px;
	justify-content: center;
}

.pill {
	background: var(--pale);
	border: 1px solid var(--line);
	padding: 14px 24px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.pill.core {
	background: var(--blue);
	color: #fff;
	border-color: var(--blue);
	box-shadow: 0 4px 14px rgba(38,61,137,.2);
}

/* Light CTA Bar (Positioned Above Stats Strip) */
.cta {
	background: var(--pale);
	color: var(--ink);
	padding: 80px 4vw;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.cta-inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	text-align: left;
}

@media (max-width: 800px) {
	.cta-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

.cta .eyebrow {
	color: var(--blue);
}

.cta h2 {
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.08;
	letter-spacing: -1.5px;
	margin: 12px 0 0;
	color: var(--ink);
}

.cta p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
	margin-bottom: 24px;
}

/* Horizontal 4-Tile Grid Across the Page with Celerum Blue Background */
.stats-strip {
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
	color: #fff;
	padding: 70px 4vw;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-container {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.stats-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {
	.stats-container {
		grid-template-columns: 1fr;
	}
}

.stat-card {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-top: 3px solid var(--green);
	border-radius: 14px;
	padding: 32px 20px;
	text-align: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: all 0.25s ease;
}

.stat-card:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
	border-color: rgba(255, 255, 255, 0.3);
}

.stat-number {
	font-size: 40px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -1px;
	margin-bottom: 8px;
	line-height: 1.1;
}

.stat-number span {
	color: #ffffff;
}

.stat-label {
	font-size: 13px;
	font-weight: 700;
	color: #e2e8f0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Modal Styling */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.8);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 200;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.modal-overlay.open {
	opacity: 1;
	pointer-events: auto;
}

.modal-box {
	background: #fff;
	border-radius: 18px;
	padding: 36px;
	max-width: 480px;
	width: 90%;
	box-shadow: 0 25px 50px rgba(0,0,0,0.25);
	position: relative;
	color: var(--ink);
}

.modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	background: none;
	border: none;
	font-size: 26px;
	cursor: pointer;
	color: var(--muted);
}

.form-group {
	margin-bottom: 18px;
	text-align: left;
}
.form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--ink);
}
.form-group input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 14px;
}

/* Beautiful Footer in Original Celerum Blue */
footer {
	background: var(--blue-dark);
	color: #e2e8f0;
	padding: 70px 4vw 30px;
	font-size: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 48px;
	margin-bottom: 50px;
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 500px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

.footer-col h4 {
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 18px;
	letter-spacing: 0.02em;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul li {
	margin-bottom: 12px;
}

.footer-col ul li a {
	color: #cbd5e1;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s ease;
}

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

.footer-bottom {
	max-width: 1280px;
	margin: 0 auto;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #94a3b8;
}

@media (max-width: 640px) {
	.footer-bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
}

/* Subpage Styles Added for Concept15 V2 (Clean Light Theme matching concept15) */

.subpage-hero {
	padding: 80px 5vw 60px;
	text-align: center;
	background: linear-gradient(180deg, var(--pale) 0%, #ffffff 100%);
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.subpage-hero h1 {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 16px auto 24px;
	max-width: 800px;
}

.subpage-hero p.lead {
	font-size: 18px;
	color: var(--muted);
	max-width: 600px;
	margin: 0 auto 32px;
}

/* Grid & Cards */
.content-grid {
	display: grid;
	gap: 32px;
	padding: 60px 5vw;
	max-width: 1200px;
	margin: 0 auto;
}

.content-grid.col-2 {
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.content-grid.col-3 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 32px;
	box-shadow: 0 4px 12px rgba(20, 32, 58, 0.04);
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
	transform: translateY(-4px);
	border-color: var(--blue);
	box-shadow: 0 12px 24px rgba(38, 61, 137, 0.08);
}

.card h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--ink);
}

.card p {
	font-size: 15px;
	color: var(--muted);
	line-height: 1.6;
	margin: 0;
}

/* Prose for Blog and Privacy */
.prose {
	max-width: 800px;
	margin: 60px auto;
	padding: 0 5vw;
	color: var(--ink);
	line-height: 1.8;
	font-size: 16px;
}

.prose h1,
.prose h2,
.prose h3 {
	color: var(--ink);
	margin-top: 2em;
	margin-bottom: 1em;
	font-weight: 700;
}

.prose h1 {
	font-size: 36px;
	margin-top: 0;
}
.prose h2 {
	font-size: 28px;
}
.prose h3 {
	font-size: 22px;
}

.prose p {
	color: #334155;
}

.prose ul,
.prose ol {
	padding-left: 20px;
	margin-bottom: 1.5em;
	color: #334155;
}

.prose li {
	margin-bottom: 8px;
}

/* Team Grid */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
	padding: 60px 5vw;
	max-width: 1200px;
	margin: 0 auto;
}

.team-card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 40px 32px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(20, 32, 58, 0.04);
}

.team-card img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 24px;
	border: 3px solid var(--blue);
}

.team-card h3 {
	margin-bottom: 4px;
	color: var(--ink);
}
.team-card .badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: var(--blue);
	background: rgba(38, 61, 137, 0.08);
	padding: 4px 12px;
	border-radius: 100px;
	margin-bottom: 16px;
}
.team-card p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
	max-width: 800px;
	margin: 60px auto;
	padding: 0 5vw;
}

.faq-item {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 12px;
	margin-bottom: 16px;
	overflow: hidden;
}

.faq-question {
	width: 100%;
	text-align: left;
	background: transparent;
	border: none;
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	padding: 24px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-answer {
	padding: 0 24px 24px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
	display: none;
}

.faq-item.active .faq-answer {
	display: block;
}

/* Forms */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	padding: 60px 5vw;
	max-width: 1200px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

.form-container {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 4px 12px rgba(20, 32, 58, 0.04);
}

.form-group textarea {
	width: 100%;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 12px 16px;
	color: var(--ink);
	font-family: inherit;
	min-height: 120px;
	resize: vertical;
}

/* Pricing Calculator */
.pricing-calculator-card {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 10px 30px rgba(20, 32, 58, 0.06);
}

.pricing-calculator-card input[type=range] {
	width: 100%;
	margin: 16px 0;
}

/* Blog Grid */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
	padding: 60px 5vw;
	max-width: 1200px;
	margin: 0 auto;
}

.blog-card {
	display: block;
	text-decoration: none;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 4px 12px rgba(20, 32, 58, 0.04);
}

.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(38, 61, 137, 0.08);
}

.blog-card-img {
	width: 100%;
	height: 200px;
	background: var(--pale);
	object-fit: cover;
}

.blog-card-content {
	padding: 24px;
}

.blog-card-content h3 {
	color: var(--ink);
	font-size: 20px;
	margin-bottom: 12px;
}

.blog-card-content p {
	color: var(--muted);
	font-size: 14px;
	margin-bottom: 16px;
}

.blog-meta {
	font-size: 12px;
	color: var(--blue);
	font-weight: 600;
}
