/* =========================================================
    Theme: Unified palette & variables (light/dark)
    ========================================================= */
:root {
	--primary-color: #6e41ff;
	--primary-color-hover: #5a34d8;

	--background-main: #ffffff;
	--background-card: #f9f9f9;

	--text-primary: #111111;
	--text-secondary: #555555;
	--text-muted: #6b7280;

	--border-color: #eaeaea;
	--hover-bg: #f2f2f7;
	--shadow-dark-rgb: 0, 0, 0;

	/* Footer variables removed, as .new-footer class has its own styles */
}

html.dark-mode {
	--primary-color: #7a5bff;
	--primary-color-hover: #6847ff;

	--background-main: #0a051f;
	--background-card: rgba(255, 255, 255, 0.06);

	--text-primary: #f3f4f6;
	--text-secondary: #b7b9c6;
	--text-muted: #a0a0b0;

	--border-color: rgba(255, 255, 255, 0.12);
	--hover-bg: rgba(255, 255, 255, 0.1);

	/* Footer variables removed, as .new-footer class has its own styles */
}

/* =========================================================
    Global
    ========================================================= */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--background-main);
	color: var(--text-primary);
	font-family: 'Inter', sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
	transition: background-color 0.3s ease, color 0.3s ease;
}


body {
	margin: 0;
	padding: 0;
}


.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.no-scroll {
	overflow: hidden;
}

/* Background blobs (dark only) */
.background-blob {
	position: absolute;
	border-radius: 50%;
	opacity: 0.15;
	filter: blur(150px);
	z-index: -1;
	display: none;
	/* default hidden */
}

.blob1 {
	width: 420px;
	height: 420px;
	top: -120px;
	left: -120px;
	background: var(--primary-color);
}

.blob2 {
	top: 200px;
	right: -160px;
	background: #007bff;
}

html.dark-mode .background-blob {
	display: block;
}


/* =========================================================
    Buttons
    ========================================================= */
.btn {
	padding: 12px 24px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	display: inline-block;
	text-align: center;
	border: 1px solid transparent;
}

.btn:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--primary-color) 55%, transparent);
	outline-offset: 2px;
}

.btn-primary {
	background-color: var(--primary-color);
	color: #ffffff;
	box-shadow: 0 10px 18px -8px color-mix(in srgb, var(--primary-color) 55%, transparent);
}

.btn-primary:hover {
	background-color: var(--primary-color-hover);
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: var(--background-card);
	color: var(--text-primary);
	border: 1px solid var(--border-color);
}

.btn-secondary:hover {
	background-color: var(--hover-bg);
	border-color: var(--primary-color);
	color: var(--primary-color);
	transform: translateY(-2px);
}

/* =========================================================
    Hero
    ========================================================= */




.hero {
	text-align: center;
	position: relative;
	z-index: 1;
	padding: 60px 0 40px;
}

.announcement {
	display: inline-block;
	border: 1px solid var(--border-color);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	margin-bottom: 20px;
	color: var(--text-secondary);
	background-color: var(--background-card);
}

.hero h1 {
	font-size: 52px;
	font-weight: 800;
	max-width: 800px;
	margin: 0 auto 16px;
	line-height: 1.15;
	letter-spacing: -1.2px;
	color: var(--text-primary);
}

.hero .subtitle {
	font-size: 15px;
	color: var(--text-secondary);
	max-width: 640px;
	margin: 0 auto 16px;
}

/* =========================================================
    Pricing
    ========================================================= */
.pricing {
	padding-bottom: 40px;
	position: relative;
	z-index: 1;
}

.pricing-toggle {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.toggle-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-switch .price-slider {
	position: absolute;
	inset: 0;
	background-color: #cbd5e1;
	border-radius: 34px;
	transition: .3s;
}

.toggle-switch .price-slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: #fff;
	transition: .3s;
	border-radius: 50%;
}

.toggle-switch input:checked+.price-slider {
	background-color: var(--primary-color);
}

.toggle-switch input:checked+.price-slider:before {
	transform: translateX(26px);
}

.toggle-label {
	font-weight: 700;
	color: var(--text-secondary);
	background: var(--background-card);
	border: 1px solid var(--border-color);
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.toggle-label.active {
	color: #fff;
	background: var(--primary-color);
	border-color: var(--primary-color);
}

.discount-badge {
	background: #e8e0ff;
	color: #5a34d8;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 20px;
}

html.dark-mode .discount-badge {
	background: #2a0a6a;
	color: #c4aeff;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
	gap: 28px;
	margin-top: 32px;
}

.pricing-card {
	background: var(--background-card);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
	box-shadow: 0 5px 18px rgba(var(--shadow-dark-rgb), 0.06);
	min-height: 100%;
}

.pricing-card:hover {
	border-color: var(--primary-color);
	box-shadow: 0 16px 32px rgba(var(--shadow-dark-rgb), 0.12);
}

.pricing-card h3 {
	font-size: 22px;
	margin-bottom: 8px;
	color: var(--text-primary);
	font-weight: 800;
}

.pricing-card .plan-description {
	color: var(--text-secondary);
	margin-bottom: 18px;
	min-height: 52px;
}

.price-container {
	margin-bottom: 8px;
}

.price {
	font-size: 44px;
	font-weight: 800;
	margin: 0;
	color: var(--text-primary);
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.price .amount {
	font-size: 44px;
	font-weight: 800;
}

.price .unit {
	font-size: 16px;
	font-weight: 500;
	color: var(--text-secondary);
}

.billing-period {
	font-size: 14px;
	color: var(--text-muted);
	min-height: 1.4em;
}

.pricing-card .btn {
	width: 100%;
	margin: 16px 0 24px;
}

.features-list {
	list-style: none;
	margin-top: auto;
	padding: 0;
}

.features-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--text-secondary);
	font-size: 15px;
}

