/* ============================================
   Business Starter - Professional One-Page Template
   Clean, minimal, conversion-focused design
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
	--primary: #2563eb;
	--primary-dark: #1d4ed8;
	--primary-light: #3b82f6;

	--text-dark: #1f2937;
	--text-body: #4b5563;
	--text-muted: #6b7280;
	--text-light: #9ca3af;

	--bg: #ffffff;
	--bg-light: #f9fafb;
	--bg-alt: #f3f4f6;

	--border: #e5e7eb;
	--border-light: #f3f4f6;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

	--radius-sm: 6px;
	--radius: 8px;
	--radius-lg: 12px;
	--radius-xl: 16px;
	--radius-full: 9999px;

	--transition: 0.2s ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-body);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

/* ---------- Container ---------- */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
	color: var(--text-dark);
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	letter-spacing: -0.02em;
}

h3 {
	font-size: 1.25rem;
}

p {
	color: var(--text-body);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: var(--transition);
	white-space: nowrap;
}

.btn-primary {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.btn-primary:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.btn-outline {
	background: transparent;
	color: var(--text-dark);
	border-color: var(--border);
}

.btn-outline:hover {
	border-color: var(--text-dark);
	background: var(--bg-light);
}

.btn-white {
	background: white;
	color: var(--primary);
	border-color: white;
}

.btn-white:hover {
	background: var(--bg-light);
	transform: translateY(-1px);
}

.btn-outline-white {
	background: transparent;
	color: white;
	border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
	border-color: white;
	background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
	padding: 1rem 2rem;
	font-size: 1rem;
}

.btn-full {
	width: 100%;
}

/* ---------- Section Helpers ---------- */
.section-label {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--primary);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.75rem;
}

.section-header {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 3rem;
}

.section-header h2 {
	margin-bottom: 1rem;
}

.section-desc {
	font-size: 1.125rem;
	color: var(--text-muted);
}

/* ---------- Header ---------- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border-light);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	gap: 2rem;
}

.logo {
	display: flex;
	align-items: center;
}

.logo-text {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark);
	letter-spacing: -0.02em;
}

.nav {
	display: flex;
	gap: 0.5rem;
}

.nav a {
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text-muted);
	border-radius: var(--radius-sm);
	transition: var(--transition);
}

.nav a:hover {
	color: var(--text-dark);
	background: var(--bg-light);
}

.header-cta {
	padding: 0.625rem 1.25rem;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 0.5rem;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text-dark);
	border-radius: 2px;
	transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
	padding: 8rem 0 5rem;
	background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.hero-content h1 {
	margin-bottom: 1.5rem;
}

.hero-subtitle {
	font-size: 1.25rem;
	color: var(--text-muted);
	margin-bottom: 2rem;
	max-width: 480px;
}

.hero-cta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.hero-image-placeholder {
	background: var(--bg-alt);
	border-radius: var(--radius-xl);
	overflow: hidden;
	aspect-ratio: 4/3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-image-placeholder svg {
	width: 100%;
	height: 100%;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
	padding: 3rem 0;
	background: var(--bg);
	border-top: 1px solid var(--border-light);
	border-bottom: 1px solid var(--border-light);
}

.trust-items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	text-align: center;
}

.trust-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.trust-number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary);
}

.trust-label {
	font-size: 0.875rem;
	color: var(--text-muted);
}

/* ---------- Services ---------- */
.services {
	padding: 5rem 0;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.service-card {
	padding: 2rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	transition: var(--transition);
}

.service-card:hover {
	border-color: var(--primary);
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}

.service-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-light);
	border-radius: var(--radius);
	margin-bottom: 1.25rem;
}

.service-icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--primary);
}

.service-card h3 {
	margin-bottom: 0.75rem;
}

.service-card p {
	font-size: 0.9375rem;
	margin-bottom: 1rem;
}

.service-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--primary);
	transition: var(--transition);
}

.service-link:hover {
	color: var(--primary-dark);
}

/* ---------- About ---------- */
.about {
	padding: 5rem 0;
	background: var(--bg-light);
}

.about-inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 4rem;
	align-items: center;
}

.about-image-placeholder {
	background: var(--bg-alt);
	border-radius: var(--radius-xl);
	overflow: hidden;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-image-placeholder svg {
	width: 100%;
	height: 100%;
}

.about-content h2 {
	margin-bottom: 1.5rem;
}

.about-content p {
	margin-bottom: 1rem;
}

.about-features {
	list-style: none;
	margin: 1.5rem 0 2rem;
}

.about-features li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.75rem;
	font-size: 0.9375rem;
}

.about-features li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: 700;
}

