/* ========================================
   BAIOSS — Broadcast All in One Smart Solutions
   Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
	--bg-primary: #0a0c10;
	--bg-secondary: #111318;
	--bg-card: #181b21;
	--bg-elevated: #1e2229;
	--border: #2a2f38;
	--border-light: #3a404d;

	--accent-green: #00c853;
	--accent-green-hover: #00e676;
	--accent-green-dim: rgba(0, 200, 83, 0.1);
	--accent-blue: #2979ff;
	--accent-blue-hover: #448aff;
	--accent-blue-dim: rgba(41, 121, 255, 0.1);
	--accent-yellow: #ffd600;
	--accent-red: #ff1744;

	--text-primary: #ffffff;
	--text-secondary: #a0a8b8;
	--text-muted: #6b7280;
	--text-green: #00c853;

	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-xl: 24px;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
	--shadow-glow: 0 0 30px rgba(0, 200, 83, 0.15);

	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-fast: all 0.15s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

p {
	color: var(--text-secondary);
	font-size: 1.05rem;
	line-height: 1.7;
}

/* Container */
.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

.container-sm {
	max-width: 960px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: var(--radius-md);
	border: none;
	cursor: pointer;
	transition: var(--transition);
	font-family: var(--font-body);
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.btn-primary {
	background: var(--accent-green);
	color: #000;
}

.btn-primary:hover {
	background: var(--accent-green-hover);
	box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
	transform: translateY(-1px);
}

.btn-secondary {
	background: transparent;
	color: var(--text-primary);
	border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
	border-color: var(--accent-green);
	color: var(--accent-green);
	background: var(--accent-green-dim);
}

.btn-blue {
	background: var(--accent-blue);
	color: #fff;
}

.btn-blue:hover {
	background: var(--accent-blue-hover);
	box-shadow: 0 4px 20px rgba(41, 121, 255, 0.3);
}

.btn-sm {
	padding: 10px 20px;
	font-size: 0.85rem;
}

.btn-lg {
	padding: 18px 36px;
	font-size: 1rem;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(10, 12, 16, 0.85);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	transition: var(--transition);
}

.navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: -0.03em;
}

.logo-icon {
	width: 36px;
	height: 36px;
	background: var(--accent-green);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	color: #000;
	font-weight: 900;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
}

.nav-links a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-secondary);
	transition: var(--transition-fast);
	position: relative;
}

.nav-links a:hover,
.nav-links a.active {
	color: var(--text-primary);
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent-green);
	transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
	width: 100%;
}

.nav-cta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mobile-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 8px;
}

.mobile-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text-primary);
	transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(0, 200, 83, 0.08) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(41, 121, 255, 0.06) 0%, transparent 50%);
	z-index: 1;
}

.hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	z-index: 0;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 720px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: var(--accent-green-dim);
	border: 1px solid rgba(0, 200, 83, 0.2);
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--accent-green);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 24px;
}

.hero-badge .dot {
	width: 8px;
	height: 8px;
	background: var(--accent-green);
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.4;
	}
}

.hero h1 {
	margin-bottom: 20px;
	background: linear-gradient(135deg, #fff 0%, #a0a8b8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: 1.2rem;
	color: var(--text-secondary);
	margin-bottom: 40px;
	max-width: 560px;
}

.hero-ctas {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 60px;
}

.hero-visual {
	position: absolute;
	right: -5%;
	top: 50%;
	transform: translateY(-50%);
	width: 55%;
	max-width: 800px;
	z-index: 1;
}

.hero-visual img {
	width: 100%;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 200, 83, 0.1);
}

.hero-visual::before {
	content: '';
	position: absolute;
	inset: -20px;
	background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(41, 121, 255, 0.1));
	border-radius: calc(var(--radius-lg) + 20px);
	z-index: -1;
	filter: blur(40px);
}

/* Stats Bar */
.stats-bar {
	display: flex;
	gap: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--border);
}

.stat-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stat-value {
	font-family: var(--font-mono);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--accent-green);
}

.stat-label {
	font-size: 0.8rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
	padding: 100px 0;
	position: relative;
}

.section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 64px;
}

.section-header h2 {
	margin-bottom: 16px;
}

.section-header p {
	font-size: 1.1rem;
}

.section-label {
	display: inline-block;
	padding: 6px 14px;
	background: var(--accent-green-dim);
	border: 1px solid rgba(0, 200, 83, 0.15);
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--accent-green);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
}

/* ========================================
   CARDS
   ======================================== */

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
}

.card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 32px;
	transition: var(--transition);
}

.card:hover {
	border-color: var(--border-light);
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.card-icon {
	width: 48px;
	height: 48px;
	background: var(--accent-green-dim);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 1.4rem;
}

.card h3 {
	margin-bottom: 12px;
	font-size: 1.2rem;
}

.card p {
	font-size: 0.95rem;
	color: var(--text-secondary);
	margin-bottom: 20px;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent-green);
	transition: var(--transition-fast);
}

.card-link:hover {
	gap: 10px;
}

/* Product Cards (larger) */
.product-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	overflow: hidden;
	transition: var(--transition);
}

.product-card:hover {
	border-color: var(--accent-green);
	box-shadow: var(--shadow-glow);
}

.product-card-image {
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--bg-secondary);
}

.product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.product-card:hover .product-card-image img {
	transform: scale(1.03);
}

.product-card-body {
	padding: 32px;
}

.product-card-body h3 {
	margin-bottom: 10px;
	font-size: 1.4rem;
}

.product-card-body p {
	margin-bottom: 24px;
	font-size: 0.95rem;
}

/* Feature List */
.feature-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.feature-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.feature-list li::before {
	content: '✓';
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: var(--accent-green-dim);
	border-radius: 50%;
	font-size: 0.7rem;
	color: var(--accent-green);
	flex-shrink: 0;
}