.feature-icon {
	color: var(--primary-color);
	margin-top: 2px;
}

.pricing-card.highlighted {
	border: 2px solid var(--primary-color);
	box-shadow: 0 14px 40px rgba(var(--shadow-dark-rgb), 0.15);
}

.pricing-card.highlighted:hover {
	transform: scale(1.02) translateY(-6px);
}

/* Tooltips */
.tooltip-icon {
	display: inline-block;
	position: relative;
	color: var(--text-muted);
	cursor: help;
	font-size: 0.8rem;
	font-weight: 700;
	border: 1px solid var(--border-color);
	border-radius: 50%;
	width: 18px;
	height: 18px;
	line-height: 16px;
	text-align: center;
}

.tooltip-icon::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 140%;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--text-primary);
	color: var(--background-main);
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.85rem;
	width: 220px;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
	z-index: 10;
}

.tooltip-icon:hover::after {
	opacity: 1;
	visibility: visible;
}

/* =========================================================
    Modals
    ========================================================= */
.shared-modal {
	max-width: 900px;
	width: 92%;
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 24px;
	background: var(--background-main);
	box-shadow: 0 10px 30px rgba(var(--shadow-dark-rgb), 0.22);
}

.shared-modal::backdrop {
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(3px);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 10px;
	margin-bottom: 16px;
}

.modal-header h2 {
	margin: 0;
	color: var(--text-primary);
	font-size: 22px;
}

.modal-close-btn {
	background: none;
	border: none;
	font-size: 1.8rem;
	line-height: 1;
	color: var(--text-muted);
	cursor: pointer;
	transition: color 0.2s ease;
}

.modal-close-btn:hover {
	color: var(--text-primary);
}

.compare-table-container {
	max-height: 60vh;
	overflow-y: auto;
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.compare-table th,
.compare-table td {
	padding: 0.9rem;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-secondary);
	vertical-align: top;
}

.compare-table th {
	color: var(--text-primary);
	font-weight: 700;
	position: sticky;
	top: 0;
	background: var(--background-main);
}

.check-mark {
	color: var(--primary-color);
	font-weight: 800;
	text-align: center;
}

.dash-mark {
	color: var(--text-muted);
	text-align: center;
}

/* Expert form */
.expert-form .form-group {
	margin-bottom: 1rem;
}

.expert-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.4rem;
	color: var(--text-primary);
}

.expert-form input,
.expert-form select,
.expert-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border-color);
	background-color: var(--background-main);
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	color: var(--text-primary);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.expert-form input:focus,
.expert-form select:focus,
.expert-form textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 22%, transparent);
}

.expert-form textarea {
	resize: vertical;
	min-height: 110px;
}

/* =========================================================
    Back to Top
    ========================================================= */
#back-to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #10b981;
	color: white;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	font-size: 1.1rem;
	font-weight: 800;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
	z-index: 900;
}

#back-to-top span {
	font-size: 0.75rem;
	margin-top: 2px;
}

#back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#back-to-top:hover {
	background-color: #059669;
}

/* =========================================================
    Responsive
    ========================================================= */
@media (max-width: 992px) {
	.new-footer .top-grid {
		grid-template-columns: 1fr;
	}

	.new-footer .services-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 45px 0 5px;
	}

	.hero h1 {
		font-size: 22px;
		letter-spacing: -1px;
	}

	.new-footer .services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.new-footer .copyright-section {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
	.features-list{
	    text-align:left;
	}
	#tab-details{
	    text-align: left !important; 
	    
	}
}

@media (max-width: 576px) {

	/* Added from your footer CSS */
	.new-footer .footer-grid {
		display: flex;
		flex-direction: column;
	}
	#proceed-to-pricing{
	    display: none;
	}
	
}

@media (max-width: 520px) {
	.new-footer .services-grid {
		grid-template-columns: 1fr;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
	}

	.pricing-card:hover,
	.pricing-card.highlighted:hover,
	.btn:hover {
		transform: none !important;
	}
}


.price-strike {
	text-decoration: line-through;
	opacity: .6;
	margin-right: .5rem;
}

.badge-deal {
	display: inline-block;
	font-size: .75rem;
	font-weight: 600;
	padding: .25rem .5rem;
	border-radius: 999px;
	background: var(--accent-100, #eef6ff);
	color: var(--accent-700, #0b63ce);
	margin-left: .5rem;
}

.tabs {
	margin-top: 2.5rem;
}

.tab-buttons {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	padding-bottom: .5rem;
}

.tab-buttons button {
	border: 1px solid rgba(0, 0, 0, .12);
	background: #fff;
	padding: .5rem .7rem;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
}

.dark-mode .tab-buttons button {
	border-color: #2a2f45;
}

.tab-buttons button.active {
	background: var(--primary-600, #0b63ce);
	color: #fff;
	border-color: transparent;
}

.tab-panel {
	display: none;
	padding-top: 1rem;
}

.tab-panel.active {
	display: block;
}

.note {
	font-size: .9rem;
	opacity: .9;
}

.pricing-card .mini {
	font-size: .85rem;
	opacity: .8;
}