/* WorkFlow Suite — Landing CSS (refactored from /landing/index.html) */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
	--primary: #00a1ff;
	--primary-dark: #0086d6;
	--accent: #00c4ff;
	--ink: #0f2746;
	--ink-soft: #4b5b75;
	--muted: #8a9bb1;
	--line: #e3edf5;
	--soft: #f3faff;
	--green: #00b07a;
	--amber: #ff9f43;
	--red: #ff4d6d;
}
html { scroll-behavior: smooth; }
body {
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: var(--ink);
	line-height: 1.6;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
body.lang-th { font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,0.85);
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
	display: flex; align-items: center; gap: 10px;
	font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none;
}
.logo-mark {
	width: 36px; height: 36px;
	background: linear-gradient(135deg, var(--accent), var(--primary));
	border-radius: 9px;
	display: flex; align-items: center; justify-content: center;
	color: white; font-size: 16px;
	box-shadow: 0 6px 18px -6px rgba(0,161,255,0.6);
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a:not(.btn):not(.lang-btn) {
	color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 14.5px;
	transition: color 0.15s;
}
.nav-links a:not(.btn):not(.lang-btn):hover { color: var(--primary-dark); }

/* Language dropdown */
.lang-dropdown { position: relative; }
.lang-btn {
	background: transparent;
	border: 1.5px solid var(--line);
	color: var(--ink-soft);
	padding: 7px 12px;
	border-radius: 8px;
	font-size: 13px; font-weight: 700;
	cursor: pointer;
	display: inline-flex; align-items: center; gap: 6px;
	font-family: inherit;
	transition: all 0.15s;
}
.lang-btn:hover { background: var(--soft); border-color: var(--primary); color: var(--primary-dark); }
.lang-btn i { font-size: 10px; }
.lang-menu {
	position: absolute; top: 100%; right: 0;
	margin-top: 6px;
	background: white;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: 0 10px 30px -8px rgba(15,39,70,0.15);
	min-width: 160px;
	padding: 6px;
	opacity: 0; visibility: hidden;
	transform: translateY(-8px);
	transition: all 0.18s;
}
.lang-dropdown:hover .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
	display: block;
	padding: 9px 12px;
	color: var(--ink) !important;
	font-size: 13.5px; font-weight: 600 !important;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.12s;
}
.lang-menu a:hover { background: var(--soft); color: var(--primary-dark) !important; }
.lang-menu a.active { background: var(--soft); color: var(--primary-dark) !important; }

/* Buttons */
a.btn, button.btn, .btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 22px; border-radius: 10px;
	font-weight: 700; font-size: 14.5px;
	text-decoration: none; cursor: pointer;
	border: none;
	transition: all 0.18s;
	font-family: inherit;
}
a.btn-primary, .btn-primary {
	background: linear-gradient(135deg, var(--accent), var(--primary));
	color: #fff !important;
	box-shadow: 0 8px 20px -6px rgba(0,161,255,0.5);
}
a.btn-primary:hover, .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -8px rgba(0,161,255,0.65);
	color: #fff !important;
}
a.btn-ghost, .btn-ghost {
	background: transparent; color: var(--ink);
	border: 1.5px solid var(--line);
}
a.btn-ghost:hover, .btn-ghost:hover {
	background: var(--soft); border-color: var(--primary); color: var(--primary-dark);
}
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn-full { width: 100%; justify-content: center; }

@media (max-width: 768px) {
	.nav-links a:not(.btn):not(.lang-btn) { display: none; }
}

