:root {
	--teal: #25d1b9;
	--dark-blue: #0F172A;
	--navy: #1E293B;
	--light-gray: #E2E8F0;
	--white: #FFFFFF;
	--gold: #FFD700;
	--publisher-green: #2ecc71;
	--purple-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
	--card-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	--mobile-breakpoint: 768px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
	-webkit-tap-highlight-color: transparent;
}

body {
	background: var(--purple-gradient);
	color: var(--white);
	overflow-x: hidden;
	line-height: 1.6;
	min-height: 100vh;
}

/* ===== Base Typography ===== */
h1, h2, h3, h4 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

p {
	color: var(--light-gray);
	font-size: clamp(1rem, 2vw, 1.1rem);
	margin-bottom: 1.5rem;
}

a {
	text-decoration:none;
}

.section-title {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	text-align: center;
	margin-bottom: 1rem;
}

.section-title span {
	color: var(--teal);
}

.section-subtitle {
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(1rem, 2vw, 1.2rem);
}

/* ===== Layout Components ===== */
.container {
	width: 100%;
	padding: 0 5%;
	max-width: 1400px;
	margin: 0 auto;
}

.section {
	padding: clamp(2rem, 5vw, 4rem) 0;
	position: relative;
}

/* ===== Navigation ===== */
nav {
	position: fixed;
	width: 100%;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(10px);
	z-index: 100;
	border-bottom: 1px solid rgba(48, 230, 211, 0.2);
	transition: padding 0.3s ease;
}

nav.scrolled {
	padding: 1rem 0;
}

.logo {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 700;
	display: flex;
	align-items: center;
}

.logo span:first-child {
	color: var(--teal);
}

.logo span:last-child {
	color: var(--white);
}

/* Mobile Navigation */
.mobile-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 5%;
}

.mobile-menu-btn {
	background: none;
	border: none;
	color: var(--white);
	font-size: 1.8rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}

.mobile-menu {
	position: fixed;
	top: 80px;
	left: 0;
	width: 100%;
	background: var(--dark-blue);
	padding: 2rem 5%;
	transform: translateY(-150%);
	transition: transform 0.3s ease;
	z-index: 99;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	max-height: calc(100vh - 80px);
	overflow-y: auto;
}

.mobile-menu.active {
	transform: translateY(0);
}

.mobile-menu-links {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.mobile-menu-links a {
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
	padding: 0.75rem 0;
	font-size: 1.2rem;
	position: relative;
	display: block;
}

.mobile-menu-links a:not(.mobile-nav-cta)::after {
	content: '';
	position: absolute;
	width: 0;
	height: 3px;
	bottom: 0;
	left: 0;
	background-color: var(--teal);
	transition: width 0.3s ease;
}

.mobile-menu-links a:hover:not(.mobile-nav-cta)::after {
	width: 100%;
}

.mobile-nav-cta {
	background: var(--teal);
	color: var(--dark-blue) !important;
	padding: 1rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	text-align: center;
	margin-top: 1rem;
	width: 100%;
}

/* Desktop Navigation */
.desktop-nav {
	display: none;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 5%;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
}

.nav-links a {
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
	font-size: clamp(1rem, 1.1vw, 1.1rem);
	position: relative;
	white-space: nowrap;
}

.nav-links a:not(.nav-cta)::after {
	content: '';
	position: absolute;
	width: 0;
	height: 3px;
	bottom: -8px;
	left: 0;
	background-color: var(--teal);
	transition: width 0.3s ease;
}

.nav-links a:hover:not(.nav-cta)::after {
	width: 100%;
}

.nav-cta {
	background: var(--teal);
	color: var(--dark-blue) !important;
	padding: 0.8rem 1.8rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: clamp(1rem, 1.1vw, 1.1rem);
	transition: all 0.3s ease;
}

.nav-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(37, 209, 185, 0.3);
}

/* ===== Hero Section ===== */
.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 100px;
	text-align: center;
}

.hero h1 {
	font-size: clamp(2.5rem, 6vw, 4rem);
	margin-bottom: 1.5rem;
	background: linear-gradient(90deg, var(--teal), var(--gold));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.1;
}

