/* ===== Arobase Designs - Main Stylesheet (v2) ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
	--primary: #12172b;
	--primary-soft: #1f2a4d;
	--accent: #4361ee;
	--accent-2: #7209b7;
	--accent-gradient: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
	--text: #2c2f3a;
	--text-light: #6b7280;
	--bg-light: #f6f7fb;
	--bg-soft: #eef1fb;
	--border: #e7e9f2;
	--white: #ffffff;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 4px 20px rgba(18, 23, 43, 0.06);
	--shadow-hover: 0 12px 32px rgba(18, 23, 43, 0.12);
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--text);
	line-height: 1.65;
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

a { color: var(--accent); transition: color 0.2s ease; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

h1, h2, h3, h4 { color: var(--primary); line-height: 1.2; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: 48px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 16px; color: var(--text-light); }

.eyebrow {
	display: inline-block;
	background: var(--bg-soft);
	color: var(--accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.btn {
	display: inline-block;
	background: var(--accent-gradient);
	color: var(--white) !important;
	padding: 15px 30px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(67, 97, 238, 0.35); }
.btn-outline {
	background: var(--white);
	color: var(--primary) !important;
	border: 1.5px solid var(--border);
	box-shadow: none;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent) !important; transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 999;
}
.site-header .container {
	min-height: 88px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-logo a {
	font-size: 22px;
	font-weight: 800;
	color: var(--primary);
	text-decoration: none;
	letter-spacing: -0.02em;
}
.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav ul {
	display: flex;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-nav a {
	text-decoration: none;
	color: var(--primary);
	font-weight: 500;
	font-size: 15px;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav .sub-menu {
	list-style: none;
	display: none;
	position: absolute;
	background: var(--white);
	box-shadow: var(--shadow-hover);
	border-radius: var(--radius);
	padding: 12px 0;
	margin-top: 16px;
	min-width: 240px;
}
.primary-nav li:hover > .sub-menu { display: block; }
.primary-nav .sub-menu li a { display: block; padding: 10px 22px; }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
	background: radial-gradient(circle at 20% 20%, #eef1fb 0%, #ffffff 55%);
	padding: 120px 0 100px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.hero h1 { max-width: 780px; margin: 0 auto 20px; }
.hero h1 .highlight {
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero p.lead { max-width: 620px; margin: 0 auto 36px; font-size: 19px; }
.hero .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.page-hero {
	background: var(--primary);
	background-image: radial-gradient(circle at 80% 0%, rgba(114,9,183,0.35), transparent 55%), radial-gradient(circle at 0% 100%, rgba(67,97,238,0.35), transparent 55%);
	color: var(--white);
	padding: 90px 0 70px;
	text-align: center;
}
.page-hero .eyebrow { background: rgba(255,255,255,0.1); color: #b9c2ff; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto; font-size: 17px; }

/* ---------- Stats ---------- */
.stats-bar {
	background: var(--primary);
	padding: 40px 0;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
.stat-number {
	font-size: 36px;
	font-weight: 800;
	color: var(--white);
	margin-bottom: 4px;
}
.stat-label { color: rgba(255,255,255,0.65); font-size: 14px; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }

.card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 34px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card .icon {
	width: 52px; height: 52px;
	background: var(--bg-soft);
	border-radius: 14px;
	margin-bottom: 22px;
	display: flex; align-items: center; justify-content: center;
	font-size: 24px;
}

.bg-light { background: var(--bg-light); }
.bg-gradient {
	background: var(--accent-gradient);
	color: var(--white);
}
.bg-gradient h2, .bg-gradient h3 { color: var(--white); }
.bg-gradient p { color: rgba(255,255,255,0.85); }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
	padding: 13px 0 13px 32px;
	position: relative;
	border-bottom: 1px solid var(--border);
	color: var(--text);
}
.feature-list li:before {
	content: "\2713";
	position: absolute; left: 0; top: 13px;
	width: 20px; height: 20px;
	background: var(--accent-gradient);
	color: var(--white);
	border-radius: 50%;
	font-size: 12px;
	display: flex; align-items: center; justify-content: center;
}

/* ---------- Process steps ---------- */
.process-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	counter-reset: step;
}
.process-step { text-align: center; position: relative; }
.process-step .step-number {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--accent-gradient);
	color: var(--white);
	font-weight: 800;
	font-size: 20px;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 20px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
}
.testimonial-card .stars { color: #f5a623; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-card .author-avatar {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--accent-gradient);
	color: var(--white);
	display: flex; align-items: center; justify-content: center;
	font-weight: 700;
}
.testimonial-card .author-name { font-weight: 700; color: var(--primary); font-size: 14px; }
.testimonial-card .author-role { font-size: 13px; color: var(--text-light); }

