/* ═══════════════════════════════════════════════════════════════════════════════
   PARESH BAFNA STUDIO - Global Tokens, Animations & Base Reset
   ═══════════════════════════════════════════════════════════════════════════════ */

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

:root {
	--serif: 'DM Serif Display', serif;
	--sans: 'DM Sans', sans-serif;

	--ink: #18181b;
	--mute: #52525b;
	--hint: #a1a1aa;
	--bg: #fafaf9;
	--bg2: #f4f4f5;
	--bg3: #e4e4e7;
	--border: rgba(0, 0, 0, 0.08);
	--border2: rgba(0, 0, 0, 0.16);

	--radius-md: 8px;
	--radius-lg: 12px;

	--gold: #d4a755;
	--ss: #84303d;
	--ss-bg: #1c0a0e;
	--ss-dark: #420f17;
	--ss-tint: #0a0305;
	--ss-btn: #84303d;
	--ss-btn-hover: #a83b4c;
	--ss-btn-text: #ffffff;
	--nb: #2563eb;
	--nb-bg: #eff6ff;
	--nb-dark: #1d4ed8;
	--rose: #be185d;
	--rose-bg: #fdf2f8;
	--rose-dark: #9d174d;
	--green: #15803d;
	--green-bg: #f0fdf4;
	--amber: #b45309;
	--amber-bg: #fffbeb;
	--purple: #6d28d9;
	--purple-bg: #f5f3ff;
	--auto: #0891b2;
	--auto-bg: #ecfeff;
	--auto-dark: #0e7490;
	--auto-tint: #f0fdff;
	--notion-tint: #f0f4ff;
	--invite-tint: #fff0f6;
	--purple-tint: #faf8ff;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ink: #fafafa;
		--mute: #a1a1aa;
		--hint: #52525b;
		--bg: #09090b;
		--bg2: #18181b;
		--bg3: #27272a;
		--border: rgba(255, 255, 255, 0.08);
		--border2: rgba(255, 255, 255, 0.16);
		--gold: #d4a755;
		--ss: #a83b4c;
		--ss-bg: #18080b;
		--ss-dark: #420f17;
		--ss-tint: #0a0305;
		--ss-btn: #a83b4c;
		--ss-btn-hover: #c4475a;
		--ss-btn-text: #ffffff;
		--nb: #3b82f6;
		--nb-bg: #1e3a5f;
		--nb-dark: #60a5fa;
		--rose: #f472b6;
		--rose-bg: #3b1030;
		--rose-dark: #ec4899;
		--green: #4ade80;
		--green-bg: #052e16;
		--amber: #fbbf24;
		--amber-bg: #451a03;
		--purple: #a78bfa;
		--purple-bg: #161321;
		--auto: #22d3ee;
		--auto-bg: #083344;
		--auto-dark: #67e8f9;
		--auto-tint: #042f3d;
		--notion-tint: #0f172a;
		--invite-tint: #1a0a12;
		--purple-tint: #0d0414;
	}
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--sans);
	color: var(--ink);
	background: var(--bg);
	font-size: 17px;
	line-height: 1.75;
	overflow-x: hidden;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
		        radial-gradient(circle at 80% 80%, rgba(140, 34, 50, 0.05) 0%, transparent 50%);
	pointer-events: none;
	z-index: -1;
	animation: gradientShift 15s ease-in-out infinite;
}

/* Selection */
::selection {
	background: var(--nb);
	color: white;
}
::-moz-selection {
	background: var(--nb);
	color: white;
}

/* Base Keyframes */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-6deg) scale(1.05); } 30% { transform: rotate(5deg) scale(1.05); } 45% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } 75% { transform: rotate(-2deg); } 90% { transform: rotate(1deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes rotateGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes gradientShift { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.1); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); } 50% { box-shadow: 0 0 40px rgba(37, 99, 235, 0.6); } }

