:root {
	--primary-color: #22d36a; /* Burpify neon green */
	--secondary-color: #f6ecb8; /* Light yellow from logo */
	--accent-color: #ff7e52; /* Orange accent from logo */
	--dark-color: #1a1a2e; /* Deep navy */
	--light-color: #ffffff;
	--text-color: #333333;
	--gradient-primary: linear-gradient(135deg, var(--primary-color), #16a34a);
	--gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ffc764);
	--box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	--border-radius: 12px;
	--transition: all 0.3s ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Poppins", sans-serif;
	color: var(--text-color);
	background-color: #fafafa;
	line-height: 1.6;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

/* Header & Navigation */
header {
	background-color: var(--light-color);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

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

.logo h1 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
}

.nav-links {
	display: flex;
	gap: 2rem;
}

.nav-links a {
	font-weight: 500;
	padding: 5px;
	position: relative;
}

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

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

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

.download-btn {
	background: var(--gradient-primary);
	color: white;
	padding: 10px 20px;
	border-radius: 50px;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(34, 211, 106, 0.3);
	transition: var(--transition);
}

.download-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(34, 211, 106, 0.4);
}

/* Hero Section */
.hero {
	padding: 160px 0 80px;
	background: linear-gradient(180deg, #0f1729 0%, #151a2e 100%);
	overflow: hidden;
	position: relative;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2322d36a' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
	opacity: 0.3;
}

.hero .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 2;
}

.hero-content {
	flex: 1;
	max-width: 600px;
}

.hero-content h2 {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--dark-color);
}

.hero-content .accent {
	color: var(--primary-color);
	position: relative;
}

.hero-content .accent::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 6px;
	bottom: 5px;
	left: 0;
	background-color: var(--accent-color);
	opacity: 0.3;
	z-index: -1;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

/* Dark hero text overrides */
.hero .hero-content h2 {
	color: #ffffff;
}
.hero .hero-content p {
	color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.primary-btn {
	background: var(--gradient-primary);
	color: white;
	padding: 15px 30px;
	border-radius: 50px;
	font-weight: 600;
	display: inline-block;
	box-shadow: 0 10px 20px rgba(34, 211, 106, 0.3);
	transition: var(--transition);
}

.primary-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(34, 211, 106, 0.4);
}

.secondary-btn {
	background: transparent;
	color: var(--dark-color);
	padding: 13px 28px;
	border: 2px solid var(--dark-color);
	border-radius: 50px;
	font-weight: 600;
	display: inline-block;
	transition: var(--transition);
}

.secondary-btn:hover {
	background: var(--dark-color);
	color: white;
	transform: translateY(-3px);
}

/* Improve contrast of secondary button on dark hero */
.hero .secondary-btn {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.85);
}
.hero .secondary-btn:hover {
	background: #ffffff;
	color: var(--dark-color);
}

.hero-image {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.floating-logo {
	width: 280px;
	height: 280px;
	object-fit: contain;
	animation: float 4s ease-in-out infinite;
}

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

/* Section Styling */
section {
	padding: 100px 0;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 60px;
	position: relative;
	color: var(--dark-color);
}

.section-title::after {
	content: "";
	position: absolute;
	width: 80px;
	height: 4px;
	background: var(--primary-color);
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 2px;
}

/* Features */
.demo-sound {
	border: 2px solid rgba(34, 211, 106, 0.6);
	background: rgba(34, 211, 106, 0.06);
	margin-top: 10px;
	margin-bottom: 10px;
	box-shadow: 0 0 0 4px rgba(34, 211, 106, 0.08);
}
.demo-sound audio {
	display: block;
	margin: 10px auto 0 auto;
	width: 100%;
	max-width: 300px;
}
.features {
	background-color: var(--light-color);
}

/* Flexible Features grid layout */
.features-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	align-items: stretch;
}

.demo-soundboard-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5em;
	margin-top: 2em;
}

/* Extension-style soundboard */
.demo-sounds .soundboard {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 2rem;
	justify-content: center;
	align-items: stretch;
}

