/* Landing design "Night city": the page is the prompt box.
   Deep ink ground, a skyline low on the horizon so the headline sits on
   clean sky, and one cool glow on the rooftops. The orange belongs to the
   product — the badge, Generate and the AI plan — never to the scenery.
   Everything is scoped under .lc and uses logical properties, so Arabic
   and Urdu mirror without a second stylesheet. */

.lc {
  --lc-ink: #06080B;
  --lc-panel: #0C1218;
  --lc-line: #22303D;
  --lc-text: #EEF3F7;
  --lc-dim: #96A3B0;
  --lc-faint: #5A6874;
  --lc-signal: #FF6A2B;
  --lc-cool: #4C7FE0;
  --lc-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--lc-ink);
  color: var(--lc-text);
}
.lc h1, .lc h2, .lc h3 { letter-spacing: -0.03em; }

/* Out of the platform shell, the way .l2 does it, and the shell itself goes
   dark so the header and footer do not sit in a white band above the city. */
.lc-bleed { width: auto; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
body:has(.lc) { overflow-x: clip; background: var(--lc-ink, #06080B); }
body:has(.lc) main { max-width: 1180px; }
body:has(.lc) .site-header {
  background: #080B11; color: #E7EAF2; max-width: none; border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding-left: max(1.25rem, calc(50vw - 590px)); padding-right: max(1.25rem, calc(50vw - 590px));
}
body:has(.lc) .site-header a { color: #E7EAF2; }
body:has(.lc) .site-footer { margin-top: 0; background: #06080B; color: #8C97A5; border-top: 1px solid rgba(255, 255, 255, .07); }
body:has(.lc) .site-footer a { color: #A8B2C0; }

/* ---------- hero ---------- */
.lc-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 1.25rem clamp(4rem, 9vw, 8rem); isolation: isolate; }
.lc-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lc-glow {
  position: absolute; inset-inline: 0; bottom: 6%; height: 46%;
  background: radial-gradient(60% 100% at 50% 100%, color-mix(in srgb, var(--lc-cool) 42%, transparent), transparent 72%);
  filter: blur(40px);
}
.lc-glow-cool { bottom: auto; top: -18%; height: 52%; opacity: .5;
  background: radial-gradient(55% 100% at 62% 0%, color-mix(in srgb, #2B3A6B 70%, transparent), transparent 70%); }

.lc-city { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: clamp(180px, 26vw, 330px); z-index: 0; }
.lc-city-far rect  { fill: #141B29; }
.lc-city-mid rect  { fill: #0C1220; }
.lc-city-near rect { fill: #070A11; }
.lc-city-lit rect  { fill: #A9C9F5; opacity: .5; }

.lc-hero-inner { position: relative; z-index: 1; max-width: 62rem; margin: 0 auto; text-align: center; }

.lc-badge {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 86px; height: 86px; border-radius: 50%; margin-bottom: 1rem;
  background: linear-gradient(140deg, #FF7A3D, #C0322E 46%, #3B2BC9);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 44px -6px color-mix(in srgb, var(--lc-signal) 70%, transparent);
}
.lc-badge img { width: 48px; height: 48px; }
.lc-spark { position: absolute; color: #fff; }
.lc-spark-a { inset-block-start: -4px; inset-inline-end: -4px; }
.lc-spark-b { inset-block-end: 2px; inset-inline-start: -2px; opacity: .85; }

.lc-name { margin: 0 0 clamp(1.2rem, 3vw, 2rem); font-size: 1.5rem; font-weight: 800; }
.lc-beta { font-size: .68em; font-weight: 600; vertical-align: .5em; padding: .2em .5em;
  border-radius: 6px; background: rgba(255, 255, 255, .13); color: #E7EAF2; }

.lc h1 { margin: 0; font-size: clamp(2.2rem, 6.2vw, 4.6rem); line-height: .99; font-weight: 800; }
.lc-fade { color: color-mix(in srgb, var(--lc-text) 42%, transparent); }
.lc-lead { margin: clamp(1rem, 2.4vw, 1.5rem) auto 0; max-width: 40rem; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--lc-dim); }

/* the box */
.lc-ask {
  display: flex; align-items: center; gap: .6rem;
  max-width: 44rem; margin: clamp(1.6rem, 4vw, 2.6rem) auto 0;
  padding: .55rem .55rem .55rem 1.1rem;
  border: 1px solid #2B3B4A; border-radius: 999px; background: var(--lc-panel);
  box-shadow: 0 0 0 1px rgba(255, 106, 43, .10), 0 34px 70px -44px rgba(255, 106, 43, .5), 0 26px 60px -40px #000;
}
.lc-ask:focus-within { border-color: color-mix(in srgb, var(--lc-signal) 60%, #2B3B4A); }
.lc-ask-spark { flex: none; color: rgba(255, 255, 255, .8); }
.lc-ask input {
  flex: 1 1 auto; min-width: 0; border: 0; background: none; color: var(--lc-text);
  font: inherit; font-size: clamp(.95rem, 1.3vw, 1.08rem); padding: .7rem .2rem;
}
.lc-ask input::placeholder { color: #6E7D8A; }
.lc-ask input:focus { outline: none; }
.lc-go {
  flex: none; display: inline-flex; align-items: center; gap: .5rem;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: .85rem 1.45rem; font: inherit; font-weight: 700; font-size: 1rem;
  background: var(--lc-signal); color: #06080B;
}
.lc-go:hover { background: color-mix(in srgb, var(--lc-signal) 84%, #fff); }

/* The chat window: the assistant on the left, the visitor on the right,
   and a send row under it. Bounded and scrolling, so the page does not
   grow as the conversation does. */
.lc-chat {
  max-width: 44rem; margin: clamp(1.6rem, 4vw, 2.6rem) auto 0;
  border: 1px solid #2B3B4A; border-radius: 20px; background: var(--lc-panel);
  box-shadow: 0 0 0 1px rgba(255, 106, 43, .08), 0 34px 70px -44px rgba(255, 106, 43, .4), 0 26px 60px -40px #000;
  overflow: hidden; text-align: start;
}
.lc-log {
  display: grid; gap: .55rem; padding: 1rem;
  max-height: min(42vh, 20rem); overflow-y: auto; scroll-behavior: smooth;
}
.lc-msg { display: flex; align-items: flex-end; gap: .5rem; }
.lc-msg-me { justify-content: flex-end; }
.lc-avatar {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(140deg, #FF7A3D, #C0322E 46%, #3B2BC9);
}
.lc-bubble {
  margin: 0; max-width: 78%; padding: .6rem .95rem; font-size: .95rem; line-height: 1.5;
  border-radius: 16px; animation: lc-bubble-in .28s ease both;
}
.lc-msg-them .lc-bubble { background: #16202B; color: var(--lc-text); border-start-start-radius: 4px; }
.lc-msg-me .lc-bubble { background: var(--lc-signal); color: #06080B; border-end-end-radius: 4px; }
@keyframes lc-bubble-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lc-msg.is-typing .lc-bubble { display: flex; gap: 4px; padding: .8rem .95rem; }
.lc-msg.is-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--lc-faint); animation: lc-dot 1s infinite; }
.lc-msg.is-typing i:nth-child(2) { animation-delay: .15s; }
.lc-msg.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lc-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

.lc-compose { display: flex; align-items: center; gap: .5rem; padding: .6rem; border-top: 1px solid #1E2B37; background: #0A1016; }
.lc-compose input {
  flex: 1 1 auto; min-width: 0; border: 0; background: none; color: var(--lc-text);
  font: inherit; font-size: 1rem; padding: .6rem .5rem;
}
.lc-compose input::placeholder { color: #6E7D8A; }
.lc-compose input:focus { outline: none; }
.lc-compose input:disabled { opacity: .6; }
.lc-send {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 50%; cursor: pointer; color: #06080B; background: var(--lc-signal);
  transition: width .2s ease, border-radius .2s ease;
}
.lc-send:hover { background: color-mix(in srgb, var(--lc-signal) 84%, #fff); }
.lc-send:disabled { opacity: .5; cursor: default; }
.lc-send svg { transform: rotate(0); }
[dir="rtl"] .lc-send svg { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  .lc-bubble { animation: none; }
  .lc-msg.is-typing i { animation: none; }
  .lc-log { scroll-behavior: auto; }
}

.lc-examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 1.1rem; }
.lc-examples-label { font-family: var(--lc-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lc-faint); margin-inline-end: .3rem; }
.lc-examples a {
  padding: .5rem 1rem; border: 1px solid var(--lc-line); border-radius: 999px;
  background: var(--lc-panel); color: #D6DFE7; text-decoration: none; font-size: .88rem;
}
.lc-examples a:hover { border-color: #3A4B5C; color: #fff; }

.lc-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin: 1.6rem 0 0; padding: 0; list-style: none;
  font-family: var(--lc-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-dim); }
.lc-assure li::before { content: "✓"; color: #5FE0CE; margin-inline-end: .45rem; }

/* a real site, framed */
.lc-shot { position: relative; z-index: 1; max-width: 60rem; margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  border: 1px solid var(--lc-line); border-radius: 16px; overflow: hidden; background: #0B0D14;
  box-shadow: 0 -10px 60px -20px rgba(0, 0, 0, .8); }
.lc-shot-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border-bottom: 1px solid #1A2632; background: #11141D; }
.lc-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2A3542; }
.lc-shot-bar span { flex: 1; text-align: center; font-family: var(--lc-mono); font-size: .72rem; color: var(--lc-dim); }
.lc-shot-body { aspect-ratio: 16 / 7; background: #05060A; }
.lc-shot-body img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- what you get back ---------- */
.lc-out { max-width: 68rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem 0; }
.lc-kicker { margin: 0 0 1.4rem; font-family: var(--lc-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lc-signal); }
.lc-out-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1px; background: #16202B; border: 1px solid #16202B; border-radius: 16px; overflow: hidden; }
.lc-out-grid > div { background: #0A0F15; padding: 1.8rem 1.6rem 2rem; }
.lc-out-grid h3 { margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 600; }
.lc-out-grid p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--lc-dim); }
.lc-note { margin: 1.4rem 0 0; text-align: center; font-size: .9rem; color: var(--lc-dim); }

/* ---------- plans ----------
   The partial is shared with the light designs, so its card, badge and
   toggle colours are re-stated here for ink. Text on a dark panel, never
   the light design's near-white-on-white, which is unreadable here. */
.lc-plans { max-width: 68rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem 0; }
.lc-plans .ld-section-head h2 { color: var(--lc-text); }
.lc-plans .muted, .lc-plans .ld-year-note { color: var(--lc-dim); }
.lc-plans .ld-plan {
  background: #0A0F15; border: 1px solid #1B2631; color: var(--lc-text);
  border-radius: 16px;
}
.lc-plans .ld-plan h3, .lc-plans .ld-plan-price { color: var(--lc-text); }
.lc-plans .ld-plan p, .lc-plans .ld-plan li { color: var(--lc-dim); }
.lc-plans .ld-plan li.is-no { color: var(--lc-faint); }
.lc-plans .ld-plan.is-highlighted {
  background: #100C0A; border-color: var(--lc-signal);
  box-shadow: 0 0 0 1px rgba(255, 106, 43, .18), 0 30px 70px -44px rgba(255, 106, 43, .6);
}
.lc-plans .ld-plan.is-highlighted li { color: #CDBDB4; }
.lc-plans .ld-plan-badge { background: var(--lc-signal); color: #06080B; }
.lc-plans .ld-toggle { border: 1px solid var(--lc-line); background: var(--lc-panel); }
.lc-plans .ld-toggle-btn { color: var(--lc-dim); background: transparent; }
.lc-plans .ld-toggle-btn.is-on { background: #1A242F; color: var(--lc-text); }
.lc-plans .button { border-color: #2B3B4A; color: var(--lc-text); }
.lc-plans .button-outline { background: transparent; }
.lc-plans .ld-plan.is-highlighted .button { background: var(--lc-signal); border-color: var(--lc-signal); color: #06080B; }

/* ---------- last call ---------- */
.lc-final { position: relative; overflow: hidden; margin-top: clamp(3rem, 7vw, 5.5rem); padding: clamp(3rem, 7vw, 5.5rem) 1.25rem clamp(3.5rem, 8vw, 6rem); text-align: center; }
.lc-final h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
.lc-final p { position: relative; z-index: 1; margin: .8rem 0 1.6rem; color: var(--lc-dim); }
.lc-btn { position: relative; z-index: 1; display: inline-block; padding: 1rem 1.9rem; border-radius: 999px;
  background: var(--lc-signal); color: #06080B; font-weight: 700; text-decoration: none; }
.lc-btn:hover { background: color-mix(in srgb, var(--lc-signal) 84%, #fff); color: #06080B; }

@media (prefers-reduced-motion: reduce) { .lc * { animation: none !important; transition: none !important; } }