/* ===== HERO ===== */
.hero {
	padding: 80px 0 100px;
	background:
		radial-gradient(ellipse at top left, rgba(0,196,255,0.08), transparent 50%),
		radial-gradient(ellipse at bottom right, rgba(0,176,122,0.06), transparent 50%),
		linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: ''; position: absolute; top: -200px; right: -200px;
	width: 600px; height: 600px;
	background: radial-gradient(circle, rgba(0,161,255,0.1), transparent 70%);
	border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(0,161,255,0.1); color: var(--primary-dark);
	padding: 7px 16px; border-radius: 999px;
	font-size: 13px; font-weight: 700;
	margin-bottom: 24px;
	border: 1px solid rgba(0,161,255,0.2);
}
.hero h1 {
	font-size: clamp(36px, 6vw, 64px);
	font-weight: 900; line-height: 1.1;
	letter-spacing: -1px; margin-bottom: 24px;
}
.hero h1 .accent {
	background: linear-gradient(135deg, var(--accent), var(--primary));
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.hero p.sub {
	font-size: 20px; color: var(--ink-soft);
	max-width: 700px; margin-bottom: 36px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
	display: flex; gap: 28px; flex-wrap: wrap;
	margin-top: 50px; padding-top: 30px;
	border-top: 1px dashed var(--line);
	font-size: 14px; color: var(--ink-soft);
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-item i { color: var(--green); }

/* ===== SECTION ===== */
section.box { padding: 90px 0; }
section.box.alt { background: linear-gradient(180deg, #f7fbff, #ffffff); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-eyebrow {
	display: inline-block;
	font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px;
	color: var(--primary-dark); text-transform: uppercase;
	margin-bottom: 16px;
}
.section-head h2 {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800; line-height: 1.2; margin-bottom: 18px;
}
.section-head p { font-size: 17px; color: var(--ink-soft); }

/* ===== BIZ TYPES ===== */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.biz-card {
	background: white;
	border: 1.5px solid var(--line);
	border-radius: 16px;
	padding: 28px 22px; text-align: center;
	transition: all 0.25s;
}
.biz-card:hover {
	transform: translateY(-4px);
	border-color: var(--primary);
	box-shadow: 0 18px 40px -16px rgba(0,161,255,0.25);
}
.biz-ic {
	width: 64px; height: 64px;
	border-radius: 16px; margin: 0 auto 16px;
	display: flex; align-items: center; justify-content: center;
	font-size: 26px; color: white;
}
.biz-ic.b1 { background: linear-gradient(135deg, #00c4ff, #00a1ff); }
.biz-ic.b2 { background: linear-gradient(135deg, #ff9f43, #ff7b00); }
.biz-ic.b3 { background: linear-gradient(135deg, #1be0a8, #00b07a); }
.biz-ic.b4 { background: linear-gradient(135deg, #9b59b6, #6d28d9); }
.biz-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.biz-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.biz-tags { margin-top: 14px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.biz-tag {
	font-size: 11px; font-weight: 700;
	background: var(--soft); color: var(--primary-dark);
	padding: 4px 9px; border-radius: 5px;
}
@media (max-width: 980px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .biz-grid { grid-template-columns: 1fr; } }

/* ===== FEATURES ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat {
	background: white; border: 1px solid var(--line);
	border-radius: 18px; padding: 32px 26px;
	transition: all 0.2s;
}
.feat:hover { border-color: var(--primary); box-shadow: 0 14px 30px -16px rgba(15,39,70,0.15); }
.feat-ic {
	width: 56px; height: 56px; border-radius: 14px;
	background: linear-gradient(135deg, #e6f7ff, #cdedfb);
	color: var(--primary-dark);
	display: flex; align-items: center; justify-content: center;
	font-size: 22px; margin-bottom: 20px;
}
.feat h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.feat ul { margin-top: 14px; padding-left: 18px; font-size: 13.5px; color: var(--ink-soft); }
.feat ul li { margin-bottom: 6px; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: 1fr; } }

/* ===== MOCKUP ===== */
.mockup {
	background: linear-gradient(160deg, #0f2746, #1a3661);
	border-radius: 24px; padding: 32px;
	margin: 40px auto 0; max-width: 1000px;
	box-shadow: 0 50px 80px -30px rgba(15,39,70,0.4);
	color: white;
}
.mockup-top {
	display: flex; align-items: center; gap: 8px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	margin-bottom: 20px;
}
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup-dot.red { background: #ff4d6d; }
.mockup-dot.amber { background: #ffb547; }
.mockup-dot.green { background: #1be0a8; }
.mockup-url {
	margin-left: 14px; flex: 1;
	background: rgba(255,255,255,0.08);
	padding: 8px 14px; border-radius: 6px;
	font-size: 12px; color: #c4d3e3;
	font-family: ui-monospace, monospace;
}
.mockup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi {
	background: rgba(255,255,255,0.06);
	border-radius: 12px; padding: 16px;
	border: 1px solid rgba(255,255,255,0.08);
}
.kpi.kpi-good { background: linear-gradient(135deg, rgba(27,224,168,0.18), rgba(0,176,122,0.1)); }
.kpi-label { font-size: 11px; color: #9eb3cb; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.kpi-value { font-size: 26px; font-weight: 900; margin: 4px 0; }
.kpi-sub { font-size: 11.5px; color: #c4d3e3; }
.mockup-section {
	margin-top: 20px; background: rgba(255,255,255,0.04);
	border-radius: 10px; padding: 16px;
}
.mockup-section h4 {
	font-size: 13px; color: #c4d3e3; font-weight: 700;
	margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.mockup-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,0.06); }
.mockup-bar-fill { background: linear-gradient(90deg, var(--accent), var(--primary)); height: 100%; }
.mockup-row {
	display: flex; justify-content: space-between; align-items: center;
	padding: 10px 0;
	border-top: 1px solid rgba(255,255,255,0.05);
	font-size: 13px;
}
.mockup-row:first-child { border-top: 0; }
.mockup-row b { color: white; font-weight: 700; }
.bar-wrap { flex: 1; margin: 0 14px; }
@media (max-width: 720px) { .mockup-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== TIMELINE ===== */
.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before {
	content: ''; position: absolute;
	left: 14px; top: 8px; bottom: 8px; width: 2px;
	background: linear-gradient(180deg, var(--primary), transparent);
}
.tl-item { position: relative; margin-bottom: 36px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
	position: absolute; left: -34px; top: 4px;
	width: 30px; height: 30px;
	background: linear-gradient(135deg, var(--accent), var(--primary));
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: white; font-weight: 800; font-size: 13px;
	box-shadow: 0 6px 14px -4px rgba(0,161,255,0.5);
}
.tl-item h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.tl-item p { color: var(--ink-soft); font-size: 14.5px; }

/* ===== PRICING ===== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.price-card {
	background: white; border: 2px solid var(--line);
	border-radius: 22px; padding: 36px 30px;
	position: relative; transition: all 0.25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(15,39,70,0.18); }
.price-card.popular { border-color: var(--primary); box-shadow: 0 16px 40px -12px rgba(0,161,255,0.3); }
.popular-badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: linear-gradient(135deg, var(--accent), var(--primary));
	color: white; font-size: 11.5px; font-weight: 800;
	padding: 6px 16px; border-radius: 999px;
	letter-spacing: 0.5px; text-transform: uppercase;
}
.price-name { font-size: 16px; font-weight: 800; color: var(--ink-soft); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 12px; }
.price-num { font-size: 44px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.price-num small { font-size: 16px; color: var(--muted); font-weight: 600; }
.price-period { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.price-feats { list-style: none; padding: 0; margin-bottom: 28px; }
.price-feats li {
	padding: 9px 0; font-size: 14px; color: var(--ink-soft);
	display: flex; align-items: flex-start; gap: 10px;
	border-bottom: 1px dashed var(--line);
}
.price-feats li:last-child { border-bottom: 0; }
.price-feats i { color: var(--green); margin-top: 4px; flex-shrink: 0; }
.price-feats li.dim { color: var(--muted); }
.price-feats li.dim i { color: var(--muted); }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; } }

/* ===== CTA ===== */
.cta-final {
	background: linear-gradient(135deg, #0f2746, #1a3661);
	color: white; border-radius: 28px;
	padding: 70px 50px; text-align: center;
	margin: 80px auto; max-width: 1100px;
	position: relative; overflow: hidden;
}
.cta-final::before {
	content: ''; position: absolute; top: -150px; right: -150px;
	width: 400px; height: 400px;
	background: radial-gradient(circle, rgba(0,196,255,0.2), transparent 70%);
	border-radius: 50%;
}
.cta-final h2 {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 900; margin-bottom: 18px;
	position: relative;
}
.cta-final p {
	font-size: 17px; opacity: 0.85; margin-bottom: 36px;
	max-width: 600px; margin-left: auto; margin-right: auto;
	position: relative;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-white { background: white; color: var(--ink) !important; padding: 16px 36px; font-size: 16px; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(0,0,0,0.3); }
.btn-outline {
	background: transparent; color: white !important;
	border: 1.5px solid rgba(255,255,255,0.3);
	padding: 16px 36px; font-size: 16px;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ===== FOOTER ===== */
footer { background: #0a1a2e; color: #9eb3cb; padding: 60px 0 30px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 22px; font-weight: 800; color: white; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-col h4 { font-size: 14px; font-weight: 800; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: #9eb3cb; text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.copyright {
	text-align: center; padding-top: 30px;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 13px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fadeUp { animation: fadeUp 0.8s ease both; }