.demo-sounds .sound-button {
	height: 56px;
	background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.03),
			rgba(0, 0, 0, 0.06)
		), #121b2c;
	border: 1.5px solid rgba(34, 211, 106, 0.45);
	border-radius: 14px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	color: #e9fff1;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 12px;
	position: relative;
	overflow: hidden; /* needed for ripple */
	/* responsive sizing in flex layout */
	flex: 1 1 280px;
	min-width: 240px;
	max-width: 360px;
}

.demo-sounds .sound-button:hover {
	transform: translateY(-1px);
	box-shadow: inset 0 0 0 3px rgba(34, 211, 106, 0.12), 0 6px 14px
		rgba(0, 0, 0, 0.35);
}

.demo-sounds .sound-button:active {
	transform: translateY(1px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.demo-sounds .sound-button:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

.demo-sounds .sound-button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
	filter: grayscale(15%);
	border-style: dashed;
	color: #9ab1c6;
}

.demo-sounds .button-icon {
	font-size: 1.1rem;
	background: rgba(34, 211, 106, 0.15);
	border-radius: 50%;
	width: 32px;
	height: 32px;
	min-width: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	position: relative;
}

.demo-sounds .sound-button[data-playing="true"] .button-icon::before {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 2px solid rgba(34, 211, 106, 0.65);
	animation: ring-pulse-lp 600ms ease-out;
}

@keyframes ring-pulse-lp {
	0% {
		transform: scale(0.9);
		opacity: 0.9;
	}
	100% {
		transform: scale(1.15);
		opacity: 0;
	}
}

/* Ripple micro-interaction for sound buttons */
.demo-sounds .sound-button::after {
	content: "";
	position: absolute;
	top: var(--ripple-y, 50%);
	left: var(--ripple-x, 50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0);
	background: radial-gradient(
		circle,
		rgba(34, 211, 106, 0.35) 0%,
		rgba(34, 211, 106, 0) 70%
	);
	pointer-events: none;
	opacity: 0.9;
}

.demo-sounds .sound-button.playing::after {
	animation: sound-ripple-lp 450ms ease-out;
}

@keyframes sound-ripple-lp {
	to {
		transform: translate(-50%, -50%) scale(12);
		opacity: 0;
	}
}

.feature-card {
	background: white;
	padding: 40px 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	text-align: center;
	transition: var(--transition);
	/* Flex item sizing within features-grid */
	flex: 1 1 320px;
	min-width: 280px;
	max-width: 360px;
	/* Equal height and centered content */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	font-size: 3.5rem;
	margin-bottom: 20px;
}

.feature-card h3 {
	margin-bottom: 15px;
	color: var(--dark-color);
}

/* Installation */
.installation {
	background-color: #f5f5f5;
}

.installation-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.step-card {
	background: white;
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	flex: 1;
	min-width: 200px;
	max-width: 250px;
	text-align: center;
	position: relative;
	transition: var(--transition);
}

.step-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
	width: 40px;
	height: 40px;
	background: var(--gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	margin: 0 auto 20px;
}

.step-card h3 {
	margin-bottom: 15px;
	color: var(--dark-color);
}

code {
	background: #f0f0f0;
	padding: 2px 5px;
	border-radius: 4px;
	font-family: monospace;
	font-size: 0.9rem;
}

/* Usage */
.usage {
	background-color: var(--light-color);
}

.usage-content {
	display: flex;
	align-items: center;
	gap: 60px;
	flex-wrap: wrap;
}

.usage-text {
	flex: 1;
	min-width: 300px;
}

.usage-text p {
	margin-bottom: 20px;
	font-size: 1.1rem;
}

.usage-image {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 300px;
}

.pulse-animation {
	width: 200px;
	height: 200px;
	object-fit: contain;
	animation: pulse 3s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
	}
}

/* About */
.about {
	background-color: #f5f5f5;
}

.tech-details {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.tech-card {
	background: white;
	padding: 40px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	flex: 1;
	max-width: 400px;
	transition: var(--transition);
}

.tech-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tech-card h3 {
	margin-bottom: 20px;
	color: var(--primary-color);
}

.tech-card ul {
	padding-left: 20px;
}

.tech-card li {
	margin-bottom: 10px;
	list-style-type: circle;
}

/* CTA Section */
.cta-section {
	background: var(--gradient-primary);
	padding: 80px 0;
	color: white;
	text-align: center;
}

.cta-section h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.cta-section p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.cta-download {
	background: white;
	color: var(--primary-color);
	padding: 15px 40px;
	border-radius: 50px;
	font-weight: 600;
	display: inline-block;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	transition: var(--transition);
}

.cta-download:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	background: var(--dark-color);
	color: white;
}