/* ---------- Tech stack / logos ---------- */
.tech-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	align-items: center;
	opacity: 0.8;
}
.tech-strip span {
	font-weight: 700;
	color: var(--text-light);
	font-size: 15px;
}

/* ---------- FAQ (CSS-only accordion) ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	margin-bottom: 12px;
	padding: 4px 24px;
	background: var(--white);
}
.faq-item summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--primary);
	padding: 18px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; font-size: 22px; color: var(--accent); }
.faq-item[open] summary:after { content: "\2212"; }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
	background: var(--primary);
	background-image: radial-gradient(circle at 20% 20%, rgba(67,97,238,0.35), transparent 50%), radial-gradient(circle at 80% 80%, rgba(114,9,183,0.35), transparent 50%);
	color: var(--white);
	text-align: center;
	padding: 80px 0;
	border-radius: var(--radius);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); }

/* ---------- Contact page ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 50px;
}
.contact-info-card {
	background: var(--bg-light);
	border-radius: var(--radius);
	padding: 36px;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .icon {
	width: 44px; height: 44px;
	background: var(--white);
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
	box-shadow: var(--shadow);
}
.contact-info-item h4 { margin-bottom: 4px; font-size: 15px; }
.contact-info-item p { margin: 0; font-size: 14px; }
.social-row { display: flex; gap: 12px; margin-top: 10px; }
.social-row a {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--white);
	display: flex; align-items: center; justify-content: center;
	text-decoration: none;
	box-shadow: var(--shadow);
	font-size: 15px;
}

.contact-form { background: var(--white); }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: var(--primary); }
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	margin-bottom: 20px;
	font-family: inherit;
	font-size: 15px;
	transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }

.form-notice {
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	margin-bottom: 24px;
	font-size: 14px;
}
.form-notice.success { background: #e6f6ec; color: #1a7a41; }
.form-notice.error { background: #fdeaea; color: #b42318; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--primary);
	color: var(--text-light);
	padding: 70px 0 0;
}
.footer-columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	padding-bottom: 40px;
}
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 12px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-logo { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 22px 0;
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: rgba(255,255,255,0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.primary-nav { display: none; }
	.nav-toggle { display: flex; }
	.grid-3, .grid-4, .grid-2, .stats-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
	.contact-layout { grid-template-columns: 1fr; }
	.footer-columns { grid-template-columns: repeat(2, 1fr); }
	.hero { padding: 80px 0; }
	h1 { font-size: 34px; }
}
@media (max-width: 600px) {
	.container { padding: 0 20px; }
	.grid-3, .grid-4, .grid-2, .stats-grid, .process-steps { grid-template-columns: 1fr; }
	.footer-columns { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
	section { padding: 56px 0; }
}

.primary-nav.is-open {
	display: block;
	position: absolute;
	top: 88px; left: 0; right: 0;
	background: var(--white);
	border-bottom: 1px solid var(--border);
	padding: 20px 0;
}
.primary-nav.is-open ul { flex-direction: column; align-items: center; gap: 16px; }

/* ===== v3 additions: portfolio, breadcrumbs, reveal, decorative ===== */

.hero { position: relative; }
.hero::before, .hero::after {
	content: "";
	position: absolute;
	width: 380px; height: 380px;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.35;
	z-index: 0;
}
.hero::before { background: #4361ee; top: -120px; left: -100px; }
.hero::after { background: #7209b7; bottom: -140px; right: -80px; }
.hero .container { position: relative; z-index: 1; }

.breadcrumbs {
	font-size: 13px;
	color: rgba(255,255,255,0.6);
	margin-bottom: 18px;
}
.breadcrumbs a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }

/* Portfolio */
.portfolio-card { overflow: hidden; padding: 0; }
.portfolio-thumb {
	height: 200px;
	display: flex; align-items: center; justify-content: center;
	color: var(--white);
	font-size: 32px;
	font-weight: 800;
}
.portfolio-body { padding: 28px; }
.portfolio-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: var(--accent);
	background: var(--bg-soft);
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.portfolio-result {
	font-size: 13px;
	font-weight: 700;
	color: var(--primary);
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--border);
}

/* Legal pages */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { margin-top: 44px; font-size: 22px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { color: var(--text-light); padding-left: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-updated { color: var(--text-light); font-size: 14px; margin-bottom: 40px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Badge row on hero */
.badge-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.badge-pill {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-light);
	box-shadow: var(--shadow);
}