/* ========================================
   IMAGE SHOWCASE
   ======================================== */

.showcase {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.showcase.reverse {
	direction: rtl;
}

.showcase.reverse>* {
	direction: ltr;
}

.showcase-image {
	position: relative;
}

.showcase-image img {
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
}

.showcase-image::before {
	content: '';
	position: absolute;
	inset: -15px;
	background: linear-gradient(135deg, rgba(0, 200, 83, 0.08), rgba(41, 121, 255, 0.05));
	border-radius: calc(var(--radius-lg) + 15px);
	z-index: -1;
	filter: blur(30px);
}

.showcase-content h3 {
	margin-bottom: 16px;
}

.showcase-content p {
	margin-bottom: 20px;
}

/* ========================================
   PROTOCOL BADGES
   ======================================== */

.protocol-badges {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.protocol-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: var(--font-mono);
	font-size: 0.85rem;
	font-weight: 600;
	transition: var(--transition);
}

.protocol-badge:hover {
	border-color: var(--accent-green);
	background: var(--accent-green-dim);
}

.protocol-badge .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.protocol-badge .dot.srt {
	background: var(--accent-green);
}

.protocol-badge .dot.rtmp {
	background: var(--accent-blue);
}

.protocol-badge .dot.ndi {
	background: var(--accent-yellow);
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 32px;
}

.testimonial-text {
	font-size: 1.1rem;
	font-style: italic;
	color: var(--text-primary);
	margin-bottom: 24px;
	line-height: 1.6;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.testimonial-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--accent-green-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--accent-green);
}

.testimonial-info strong {
	display: block;
	font-size: 0.95rem;
	color: var(--text-primary);
}

.testimonial-info span {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
	background: linear-gradient(135deg, rgba(0, 200, 83, 0.08), rgba(41, 121, 255, 0.05));
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 80px 48px;
	text-align: center;
}

.cta-section h2 {
	margin-bottom: 16px;
}

.cta-section p {
	max-width: 560px;
	margin: 0 auto 32px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
	background: var(--bg-secondary);
	border-top: 1px solid var(--border);
	padding: 64px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}

.footer-brand p {
	margin: 16px 0 24px;
	font-size: 0.9rem;
	max-width: 280px;
}

.footer-social {
	display: flex;
	gap: 12px;
}

.footer-social a {
	width: 36px;
	height: 36px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	color: var(--text-secondary);
	transition: var(--transition);
}

.footer-social a:hover {
	border-color: var(--accent-green);
	color: var(--accent-green);
}

.footer-col h4 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	margin-bottom: 20px;
}

.footer-col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-col a {
	font-size: 0.9rem;
	color: var(--text-secondary);
	transition: var(--transition-fast);
}

.footer-col a:hover {
	color: var(--accent-green);
}

.footer-bottom {
	border-top: 1px solid var(--border);
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
	padding: 140px 0 60px;
	text-align: center;
	position: relative;
}

.page-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 0%, rgba(0, 200, 83, 0.06) 0%, transparent 60%);
}

.page-header .container {
	position: relative;
	z-index: 1;
}

.page-header h1 {
	margin-bottom: 16px;
}

.page-header p {
	max-width: 600px;
	margin: 0 auto;
	font-size: 1.1rem;
}

/* ========================================
   TABS
   ======================================== */

.tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.tab {
	padding: 12px 24px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-secondary);
	cursor: pointer;
	transition: var(--transition);
}

.tab.active,
.tab:hover {
	background: var(--accent-green-dim);
	border-color: var(--accent-green);
	color: var(--accent-green);
}

/* ========================================
   SPEC TABLE
   ======================================== */

.spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.spec-table th {
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.75rem;
}

.spec-table td {
	color: var(--text-secondary);
}

.spec-table tr:hover td {
	color: var(--text-primary);
	background: var(--bg-elevated);
}

/* ========================================
   FORM
   ======================================== */

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-secondary);
	margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 14px 16px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: 0.95rem;
	transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--accent-green);
	box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.form-group textarea {
	min-height: 120px;
	resize: vertical;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* ========================================
   CONTACT CARDS
   ======================================== */

.contact-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 32px;
	text-align: center;
	transition: var(--transition);
}

.contact-card:hover {
	border-color: var(--accent-green);
}

.contact-card-icon {
	width: 56px;
	height: 56px;
	background: var(--accent-green-dim);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	font-size: 1.5rem;
}

.contact-card h3 {
	margin-bottom: 8px;
	font-size: 1.1rem;
}

.contact-card p {
	font-size: 0.9rem;
	margin-bottom: 16px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
	.hero-visual {
		position: relative;
		right: auto;
		top: auto;
		transform: none;
		width: 100%;
		margin-top: 48px;
	}

	.hero {
		flex-direction: column;
		padding-top: 100px;
	}

	.hero-content {
		max-width: 100%;
	}

	.showcase {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.showcase.reverse {
		direction: ltr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {

	.nav-links,
	.nav-cta {
		display: none;
	}

	.mobile-toggle {
		display: flex;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.stats-bar {
		flex-wrap: wrap;
		gap: 24px;
	}

	.card-grid {
		grid-template-columns: 1fr;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.section {
		padding: 64px 0;
	}

	.cta-section {
		padding: 48px 24px;
	}
}

/* Mobile Menu */
.mobile-menu {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--bg-primary);
	z-index: 999;
	padding: 100px 24px 24px;
	flex-direction: column;
	gap: 24px;
}

.mobile-menu.active {
	display: flex;
}

.mobile-menu a {
	font-size: 1.3rem;
	font-weight: 600;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
	margin-top: 16px;
}