.hero p {
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	margin-bottom: 2.5rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* ===== Toggle Buttons ===== */
.audience-toggle {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	padding: 0.5rem;
	width: 100%;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.audience-toggle button {
	background: none;
	border: none;
	color: var(--white);
	padding: 0.8rem 1.5rem;
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: clamp(0.9rem, 2vw, 1.2rem);
	width: 50%;
	white-space: nowrap;
}

.audience-toggle button.active {
	background: var(--teal);
	color: var(--dark-blue);
}

/* ===== Buttons ===== */
.btn-group {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 3rem;
	width: 100%;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.btn {
	padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	font-size: clamp(1rem, 2vw, 1.3rem);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	text-align: center;
	border: none;
}

.btn-primary {
	background: var(--teal);
	color: var(--dark-blue);
	box-shadow: 0 4px 15px rgba(37, 209, 185, 0.3);
}

.btn-primary:hover {
	background: #3dfae6;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 209, 185, 0.4);
}

.btn-secondary {
	border: 2px solid var(--white);
	color: var(--white);
	background: transparent;
}

.btn-secondary:hover {
	background: var(--white);
	color: var(--dark-blue);
}

.btn-publisher {
	background: var(--publisher-green);
	color: var(--dark-blue);
	box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-publisher:hover {
	background: #48e681;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* ===== Trust Badges ===== */
.trust-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin: 3rem auto;
	max-width: 700px;
}

.trust-badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: clamp(0.8rem, 2vw, 1rem);
	color: var(--light-gray);
	background: rgba(255, 255, 255, 0.05);
	padding: 0.5rem 1rem;
	border-radius: 50px;
	white-space: nowrap;
}

.trust-badge i {
	color: var(--teal);
	font-size: 1rem;
}

/* ===== Dashboard Preview ===== */
.dashboard-preview {
	width: 100%;
	max-width: 1000px;
	margin: 3rem auto 0;
	border-radius: 16px;
	background: rgba(30, 41, 59, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	box-shadow: var(--card-shadow);
}

.dashboard-header {
	padding: 1rem;
	background: rgba(15, 23, 42, 0.7);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-tabs {
	display: flex;
	overflow-x: auto;
	gap: 0.5rem;
	padding-bottom: 0.5rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.dashboard-tabs::-webkit-scrollbar {
	display: none;
}

.dashboard-tab {
	padding: 0.5rem 1rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--light-gray);
	font-size: 0.9rem;
	white-space: nowrap;
	flex-shrink: 0;
}

.dashboard-tab.active {
	background: var(--teal);
	color: var(--dark-blue);
	font-weight: 600;
}

.stats-overview {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	padding: 1rem;
}

.stat-card {
	background: rgba(15, 23, 42, 0.7);
	border-radius: 12px;
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h4 {
	font-size: 0.8rem;
	color: var(--light-gray);
	margin-bottom: 0.5rem;
}

.stat-card .value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--teal);
	margin-bottom: 0.25rem;
}

.campaign-container {
	background: rgba(15, 23, 42, 0.7);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.campaign-header {
	padding: 0.8rem 1rem;
	background: rgba(15, 23, 42, 0.9);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.campaign-header h3 {
	font-size: 1rem;
	color: var(--teal);
}

.campaign-header .filter {
	color: var(--light-gray);
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.campaign-list {
	max-height: 350px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.campaign-item {
	padding: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	gap: 1rem;
}

.campaign-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: rgba(37, 209, 185, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--teal);
	font-size: 1rem;
	flex-shrink: 0;
}

.campaign-details {
	flex: 1;
	min-width: 0;
}

.campaign-title {
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.campaign-stats {
	display: flex;
	gap: 0.5rem;
	font-size: 0.8rem;
	color: var(--light-gray);
	flex-wrap: wrap;
}

.campaign-stats span {
	color: var(--teal);
	font-weight: 600;
}

.campaign-cta {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: var(--white);
	padding: 0.5rem 1rem;
	border-radius: 5px;
	font-size: 0.8rem;
	cursor: pointer;
	transition: background 0.3s ease;
	flex-shrink: 0;
}

.campaign-cta:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* ===== Performance Calculator ===== */
.calculator {
	background: rgba(30, 41, 59, 0.7);
	border-radius: 16px;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	margin: 3rem auto;
	border: 1px solid rgba(255, 255, 255, 0.1);
	max-width: 700px;
	box-shadow: var(--card-shadow);
}

.calculator h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 1rem;
	text-align: center;
}

.calculator h2 span {
	color: var(--teal);
}

.calculator p {
	text-align: center;
	margin-bottom: 1.5rem;
	font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.form-group input[type="range"] {
	width: 100%;
	height: 8px;
	-webkit-appearance: none;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	outline: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	background: var(--teal);
	border-radius: 50%;
	cursor: pointer;
}

.value-display {
	margin-top: 0.5rem;
	font-size: clamp(0.9rem, 1.5vw, 1.1rem);
	font-weight: 600;
	color: var(--teal);
}

.calculator-result {
	background: rgba(37, 209, 185, 0.1);
	border: 1px solid var(--teal);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	margin-top: 1.5rem;
}

.calculator-result h3 {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	margin-bottom: 0.5rem;
}

.conversions-display {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--teal);
	margin: 0.5rem 0;
}

/* ===== Publisher Earnings Calculator ===== */
.publisher-calculator {
	background: rgba(30, 41, 59, 0.7);
	border-radius: 16px;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	margin: 3rem auto;
	border: 1px solid rgba(255, 255, 255, 0.1);
	max-width: 700px;
	display: none;
	box-shadow: var(--card-shadow);
}

.publisher-calculator h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 1rem;
	text-align: center;
}

.publisher-calculator h2 span {
	color: var(--publisher-green);
}

.publisher-calculator p {
	text-align: center;
	margin-bottom: 1.5rem;
	font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.publisher-calculator-result {
	background: rgba(46, 204, 113, 0.1);
	border: 1px solid var(--publisher-green);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	margin-top: 1.5rem;
}

.publisher-calculator-result h3 {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	margin-bottom: 0.5rem;
}

.earnings-display {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--publisher-green);
	margin: 0.5rem 0;
}

/* ===== Features Section ===== */
.features {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
}

.feature-card {
	background: rgba(30, 41, 59, 0.5);
	border-radius: 16px;
	padding: 1.5rem;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease;
	box-shadow: var(--card-shadow);
}

.feature-card:hover {
	transform: translateY(-5px);
}

.feature-icon {
	font-size: clamp(2rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
	color: var(--teal);
}

.feature-card h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
	margin-bottom: 0.75rem;
}

.feature-card p {
	font-size: clamp(0.9rem, 1.8vw, 1.1rem);
}

/* ===== Publisher Features Section ===== */
.publisher-features {
	display: none;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
}

.publisher-feature-card {
	background: rgba(30, 41, 59, 0.5);
	border-radius: 16px;
	padding: 1.5rem;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease;
	box-shadow: var(--card-shadow);
}

.publisher-feature-card:hover {
	transform: translateY(-5px);
}

.publisher-feature-icon {
	font-size: clamp(2rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
	color: var(--publisher-green);
}

.publisher-feature-card h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
	margin-bottom: 0.75rem;
}

.publisher-feature-card p {
	font-size: clamp(0.9rem, 1.8vw, 1.1rem);
}

/* ===== Stats Section ===== */
.stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 2rem 0;
}

.stat-item {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	transition: transform 0.3s ease;
}

.stat-item:hover {
	transform: translateY(-5px);
}

.stat-icon {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
	color: var(--teal);
}

.stat-number {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 700;
	color: var(--teal);
	margin-bottom: 0.25rem;
}

.stat-label {
	font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* ===== Publisher Stats Section ===== */
.publisher-stats {
	display: none;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 2rem 0;
}

.publisher-stat-item {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	transition: transform 0.3s ease;
}

.publisher-stat-item:hover {
	transform: translateY(-5px);
}

.publisher-stat-icon {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
	color: var(--publisher-green);
}

.publisher-stat-number {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 700;
	color: var(--publisher-green);
	margin-bottom: 0.25rem;
}

.publisher-stat-label {
	font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* ===== CTA Section ===== */
.cta-section {
	text-align: center;
	padding: clamp(2rem, 4vw, 3rem) 0;
}

.cta-section h2 {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	margin-bottom: 1rem;
}

.cta-section p {
	margin-bottom: 1.5rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(1rem, 2vw, 1.2rem);
}

/* ===== Publisher CTA Section ===== */
.publisher-cta-section {
	display: none;
	text-align: center;
	padding: clamp(2rem, 4vw, 3rem) 0;
}

.publisher-cta-section h2 {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	margin-bottom: 1rem;
}

.publisher-cta-section p {
	margin-bottom: 1.5rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(1rem, 2vw, 1.2rem);
}

/* ===== Testimonials Section ===== */
.testimonials {
	margin: clamp(2rem, 4vw, 4rem) 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.testimonial-card {
	background: rgba(30, 41, 59, 0.5);
	border-radius: 16px;
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: var(--card-shadow);
	transition: transform 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-5px);
}

.testimonial-content {
	font-style: italic;
	margin-bottom: 1rem;
	font-size: clamp(0.9rem, 1.8vw, 1.1rem);
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.author-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--teal);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dark-blue);
	font-weight: bold;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.author-info h4 {
	font-size: clamp(1rem, 2vw, 1.2rem);
	margin-bottom: 0.25rem;
}

.author-info p {
	font-size: clamp(0.8rem, 1.5vw, 0.9rem);
	color: var(--teal);
	margin-bottom: 0;
}

/* ===== Integration Section ===== */
.integration-section {
	margin: clamp(2rem, 4vw, 4rem) 0;
	text-align: center;
}

.integration-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(1.5rem, 3vw, 3rem);
	margin: 2rem 0;
}

.integration-logo {
	width: clamp(80px, 20vw, 150px);
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	filter: grayscale(100%) brightness(2);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.integration-logo:hover {
	filter: grayscale(0) brightness(1);
	opacity: 1;
}

.integration-logo i {
	font-size: clamp(2rem, 5vw, 3rem);
}

/* ===== Footer ===== */
footer {
	background: rgba(15, 23, 42, 0.9);
	padding: clamp(2rem, 4vw, 3rem) 5%;
	border-top: 1px solid rgba(48, 230, 211, 0.1);
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.footer-about {
	margin-bottom: 1rem;
}

.footer-logo {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	margin-bottom: 1rem;
}

.footer-about p {
	font-size: clamp(0.9rem, 1.8vw, 1.2rem);
	margin-bottom: 1rem;
}

.social-links {
	display: flex;
	gap: 0.75rem;
}

.social-links a {
	color: var(--white);
	background: rgba(255, 255, 255, 0.1);
	width: clamp(40px, 8vw, 48px);
	height: clamp(40px, 8vw, 48px);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(1rem, 2vw, 1.3rem);
	transition: background 0.3s ease;
}

.social-links a:hover {
	background: var(--teal);
	color: var(--dark-blue);
}

.footer-links h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
	margin-bottom: 1rem;
	color: var(--teal);
}

.footer-links ul {
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: var(--light-gray);
	text-decoration: none;
	font-size: clamp(0.9rem, 1.8vw, 1.2rem);
	transition: color 0.3s ease;
}

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

.copyright {
	text-align: center;
	padding-top: 1.5rem;
	margin-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

/* ===== Email Modal Styles ===== */
.email-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(5px);
	z-index: 1000;
	overflow-y: auto;
}

.modal-content {
	background: var(--dark-blue);
	margin: 5% auto;
	padding: clamp(1.5rem, 3vw, 2rem);
	border: 1px solid var(--teal);
	border-radius: 16px;
	width: 90%;
	max-width: 600px;
	position: relative;
	animation: modalFadeIn 0.3s ease;
	box-shadow: var(--card-shadow);
}

@keyframes modalFadeIn {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}

.close-modal {
	position: absolute;
	right: 1rem;
	top: 1rem;
	color: var(--light-gray);
	font-size: 1.5rem;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s ease;
	background: none;
	border: none;
	padding: 0.5rem;
}

.close-modal:hover {
	color: var(--teal);
}

.modal-content h3 {
	font-size: clamp(1.2rem, 3vw, 1.8rem);
	margin-bottom: 1rem;
	color: var(--teal);
	text-align: center;
}

#emailForm .form-group {
	margin-bottom: 1.25rem;
}

#emailForm label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--light-gray);
	font-size: clamp(0.9rem, 1.8vw, 1rem);
}

#emailForm input,
#emailForm textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(30, 41, 59, 0.7);
	color: var(--white);
	font-size: clamp(0.9rem, 1.8vw, 1rem);
}

#emailForm textarea {
	resize: vertical;
	min-height: 120px;
}

#emailForm button[type="submit"] {
	width: 100%;
	margin-top: 1rem;
}

/* Publisher-specific modal styles */
.publisher-modal .modal-content h3 {
	color: var(--publisher-green);
}

.publisher-modal .modal-content {
	border-color: var(--publisher-green);
}

/* ===== Popup Styles ===== */
.popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	overflow-y: auto;
}

