:root {
	--bg: #fffbee;
	--bg-elev: #fff6cc;
	--card: #fffdfa;
	--text: #18191a;
	--muted: #5c5b5a;
	--primary: #ffd54a;
	--primary-2: #f8b400;
	--accent: #ffcc00;
	--success: #22c55e;
	--warning: #f59e0b;
	--danger: #ef4444;
	--glass: rgba(255,212,74,0.07);
	--border: rgba(180,180,100,0.13);
	--shadow: 0 10px 30px rgba(248,180,0,0.08);
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Paragraph justification */
p {
	text-align: justify;
}

img, svg {
	display: block;
	max-width: 100%;
}

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

a:hover {
	opacity: 0.9;
}

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

/* Navbar styles moved to assets/css/navbar.css */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--glass);
	color: var(--text);
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-2));
	border-color: transparent;
	box-shadow: 0 10px 24px rgba(248,180,0,0.10);
	color: #18191a;
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(248, 180, 0, 0.2);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.section {
	padding: 80px 0;
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0) 120px);
	position: relative;
	overflow: hidden;
}

.section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: 
		radial-gradient(circle at 1px 1px, rgba(248,180,0,0.15) 1px, transparent 0),
		radial-gradient(circle at 1px 1px, rgba(255,204,0,0.1) 1px, transparent 0);
	background-size: 40px 40px, 60px 60px;
	background-position: 0 0, 20px 20px;
	opacity: 0.4;
	animation: patternMove 20s linear infinite;
	pointer-events: none;
	z-index: 0;
}

.section::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: 
		linear-gradient(45deg, transparent 48%, rgba(248,180,0,0.03) 49%, rgba(248,180,0,0.03) 51%, transparent 52%),
		linear-gradient(-45deg, transparent 48%, rgba(255,204,0,0.02) 49%, rgba(255,204,0,0.02) 51%, transparent 52%);
	background-size: 80px 80px;
	animation: patternMove 30s linear infinite reverse;
	pointer-events: none;
	z-index: 0;
	opacity: 0.6;
}

@keyframes patternMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(40px, 40px); }
}

.section > * {
	position: relative;
	z-index: 1;
}

.section .eyebrow {
	color: var(--primary);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
}

.section h2 {
	margin: 12px 0 8px 0;
	font-size: 36px;
	line-height: 1.2;
}

.section p.lead {
	color: var(--muted);
	font-size: 18px;
	text-align: justify;
}

.grid {
	display: grid;
	gap: 24px;
}

/* Footer styles moved to assets/css/footer.css */

.chips {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.chip {
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
	color: var(--text);
	font-size: 12px;
	font-weight: 500;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.chip i {
	font-size: 11px;
	color: var(--primary);
	transition: transform 0.2s ease, color 0.2s ease;
}

.panel:hover .chip {
	transform: translateY(-2px);
	background: linear-gradient(180deg, rgba(248,180,0,0.15), rgba(248,180,0,0.08));
	border-color: rgba(248,180,0,0.3);
	box-shadow: 0 4px 12px rgba(248,180,0,0.15);
}

.panel:hover .chip i {
	transform: scale(1.2);
	color: var(--primary-2);
}

.card {
	background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 20px;
	box-shadow: var(--shadow);
}

.icon {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

/* Text Animation Styles */
.text-animate {
	opacity: 0;
	animation: fadeInUp 0.8s ease forwards;
}

.text-animate-delay-1 { animation-delay: 0.1s; }
.text-animate-delay-2 { animation-delay: 0.2s; }
.text-animate-delay-3 { animation-delay: 0.3s; }
.text-animate-delay-4 { animation-delay: 0.4s; }
.text-animate-delay-5 { animation-delay: 0.5s; }

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

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

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

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Heading animations */
h1, h2, h3, h4, h5, h6 {
	overflow: hidden;
}

.animate-heading {
	display: inline-block;
	animation: slideInUp 0.8s ease forwards;
	opacity: 0;
}

.section .eyebrow {
	opacity: 0;
}

.section .eyebrow.animated {
	animation: fadeInUp 0.6s ease forwards;
}

.section h2,
.section h3,
.section h4 {
	opacity: 0;
}

.section h2.animated,
.section h3.animated,
.section h4.animated {
	animation: slideInUp 0.8s ease forwards;
}

.section p.lead {
	opacity: 0;
}

.section p.lead.animated {
	animation: fadeInUp 0.6s ease forwards;
}

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

/* Paragraph and text animations */
.animate-text {
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

/* Staggered list animations */
.animate-list-item {
	opacity: 0;
	transform: translateX(-20px);
	animation: slideInLeft 0.5s ease forwards;
}

.animate-list-item:nth-child(1) { animation-delay: 0.1s; }
.animate-list-item:nth-child(2) { animation-delay: 0.2s; }
.animate-list-item:nth-child(3) { animation-delay: 0.3s; }
.animate-list-item:nth-child(4) { animation-delay: 0.4s; }
.animate-list-item:nth-child(5) { animation-delay: 0.5s; }
.animate-list-item:nth-child(6) { animation-delay: 0.6s; }
.animate-list-item:nth-child(7) { animation-delay: 0.7s; }
.animate-list-item:nth-child(8) { animation-delay: 0.8s; }

/* Character reveal animation for special headings */
.animate-chars {
	display: inline-block;
}

.animate-chars span {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px) rotateX(-90deg);
	animation: charReveal 0.5s ease forwards;
}

@keyframes charReveal {
	to {
		opacity: 1;
		transform: translateY(0) rotateX(0deg);
	}
}

/* Typewriter effect */
.typewriter {
	overflow: hidden;
	border-right: 2px solid var(--primary);
	white-space: nowrap;
	animation: typing 2s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
	from { width: 0; }
	to { width: 100%; }
}

@keyframes blink-caret {
	from, to { border-color: transparent; }
	50% { border-color: var(--primary); }
}

/* Button shine */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
	content: '';
	position: absolute;
	top: -120%;
	left: -20%;
	width: 60%;
	height: 340%;
	background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 60%);
	transform: rotate(25deg);
	transition: transform 0.6s ease;
}
.btn-primary:hover::after { transform: rotate(25deg) translateX(260%); }

/* Navbar mobile menu styles moved to assets/css/navbar.css */

/* Icon spacing in buttons and links */
.btn i, .badge i, .chip i {
	margin-right: 6px;
}

@media (max-width: 720px) {
	.section { padding: 64px 0; }
	.section h2 { font-size: 30px; }
	.section p.lead { font-size: 16px; }
	.container { padding: 0 16px; }
	.btn { padding: 12px 20px; font-size: 14px; }
	.hero { margin-top: 56px !important; }
	.pricing-hero { margin-top: 56px !important; }
}

@media (max-width: 480px) {
	html { font-size: 15px; }
	.container { padding: 0 12px; }
	.section { padding: 48px 0; }
	.section h2 { font-size: 22px; }
	.section p.lead { font-size: 14px; }
	.btn { padding: 10px 16px; font-size: 13px; }
}
