/* =========================================================
   Services console
   ========================================================= */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 16px; margin-top: 40px; align-items: stretch; }
.svc-list { display: flex; flex-direction: column; gap: 8px; }
.svc-item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  text-align: left; font: inherit; color: var(--muted); cursor: pointer;
  padding: 18px 18px 20px; border-radius: 16px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: color .3s, border-color .3s, background .3s, transform .3s;
}
.svc-item:hover { color: var(--ink); transform: translateX(4px); }
.svc-item.active { color: var(--ink); border-color: rgba(230,197,111,.5); background: linear-gradient(90deg, rgba(230,197,111,.14), rgba(18,15,12,.55)); }
.svc-n { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold); line-height: 1; }
.svc-t { font-weight: 700; font-size: 16px; }
.svc-new { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; background: var(--gold-grad); color: #120d05; }
.svc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.05); }
.svc-bar i { display: block; height: 100%; width: 0; background: var(--gold); }

.svc-stage { position: relative; overflow: hidden; min-height: 470px; padding: 0; --mx: 50%; --my: 30%; }
.svc-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(230,197,111,.13), transparent 60%);
}
.svc-panel {
  position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center;
  padding: clamp(22px, 3vw, 40px);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1), visibility .5s;
}
.svc-panel.active { opacity: 1; visibility: visible; transform: none; position: relative; min-height: 470px; }
.svc-copy h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; }
.svc-copy p { margin-bottom: 18px; }
.svc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags li { font-size: 12px; padding: 6px 11px; border-radius: 99px; border: 1px solid rgba(230,197,111,.3); color: var(--gold); background: rgba(230,197,111,.06); }

.demo { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.demo-controls { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; }
.btn.small { height: 40px; font-size: 14px; }
.seg { gap: 4px; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 12px; padding: 4px; width: auto; }
.seg button { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 7px 12px; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s; }
.seg button.active { background: var(--ink); color: #0b0906; }
.seg button:hover:not(.active) { color: var(--ink); }

/* 01 brand */
.brand-card {
  --b-bg: #0b0906; --b-ink: #f6f1e7; --b-accent: #e6c56f; --b-font: var(--sans);
  width: min(100%, 340px); aspect-ratio: 1.45; border-radius: 18px; padding: 22px;
  background: var(--b-bg); color: var(--b-ink); font-family: var(--b-font);
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 4px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: background .5s, color .5s;
}
.brand-card.pop { animation: pop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { 40% { transform: scale(.96) rotate(-1deg); } }
.brand-mark { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 22px; background: var(--b-accent); color: var(--b-bg); transition: background .5s; }
.brand-name { align-self: end; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }
.brand-tag { font-size: 12px; opacity: .65; }
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatches i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(128,128,128,.35); transition: background .5s; }
.demo-brand input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--ink); background: rgba(0,0,0,.35);
  border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; height: 40px;
}
.demo-brand input:focus { outline: none; border-color: var(--gold); }