.popup-content {
	background: var(--dark-blue);
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: 10px;
	max-width: 600px;
	width: 100%;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	border: 2px solid var(--teal);
	box-shadow: var(--card-shadow);
}

.close-popup {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	font-size: 1.5rem;
	color: var(--light-gray);
	cursor: pointer;
	transition: color 0.3s;
	background: none;
	border: none;
	padding: 0.5rem;
}

.close-popup:hover {
	color: var(--teal);
}

.popup h3 {
	color: var(--teal);
	margin-top: 0;
	font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.popup p {
	margin-bottom: 1rem;
	font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.popup ul {
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.popup li {
	margin: 0.75rem 0;
	list-style-type: disc;
	font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.highlight {
	color: var(--teal);
	font-weight: bold;
}

.publisher-highlight {
	color: var(--publisher-green);
	font-weight: bold;
}

/* ===== Animations ===== */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideInFromBottom {
	from { transform: translateY(50px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.animate-fade {
	animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
	animation: slideInFromBottom 0.5s ease forwards;
}

/* ===== Desktop Styles ===== */
@media (min-width: 768px) {
	.mobile-nav {
		display: none;
	}

	.desktop-nav {
		display: flex;
	}

	.hero {
		padding-top: 120px;
	}

	.btn-group {
		flex-direction: row;
		justify-content: center;
		max-width: 800px;
	}

	.stats-overview {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.stat-card {
		padding: 1.5rem;
	}

	.stat-card h4 {
		font-size: 0.9rem;
	}

	.stat-card .value {
		font-size: 1.75rem;
	}

	.features {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.publisher-features {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.stats {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
	}

	.publisher-stats {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
	}

	.testimonials {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}

	.footer-content {
		grid-template-columns: repeat(4, 1fr);
		gap: 3rem;
	}

	.dashboard-tab {
		padding: 0.75rem 1.5rem;
		font-size: 1rem;
	}

	.campaign-item {
		padding: 1.25rem;
		gap: 1.5rem;
	}

	.campaign-icon {
		width: 50px;
		height: 50px;
		font-size: 1.25rem;
	}

	.campaign-title {
		font-size: 1rem;
	}

	.campaign-stats {
		font-size: 0.9rem;
		gap: 1rem;
	}
}

/* ===== Large Desktop Styles ===== */
@media (min-width: 1200px) {
	.dashboard-preview {
		height: 600px;
	}

	.stats-overview {
		padding: 2rem;
	}

	.stat-card {
		padding: 2rem;
	}

	.stat-card .value {
		font-size: 2rem;
	}

	.features {
		gap: 3rem;
	}

	.publisher-features {
		gap: 3rem;
	}

	.stats {
		gap: 2rem;
	}

	.publisher-stats {
		gap: 2rem;
	}

	.testimonials {
		gap: 2rem;
	}
}