.wobble {
	animation: wobble 0.6s ease;
}

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }
.d7 { transition-delay: 0.56s; }
.d8 { transition-delay: 0.64s; }

.tcursor {
	display: inline-block;
	animation: blink 0.75s step-end infinite;
	color: var(--mute);
	font-style: normal;
}

/* Sections Base Scaffolding */
section {
	padding: 1rem 2.5rem;
	border-bottom: 0.5px solid var(--border);
	position: relative;
	transition: all 0.5s ease;
}

.sec-title {
	font-family: var(--serif);
	font-size: clamp(2.6rem, 5.5vw, 4rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	margin-bottom: 0.75rem;
}

.sec-title em { font-style: italic; color: var(--mute); }

.sec-sub {
	font-size: 15px;
	color: var(--mute);
	max-width: 560px;
	margin-bottom: 0.75rem;
	line-height: 1.8;
}

.sec-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.6rem 1.3rem;
	border-radius: 100px;
	border: 2px solid;
	margin-bottom: 1.5rem;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.sec-badge:hover {
	transform: scale(1.04);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sub-section {
	padding-top: 1.4rem;
	margin-top: 0.5rem;
	border-top: 1px solid var(--border2);
	scroll-margin-top: 5rem;
}

.faq-section-header {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Addons Component Base */
.addons {
	margin-top: 0.5rem;
	padding: 1.25rem;
	border-radius: var(--radius-lg);
	border: 0.5px solid;
	border-top: 3px solid;
	backdrop-filter: blur(8px);
	transition: all 0.3s ease;
}

.addon-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.75rem;
}

@media (max-width: 640px) {
	.addon-list { grid-template-columns: 1fr; }
}

.addon {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	background: var(--bg);
	border: 0.5px solid var(--border);
	border-radius: var(--radius-md);
	padding: 0.9rem 1rem;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	perspective: 1000px;
}

.addon:hover {
	border-color: var(--border2);
	transform: translateY(-2px) translateZ(10px);
	filter: brightness(1.05);
}

.addon-ico {
	font-size: 1.3rem;
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-md);
}

.addon-body { flex: 1; min-width: 0; }

.addon-name {
	font-size: 14px;
	font-weight: 500;
	color: var(--ink);
	display: flex !important;
	justify-content: space-between !important;
	align-items: baseline !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	width: 100% !important;
	margin-bottom: 0.2rem;
}

.addon-name span {
	flex-shrink: 0 !important;
	white-space: nowrap !important;
	margin-left: auto !important;
}

@media (max-width: 480px) {
	.addon-name span {
		margin-left: 0 !important;
		width: 100% !important;
		display: block !important;
	}
}

.addon-desc {
	font-size: 12px;
	color: var(--mute);
	line-height: 1.5;
}

/* Pricing Base Component */
.pgrid2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
	.pgrid2 { grid-template-columns: 1fr; }
}

.pcard {
	border: 0.5px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	cursor: pointer;
	perspective: 1000px;
}

.pcard:hover {
	transform: translateY(-8px) scale(1.02) translateZ(10px);
	border-color: var(--border2);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(20px);
}

.pbadge {
	display: inline-block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #fff;
	padding: 3px 10px;
	border-radius: var(--radius-md);
	align-self: flex-start;
	transition: all 0.3s ease;
}

.pcard:hover .pbadge {
	transform: scale(1.05);
	filter: brightness(1.1);
}

.pcard h3 {
	font-family: var(--serif);
	font-size: 1.15rem;
	line-height: 1.2;
}

