/* Aiconnect247 public landing page. Same palette as the Virtual Office. */
:root {
	--l-bg: #0a0f2a;
	--l-panel: rgba(22, 30, 68, 0.72);
	--l-line: rgba(129, 140, 248, 0.22);
	--l-line-strong: rgba(129, 140, 248, 0.55);
	--l-text: #eef1ff;
	--l-muted: #9ba6d9;
	--l-accent: #7c6cf6;
	--l-cyan: #7dd3fc;
	--l-ok: #34d399;
	--l-font: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
	--l-max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.l-body { margin: 0; background: var(--l-bg); color: var(--l-text); font-family: var(--l-font); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

/* Background: two slow glows and a faint grid that fades out downward. */
.l-sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.l-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: l-drift 18s ease-in-out infinite alternate; }
.l-orb--a { width: 620px; height: 620px; left: -160px; top: -220px; background: #4f46e5; }
.l-orb--b { width: 520px; height: 520px; right: -140px; top: 120px; background: #0ea5e9; opacity: 0.32; animation-delay: -9s; }
.l-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--l-line) 1px, transparent 1px), linear-gradient(90deg, var(--l-line) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.35; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
@keyframes l-drift { to { transform: translate(60px, 40px) scale(1.12); } }

/* Nav */
.l-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; max-width: var(--l-max); margin: 0 auto; padding: 16px 24px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.l-brand { display: flex; align-items: center; gap: 10px; font-size: 19px; letter-spacing: -0.01em; }
.l-brand svg { width: 34px; height: 34px; filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.55)); }
.l-nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--l-muted); }
.l-nav__links a:hover { color: var(--l-text); }

