/* ChatLife Premium login page */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

.cll { --night:#0f1532; --night2:#171f45; --line:rgba(255,255,255,.09); --gold:#f2b33d; --gold2:#ffd56b; --text:#e9ecfb; --muted:#aab2d6;
	min-height:100%; width:100%; color:var(--text); font-family:'Poppins', system-ui, sans-serif;
	background:
		radial-gradient(900px 500px at 85% 15%, rgba(242,179,61,.16), transparent 60%),
		radial-gradient(700px 500px at 0% 100%, rgba(122,92,255,.18), transparent 60%),
		var(--night);
	display:flex; flex-direction:column; }
.cll * { box-sizing:border-box; }

/* top bar */
.cll_top { display:flex; align-items:center; justify-content:space-between; max-width:1180px; width:100%; margin:0 auto; padding:22px 24px 0; }
.cll_logo { height:46px; width:auto; display:block; }
.cll_lang { width:40px; height:40px; border-radius:50%; display:grid; place-items:center; cursor:pointer; background:var(--night2); border:1px solid var(--line); }
.cll_lang img { width:24px; height:auto; border-radius:3px; }

/* hero */
.cll_hero { display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; max-width:1180px; width:100%; margin:0 auto; padding:56px 24px 64px; flex:1; }
.cll_live { display:inline-flex; align-items:center; gap:9px; margin:0 0 18px; padding:6px 14px 6px 12px; border-radius:999px; background:rgba(47,185,105,.12); color:#7ee2a8; font-size:13.5px; font-weight:600; }
.cll_dot { width:9px; height:9px; border-radius:50%; background:#2fb969; box-shadow:0 0 0 0 rgba(47,185,105,.6); animation:cllPing 2s infinite; }
@keyframes cllPing { 70% { box-shadow:0 0 0 9px rgba(47,185,105,0); } 100% { box-shadow:0 0 0 0 rgba(47,185,105,0); } }
.cll h1 { font-size:clamp(34px, 4.6vw, 56px); line-height:1.07; font-weight:800; letter-spacing:-.025em; margin:0 0 18px; color:#fff; }
.cll_sub { font-size:17px; line-height:1.65; color:var(--muted); max-width:520px; margin:0 0 30px; }
.cll_actions { display:flex; flex-wrap:wrap; gap:12px; }
.cll_btn { font-family:inherit; font-size:16px; font-weight:700; border-radius:999px; padding:15px 28px; cursor:pointer; border:2px solid transparent; display:inline-flex; align-items:center; gap:10px; transition:transform .15s, background .15s; }
.cll_btn:active { transform:scale(.98); }
.cll_btn_main { background:linear-gradient(135deg, var(--gold2), var(--gold)); color:#14182b; box-shadow:0 10px 26px -8px rgba(242,179,61,.7); }
.cll_btn_main:hover { filter:brightness(1.05); }
.cll_btn_ghost { background:transparent; color:#fff; border-color:rgba(255,255,255,.35); }
.cll_btn_ghost:hover { background:rgba(255,255,255,.07); }
.cll_reg { margin:22px 0 0; color:var(--muted); font-size:15px; }
.cll_reg span { color:var(--gold2); font-weight:700; cursor:pointer; margin-left:4px; }
.cll_reg span:hover { text-decoration:underline; }
.cll_terms { margin:14px 0 0; font-size:12.5px; color:#7f88b1; }
.cll_terms a { color:#aab2d6; }

/* chat preview */
.cll_window { background:#0a0f27; border:1px solid var(--line); border-radius:22px; box-shadow:0 40px 80px -30px rgba(0,0,0,.7); overflow:hidden; position:relative; }
.cll_tabs { display:flex; gap:6px; padding:12px 12px 0; border-bottom:1px solid var(--line); overflow:hidden; }
.cll_tabs span { padding:8px 14px; border-radius:12px 12px 0 0; color:#8a93bd; font-size:13.5px; font-weight:600; white-space:nowrap; }
.cll_tabs span:before { content:'#'; color:#5f69a0; margin-right:2px; }
.cll_tabs span.on { background:var(--night2); color:#fff; }
.cll_tabs span.on:before { color:var(--gold); }
.cll_log { list-style:none; margin:0; padding:18px 18px 8px; display:flex; flex-direction:column; gap:12px; min-height:280px; }
.cll_log li { display:flex; gap:10px; align-items:baseline; font-size:15px; line-height:1.45; opacity:0; transform:translateY(8px); animation:cllIn .5s ease-out forwards; }
.cll_log li:nth-child(1){animation-delay:.2s}.cll_log li:nth-child(2){animation-delay:.8s}.cll_log li:nth-child(3){animation-delay:1.4s}
.cll_log li:nth-child(4){animation-delay:2s}.cll_log li:nth-child(5){animation-delay:2.6s}.cll_log li:nth-child(6){animation-delay:3.2s}
@keyframes cllIn { to { opacity:1; transform:none; } }
.cll_log b { font-weight:700; flex:none; }
.cll_log span { color:#dfe3f8; }
.cll_log .cll_sys span { color:#7ee2c8; font-size:13px; }
.n1{color:#2dd4bf}.n2{color:var(--gold2)}.n3{color:#fb7185}.n4{color:#60a5fa}
.n5{ background:linear-gradient(90deg,#ff9a44,#fc6076,#a18cd1); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.cll_typing { display:flex; align-items:center; gap:8px; margin:0 18px 10px; font-size:12.5px; color:#9aa3cc; opacity:0; animation:cllIn .4s ease-out 3.8s forwards; }
.cll_dots { display:inline-flex; gap:3px; }
.cll_dots i { width:6px; height:6px; border-radius:50%; background:var(--gold2); animation:cllDot 1.2s infinite ease-in-out; }
.cll_dots i:nth-child(2){animation-delay:.15s}.cll_dots i:nth-child(3){animation-delay:.3s}
@keyframes cllDot { 0%,60%,100% { transform:translateY(0); opacity:.45; } 30% { transform:translateY(-4px); opacity:1; } }
.cll_input { display:flex; align-items:center; justify-content:space-between; margin:0 14px 14px; padding:13px 16px; border-radius:14px; border:1px solid var(--line); color:#6f78a6; font-size:14px; }
.cll_input i { color:var(--gold); }

/* features */
.cll_features { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; max-width:1180px; width:100%; margin:0 auto; padding:0 24px 60px; }
.cll_feature { background:rgba(255,255,255,.035); border:1px solid var(--line); border-radius:18px; padding:22px; }
.cll_feature i { font-size:20px; color:var(--gold); width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:rgba(242,179,61,.12); margin-bottom:14px; }
.cll_feature h2 { font-size:16px; font-weight:700; margin:0 0 6px; color:#fff; }
.cll_feature p { font-size:14px; line-height:1.55; color:var(--muted); margin:0; }

/* CodyChat footer on the dark background */
.cll #main_footer { background:rgba(0,0,0,.25); border-top:1px solid var(--line); color:var(--muted); }
.cll #main_footer a, .cll #main_footer li { color:var(--muted); }
.cll .section_content:empty { display:none; }

/* tablet */
@media screen and (max-width:1000px){
	.cll_hero { grid-template-columns:1fr; gap:40px; padding:40px 22px 48px; }
	.cll_window { max-width:560px; }
	.cll_features { grid-template-columns:repeat(2, 1fr); }
}
/* phone */
@media screen and (max-width:600px){
	.cll_top { padding:16px 18px 0; }
	.cll_logo { height:36px; }
	.cll_hero { padding:28px 18px 36px; gap:30px; text-align:center; }
	.cll_live { margin-bottom:14px; }
	.cll_sub { font-size:15.5px; margin:0 auto 24px; }
	.cll_actions { flex-direction:column; }
	.cll_btn { width:100%; justify-content:center; padding:16px 20px; }
	.cll_log { min-height:0; padding:14px 14px 6px; gap:9px; }
	.cll_log li { font-size:14px; text-align:left; }
	.cll_log li:nth-child(n+5) { display:none; }
	.cll_features { grid-template-columns:1fr; padding:0 18px 40px; gap:12px; }
	.cll_feature { display:grid; grid-template-columns:44px 1fr; column-gap:14px; padding:16px; }
	.cll_feature i { margin:0; grid-row:span 2; }
}
@media (prefers-reduced-motion:reduce){
	.cll_log li, .cll_typing { animation:none; opacity:1; transform:none; }
	.cll_dot, .cll_dots i { animation:none; }
}