/* 02 web */
.device {
  width: 100%; max-width: 420px; border-radius: 14px; overflow: hidden; background: #0d0b08;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px -25px rgba(0,0,0,.9);
  transition: max-width .6s cubic-bezier(.2,.8,.2,1), border-radius .6s;
}
.device.phone { max-width: 190px; border-radius: 26px; }
.device-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: rgba(255,255,255,.05); font-size: 10px; color: var(--muted); }
.device-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); flex: none; }
.device-bar span { margin-left: 8px; padding: 2px 10px; border-radius: 99px; background: rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-body { padding: 12px; display: grid; gap: 10px; }
.sk { border-radius: 8px; background: rgba(255,255,255,.07); }
.sk-nav { height: 14px; width: 60%; }
.sk-hero { height: 110px; display: grid; align-content: center; gap: 7px; padding: 0 16px; background: linear-gradient(120deg, rgba(230,197,111,.22), rgba(255,255,255,.04)); }
.sk-hero b { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.5); width: 70%; }
.sk-hero b:nth-child(2) { width: 45%; opacity: .6; }
.sk-hero b.gold { width: 70px; height: 16px; background: var(--gold); margin-top: 4px; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.device.phone .sk-row { grid-template-columns: 1fr; }
.sk-card { height: 54px; }
.device.phone .sk-card { height: 34px; }
.sk-foot { height: 18px; opacity: .6; }
.device.build .sk { animation: buildIn .6s cubic-bezier(.2,.8,.2,1) backwards; }
.device.build .sk-nav { animation-delay: .05s; }
.device.build .sk-hero { animation-delay: .2s; }
.device.build .sk-card:nth-child(1) { animation-delay: .4s; }
.device.build .sk-card:nth-child(2) { animation-delay: .5s; }
.device.build .sk-card:nth-child(3) { animation-delay: .6s; }
.device.build .sk-foot { animation-delay: .75s; }
@keyframes buildIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* 03 content */
.frame-wrap { height: 250px; display: grid; place-items: center; width: 100%; }
.frame {
  position: relative; height: 240px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #3a2812, #0b0906 70%); border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center; box-shadow: 0 30px 60px -25px rgba(0,0,0,.9);
  transition: aspect-ratio .6s cubic-bezier(.2,.8,.2,1), height .6s cubic-bezier(.2,.8,.2,1);
}
.frame[data-fmt="post"] { aspect-ratio: 1; height: 220px; }
.frame[data-fmt="video"] { aspect-ratio: 16 / 9; height: 180px; max-width: 100%; }
.frame-lion { width: 58%; max-width: 120px; animation: kenburns 6s ease-in-out infinite alternate; filter: drop-shadow(0 10px 30px rgba(230,197,111,.35)); }
@keyframes kenburns { from { transform: scale(1) rotate(-2deg); } to { transform: scale(1.12) rotate(2deg); } }
.rec { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 700; letter-spacing: .1em; display: flex; align-items: center; gap: 5px; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.frame-fmt { position: absolute; bottom: 10px; right: 10px; font-size: 10px; padding: 3px 8px; border-radius: 99px; background: rgba(0,0,0,.55); white-space: nowrap; }
.timeline { position: relative; width: 100%; max-width: 380px; height: 30px; display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.clip { border-radius: 5px; height: 100%; }
.c1 { flex: 2; background: rgba(230,197,111,.55); } .c2 { flex: 1.3; background: rgba(185,138,62,.55); }
.c3 { flex: 2.6; background: rgba(246,241,231,.3); } .c4 { flex: 1; background: rgba(230,197,111,.35); }
.playhead { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 2px; left: 4px; animation: play 6s linear infinite; box-shadow: 0 0 10px rgba(255,255,255,.6); }
@keyframes play { to { left: calc(100% - 6px); } }

/* 04 AI chat */
.chat { width: 100%; max-width: 400px; border-radius: 18px; background: rgba(5,4,3,.7); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 30px; height: 30px; }
.chat-head b { display: block; font-size: 13px; }
.chat-head small { font-size: 11px; color: var(--muted); }
.live { margin-left: auto; font-size: 11px; color: #9ee6a7; display: flex; align-items: center; gap: 5px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #9ee6a7; box-shadow: 0 0 8px #9ee6a7; }
.chat-body { height: 220px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; animation: buildIn .35s ease backwards; }
.msg.bot { background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--gold-grad); color: #120d05; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 600; }
.msg.typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .4; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 12px 14px; border-top: 1px solid var(--line); }
.chips button { font: inherit; font-size: 12px; color: var(--gold); background: rgba(230,197,111,.08); border: 1px solid rgba(230,197,111,.3); padding: 6px 10px; border-radius: 99px; cursor: pointer; transition: background .2s; }
.chips button:hover { background: rgba(230,197,111,.2); }

/* 05 automation */
.flow { list-style: none; width: 100%; max-width: 380px; display: grid; gap: 12px; position: relative; }
.flow::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: rgba(255,255,255,.08); }
.flow li {
  position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px;
  align-items: center; padding: 10px 40px 10px 0; border-radius: 14px; transition: background .4s;
}
.node-ico {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 18px;
  background: #0d0b08; border: 1px solid var(--line); color: var(--muted); position: relative; z-index: 1;
  transition: background .4s, color .4s, border-color .4s, box-shadow .4s;
}
.flow li b { font-size: 14px; }
.flow li small { font-size: 12px; color: var(--muted); }
.flow li.on .node-ico { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 6px rgba(230,197,111,.12), 0 0 24px rgba(230,197,111,.4); }
.flow li.done .node-ico { background: var(--gold-grad); color: #120d05; box-shadow: none; }
.flow li.done { background: rgba(230,197,111,.06); }
.flow li.done::after { content: "\2713"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 800; }
.flow-stat { display: flex; align-items: baseline; gap: 8px; }
.flow-stat strong { font-size: 26px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow-stat span { font-size: 13px; color: var(--muted); }

/* Packages (2 up) */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; max-width: 900px; }
.cards-2 .ico { margin-bottom: 24px; }
.bundle-note { margin-top: 26px; max-width: 900px; }
.bundle-note a { color: var(--gold); border-bottom: 1px solid rgba(230,197,111,.4); }

@media (max-width: 1000px) {
  .svc { grid-template-columns: 1fr; }
  .svc-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .svc-list::-webkit-scrollbar { display: none; }
  .svc-item { flex: none; padding: 12px 16px 14px; }
  .svc-item:hover { transform: none; }
  .svc-panel { grid-template-columns: 1fr; }
  .svc-panel.active, .svc-stage { min-height: 0; }
}
@media (max-width: 700px) {
  .cards-2 { grid-template-columns: 1fr; }
  .svc-t { font-size: 14px; }
  .chat-body { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .frame-lion, .playhead, .rec i { animation: none; }
}