/* Buttons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.l-btn svg { width: 18px; height: 18px; }
.l-btn--primary { color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6 55%, #38bdf8); box-shadow: 0 10px 34px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.l-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(99, 102, 241, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.l-btn--ghost { border: 1px solid var(--l-line-strong); background: rgba(124, 108, 246, 0.08); }
.l-btn--ghost:hover { background: rgba(124, 108, 246, 0.2); border-color: #a5b4fc; }
.l-btn:focus-visible, .l-nav a:focus-visible, .l-foot a:focus-visible { outline: 2px solid var(--l-cyan); outline-offset: 3px; }

/* Hero */
.l-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; max-width: var(--l-max); margin: 0 auto; padding: 56px 24px 88px; }
.l-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border: 1px solid var(--l-line-strong); border-radius: 999px; background: rgba(124, 108, 246, 0.12); font-size: 13.5px; color: #c7d2fe; }
.l-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--l-ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); animation: l-pulse 2s infinite; }
@keyframes l-pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.l-hero h1 { margin-top: 22px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
.l-grad { background: linear-gradient(100deg, #7dd3fc, #a78bfa 50%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-lead { margin-top: 22px; max-width: 520px; font-size: 18px; color: var(--l-muted); }
.l-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.l-hero__art { position: relative; perspective: 1400px; }
.l-hero__art::before { content: ""; position: absolute; inset: 8% 4% -6%; background: radial-gradient(closest-side, rgba(99, 102, 241, 0.6), transparent); filter: blur(46px); }
.l-frame { position: relative; border: 1px solid var(--l-line-strong); border-radius: 18px; overflow: hidden; background: #0d1330; transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; box-shadow: 0 40px 90px rgba(3, 6, 28, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.l-hero__art:hover .l-frame { transform: rotateY(-3deg) rotateX(1deg); }
.l-frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--l-line); background: rgba(22, 30, 68, 0.9); font-size: 12.5px; color: var(--l-muted); }
.l-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.l-frame__bar i:nth-child(2) { background: #fbbf24; }
.l-frame__bar i:nth-child(3) { background: #34d399; }
.l-frame__bar span { margin-left: 8px; }
.l-frame img { display: block; width: 100%; height: auto; }

.l-float { position: absolute; display: flex; align-items: center; gap: 10px; max-width: 280px; padding: 12px 14px; border: 1px solid var(--l-line-strong); border-radius: 14px; background: rgba(18, 25, 60, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 44px rgba(3, 6, 28, 0.6); font-size: 13.5px; line-height: 1.45; animation: l-bob 6s ease-in-out infinite; }
.l-float strong { display: block; font-size: 12.5px; color: #c7d2fe; }
.l-float--chat { left: -26px; top: 20%; }
.l-float--done { right: -10px; bottom: 9%; animation-delay: -3s; }
.l-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #f472b6, #8b5cf6); font-weight: 700; font-size: 13px; }
.l-avatar--you { background: linear-gradient(135deg, #38bdf8, #6366f1); font-size: 11px; }
.l-check { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--l-ok); color: #05301f; font-weight: 800; font-size: 13px; }
@keyframes l-bob { 50% { transform: translateY(-10px); } }

/* Sections */
.l-section { max-width: var(--l-max); margin: 0 auto; padding: 64px 24px; scroll-margin-top: 70px; }
.l-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--l-cyan); }
.l-section h2, .l-final h2 { margin-top: 10px; font-size: clamp(27px, 3.4vw, 40px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.l-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.l-card { position: relative; padding: 26px 24px; border: 1px solid var(--l-line); border-radius: 18px; background: var(--l-panel); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.l-card:hover { transform: translateY(-5px); border-color: var(--l-line-strong); box-shadow: 0 22px 50px rgba(3, 6, 28, 0.55), 0 0 34px rgba(124, 108, 246, 0.18); }
.l-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(56, 189, 248, 0.22)); border: 1px solid var(--l-line-strong); color: #c7d2fe; }
.l-card__icon svg { width: 24px; height: 24px; }
.l-card h3 { margin-top: 18px; font-size: 18px; font-weight: 700; }
.l-card p { margin-top: 8px; font-size: 15px; color: var(--l-muted); }

.l-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.l-step { padding: 26px 24px; border-radius: 18px; border: 1px dashed var(--l-line-strong); }
.l-step__num { display: block; font-size: 46px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, #7dd3fc, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-step h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.l-step p { margin-top: 8px; font-size: 15px; color: var(--l-muted); }

.l-final { max-width: calc(var(--l-max) - 48px); margin: 40px auto 72px; padding: 56px 28px; text-align: center; border: 1px solid var(--l-line-strong); border-radius: 26px; background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(99, 102, 241, 0.42), rgba(22, 30, 68, 0.6)); }
.l-final p { margin: 12px 0 28px; color: #c7d2fe; font-size: 17px; }

.l-foot { display: flex; justify-content: space-between; gap: 16px; max-width: var(--l-max); margin: 0 auto; padding: 22px 24px 36px; border-top: 1px solid var(--l-line); font-size: 14px; color: var(--l-muted); }
.l-foot a:hover { color: var(--l-text); }

/* Reveal on scroll (only when JS is running). */
.l-js .l-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.l-js .l-reveal.is-in { opacity: 1; transform: none; }
.l-cards .l-reveal:nth-child(3n+2), .l-steps .l-reveal:nth-child(2) { transition-delay: 0.08s; }
.l-cards .l-reveal:nth-child(3n), .l-steps .l-reveal:nth-child(3) { transition-delay: 0.16s; }

@media (max-width: 980px) {
	.l-hero { grid-template-columns: 1fr; gap: 44px; padding-top: 32px; }
	.l-frame, .l-hero__art:hover .l-frame { transform: none; }
	.l-float--chat { left: 8px; top: -18px; }
	.l-float--done { right: 8px; bottom: -18px; }
	.l-cards, .l-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.l-nav { padding: 12px 16px; gap: 12px; }
	.l-nav__links { display: none; }
	.l-nav .l-btn { margin-left: auto; min-height: 40px; padding: 0 16px; }
	.l-hero, .l-section { padding-left: 16px; padding-right: 16px; }
	.l-section { padding-top: 44px; padding-bottom: 44px; }
	.l-lead { font-size: 16.5px; }
	.l-cta .l-btn { flex: 1 1 100%; }
	.l-cards, .l-steps { grid-template-columns: 1fr; }
	.l-float { max-width: 230px; font-size: 12.5px; }
	.l-final { margin-left: 16px; margin-right: 16px; padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.l-orb, .l-dot, .l-float { animation: none; }
	.l-js .l-reveal { opacity: 1; transform: none; transition: none; }
	.l-btn, .l-card, .l-frame { transition: none; }
}