/* ---------- Testimonials ---------- */
.testimonials {
	padding: 5rem 0;
}

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

.testimonial-card {
	padding: 2rem;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}

.testimonial-rating {
	margin-bottom: 1rem;
}

.testimonial-rating span {
	color: #fbbf24;
	font-size: 1.125rem;
}

.testimonial-card blockquote {
	font-size: 0.9375rem;
	font-style: italic;
	color: var(--text-body);
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

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

.author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--primary);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 600;
}

.author-info {
	display: flex;
	flex-direction: column;
}

.author-info strong {
	font-size: 0.875rem;
	color: var(--text-dark);
}

.author-info span {
	font-size: 0.8125rem;
	color: var(--text-muted);
}

/* ---------- CTA Section ---------- */
.cta-section {
	padding: 5rem 0;
	background: var(--primary);
	color: white;
}

.cta-inner {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.cta-section h2 {
	color: white;
	margin-bottom: 1rem;
}

.cta-section p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.125rem;
	margin-bottom: 2rem;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact {
	padding: 5rem 0;
	background: var(--bg-light);
}

.contact-inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 4rem;
}

.contact-info h2 {
	margin-bottom: 1rem;
}

.contact-info > p {
	margin-bottom: 2rem;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.contact-item svg {
	width: 20px;
	height: 20px;
	stroke: var(--primary);
	flex-shrink: 0;
	margin-top: 0.25rem;
}

.contact-item strong {
	display: block;
	font-size: 0.8125rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
	font-size: 0.9375rem;
	color: var(--text-body);
}

.contact-item a:hover {
	color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
	background: var(--bg);
	padding: 2.5rem;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.form-group label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	font-size: 0.9375rem;
	font-family: inherit;
	color: var(--text-dark);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.form-note {
	font-size: 0.8125rem;
	color: var(--text-muted);
	text-align: center;
	margin-top: 0.5rem;
}

/* ---------- Footer ---------- */
.footer {
	background: var(--text-dark);
	color: rgba(255, 255, 255, 0.7);
	padding-top: 4rem;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 4rem;
	padding-bottom: 3rem;
}

.footer-brand .logo-text {
	color: white;
	margin-bottom: 1rem;
	display: block;
}

.footer-brand p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9375rem;
	max-width: 300px;
}

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

.footer-col h4 {
	color: white;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}

.footer-col a,
.footer-col span {
	display: block;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 0.75rem;
	transition: var(--transition);
}

.footer-col a:hover {
	color: white;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 0;
}

.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-bottom p {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
	color: rgba(255, 255, 255, 0.6);
	transition: var(--transition);
}

.footer-credit a:hover {
	color: white;
}

/* ---------- Back to Portfolio Link ---------- */
.back-to-portfolio {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-muted);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	box-shadow: var(--shadow);
	transition: var(--transition);
	z-index: 50;
}

.back-to-portfolio:hover {
	color: var(--primary);
	border-color: var(--primary);
}

.back-to-portfolio svg {
	transition: transform 0.2s ease;
}

.back-to-portfolio:hover svg {
	transform: translateX(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero-inner,
	.about-inner,
	.contact-inner {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.hero-image {
		order: -1;
	}

	.services-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.nav {
		position: fixed;
		top: 72px;
		left: 1rem;
		right: 1rem;
		flex-direction: column;
		background: var(--bg);
		border: 1px solid var(--border);
		border-radius: var(--radius);
		box-shadow: var(--shadow-lg);
		padding: 1rem;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: var(--transition);
	}

	.nav.open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.header-cta {
		display: none;
	}

	.nav-toggle {
		display: flex;
	}

	.hero {
		padding: 7rem 0 4rem;
	}

	.trust-items {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

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

	.footer-bottom-inner {
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}

	.hero-cta {
		flex-direction: column;
		width: 100%;
	}

	.hero-cta .btn {
		width: 100%;
	}

	.trust-items {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
	}

	.trust-number {
		font-size: 1.5rem;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.section {
		padding: 3rem 0;
	}

	.btn {
		padding: 0.875rem 1.5rem;
		font-size: 0.9rem;
		min-height: 48px;
	}

	/* Form inputs touch-friendly */
	input, textarea, select {
		font-size: 16px;
		min-height: 48px;
	}

	.back-to-portfolio {
		top: 0.5rem;
		left: 0.5rem;
		padding: 0.5rem 0.75rem;
		font-size: 0.75rem;
	}
}

@media (max-width: 380px) {
	.container {
		padding: 0 0.75rem;
	}

	.hero {
		padding: 6rem 0 3rem;
	}

	h1 {
		font-size: 1.75rem;
	}

	.trust-items {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}
