:root {
	--google-blue: #3b82f6;
	--google-red: #ef4444;
	--google-yellow: #f59e0b;
	--google-green: #10b981;
	
	--bg-primary: #06070d;
	--bg-secondary: #0c0e17;
	--bg-tertiary: #131726;
	
	--text-primary: #f8fafc;
	--text-secondary: #94a3b8;
	--text-light: #64748b;
	
	--border-color: rgba(255, 255, 255, 0.06);
	--glass-bg: rgba(255, 255, 255, 0.02);
	--glass-border: rgba(255, 255, 255, 0.05);
	
	--card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
	--card-shadow-hover: 0 20px 40px -10px rgba(59, 130, 246, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.2);
	
	--font-heading: 'Outfit', 'Inter', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-mono: 'Fira Code', monospace;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
	background-color: var(--bg-primary);
	background-image: 
		radial-gradient(circle at 50% 50%, #0d0f1a 0%, var(--bg-primary) 100%),
		linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
	background-size: 100% 100%, 40px 40px, 40px 40px;
	color: var(--text-primary);
	font-family: var(--font-body);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Ambient Backglow circles */
.glow-bg {
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	filter: blur(140px);
	opacity: 0.12;
	z-index: -1;
	pointer-events: none;
}
.glow-blue {
	background: var(--google-blue);
	top: -50px;
	right: -50px;
}
.glow-yellow {
	background: var(--google-yellow);
	bottom: 15%;
	left: -150px;
}

/* Header Section */
header {
	background: rgba(6, 7, 13, 0.75);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border-color);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.85rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-section {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
}

.logo-img {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

.logo-text {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	display: flex;
}

.logo-letter-i { color: var(--google-blue); }
.logo-letter-c { color: var(--google-red); }
.logo-letter-a { color: var(--google-yellow); }
.logo-letter-r { color: var(--google-blue); }
.logo-letter-e { color: var(--google-green); }

nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

nav a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.35rem;
	border-radius: 100px;
	font-weight: 600;
	font-size: 0.85rem;
	text-decoration: none;
	cursor: pointer;
	border: none;
}

.btn-primary {
	background: var(--google-blue);
	color: white;
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
	background: #2563eb;
}

.btn-outline {
	background: transparent;
	color: var(--google-blue);
	border: 1.5px solid var(--google-blue);
}

.btn-outline:hover {
	background: rgba(59, 130, 246, 0.08);
	transform: translateY(-2px);
}

/* Main Section */
main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 7rem 2rem 3rem;
}

/* Hero Section */
.hero {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 3rem;
	align-items: center;
	margin-bottom: 4rem;
}

.hero-tagline {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(59, 130, 246, 0.08);
	color: var(--google-blue);
	padding: 0.35rem 0.85rem;
	border-radius: 100px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 1.2rem;
}

.hero-tagline span {
	width: 5px;
	height: 5px;
	background: var(--google-blue);
	border-radius: 50%;
	display: inline-block;
	animation: heartbeat 1.5s infinite;
}

.hero h1 {
	font-family: var(--font-heading);
	font-size: 3rem;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -1.2px;
	margin-bottom: 1rem;
}

.hero h1 span.accent-blue { color: var(--google-blue); }
.hero h1 span.accent-red { color: var(--google-red); }
.hero h1 span.accent-green { color: var(--google-green); }

.hero p {
	color: var(--text-secondary);
	font-size: 1rem;
	margin-bottom: 2rem;
	max-width: 540px;
}

.hero-ctas {
	display: flex;
	gap: 0.85rem;
}

/* 3D Holographic Canvas interactive area */
.canvas-3d-container {
	position: relative;
	width: 100%;
	height: 380px;
	background: rgba(255, 255, 255, 0.01);
	border: 1px solid var(--border-color);
	border-radius: 28px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.canvas-3d {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: auto;
}

.canvas-instruction {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(6, 7, 13, 0.8);
	border: 1px solid var(--border-color);
	padding: 0.35rem 0.85rem;
	border-radius: 100px;
	font-size: 0.7rem;
	color: var(--text-secondary);
	pointer-events: none;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-weight: 500;
}

/* Features Grid - condensed & compact */
.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-header h2 {
	font-family: var(--font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: -0.8px;
	margin-bottom: 0.65rem;
}

.section-header p {
	color: var(--text-secondary);
	font-size: 0.95rem;
	max-width: 500px;
	margin: 0 auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-bottom: 4rem;
}

.feature-card {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: var(--card-shadow);
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
}

.feature-card.border-blue::before { background: var(--google-blue); }
.feature-card.border-red::before { background: var(--google-red); }
.feature-card.border-yellow::before { background: var(--google-yellow); }
.feature-card.border-green::before { background: var(--google-green); }

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--card-shadow-hover);
	border-color: rgba(59, 130, 246, 0.15);
}

.feature-icon-wrapper {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.2rem;
}

.feature-card.border-blue .feature-icon-wrapper { background: rgba(59, 130, 246, 0.1); color: var(--google-blue); }
.feature-card.border-red .feature-icon-wrapper { background: rgba(239, 68, 68, 0.1); color: var(--google-red); }
.feature-card.border-yellow .feature-icon-wrapper { background: rgba(245, 158, 11, 0.1); color: var(--google-yellow); }
.feature-card.border-green .feature-icon-wrapper { background: rgba(16, 185, 129, 0.1); color: var(--google-green); }

.feature-card h3 {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.feature-card p {
	color: var(--text-secondary);
	font-size: 0.85rem;
}

/* Simulator Section */
.simulator-section {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 28px;
	padding: 3rem;
	margin-bottom: 4rem;
	box-shadow: var(--card-shadow);
}

.simulator-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.simulator-tabs {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.sim-tab-btn {
	background: var(--bg-primary);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 1.2rem;
	text-align: left;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.sim-tab-btn.active {
	border-color: var(--google-blue);
	background: rgba(59, 130, 246, 0.03);
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.05);
}

.sim-tab-btn.active .sim-tab-icon {
	background: var(--google-blue);
	color: white;
}

.sim-tab-icon {
	width: 38px;
	height: 38px;
	background: var(--bg-tertiary);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.1rem;
	color: var(--text-secondary);
}

.sim-tab-btn-text h4 {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.15rem;
}

.sim-tab-btn-text p {
	color: var(--text-secondary);
	font-size: 0.8rem;
}

/* Smartphone Mockup CSS */
.phone-mockup-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.phone-mockup-wrapper::after {
	content: '';
	position: absolute;
	width: 70%;
	height: 70%;
	background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
	z-index: -1;
	filter: blur(35px);
}

.phone-frame {
	width: 250px;
	height: 500px;
	background: #151618;
	border-radius: 36px;
	padding: 8px;
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 0 3px #242528;
	position: relative;
	overflow: hidden;
}

.phone-notch {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	width: 12px;
	height: 12px;
	background: #000;
	border-radius: 50%;
	z-index: 100;
}

.phone-screen {
	width: 100%;
	height: 100%;
	background: #040508;
	border-radius: 28px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: relative;
}

.phone-header {
	height: 38px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.65rem;
	font-weight: 500;
	z-index: 50;
}

.phone-screen-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	position: relative;
	z-index: 10;
}

.phone-logo-wrapper {
	position: relative;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.2rem;
	animation: float 4s ease-in-out infinite;
}

.phone-logo-glow {
	position: absolute;
	width: 120%;
	height: 120%;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	z-index: -1;
	animation: pulse 2.5s infinite;
}

.phone-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.phone-app-name {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin-bottom: 0.4rem;
}

.phone-app-status {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--google-green);
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.3rem;
	margin-bottom: 1.5rem;
}

.phone-app-status::before {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--google-green);
	border-radius: 50%;
	display: inline-block;
	animation: blink 1.2s infinite;
}

