/*
 * Bhairav marketing site. Same charcoal-plus-deep-indigo tokens as
 * bhairavapp.closebee.com's theme.css -- kept as its own file here since a
 * landing page needs hero/feature-grid rules the app's component-driven
 * theme.css doesn't have. Structure/class names mirror
 * balajiweb.closebee.com's and bilzeeweb.closebee.com's own site.css (the
 * established pattern for this product family's marketing sites) -- only
 * the palette and copy change per product.
 */
:root {
	--bg-dark: #14151a;
	--charcoal-mid: #1c1e26;
	--charcoal-card: #191b22;
	--charcoal-border: #34384a;
	--indigo-accent: #4338ca;
	--indigo-hover: #6366f1;
	--text-light: #eef0fa;
	--text-muted: #9a9fc2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }

body {
	background: radial-gradient(ellipse 1200px 700px at 50% -10%, var(--charcoal-mid) 0%, var(--bg-dark) 60%);
	color: var(--text-light);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, .display {
	font-family: 'Poppins', 'Segoe UI', sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--indigo-hover); }

/* Nav */
.nav {
	position: sticky; top: 0; z-index: 20;
	background: rgba(20, 21, 26, 0.9);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--charcoal-border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.nav .brand-plate { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav .brand-plate img { height: 38px; width: auto; max-width: 160px; object-fit: contain; border-radius: 8px; display: block; background: #fff; padding: 4px 10px; }
.nav .nav-links { display: flex; align-items: center; gap: 28px; }
.nav .nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav .nav-links a:hover { color: var(--text-light); }
.nav .btn { white-space: nowrap; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 26px; border-radius: 9px; font-weight: 600; font-size: 15px;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-indigo { background: var(--indigo-accent); color: #fff; }
.btn-indigo:hover { background: var(--indigo-hover); color: #fff; }
.btn-outline { border-color: var(--charcoal-border); color: var(--text-light); background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: var(--indigo-accent); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 68px 0 88px; text-align: left; }
.hero-photo-frame {
	position: absolute; top: 0; bottom: 0; left: 0; right: 0;
	overflow: hidden; z-index: 0;
}
.hero-photo {
	position: absolute; top: 0; left: 0; height: 100%; width: 144%;
	object-fit: cover; object-position: left center;
}
.hero-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(20,21,26,0.85) 0%, rgba(20,21,26,0.72) 22%, rgba(20,21,26,0.38) 36%, rgba(20,21,26,0.1) 48%, rgba(20,21,26,0.1) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow {
	display: flex; width: max-content; align-items: center; gap: 8px;
	color: var(--indigo-hover); font-size: 13px; font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase;
	border: 1px solid var(--charcoal-border); border-radius: 999px;
	padding: 6px 16px; margin-bottom: 28px; background: rgba(20,21,26,0.5);
}
.hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.14; max-width: 400px; margin: 0 0 22px; }
.hero h1 .accent { color: var(--indigo-hover); }
.hero p.lede { color: var(--text-muted); font-size: 17px; max-width: 380px; margin: 0 0 36px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 20px; }
.hero .fine-print { color: var(--text-muted); font-size: 13px; }
@media (max-width: 860px) {
	.hero-scrim { background: linear-gradient(180deg, rgba(20,21,26,0.4) 0%, rgba(20,21,26,0.6) 55%, var(--bg-dark) 100%); }
	.hero-photo-frame { right: 0; border-radius: 0; }
	.hero-photo { width: 100%; }
	.hero { padding: 64px 0 56px; }
	.hero h1, .hero p.lede { max-width: 100%; }
}

/* Scale hero */
.scale-hero {
	background: linear-gradient(180deg, var(--charcoal-mid) 0%, var(--bg-dark) 100%);
	border-top: 1px solid var(--charcoal-border); border-bottom: 1px solid var(--charcoal-border);
	padding: 76px 0; text-align: center;
}
.scale-hero .kicker { color: var(--indigo-hover); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.scale-hero .figures { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 22px; }
.scale-hero .figure .num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(52px, 8vw, 84px); line-height: 1; color: var(--text-light); }
.scale-hero .figure .num .indigo { color: var(--indigo-hover); }
.scale-hero .figure .cap { color: var(--text-muted); font-size: 14.5px; margin-top: 10px; }
.scale-hero .divider { width: 1px; height: 64px; background: var(--charcoal-border); }
.scale-hero p { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto; }
@media (max-width: 640px) {
	.scale-hero .figures { gap: 20px; }
	.scale-hero .divider { display: none; }
}

.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; border: 1px solid var(--charcoal-border); }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.video-section { padding: 0; margin: 0; }
.video-section .video-embed { border-radius: 0; border: 0; }
.video-badge {
	position: absolute; top: 20px; left: 20px; z-index: 3;
	background: rgba(0,0,0,0.65); color: var(--text-light);
	font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
	padding: 8px 16px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.18);
	backdrop-filter: blur(4px);
}

/* Spotlight rows */
.spotlight-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
	padding: 52px 0; border-bottom: 1px solid var(--charcoal-border);
}
.spotlight-row:last-child { border-bottom: none; }
.spotlight-row:nth-child(even) .spotlight-text { order: 2; }
.spotlight-row:nth-child(even) .spotlight-visual { order: 1; }
.spotlight-text .kicker { color: var(--indigo-hover); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.spotlight-text h3 { font-size: 26px; margin-bottom: 14px; }
.spotlight-text p { color: var(--text-muted); font-size: 16px; }
.spotlight-visual {
	display: flex; align-items: center; justify-content: center;
	background: var(--charcoal-card); border: 1px solid var(--charcoal-border); border-radius: 16px;
	min-height: 220px; position: relative; overflow: hidden;
}
.spotlight-visual::before {
	content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(67,56,202,0.22) 0%, transparent 70%);
}
.spotlight-visual .vicon {
	width: 84px; height: 84px; border-radius: 20px; position: relative; z-index: 1;
	background: rgba(67,56,202,0.16); border: 1px solid rgba(67,56,202,0.4);
	display: flex; align-items: center; justify-content: center;
	color: var(--indigo-hover); font-size: 34px;
}
.spotlight-visual .chip-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; padding: 0 20px; }
.spotlight-visual .chip {
	background: rgba(255,255,255,0.05); border: 1px solid var(--charcoal-border); color: var(--text-light);
	font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}
.spotlight-visual .sync-flow { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
.spotlight-visual .sync-flow .node {
	width: 64px; height: 64px; border-radius: 14px; background: rgba(255,255,255,0.05);
	border: 1px solid var(--charcoal-border); display: flex; align-items: center; justify-content: center;
	color: var(--text-light); font-size: 24px;
}
.spotlight-visual .sync-flow i.fa-arrow-right-long { color: var(--indigo-hover); font-size: 20px; }
.spotlight-visual-shot::before { display: none; }
.spotlight-visual-shot { border: none; box-shadow: 0 45px 110px rgba(0,0,0,0.65), 0 0 140px rgba(99,102,241,0.45); }
.spotlight-visual-shot img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }

@media (max-width: 860px) {
	.spotlight-row { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
	.spotlight-row:nth-child(even) .spotlight-text,
	.spotlight-row:nth-child(even) .spotlight-visual { order: unset; }
}

/* Section headers */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head .kicker { color: var(--indigo-hover); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16.5px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-shot {
	border: none; border-radius: 14px; overflow: hidden;
	box-shadow: 0 45px 110px rgba(0,0,0,0.65), 0 0 140px rgba(99,102,241,0.45);
}
.feature-shot img { display: block; width: 100%; height: auto; }

.feature-shot, .spotlight-visual-shot { cursor: zoom-in; }
.feature-shot img, .spotlight-visual-shot img { transition: transform 0.25s ease; }
.feature-shot:hover img, .spotlight-visual-shot:hover img { transform: scale(1.015); }

.lightbox {
	display: none; position: fixed; inset: 0; z-index: 100;
	background: rgba(6,7,12,0.92); backdrop-filter: blur(6px);
	align-items: center; justify-content: center; padding: 40px; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,0.6); cursor: default; }
.lightbox-close {
	position: absolute; top: 24px; right: 28px; z-index: 101;
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--charcoal-border);
	background: rgba(255,255,255,0.06); color: var(--text-light); font-size: 18px;
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.12); }
.feature-card {
	background: var(--charcoal-card); border: 1px solid var(--charcoal-border); border-radius: 14px;
	padding: 28px 26px;
}
.feature-card .ficon {
	width: 46px; height: 46px; border-radius: 11px;
	background: rgba(67,56,202,0.16); border: 1px solid rgba(67,56,202,0.4);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 18px; color: var(--indigo-hover); font-size: 20px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 9px; }
.feature-card p { color: var(--text-muted); font-size: 14.5px; }

.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-card {
	background: var(--charcoal-card); border: 1px solid var(--charcoal-border); border-radius: 14px;
	padding: 28px 26px; text-align: center;
	display: block; text-decoration: none; color: inherit;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.partner-card:hover { border-color: var(--indigo-accent); transform: translateY(-3px); }
.partner-logo {
	width: 56px; height: 56px; border-radius: 14px; display: block; margin: 0 auto 18px;
	object-fit: cover;
}
.partner-logo-tallyplug { object-fit: contain; }
.partner-card h3 { font-size: 18px; margin-bottom: 4px; }
.partner-tag {
	display: inline-block; color: var(--indigo-hover); font-size: 12px; font-weight: 700;
	letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 12px;
}
.partner-card p:last-child { color: var(--text-muted); font-size: 14.5px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.step { text-align: center; padding: 0 20px; position: relative; }
.step .num {
	width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 20px;
	background: var(--bg-dark); border: 2px solid var(--indigo-accent); color: var(--indigo-hover);
	display: flex; align-items: center; justify-content: center;
	font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px;
	position: relative; z-index: 2;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14.5px; max-width: 260px; margin: 0 auto; }
.steps::before {
	content: ''; position: absolute; top: 22px; left: 16.6667%; right: 16.6667%; height: 2px;
	background: linear-gradient(90deg, var(--charcoal-border), var(--indigo-accent), var(--charcoal-border));
	z-index: 1;
}

/* Roles */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role-card { background: var(--charcoal-card); border: 1px solid var(--charcoal-border); border-radius: 14px; padding: 30px 28px; }
.role-card .role-badge {
	display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--indigo-hover); background: rgba(67,56,202,0.16); border: 1px solid rgba(67,56,202,0.4);
	border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}
.role-card h3 { font-size: 19px; margin-bottom: 12px; }
.role-card ul { list-style: none; }
.role-card li { color: var(--text-muted); font-size: 14.5px; padding: 6px 0 6px 24px; position: relative; }
.role-card li::before { content: '✓'; position: absolute; left: 0; color: var(--indigo-hover); font-weight: 700; }
.role-card li.no::before { content: '—'; color: var(--charcoal-border); }


/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	background: var(--charcoal-card); border: 1px solid var(--charcoal-border); border-radius: 14px; padding: 28px 24px;
}
.price-card.price-featured { border-color: var(--indigo-accent); box-shadow: 0 0 0 1px var(--indigo-accent); }
.price-default-badge {
	position: absolute; top: 0; right: 0;
	background: var(--indigo-accent); color: #fff; font-size: 11px; font-weight: 700;
	letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 14px 5px 16px;
	border-radius: 0 0 0 12px;
}
.price-icon {
	width: 42px; height: 42px; border-radius: 11px;
	background: rgba(67,56,202,0.16); border: 1px solid rgba(67,56,202,0.4);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px; color: var(--indigo-hover); font-size: 18px;
}
.price-card .role-badge {
	display: inline-block; width: max-content; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--text-light); background: rgba(67,56,202,0.16); border: 1px solid rgba(67,56,202,0.4);
	border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}
