/* ==========================================================================
   Worcent platform design system — layered on Frappe's existing CSS
   variables so it stays coherent with light/dark themes.
   ========================================================================== */

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

/* ---- Reset — worcent's website pages no longer load Frappe's Bootstrap
   bundle at all, so this replaces just the baseline normalize it used to
   provide. Desk is untouched (this file is web-only, see hooks.py). ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.wc-body {
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--gray-900, #111827);
	background: #fff;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.wc-body h1, .wc-body h2, .wc-body h3, .wc-body h4, .wc-body h5, .wc-body h6 { margin: 0 0 0.5em; font-weight: 700; line-height: 1.25; }
.wc-body p { margin: 0 0 1em; }
.wc-body a { color: var(--wc-primary, #2563eb); text-decoration: none; }
.wc-body a:hover { text-decoration: underline; }
.wc-body ul, .wc-body ol { margin: 0 0 1em; padding-left: 1.4em; }
.wc-body img { max-width: 100%; display: block; }
.wc-body button { font-family: inherit; }

/* Baseline for pages this redesign hasn't reached yet (native /login,
   Web Form pages) so they stay usable/legible without Bootstrap. */
.wc-body input, .wc-body select, .wc-body textarea {
	font-family: inherit; font-size: 15px; padding: 9px 12px;
	border: 1px solid var(--wc-border, #e5e7eb); border-radius: 8px; background: #fff; color: inherit;
}
.wc-body input:focus, .wc-body select:focus, .wc-body textarea:focus { outline: 2px solid var(--wc-primary, #2563eb); outline-offset: 1px; }
.wc-body .btn, .wc-body button:not(.wc-btn):not(.wc-navbar-toggle):not(.wc-back-to-top):not(.wc-challenge-day-check) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14.5px;
	border: 1px solid var(--wc-border, #e5e7eb); background: #fff; cursor: pointer;
}
.wc-body .btn-primary { background: var(--wc-primary, #2563eb); color: #fff; border-color: var(--wc-primary, #2563eb); }
.wc-body .container { max-width: 1140px; margin: 0 auto; padding: 0 var(--wc-space-4, 24px); }

:root {
	--wc-primary: #2563eb;
	--wc-primary-dark: #1d4ed8;
	--wc-primary-tint: rgba(37, 99, 235, 0.1);
	--wc-dark: #0f172a;
	--wc-accent: #f59e0b;
	--wc-radius-sm: 6px;
	--wc-radius: 12px;
	--wc-radius-lg: 20px;
	--wc-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
	--wc-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
	--wc-border: var(--gray-200, #e5e7eb);
	--wc-surface: var(--card-bg, #fff);
	--wc-text-muted: var(--gray-600, #6b7280);
	--wc-space-2: 8px;
	--wc-space-3: 16px;
	--wc-space-4: 24px;
	--wc-space-5: 40px;
	--wc-space-6: 64px;
}

.wc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: var(--wc-radius-sm);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.15s ease;
	border: 1px solid transparent;
	cursor: pointer;
}
.wc-btn-primary { background: var(--wc-primary); color: #fff; }
.wc-btn-primary:hover { background: var(--wc-primary-dark); color: #fff; text-decoration: none; }
.wc-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.wc-btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.wc-btn-outline { background: transparent; color: var(--wc-primary); border-color: var(--wc-primary); }
.wc-btn-outline:hover { background: var(--wc-primary); color: #fff; text-decoration: none; }

/* On blue/dark surfaces (hero, CTA banner) a blue-on-blue primary button has
   no contrast — invert it to a solid white button there instead. */
.wc-hero-actions .wc-btn-primary,
.wc-cta-banner .wc-btn-primary {
	background: #fff;
	color: var(--wc-primary);
}
.wc-hero-actions .wc-btn-primary:hover,
.wc-cta-banner .wc-btn-primary:hover {
	background: var(--gray-50, #f9fafb);
	color: var(--wc-primary-dark);
}

.wc-muted { color: var(--wc-text-muted); }

.wc-chip {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid var(--wc-border);
	color: var(--gray-800, #1f2937);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.wc-chip:hover, .wc-chip-active {
	background: var(--wc-primary);
	border-color: var(--wc-primary);
	color: #fff;
	text-decoration: none;
}

.wc-badge-tick {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #16a34a;
	font-size: 12px;
	font-weight: 600;
}
.wc-badge-tick svg { width: 14px; height: 14px; }

.wc-rating { color: var(--wc-accent); font-size: 14px; letter-spacing: 1px; }
.wc-rating-muted { color: var(--wc-border); }
.wc-rating-count { color: var(--wc-text-muted); font-size: 13px; letter-spacing: normal; margin-left: 4px; }

/* Sections */
.wc-section { max-width: 1280px; margin: 0 auto; padding: var(--wc-space-5) var(--wc-space-4); }
.wc-section-muted { background: var(--gray-50, #f9fafb); max-width: none; }
.wc-section-muted > .wc-section-title, .wc-section-muted .wc-grid { max-width: 1280px; margin-left: auto; margin-right: auto; }
.wc-section-header { display: flex; align-items: baseline; justify-content: space-between; max-width: 1280px; margin: 0 auto var(--wc-space-3); padding: 0 var(--wc-space-4); }
.wc-section-title { font-size: 24px; font-weight: 700; margin-bottom: var(--wc-space-3); }
.wc-see-all { font-weight: 600; text-decoration: none; color: var(--wc-primary); }

/* Hero */
.wc-hero { background: linear-gradient(135deg, var(--wc-primary) 0%, var(--wc-dark) 100%); color: #fff; padding: var(--wc-space-6) var(--wc-space-4); }
.wc-hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.wc-hero-inner h1 { font-size: 40px; font-weight: 800; color: #fff; margin-bottom: var(--wc-space-2); }
.wc-hero-inner p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: var(--wc-space-4); }
.wc-hero-actions { display: flex; gap: var(--wc-space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--wc-space-3); }

.wc-hero-search {
	display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px;
	padding: 6px 8px 6px 20px; max-width: 620px; margin: var(--wc-space-4) auto 0;
	box-shadow: 0 10px 30px rgba(0,0,0,0.18); position: relative; z-index: 1;
}
.wc-hero-search svg { color: var(--wc-text-muted); flex: none; }
.wc-hero-search input {
	flex: 1; border: none; outline: none; font-size: 15px; padding: 10px 0; color: var(--gray-900, #111827); background: transparent;
}
.wc-hero-search .wc-btn { padding: 11px 26px; border-radius: 999px; }
.wc-hero-suggest { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.7); position: relative; z-index: 1; }
.wc-hero-suggest a { color: rgba(255,255,255,0.9); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.5); }
.wc-hero-suggest a:hover { color: #fff; border-color: #fff; }
@media (max-width: 560px) {
	.wc-hero-search { flex-wrap: wrap; border-radius: var(--wc-radius); padding: 14px; }
	.wc-hero-search input { width: 100%; flex-basis: 100%; }
	.wc-hero-search .wc-btn { width: 100%; }
}

.wc-cta-banner { max-width: none; background: linear-gradient(135deg, var(--wc-primary) 0%, var(--wc-dark) 100%); color: #fff; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--wc-space-3); padding: var(--wc-space-5) var(--wc-space-4); }
.wc-cta-banner h2 { color: #fff; margin-bottom: 4px; }
.wc-cta-banner p { color: rgba(255,255,255,0.7); margin: 0; }

/* Category tiles */
.wc-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--wc-space-3); }
.wc-category-card { display: flex; flex-direction: column; align-items: center; gap: var(--wc-space-2); padding: var(--wc-space-3); border-radius: var(--wc-radius); background: var(--wc-surface); border: 1px solid var(--wc-border); text-decoration: none; color: var(--gray-800, #1f2937); font-weight: 600; text-align: center; transition: all 0.15s ease; }
.wc-category-card:hover { transform: translateY(-2px); box-shadow: var(--wc-shadow-lg); text-decoration: none; color: var(--wc-primary); }
.wc-category-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--gray-100, #f3f4f6); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--wc-primary); }

.wc-filter-bar { display: flex; gap: var(--wc-space-2); flex-wrap: wrap; padding: var(--wc-space-3) 0; margin-bottom: var(--wc-space-3); border-bottom: 1px solid var(--wc-border); }

/* Freelancer / Job / Gig cards */
.wc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--wc-space-3); }
.wc-card { display: block; background: var(--wc-surface); border: 1px solid var(--wc-border); border-radius: var(--wc-radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; padding: var(--wc-space-3); }
.wc-card:hover { box-shadow: var(--wc-shadow-lg); border-color: var(--wc-primary); transform: translateY(-4px); text-decoration: none; color: inherit; }
.wc-card:hover .wc-avatar { transform: scale(1.05); }
.wc-avatar { transition: transform 0.2s ease; }

.wc-avatar { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; background: var(--gray-100, #f3f4f6); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: var(--wc-primary); overflow: hidden; }
.wc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wc-avatar-lg { width: 96px; height: 96px; font-size: 32px; }

.wc-freelancer-card-head { display: flex; gap: var(--wc-space-3); align-items: center; }
.wc-freelancer-name { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.wc-freelancer-headline { font-size: 13px; color: var(--wc-text-muted); margin-top: 2px; }
.wc-freelancer-rate { font-weight: 700; margin-top: var(--wc-space-2); }
.wc-skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--wc-space-2); }
.wc-skill-tag { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--gray-100, #f3f4f6); color: var(--gray-700, #374151); }

.wc-job-card-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.wc-job-card-meta { font-size: 12px; color: var(--wc-text-muted); margin-bottom: var(--wc-space-2); }
.wc-job-card-budget { font-weight: 700; color: var(--wc-primary); }
.wc-job-card-desc { font-size: 13px; color: var(--wc-text-muted); margin: var(--wc-space-2) 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Profile pages */
.wc-profile-page { max-width: 1100px; margin: 0 auto; padding-bottom: var(--wc-space-6); }
.wc-profile-banner { height: 160px; border-radius: 0 0 var(--wc-radius-lg) var(--wc-radius-lg); background: linear-gradient(135deg, var(--wc-primary), var(--wc-accent)); margin: 0 calc(-1 * var(--wc-space-4)); }
.wc-profile-header { display: flex; gap: var(--wc-space-4); align-items: flex-end; margin-top: -48px; padding: 0 var(--wc-space-4); }
.wc-profile-header-info h1 { margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.wc-profile-header-info p { color: var(--wc-text-muted); margin: 4px 0 0; }
.wc-profile-body { padding: var(--wc-space-4); display: grid; grid-template-columns: 2fr 1fr; gap: var(--wc-space-4); }
.wc-profile-main .wc-section-title { font-size: 18px; }
.wc-profile-side { display: flex; flex-direction: column; gap: var(--wc-space-3); }
.wc-side-card { border: 1px solid var(--wc-border); border-radius: var(--wc-radius); padding: var(--wc-space-3); }
.wc-side-card .label { font-size: 12px; color: var(--wc-text-muted); }
.wc-side-card .value { font-weight: 700; font-size: 18px; }

.wc-portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--wc-space-2); margin-top: var(--wc-space-2); }
.wc-portfolio-item { border: 1px solid var(--wc-border); border-radius: var(--wc-radius-sm); overflow: hidden; }
.wc-portfolio-item img { width: 100%; height: 100px; object-fit: cover; display: block; }
.wc-portfolio-item .cap { padding: 6px 8px; font-size: 12px; }

.wc-review { border: 1px solid var(--wc-border); border-radius: var(--wc-radius); padding: var(--wc-space-3); margin-bottom: var(--wc-space-2); }
.wc-review-meta { font-size: 12px; color: var(--wc-text-muted); margin-top: 6px; }

.wc-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--wc-space-2); }
.wc-badge-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.wc-rank-bronze { background: #fde8d7; color: #9a4a1a; }
.wc-rank-silver { background: #e5e7eb; color: #374151; }
.wc-rank-gold { background: #fef3c7; color: #92400e; }
.wc-rank-platinum { background: #e0e7ff; color: #3730a3; }

.wc-professional-id-banner { max-width: 1100px; margin: 0 auto var(--wc-space-3); padding: var(--wc-space-3); background: var(--wc-primary-tint); border: 1px dashed var(--wc-primary); border-radius: var(--wc-radius); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.wc-worcent-score-card .value { color: var(--wc-primary); }

@media (max-width: 900px) {
	.wc-profile-body { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.wc-hero-inner h1 { font-size: 28px; }
	.wc-section { padding: var(--wc-space-4) var(--wc-space-3); }
	.wc-profile-header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Navbar — 100% custom markup (no Bootstrap), sticky + blur on scroll.
   ========================================================================== */
.wc-navbar { background: #fff; border-bottom: 1px solid var(--wc-border); position: sticky; top: 0; z-index: 999; transition: box-shadow 0.2s ease, background 0.2s ease; }
.wc-navbar.wc-navbar-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(8px); }
.wc-navbar-inner { max-width: 1280px; margin: 0 auto; padding: 14px var(--wc-space-4); display: flex; align-items: center; justify-content: space-between; gap: var(--wc-space-3); }
.wc-navbar-brand { display: flex; align-items: center; }
.wc-brand-mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--gray-900, #111827); }
.wc-brand-mark svg { flex: none; }
.wc-navbar-links { display: flex; align-items: center; gap: 4px; }
.wc-navbar-link { color: var(--gray-700, #374151); font-weight: 600; font-size: 14.5px; position: relative; padding: 8px 14px; white-space: nowrap; }
.wc-navbar-link:hover { color: var(--wc-primary); text-decoration: none; }
.wc-navbar-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--wc-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.18s ease; }
.wc-navbar-link:hover::after { transform: scaleX(1); }
.wc-navbar-cta { margin-left: 12px; box-shadow: 0 4px 14px rgba(37,99,235,0.32); }
.wc-navbar-cta:hover { box-shadow: 0 6px 18px rgba(37,99,235,0.4); transform: translateY(-1px); }
.wc-navbar-toggle { display: none; background: none; border: none; padding: 6px; cursor: pointer; color: var(--gray-900, #111827); }
.wc-btn-sm { padding: 8px 18px; font-size: 13.5px; }
@media (max-width: 900px) {
	.wc-navbar-toggle { display: flex; }
	.wc-navbar-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--wc-border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px; display: none; box-shadow: var(--wc-shadow-lg); }
	.wc-navbar-links.wc-open { display: flex; }
	.wc-navbar-link { padding: 12px 14px; }
	.wc-navbar-cta { margin: 8px 14px; }
	.wc-nav-dropdown-menu { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 14px; }
	.wc-nav-dropdown.wc-open .wc-nav-dropdown-menu { display: block; }
}

.wc-nav-dropdown { position: relative; }
.wc-nav-dropdown-toggle { display: flex; align-items: center; gap: 5px; }
.wc-caret { transition: transform 0.15s ease; opacity: 0.6; }
.wc-nav-dropdown:hover .wc-caret { transform: rotate(180deg); }
.wc-nav-dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--wc-border); border-radius: var(--wc-radius); box-shadow: var(--wc-shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.16s ease; z-index: 1000; }
.wc-nav-dropdown-menu-right { left: auto; right: 0; }
.wc-nav-dropdown:hover .wc-nav-dropdown-menu, .wc-nav-dropdown.wc-open .wc-nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.wc-nav-dropdown-menu a { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: var(--wc-radius-sm); text-decoration: none; }
.wc-nav-dropdown-menu a:hover { background: var(--gray-50, #f9fafb); text-decoration: none; }
.wc-nav-dropdown-menu a strong { color: var(--gray-900, #111827); font-size: 14px; }
.wc-nav-dropdown-menu a span { color: var(--wc-text-muted); font-size: 12.5px; }
.wc-nav-avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wc-primary); color: #fff; font-weight: 700; font-size: 13px; }

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

/* Floating decorative shapes in hero */
.wc-hero { position: relative; overflow: hidden; }
.wc-hero-shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); pointer-events: none; }
.wc-hero-shape-1 { width: 220px; height: 220px; top: -60px; left: -60px; animation: wc-float 7s ease-in-out infinite; }
.wc-hero-shape-2 { width: 160px; height: 160px; bottom: -50px; right: 8%; animation: wc-float 9s ease-in-out infinite reverse; }
.wc-hero-shape-3 { width: 90px; height: 90px; top: 20%; right: 18%; background: rgba(245,158,11,0.18); animation: wc-float 6s ease-in-out infinite; }
@keyframes wc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* "I Need Work" emergency button */
.wc-need-work-banner { text-align: center; padding: var(--wc-space-5) var(--wc-space-4); }
.wc-need-work-btn {
	display: inline-flex; align-items: center; gap: 14px; padding: 22px 48px; border-radius: 999px;
	background: var(--wc-dark); color: #fff; font-size: 26px; font-weight: 800; letter-spacing: 0.02em;
	box-shadow: 0 12px 30px rgba(15,23,42,0.25); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wc-need-work-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 36px rgba(15,23,42,0.3); color: #fff; text-decoration: none; }
.wc-need-work-emoji { font-size: 30px; }
.wc-need-work-banner p { margin-top: var(--wc-space-2); color: var(--wc-text-muted); font-size: 14px; }
@media (max-width: 560px) {
	.wc-need-work-btn { padding: 16px 28px; font-size: 19px; }
}

/* Stats strip */
.wc-stats-strip { max-width: none; background: var(--wc-surface); border-bottom: 1px solid var(--wc-border); padding: var(--wc-space-4); }
.wc-stats-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--wc-space-3); text-align: center; }
.wc-stats-grid > div { padding: var(--wc-space-2) 0; border-right: 1px solid var(--wc-border); }
.wc-stats-grid > div:last-child { border-right: none; }
.wc-stat-num { font-size: 30px; font-weight: 800; color: var(--wc-primary); }
.wc-stat-label { color: var(--wc-text-muted); font-size: 13px; margin-top: 2px; }

/* How it works */
.wc-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--wc-space-4); }
.wc-step-card { text-align: center; padding: var(--wc-space-4) var(--wc-space-3); border-radius: var(--wc-radius); background: var(--wc-surface); border: 1px solid var(--wc-border); transition: all 0.2s ease; }
.wc-step-card:hover { transform: translateY(-4px); box-shadow: var(--wc-shadow-lg); }
.wc-step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wc-primary); color: #fff; font-weight: 800; margin-bottom: var(--wc-space-2); }
.wc-step-card h3 { font-size: 17px; margin-bottom: 6px; }
.wc-step-card p { color: var(--wc-text-muted); font-size: 14px; margin: 0; }

/* Why Worcent cards */
.wc-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--wc-space-3); }
.wc-why-card { padding: var(--wc-space-3); border-radius: var(--wc-radius); border: 1px solid var(--wc-border); background: var(--wc-surface); transition: all 0.2s ease; }
.wc-why-card:hover { border-color: var(--wc-primary); box-shadow: var(--wc-shadow-lg); transform: translateY(-3px); }
.wc-why-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--wc-primary-tint); color: var(--wc-primary); display: flex; align-items: center; justify-content: center; margin-bottom: var(--wc-space-2); }
.wc-why-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.wc-why-card p { color: var(--wc-text-muted); font-size: 13.5px; margin: 0; }

@media (max-width: 900px) {
	.wc-steps-grid, .wc-why-grid { grid-template-columns: 1fr; }
	.wc-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.wc-stats-grid > div { border-right: none; border-bottom: 1px solid var(--wc-border); }
	.wc-stats-grid > div:nth-child(2n) { border-right: none; }
}

/* Carousel — horizontal scroll-snap with arrow controls */
.wc-carousel-wrap { position: relative; }
.wc-carousel-track {
	display: flex; gap: var(--wc-space-3); overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: 4px; scrollbar-width: none;
}
.wc-carousel-track::-webkit-scrollbar { display: none; }
.wc-carousel-track > * { scroll-snap-align: start; flex: 0 0 280px; }
.wc-carousel-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
	background: #fff; border: 1px solid var(--wc-border); box-shadow: var(--wc-shadow-lg); cursor: pointer;
	display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.15s ease;
}
.wc-carousel-arrow:hover { background: var(--wc-primary); color: #fff; border-color: var(--wc-primary); }
.wc-carousel-arrow-prev { left: -18px; }
.wc-carousel-arrow-next { right: -18px; }
@media (max-width: 767px) {
	.wc-carousel-arrow { display: none; }
	.wc-carousel-track > * { flex-basis: 240px; }
}

/* Testimonials */
.wc-testimonial-card {
	background: var(--wc-surface); border: 1px solid var(--wc-border); border-radius: var(--wc-radius);
	padding: var(--wc-space-4); display: flex; flex-direction: column; gap: 12px;
}
.wc-testimonial-quote { font-size: 14.5px; line-height: 1.6; color: var(--gray-800, #1f2937); flex: 1; }
.wc-testimonial-quote::before { content: "\201C"; color: var(--wc-primary); font-size: 28px; font-weight: 800; line-height: 0; display: inline-block; margin-right: 2px; vertical-align: -6px; }
.wc-testimonial-footer { display: flex; align-items: center; justify-content: space-between; }
.wc-testimonial-who { font-weight: 700; font-size: 13.5px; }
.wc-testimonial-role { color: var(--wc-text-muted); font-size: 12px; font-weight: 400; }

/* ==========================================================================
   Footer
   ========================================================================== */
.wc-footer { background: var(--wc-dark); color: rgba(255,255,255,0.75); padding-top: var(--wc-space-5); border-top: none; }
.wc-footer-main { max-width: 1280px; margin: 0 auto; padding: 0 var(--wc-space-4) var(--wc-space-4); display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--wc-space-4); }
.wc-footer-brand-col .wc-brand-mark { color: #fff; }
.wc-footer-tagline { color: rgba(255,255,255,0.55); font-size: 13.5px; margin: 12px 0 16px; max-width: 320px; }
.wc-footer-social { display: flex; gap: 10px; }
.wc-footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background 0.15s ease; }
.wc-footer-social a:hover { background: var(--wc-primary); }
.wc-footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.wc-footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 10px; text-decoration: none; transition: color 0.15s ease; }
.wc-footer-col a:hover { color: #fff; text-decoration: none; }
.wc-footer-bottom {
	max-width: 1280px; margin: 0 auto; padding: var(--wc-space-3) var(--wc-space-4);
	border-top: 1px solid rgba(255,255,255,0.1);
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
	color: rgba(255,255,255,0.45); font-size: 13px;
}
.wc-footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: none; }
.wc-footer-bottom a:hover { color: #fff; text-decoration: none; }
.wc-footer-bottom span:not(.wc-footer-powered) + span:not(.wc-footer-powered)::before { content: "·"; margin: 0 8px; opacity: 0.5; }
.wc-footer-powered { margin-left: auto; }
@media (max-width: 900px) {
	.wc-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.wc-footer-main { grid-template-columns: 1fr; }
	.wc-footer-bottom { flex-direction: column; align-items: flex-start; }
	.wc-footer-powered { margin-left: 0; }
}

/* ==========================================================================
   Growth tools (/tools/*)
   ========================================================================== */
.wc-tool-card { text-align: center; }
.wc-tool-card .wc-why-icon { margin: 0 auto var(--wc-space-2); font-size: 22px; background: var(--wc-primary-tint); border-radius: 12px; }

.wc-tool-page { max-width: 720px; margin: 0 auto; padding: var(--wc-space-5) var(--wc-space-4); }
.wc-tool-form { background: var(--wc-surface); border: 1px solid var(--wc-border); border-radius: var(--wc-radius); padding: var(--wc-space-4); display: flex; flex-direction: column; gap: var(--wc-space-3); }
.wc-tool-form label { font-weight: 600; font-size: 14px; margin-bottom: 4px; display: block; }
.wc-tool-form input, .wc-tool-form select, .wc-tool-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--wc-border); border-radius: var(--wc-radius-sm); font-size: 15px; box-sizing: border-box;
}
.wc-tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wc-space-3); }
.wc-tool-result { margin-top: var(--wc-space-4); padding: var(--wc-space-4); border-radius: var(--wc-radius); background: var(--wc-primary-tint); border: 1px solid var(--wc-primary); display: none; }
.wc-tool-result.wc-visible { display: block; }
.wc-tool-result h3 { margin: 0 0 8px; color: var(--wc-primary-dark); }
.wc-tool-saved { color: var(--wc-primary-dark); font-size: 14px; margin-top: var(--wc-space-3); }
.wc-tool-register-cta { margin-top: var(--wc-space-3); padding: var(--wc-space-3); background: #fff; border: 1px dashed var(--wc-primary); border-radius: var(--wc-radius-sm); font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wc-score-bar { height: 10px; border-radius: 999px; background: var(--wc-border); overflow: hidden; margin: 8px 0; }
.wc-score-bar-fill { height: 100%; background: linear-gradient(90deg, var(--wc-primary), var(--wc-accent)); border-radius: 999px; transition: width 0.4s ease; }
.wc-tool-history-table { width: 100%; border-collapse: collapse; margin-top: var(--wc-space-3); font-size: 13.5px; }
.wc-tool-history-table th, .wc-tool-history-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--wc-border); }

.wc-challenge-days { display: flex; flex-direction: column; gap: 8px; }
.wc-challenge-day { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--wc-border); border-radius: var(--wc-radius-sm); }
.wc-challenge-day.wc-day-complete { background: var(--wc-primary-tint); border-color: var(--wc-primary); }
.wc-challenge-day-num { width: 28px; height: 28px; border-radius: 50%; background: var(--gray-100, #f3f4f6); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; flex: none; }
.wc-day-complete .wc-challenge-day-num { background: var(--wc-primary); color: #fff; }
.wc-challenge-day-body { flex: 1; }
.wc-challenge-day-title { font-weight: 600; font-size: 14.5px; }
.wc-challenge-day-desc { font-size: 12.5px; color: var(--wc-text-muted); }
.wc-challenge-day-check { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--wc-border); background: #fff; cursor: pointer; font-size: 15px; flex: none; }
.wc-challenge-day-check:disabled { cursor: default; color: var(--wc-primary); border-color: var(--wc-primary); }

/* Floating action buttons */
.wc-whatsapp-float { position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,0.4); z-index: 998; transition: transform 0.15s ease; }
.wc-whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.wc-back-to-top { position: fixed; right: 24px; bottom: 92px; width: 44px; height: 44px; border-radius: 50%; background: var(--gray-900, #111827); color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--wc-shadow-lg); z-index: 998; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.2s ease; }
.wc-back-to-top.wc-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.wc-back-to-top:hover { background: var(--wc-primary); }
@media (max-width: 500px) {
	.wc-whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
	.wc-back-to-top { right: 16px; bottom: 78px; width: 40px; height: 40px; }
}

/* ---- Chat widget: floating launcher + docked panel ---- */
.wc-chat-launcher { position: fixed; right: 24px; bottom: 160px; width: 56px; height: 56px; border-radius: 50%; background: var(--wc-primary); color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--wc-shadow-lg); z-index: 999; }
.wc-chat-launcher:hover { background: var(--wc-primary-dark); }
.wc-chat-unread-dot { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--wc-accent); color: #111; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wc-chat-panel { position: fixed; right: 24px; bottom: 24px; width: 340px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 48px); background: #fff; border-radius: var(--wc-radius); box-shadow: var(--wc-shadow-lg); z-index: 1000; display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--wc-border, #e5e7eb); }
.wc-chat-panel.wc-chat-open { display: flex; }
.wc-chat-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--wc-primary); color: #fff; flex: none; }
.wc-chat-header strong { font-size: 14px; }
.wc-chat-close { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; line-height: 1; }
.wc-chat-list { flex: none; overflow-y: auto; max-height: 100%; }
.wc-chat-list-item { display: block; padding: 10px 14px; border-bottom: 1px solid var(--wc-border, #f0f0f0); cursor: pointer; }
.wc-chat-list-item:hover { background: var(--gray-100, #f9fafb); }
.wc-chat-list-item .wc-chat-item-name { font-weight: 600; font-size: 13.5px; }
.wc-chat-list-item .wc-chat-item-badge { display: inline-block; margin-left: 6px; background: var(--wc-accent); color: #111; border-radius: 9px; font-size: 10.5px; font-weight: 700; padding: 1px 6px; }
.wc-chat-body { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--gray-50, #f9fafb); }
.wc-chat-bubble { max-width: 78%; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; word-wrap: break-word; }
.wc-chat-bubble-mine { align-self: flex-end; background: var(--wc-primary); color: #fff; border-bottom-right-radius: 4px; }
.wc-chat-bubble-theirs { align-self: flex-start; background: #fff; border: 1px solid var(--wc-border, #e5e7eb); border-bottom-left-radius: 4px; }
.wc-chat-empty { color: var(--wc-text-muted); font-size: 13px; text-align: center; padding: 24px 12px; }
.wc-chat-footer { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--wc-border, #e5e7eb); flex: none; }
.wc-chat-footer textarea { flex: 1; resize: none; height: 38px; font-size: 13.5px; padding: 8px 10px; }
.wc-chat-footer button { flex: none; }
.wc-chat-back { background: none; border: none; color: #fff; font-size: 14px; cursor: pointer; margin-right: 6px; }
@media (max-width: 500px) {
	.wc-chat-launcher { right: 16px; bottom: 144px; width: 48px; height: 48px; }
	.wc-chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); }
}

.wc-package-selectable { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.wc-package-selectable.wc-package-active { border-color: var(--wc-primary); box-shadow: 0 0 0 2px var(--wc-primary-tint); }