.pprice {
	font-size: 2.1rem;
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1;
	background: linear-gradient(135deg, #d4a755, #f3d48b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.pprice sup { font-size: 0.95rem; font-weight: 400; vertical-align: super; }
.pprice-n { font-size: 13px; color: var(--mute); }
.pdesc { font-size: 14px; color: var(--mute); line-height: 1.65; }

.pfeats {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0.25rem 0;
}

.pf {
	font-size: 13px;
	color: var(--mute);
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	line-height: 1.5;
}

.pbtn {
	display: block;
	text-align: center;
	padding: 0.65rem;
	border-radius: var(--radius-md);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	border: 0.5px solid var(--border2);
	color: var(--ink);
	transition: background 0.2s, transform 0.15s;
	margin-top: auto;
}

.pbtn:hover {
	background: var(--bg2);
	transform: translateY(-1px);
}

/* Generic FAQs Architecture */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.faq-item {
	border-top: 1px solid var(--border) !important;
	border-right: 1px solid var(--border) !important;
	border-bottom: 1px solid var(--border) !important;
	border-radius: var(--radius-lg) !important;
	overflow: hidden !important;
	transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.2s ease !important;
	background: var(--bg) !important;
}

.faq-q {
	padding: 1rem 1.25rem !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 1rem !important;
	border: none !important;
	background: transparent !important;
}

.faq-ico {
	font-size: 1.1rem !important;
	flex-shrink: 0 !important;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.faq-item.open .faq-ico {
	transform: rotate(45deg) scale(1.1) !important;
}

.faq-item .faq-a {
	max-height: 0 !important;
	overflow: hidden !important;
	padding: 0 1.25rem !important;
	opacity: 0;
	font-size: 14px !important;
	line-height: 1.75 !important;
	border-top: 1px solid transparent !important;
	transition: max-height 0.35s ease, padding 0.3s ease, opacity 0.25s ease !important;
}

.faq-item.open .faq-a {
	max-height: 500px !important;
	padding: 0.75rem 1.25rem 1.25rem 1.25rem !important;
	opacity: 1;
}

/* Feature Accordion Generic Reset */
.notion-acc-btn,
.wi-acc-btn,
.ss-acc-btn {
	border-bottom: none !important;
	outline: none !important;
	box-shadow: none !important;
}

.notion-acc-body,
.wi-acc-body,
.ss-acc-body {
	border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Global Pricing Visibility Toggle */
body:not(.show-pricing) .pprice,
body:not(.show-pricing) .pprice-n,
body:not(.show-pricing) .addon-name span,
body:not(.show-pricing) .badge-paid,
body:not(.show-pricing) .badge-free,
body:not(.show-pricing) .ms-price {
    display: none !important;
}

/* ROUTE ISOLATION */
/* ROUTE ISOLATION */
body.page-privacy .portfolio-view,
body.page-terms .portfolio-view,
body.page-404 .portfolio-view,
body.page-privacy .right-timeline,
body.page-terms .right-timeline,
body.page-404 .right-timeline,
body.page-privacy .vline-track,
body.page-terms .vline-track,
body.page-404 .vline-track,
body.page-privacy .page-timeline,
body.page-terms .page-timeline,
body.page-404 .page-timeline {
	display: none !important;
}

body.page-404 #not-found {
	display: block !important;
}

/* COOKIE BANNER - BOTTOM CENTER */
.cookie-banner {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 40px);
	max-width: 460px;
	background: var(--bg2);
	border: 1px solid var(--border2);
	border-radius: var(--radius-lg);
	padding: 1.3rem;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
	z-index: 99999;
	display: none;
	flex-direction: column;
	gap: 1rem;
	backdrop-filter: blur(16px);
	text-align: center;
}

.cookie-banner.show {
	display: flex;
}

.cookie-text {
	font-size: 13.5px;
	color: var(--mute);
	line-height: 1.6;
}

.cookie-text a {
	color: var(--gold);
	text-decoration: underline;
}

.cookie-actions {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
}

.cookie-btn {
	border: none;
	padding: 0.55rem 1.4rem;
	border-radius: var(--radius-md);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.15s;
}

.cookie-btn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.cookie-btn.accept {
	background: var(--green);
	color: #052e16;
}

.cookie-btn.decline {
	background: #dc2626;
	color: #ffffff;
}