.phone-stat-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	padding: 0.65rem 1rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin-bottom: 0.6rem;
}

.phone-stat-title {
	font-size: 0.55rem;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
	letter-spacing: 0.5px;
	font-weight: 600;
}

.phone-stat-val {
	font-size: 0.95rem;
	font-weight: 600;
	color: white;
}

.phone-stat-val.active-green { color: var(--google-green); }
.phone-stat-val.active-blue { color: var(--google-blue); }
.phone-stat-val.active-yellow { color: var(--google-yellow); }

.sim-phone-screen-inner {
	width: 100%;
	height: 100%;
	background: #040508;
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0.75rem;
}

.sim-notification-container {
	position: absolute;
	width: calc(100% - 1.5rem);
	left: 0.75rem;
	top: 2.8rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	z-index: 30;
}

.sim-notif-card {
	background: rgba(255, 255, 255, 0.98);
	border-radius: 10px;
	padding: 0.55rem 0.75rem;
	box-shadow: 0 8px 12px -2px rgba(0,0,0,0.4);
	display: flex;
	gap: 0.5rem;
	align-items: center;
	color: #000;
	animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sim-notif-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--google-blue);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: bold;
}

.sim-notif-content {
	flex: 1;
}

.sim-notif-app {
	font-size: 0.5rem;
	color: var(--text-light);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.sim-notif-title {
	font-size: 0.65rem;
	font-weight: 700;
}

.sim-notif-msg {
	font-size: 0.6rem;
	color: #4b5563;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 120px;
}

.sim-trigger-deck {
	margin-top: 0.85rem;
	width: 100%;
}

.sim-trigger-btn {
	width: 100%;
	background: var(--google-blue);
	color: white;
	border: none;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.8rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.sim-trigger-btn:hover {
	background: #2563eb;
}

/* Console logs area */
.console-logs-wrapper {
	margin-top: 1.5rem;
	background: #040508;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 1.2rem;
	box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.console-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.65rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding-bottom: 0.5rem;
}

.console-title {
	color: white;
	font-size: 0.7rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.console-title span {
	width: 6px;
	height: 6px;
	background: var(--google-green);
	border-radius: 50%;
	display: inline-block;
	animation: blink 1.5s infinite;
}

.console-lang {
	font-family: var(--font-mono);
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.65rem;
}

.console-body {
	height: 100px;
	overflow-y: auto;
	font-family: var(--font-mono);
	font-size: 0.65rem;
	color: #38bdf8;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	scroll-behavior: smooth;
}

.console-body::-webkit-scrollbar {
	width: 3px;
}
.console-body::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.06);
	border-radius: 2px;
}

.console-log-line {
	line-height: 1.35;
}

.console-log-line .log-tag { font-weight: bold; }
.console-log-line .log-tag.tag-system { color: #818cf8; }
.console-log-line .log-tag.tag-service { color: var(--google-yellow); }
.console-log-line .log-tag.tag-db { color: var(--google-green); }
.console-log-line .log-tag.tag-api { color: var(--google-blue); }

/* Setup Steps Section - simplified */
.setup-section {
	margin-bottom: 4rem;
}

.setup-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
}

.setup-step {
	position: relative;
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 20px;
	padding: 1.8rem;
	box-shadow: var(--card-shadow);
}

.setup-num {
	font-family: var(--font-heading);
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 0.65rem;
	opacity: 0.25;
}

.setup-step:nth-child(1) .setup-num { color: var(--google-blue); }
.setup-step:nth-child(2) .setup-num { color: var(--google-red); }
.setup-step:nth-child(3) .setup-num { color: var(--google-yellow); }
.setup-step:nth-child(4) .setup-num { color: var(--google-green); }

.setup-step h3 {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.setup-step p {
	color: var(--text-secondary);
	font-size: 0.8rem;
}

/* Footer Section */
footer {
	border-top: 1px solid var(--border-color);
	background: var(--bg-secondary);
	padding: 3rem 2rem 1.5rem;
}

.footer-grid {
	max-width: 1200px;
	margin: 0 auto 2rem;
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 3rem;
}

.footer-logo-desc {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-desc {
	color: var(--text-secondary);
	font-size: 0.85rem;
	max-width: 440px;
}

.footer-compliance-box {
	background: rgba(239, 68, 68, 0.05);
	border: 1px solid rgba(239, 68, 68, 0.1);
	border-radius: 14px;
	padding: 1rem;
	color: #ef4444;
	font-size: 0.75rem;
	line-height: 1.4;
}

.footer-compliance-box h5 {
	font-size: 0.8rem;
	font-weight: 700;
	margin-bottom: 0.3rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(255,255,255,0.03);
	padding-top: 1.5rem;
	font-size: 0.75rem;
	color: var(--text-light);
}

/* Keyframes */
@keyframes heartbeat {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

@keyframes pulse {
	0%, 100% { transform: scale(0.95); opacity: 0.35; }
	50% { transform: scale(1.1); opacity: 0.65; }
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

@keyframes slideDown {
	0% { transform: translateY(-15px); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

/* Responsive details */
@media (max-width: 968px) {
	.hero {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}
	.hero p {
		margin: 0 auto 1.5rem;
	}
	.hero-ctas {
		justify-content: center;
	}
	.simulator-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.phone-mockup-wrapper {
		order: -1;
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.header-container {
		padding: 0.85rem 1rem;
	}
	nav {
		display: none;
	}
}

/* -------------------------------------------------------------------------
   New Dynamic UI Additions (LEDs & Audio Pulse)
   ------------------------------------------------------------------------- */
.led-indicator {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 6px;
	box-shadow: inset 0px 1px 3px rgba(0,0,0,0.5), 0px 0px 6px currentColor;
}
.led-online {
	background-color: var(--emerald);
	color: var(--emerald);
	animation: pulse-emerald 2s infinite;
}
.led-offline {
	background-color: var(--rose);
	color: var(--rose);
}

@keyframes pulse-emerald {
	0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
	70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
	100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.audio-pulse-ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(99, 102, 241, 0.1);
	border: 2px solid rgba(99, 102, 241, 0.3);
	animation: ripple-audio 1.5s linear infinite;
}

@keyframes ripple-audio {
	0% {
		box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.2), 0 0 0 10px rgba(99, 102, 241, 0.2), 0 0 0 20px rgba(99, 102, 241, 0.2);
	}
	100% {
		box-shadow: 0 0 0 10px rgba(99, 102, 241, 0.2), 0 0 0 20px rgba(99, 102, 241, 0.2), 0 0 0 40px rgba(99, 102, 241, 0);
	}
}
