/* ----------------------------------------------------------------
	Simone Melis - AI Product Builder & Engineer
	Custom Stylesheet & Design Tokens (Canvas 7.3.1 Extension)
-----------------------------------------------------------------*/

:root {
	--cnvs-themecolor: #1e3a8a;
	--cnvs-themecolor-rgb: 30, 58, 138;
	--sm-accent-blue: #2563eb;
	--sm-accent-indigo: #4f46e5;
	--sm-accent-teal: #0d9488;
	--sm-dark-bg: #0b0f19;
	--sm-dark-card: #111827;
	--sm-border-subtle: rgba(255, 255, 255, 0.08);
}

/* Typography refinements */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #334155;
	line-height: 1.65;
	letter-spacing: -0.011em;
}

h1, h2, h3, h4, h5, h6,
.font-primary {
	font-family: 'Inter', sans-serif;
	letter-spacing: -0.025em;
}

.font-editorial {
	font-family: 'Playfair Display', Georgia, serif;
}

/* Hero & Glassmorphism elements */
.hero-glass-card {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

.hero-portrait-wrap {
	position: relative;
	display: inline-block;
}

.hero-portrait-img {
	width: 100%;
	max-width: 440px;
	border-radius: 2rem;
	box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
	position: relative;
	z-index: 2;
	background: #fff;
}

.floating-badge {
	position: absolute;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.8);
	border-radius: 1rem;
	padding: 12px 18px;
	box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
	z-index: 3;
	animation: floatAnimation 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
	top: 10%;
	left: -12%;
}

.floating-badge-2 {
	bottom: 12%;
	right: -8%;
	animation-delay: 1.5s;
}

.floating-badge-3 {
	bottom: 2%;
	left: 5%;
	animation-delay: 2.8s;
}

@keyframes floatAnimation {
	0% { transform: translateY(0px); }
	100% { transform: translateY(-8px); }
}

@media (max-width: 991px) {
	.floating-badge {
		position: static !important;
		margin-top: 10px;
		display: inline-block;
		animation: none;
	}
	.hero-portrait-wrap {
		text-align: center;
	}
}

/* Subtle gradient headers & badges */
.badge-pill-tech {
	font-family: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 6px 12px;
	border-radius: 6px;
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
	display: inline-block;
}

.dark .badge-pill-tech {
	background: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
	border-color: rgba(255, 255, 255, 0.12);
}

/* Modern Card Hover Effects */
.card-hover-elevate {
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover-elevate:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12) !important;
}

/* The Sweet Spot Diagram */
.sweet-spot-box {
	border-radius: 1.25rem;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	padding: 2.2rem;
	position: relative;
	transition: border-color 0.2s ease;
}

.sweet-spot-box.active-zone {
	border-color: var(--sm-accent-blue);
	background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
	box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.12);
}

/* Process Timeline Nodes */
.process-node-circle {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.15rem;
	margin: 0 auto 1.25rem;
}

/* Video Modal Button Polish */
.play-modal-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.play-modal-trigger:hover {
	transform: scale(1.02);
}

/* Sticky Header on mobile/desktop adjustments */
#header.transparent-header:not(.sticky-header) {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

/* Pulse status dot */
.status-indicator-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background-color: #10b981;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	animation: pulseStatus 2s infinite;
	vertical-align: middle;
	margin-right: 6px;
}

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

/* Experience timeline & cards */
.experience-timeline {
	position: relative;
	padding-left: 2rem;
}

.experience-timeline::before {
	content: '';
	position: absolute;
	left: 8px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: #e2e8f0;
}

.experience-item {
	position: relative;
	margin-bottom: 2.5rem;
}

.experience-item:last-child {
	margin-bottom: 0;
}

.experience-dot {
	position: absolute;
	left: -2rem;
	top: 6px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid var(--sm-accent-blue);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.experience-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 1.75rem;
	transition: all 0.25s ease;
}

.experience-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
	transform: translateY(-2px);
}

/* Testimonial card modern */
.testimonial-card-modern {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 1.25rem;
	padding: 2rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card-modern:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 30px -10px rgba(15, 23, 42, 0.1);
	border-color: #cbd5e1;
}

.testimonial-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e2e8f0;
}

/* FAQ accordion styling */
.faq-accordion .accordion-item {
	border: 1px solid #e2e8f0;
	border-radius: 1rem !important;
	margin-bottom: 1rem;
	overflow: hidden;
	background: #ffffff;
	transition: border-color 0.2s ease;
}

.faq-accordion .accordion-button {
	font-weight: 600;
	font-size: 1.05rem;
	color: #1e293b;
	padding: 1.25rem 1.5rem;
	background: #ffffff;
	box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
	color: var(--sm-accent-blue);
	background: #f8faff;
}

.faq-accordion .accordion-body {
	padding: 0 1.5rem 1.5rem 1.5rem;
	color: #475569;
	line-height: 1.7;
	font-size: 0.95rem;
}