.price-card .price-scope { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.price-card .price-amount { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 26px; margin-bottom: 18px; }
.price-card .price-amount span { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px; color: var(--text-muted); }
.price-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.price-card li { color: var(--text-muted); font-size: 14px; padding: 6px 0 6px 24px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--indigo-hover); font-weight: 700; }
.price-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.price-desc p { margin-bottom: 10px; }
.price-desc strong { color: var(--text-light); }
.price-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.price-tab {
	font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
	color: var(--text-muted); background: rgba(255,255,255,0.03); border: 1px solid var(--charcoal-border);
	border-radius: 999px; padding: 5px 12px; cursor: pointer;
}
.price-tab:hover { border-color: var(--indigo-accent); color: var(--text-light); }
.price-tab.active { color: #fff; background: var(--indigo-accent); border-color: var(--indigo-accent); }
.price-cta { width: 100%; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
	display: flex; align-items: center; gap: 16px;
	background: var(--charcoal-card); border: 1px solid var(--charcoal-border); border-radius: 14px; padding: 20px;
}
.contact-info-icon {
	width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px;
	background: rgba(67,56,202,0.16); border: 1px solid rgba(67,56,202,0.4);
	display: flex; align-items: center; justify-content: center; color: var(--indigo-hover); font-size: 17px;
}
.contact-info-label { color: var(--text-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.contact-info-value { font-size: 15px; font-weight: 600; }
.contact-form-card {
	background: var(--charcoal-card); border: 1px solid var(--charcoal-border); border-radius: 14px; padding: 30px 28px;
}
.contact-form-card .form-row { margin-bottom: 18px; }
.contact-form-card label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.contact-form-card .form-control {
	width: 100%; padding: 11px 14px; border-radius: 8px; font-size: 14.5px; font-family: inherit;
	background: var(--bg-dark); border: 1px solid var(--charcoal-border); color: var(--text-light); outline: none;
}
.contact-form-card .form-control:focus { border-color: var(--indigo-accent); }
.contact-form-card textarea.form-control { resize: vertical; }
#contact_error { color: #f87171; font-size: 14px; margin-bottom: 16px; }
@media (max-width: 760px) {
	.contact-grid { grid-template-columns: 1fr; }
}

/* Closing CTA */
.closing { text-align: center; padding: 90px 0 110px; }
.closing h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 16px; }
.closing p { color: var(--text-muted); font-size: 17px; max-width: 520px; margin: 0 auto 34px; }

/* Footer */
footer { border-top: 1px solid var(--charcoal-border); padding: 32px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer .brand-plate { display: inline-flex; align-items: center; gap: 8px; }
footer .brand-plate img { height: 26px; width: auto; max-width: 130px; object-fit: contain; border-radius: 5px; display: block; background: #fff; padding: 3px 8px; }
footer .fine { color: var(--text-muted); font-size: 13px; }

@media (max-width: 860px) {
	.feature-grid { grid-template-columns: 1fr 1fr; }
	.partner-grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr; gap: 40px; }
	.steps::before { display: none; }
	.roles { grid-template-columns: 1fr; }
	.pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.feature-grid { grid-template-columns: 1fr; }
	.partner-grid { grid-template-columns: 1fr; }
	.pricing-grid { grid-template-columns: 1fr; }
	.nav .nav-links { display: none; }
}