/* Footer */
footer {
	background-color: var(--dark-color);
	color: white;
	padding: 80px 0 30px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
	margin-bottom: 60px;
}

.footer-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

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

.footer-logo p {
	font-weight: 600;
	font-size: 1.2rem;
}

.footer-links h3 {
	margin-bottom: 20px;
	color: var(--primary-color);
}

.footer-links ul {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.footer-links a:hover {
	color: var(--primary-color);
}

.footer-social h3 {
	margin-bottom: 20px;
	color: var(--primary-color);
}

.social-icons {
	display: flex;
	gap: 15px;
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	font-size: 1.2rem;
	transition: var(--transition);
}

.social-icon:hover {
	background: var(--primary-color);
	transform: translateY(-3px);
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: white;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	padding: 1rem 2rem;
	transform: translateY(100%);
	transition: transform 0.5s ease-in-out;
	border-top: 1px solid #eee;
}

.cookie-banner.visible {
	transform: translateY(0);
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	gap: 1.5rem;
}

.cookie-text h3 {
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
}

.cookie-text p {
	font-size: 0.9rem;
	color: #555;
	margin: 0;
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
	flex-shrink: 0;
}

.cookie-buttons .btn {
	padding: 0.6rem 1.2rem;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.cookie-buttons .btn-primary {
	background-color: var(--accent-color, #4caf50);
	color: white;
}

.cookie-buttons .btn-primary:hover {
	background-color: var(--accent-color-dark, #45a049);
}

.cookie-buttons .btn-secondary {
	background-color: #eee;
	color: #333;
	border: 1px solid #ddd;
}

.cookie-buttons .btn-secondary:hover {
	background-color: #ddd;
}

/* Responsive Design */
@media (max-width: 992px) {
	.hero .container {
		flex-direction: column;
		text-align: center;
	}

	.hero-content {
		margin-bottom: 50px;
	}

	.hero-buttons {
		justify-content: center;
	}

	.usage-content {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.hero-content h2 {
		font-size: 2.5rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.cookie-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.cookie-buttons {
		width: 100%;
		justify-content: flex-end;
		margin-top: 1rem;
	}

	.cookie-banner {
		padding: 1rem;
	}

	.cookie-text h3 {
		font-size: 1rem;
	}

	.cookie-text p {
		font-size: 0.85rem;
	}
}

.demo-btn {
	background: var(--gradient-primary);
	color: white;
	border: none;
	border-radius: 50px;
	padding: 15px 30px;
	font-size: 1em;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	transition: var(--transition);
	margin-bottom: 0.5em;
}
.demo-btn:not([disabled]):hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.demo-btn[disabled] {
	background: #eee;
	color: #aaa;
	cursor: not-allowed;
	box-shadow: none;
	border: 1px dashed #ccc;
}

/* Contact Form Section */
.contact-form {
	background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
	padding: 80px 0;
	text-align: center;
}

.contact-form .container {
	max-width: 700px;
	margin: 0 auto;
}

.contact-form h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
	color: var(--dark-color);
}

.contact-form p {
	font-size: 1.2rem;
	margin-bottom: 40px;
	color: var(--text-color);
}

.form-container {
	background: white;
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	display: flex;
	justify-content: center;
	align-items: center;
}

.form-container iframe {
	width: 100%;
	max-width: 540px;
	height: 305px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

/* Responsive adjustments for form */
@media (max-width: 600px) {
	.form-container {
		padding: 20px;
		margin: 0 15px;
	}
	
	.form-container iframe {
		width: 100%;
		height: 400px; /* Increase height on mobile to account for possible scrolling */
	}
}

/* Accessible focus rings for key buttons */
.primary-btn:focus-visible,
.download-btn:focus-visible,
.cta-download:focus-visible,
.demo-btn:focus-visible,
.secondary-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(34, 211, 106, 0.35), 0 10px 20px
		rgba(0, 0, 0, 0.15);
}

.nav-links a:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(34, 211, 106, 0.35);
	border-radius: 6px;
}
